/netbsd/lib/libpuffs/ |
H A D | callcontext.c | 95 swapcontext(&pcc->pcc_uc, &pcc->pcc_uc_ret); in puffs_cc_yield() 136 pcc->pcc_func(pcc->pcc_farg); in puffs_cc_continue() 138 swapcontext(&pcc->pcc_uc_ret, &pcc->pcc_uc); in puffs_cc_continue() 201 pcc = sp; in slowccalloc() 220 return pcc; in slowccalloc() 250 pcc->pcc_farg = pcc; in puffs__cc_create() 255 pcc->pcc_uc.uc_link = &pcc->pcc_uc_ret; in puffs__cc_create() 276 makecontext(&pcc->pcc_uc, (void *)func, 1, (uintptr_t)pcc); in puffs__cc_create() 279 *pccp = pcc; in puffs__cc_create() 319 cc_free(pcc); in puffs__cc_destroy() [all …]
|
H A D | framebuf.c | 84 struct puffs_cc *pcc; member 330 if (pufbuf->pcc) { in errnotify() 370 pufbuf->pcc = pcc; in puffs_framev_enqueue_cc() 382 puffs_cc_yield(pcc); in puffs_framev_enqueue_cc() 402 pufbuf->pcc = NULL; in puffs_framev_enqueue_cb() 427 pufbuf->pcc = NULL; in puffs_framev_enqueue_justsend() 464 pufbuf->pcc = pcc; in puffs_framev_enqueue_directreceive() 495 pufbuf->pcc = pcc; in puffs_framev_enqueue_directsend() 524 pufbuf->pcc = pcc; in puffs_framev_framebuf_ccpromote() 556 feb.pcc = pcc; in puffs_framev_enqueue_waitevent() [all …]
|
H A D | dispatcher.c | 62 pcc->pcc_pb = pb; in puffs__ml_dispatch() 64 dispatch(pcc); in puffs__ml_dispatch() 73 pcc->pcc_pb, 0, 0); in puffs__ml_dispatch() 82 pcc->pcc_flags = 0; in puffs__ml_dispatch() 90 struct puffs_cc *pcc; in puffs_dispatch_create() local 95 pcc->pcc_pb = pb; in puffs_dispatch_create() 96 *pccp = pcc; in puffs_dispatch_create() 106 puffs_cc_continue(pcc); in puffs_dispatch_exec() 110 *pbp = pcc->pcc_pb; in puffs_dispatch_exec() 111 pcc->pcc_flags = 0; in puffs_dispatch_exec() [all …]
|
H A D | puffs.c | 424 puffs_setback(struct puffs_cc *pcc, int whatback) in puffs_setback() argument 426 struct puffs_req *preq = puffs__framebuf_getdataptr(pcc->pcc_pb); in puffs_setback() 786 puffs__theloop(struct puffs_cc *pcc) in puffs__theloop() argument 788 struct puffs_usermount *pu = pcc->pcc_pu; in puffs__theloop() 800 while ((pcc = TAILQ_FIRST(&pu->pu_sched)) != NULL) { in puffs__theloop() 801 TAILQ_REMOVE(&pu->pu_sched, pcc, pcc_schedent); in puffs__theloop() 802 puffs__goto(pcc); in puffs__theloop() 954 struct puffs_cc *pcc; in puffs_mainloop() local 1010 if (puffs__cc_create(pu, puffs__theloop, &pcc) == -1) { in puffs_mainloop() 1038 puffs_cc_continue(pcc); in puffs_mainloop()
|
/netbsd/sys/uvm/ |
H A D | uvm_pgflcache.c | 117 struct pccolor *pcc; in uvm_pgflcache_fill() local 139 count = pcc->count; in uvm_pgflcache_fill() 155 pcc->count = count; in uvm_pgflcache_fill() 185 for (adj = pcc->count; pcc->count != 0;) { in uvm_pgflcache_spill() 186 pcc->count--; in uvm_pgflcache_spill() 187 KASSERT(pcc->pages[pcc->count] != NULL); in uvm_pgflcache_spill() 188 KASSERT(pcc->pages[pcc->count]->flags & PG_FREE); in uvm_pgflcache_spill() 189 LIST_INSERT_HEAD(head, pcc->pages[pcc->count], pageq.list); in uvm_pgflcache_spill() 220 pg = pcc->pages[--(pcc->count)]; in uvm_pgflcache_alloc() 259 pcc->pages[pcc->count] = pg; in uvm_pgflcache_free() [all …]
|
/netbsd/sys/kern/ |
H A D | subr_percpu.c | 106 tmp = *pcc; in percpu_cpu_swap() 118 memcpy(newpcc->pcc_data, pcc->pcc_data, pcc->pcc_size); in percpu_cpu_swap() 145 percpu_cpu_t pcc; in percpu_cpu_enlarge() local 148 pcc.pcc_size = size; in percpu_cpu_enlarge() 150 percpu_cpu_swap(ci, &pcc); in percpu_cpu_enlarge() 157 KASSERT(pcc.pcc_size <= size); in percpu_cpu_enlarge() 158 if (pcc.pcc_data != NULL) { in percpu_cpu_enlarge() 159 kmem_free(pcc.pcc_data, pcc.pcc_size); in percpu_cpu_enlarge() 255 if (pcc->pcc_size) in percpu_init_cpu() 263 pcc->pcc_size = size; in percpu_init_cpu() [all …]
|
/netbsd/external/bsd/pcc/ |
H A D | prepare-import.sh | 20 if [ ! -d work -o ! -d work/pcc ]; then 49 env -i PATH=/bin:/usr/bin /bin/sh ../pcc/configure --enable-tls 66 datestamp=$(cat work/pcc/DATESTAMP) 73 rm -Rf dist/pcc dist/pcc-libs 74 mv work/pcc dist
|
H A D | Makefile.inc | 4 PCC_DIST=${PCC_DIR}/dist/pcc 5 PCC_LIBS=${PCC_DIR}/dist/pcc-libs
|
/netbsd/sys/arch/pmax/ibus/ |
H A D | pm.c | 264 struct dc503reg *pcc; in pm_common_init() local 375 pcc->cmdr = PCCCMD_FOPB | PCCCMD_VBHI; in pm_common_init() 384 struct dc503reg *pcc; in pm_cursor_off() local 394 struct dc503reg *pcc; in pm_cursor_on() local 409 struct dc503reg *pcc; in pm_ioctl() local 455 pcc->cmdr = in pm_ioctl() 462 pcc->cmdr = in pm_ioctl() 580 struct dc503reg *pcc; in pm_flush() local 603 pcc->xpos = x + PCC_X_OFFSET; in pm_flush() 604 pcc->ypos = y + PCC_Y_OFFSET; in pm_flush() [all …]
|
/netbsd/sys/arch/mvme68k/conf/ |
H A D | files.mvme68k | 24 device pcc { [ ipl = -1 ] } 25 attach pcc at mainbus 26 file arch/mvme68k/dev/pcc.c pcc needs-flag 30 attach vmepcc at pcc 34 attach clock at pcc with clock_pcc 43 attach zsc at pcc with zsc_pcc 55 attach lpt at pcc with lpt_pcc 59 attach le at pcc with le_pcc: le24 78 attach wdsc at pcc with wdsc_pcc
|
H A D | VME147 | 71 clock0 at pcc? ipl 5 72 zsc* at pcc? ipl 4 73 le0 at pcc? ipl 3 74 wdsc0 at pcc? ipl 2 75 lpt0 at pcc? ipl 1 79 vmepcc0 at pcc?
|
H A D | RAMDISK | 73 clock0 at pcc? ipl 5 74 zsc* at pcc? ipl 4 75 le0 at pcc? ipl 3 76 wdsc0 at pcc? ipl 2
|
H A D | GENERIC | 155 vmepcc0 at pcc? 156 clock0 at pcc? ipl 5 157 zsc* at pcc? ipl 4 158 le0 at pcc? ipl 3 159 wdsc0 at pcc? ipl 2 160 lpt0 at pcc? ipl 1
|
/netbsd/libexec/telnetd/ |
H A D | telnetd.c | 930 if (pcc) in telnet() 933 pcc = strlen(ptyip); in telnet() 951 if (ncc < 0 && pcc < 0) in telnet() 960 if (nfrontp - nbackp || pcc > 0) in telnet() 1019 pcc = 0; in telnet() 1021 if (pcc <= 0) in telnet() 1030 pcc = 1; in telnet() 1064 pcc--; in telnet() 1069 while (pcc > 0) { in telnet() 1072 c = *ptyip++ & 0377, pcc--; in telnet() [all …]
|
/netbsd/libexec/rlogind/ |
H A D | rlogind.c | 453 int pcc = 0, fcc = 0; in protocol() local 474 if (pcc >= 0) { in protocol() 475 if (pcc) in protocol() 497 pcc = 0; in protocol() 542 if (pcc < 0 && errno == EWOULDBLOCK) in protocol() 543 pcc = 0; in protocol() 544 else if (pcc <= 0) in protocol() 547 pbp++, pcc--; in protocol() 553 pcc = 0; in protocol() 557 cc = write(f, pbp, pcc); in protocol() [all …]
|
/netbsd/usr.sbin/puffs/mount_psshfs/ |
H A D | node.c | 136 struct puffs_cc *pcc = puffs_cc_getcc(pu); in psshfs_node_setattr() local 288 struct puffs_cc *pcc = puffs_cc_getcc(pu); in psshfs_node_open() local 391 struct puffs_cc *pcc = puffs_cc_getcc(pu); in psshfs_node_readdir() local 404 pw.pw_cc = pcc; in psshfs_node_readdir() 407 puffs_cc_yield(pcc); in psshfs_node_readdir() 498 pw.pw_cc = pcc; in psshfs_node_read() 501 puffs_cc_yield(pcc); in psshfs_node_read() 541 pw.pw_cc = pcc; in psshfs_node_read() 544 puffs_cc_yield(pcc); in psshfs_node_read() 612 pw.pw_cc = pcc; in psshfs_node_write() [all …]
|
/netbsd/external/bsd/pcc/usr.bin/pcc/ |
H A D | Makefile | 13 PROG= pcc 15 MAN= pcc.1 27 ${TOOL_SED} -e "s,Nm cc,Nm pcc," \
|
/netbsd/external/bsd/pcc/dist/pcc/os/win32/ |
H A D | build_installer.bat | 1 …gram Files\Inno Setup 5\ISCC.exe" /DAppName="PCC" /DAppVersion="1.1.x" /DAppNameLower="pcc" pcc.iss
|
H A D | build.bat | 10 if '%1' == '/pcc' goto usepcc 20 echo build.bat [/h] { /pcc or /cl } [/prefix -dir-] [/pccdir -dir-] [/pccsrcdir -dir-] [/pcclibssrc… 59 set CC=pcc.exe 94 set PCCDIR=C:\Program Files\pcc 102 set PCCLIBSSRCDIR=..\..\..\pcc-libs 125 %CC% -o pcc.exe %CPPFLAGS% %CFLAGS% -I%CCDIR% -I%OSDIR% -I%MACHDIR% -I%MIPDIR% %CCDIR%\cc.c %MIPDIR… 143 set PREFIX=C:\Program Files\pcc 194 copy pcc.exe "%PCCDESTDIR%\bin"
|
/netbsd/tests/usr.bin/xlint/lint1/ |
H A D | d_c99_bool.c | 72 const char *pcc; in convert_to_bool() member 83 case 5: return v.pcc; in convert_to_bool()
|
/netbsd/external/bsd/pcc/dist/pcc/f77/f77/ |
H A D | Makefile.in | 21 PCCLIBDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/lib 22 PCCINCDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/include
|
/netbsd/tools/pcc/ |
H A D | Makefile | 3 GNUHOSTDIST= ${.CURDIR}/../../external/bsd/pcc/dist/pcc
|
/netbsd/external/bsd/pcc/dist/pcc/cc/driver/ |
H A D | Makefile.in | 25 PCCLIBDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/lib 26 PCCINCDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/include
|
/netbsd/sbin/mount_portal/ |
H A D | puffs_portal.c | 328 struct puffs_cc *pcc = puffs_cc_getcc(pu); in provide() local 357 puffs_framev_enqueue_directreceive(pcc, s[0], pufbuf, 0); in provide() 659 struct puffs_cc *pcc = puffs_cc_getcc(pu); in portal_node_read() local 688 rv = puffs_framev_enqueue_directreceive(pcc, in portal_node_read() 733 struct puffs_cc *pcc = puffs_cc_getcc(pu); in portal_node_write() local 752 rv = puffs_framev_enqueue_directsend(pcc, portn->fd, pufbuf, 0); in portal_node_write() 788 struct puffs_cc *pcc = puffs_cc_getcc(pu); in portal_node_poll() local 800 if (puffs_framev_enqueue_waitevent(pcc, portn->fd, &what) == -1) { in portal_node_poll()
|
/netbsd/external/bsd/pcc/dist/pcc/cc/cc/ |
H A D | Makefile.in | 26 PCCLIBDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/lib 27 PCCINCDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/include
|