Home
last modified time | relevance | path

Searched refs:pcc (Results 1 – 25 of 114) sorted by relevance

12345

/netbsd-src/lib/libpuffs/
H A Dcallcontext.c74 puffs_cc_yield(struct puffs_cc *pcc) in puffs_cc_yield() argument
81 if ((~pcc->pcc_flags & (PCC_BORROWED|PCC_DONE)) == 0) { in puffs_cc_yield()
82 pcc->pcc_flags &= ~(PCC_BORROWED|PCC_DONE); in puffs_cc_yield()
86 puffs__cc_destroy(pcc, 1); in puffs_cc_yield()
87 setcontext(&pcc->pcc_uc_ret); in puffs_cc_yield()
89 pcc->pcc_flags &= ~PCC_BORROWED; in puffs_cc_yield()
93 if ((pcc->pcc_flags & PCC_MLCONT) == 0) { in puffs_cc_yield()
94 DPRINTF(("no mlcont, pcc %p\n", pcc)); in puffs_cc_yield()
95 swapcontext(&pcc->pcc_uc, &pcc->pcc_uc_ret); in puffs_cc_yield()
97 DPRINTF(("mlcont, pcc %p\n", pcc)); in puffs_cc_yield()
[all …]
H A Dframebuf.c55 struct puffs_cc *pcc; /* pcc to continue with */ member
84 struct puffs_cc *pcc; member
330 if (pufbuf->pcc) { in errnotify()
331 puffs__goto(pufbuf->pcc); in errnotify()
355 puffs_framev_enqueue_cc(struct puffs_cc *pcc, int fd, in puffs_framev_enqueue_cc() argument
358 struct puffs_usermount *pu = pcc->pcc_pu; in puffs_framev_enqueue_cc()
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()
[all …]
H A Ddispatcher.c59 struct puffs_cc *pcc = puffs_cc_getcc(pu); in puffs__ml_dispatch() local
62 pcc->pcc_pb = pb; in puffs__ml_dispatch()
63 pcc->pcc_flags |= PCC_MLCONT; in puffs__ml_dispatch()
64 dispatch(pcc); in puffs__ml_dispatch()
67 preq = puffs__framebuf_getdataptr(pcc->pcc_pb); in puffs__ml_dispatch()
73 pcc->pcc_pb, 0, 0); in puffs__ml_dispatch()
75 puffs_framebuf_destroy(pcc->pcc_pb); in puffs__ml_dispatch()
79 if (pcc->pcc_flags & PCC_BORROWED) { in puffs__ml_dispatch()
80 puffs_cc_yield(pcc); /* back to borrow source */ in puffs__ml_dispatch()
82 pcc->pcc_flags = 0; in puffs__ml_dispatch()
[all …]
H A Dpuffs.c424 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-src/sys/uvm/
H A Duvm_pgflcache.c117 struct pccolor *pcc; in uvm_pgflcache_fill() local
131 pcc = &pc->color[c]; in uvm_pgflcache_fill()
134 if (pcc->count >= FILLPGS) { in uvm_pgflcache_fill()
139 count = pcc->count; in uvm_pgflcache_fill()
144 pcc->pages[count++] = pg; in uvm_pgflcache_fill()
153 pgb->pgb_nfree -= (count - pcc->count); in uvm_pgflcache_fill()
154 CPU_COUNT(CPU_COUNT_FREEPAGES, -(count - pcc->count)); in uvm_pgflcache_fill()
155 pcc->count = count; in uvm_pgflcache_fill()
171 struct pccolor *pcc; in uvm_pgflcache_spill() local
177 pcc = &pc->color[c]; in uvm_pgflcache_spill()
[all …]
/netbsd-src/sys/kern/
H A Dsubr_percpu.c94 percpu_cpu_t * const pcc = cpu_percpu(ci); in percpu_cpu_swap() local
102 if (newpcc->pcc_size > pcc->pcc_size) { in percpu_cpu_swap()
106 tmp = *pcc; in percpu_cpu_swap()
118 memcpy(newpcc->pcc_data, pcc->pcc_data, pcc->pcc_size); in percpu_cpu_swap()
124 pcc->pcc_data = newpcc->pcc_data; in percpu_cpu_swap()
128 pcc->pcc_size = newpcc->pcc_size; in percpu_cpu_swap()
145 percpu_cpu_t pcc; in percpu_cpu_enlarge() local
147 pcc.pcc_data = kmem_alloc(size, KM_SLEEP); /* XXX cacheline */ in percpu_cpu_enlarge()
148 pcc.pcc_size = size; in percpu_cpu_enlarge()
150 percpu_cpu_swap(ci, &pcc); in percpu_cpu_enlarge()
[all …]
/netbsd-src/external/bsd/pcc/
H A Dprepare-import.sh20 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 DMakefile.inc4 PCC_DIST=${PCC_DIR}/dist/pcc
5 PCC_LIBS=${PCC_DIR}/dist/pcc-libs
/netbsd-src/sys/arch/pmax/ibus/
H A Dpm.c264 struct dc503reg *pcc; in pm_common_init() local
269 pcc = (void *)MIPS_PHYS_TO_KSEG1(KN01_SYS_PCC); in pm_common_init()
375 pcc->cmdr = PCCCMD_FOPB | PCCCMD_VBHI; in pm_common_init()
384 struct dc503reg *pcc; in pm_cursor_off() local
386 pcc = (void *)MIPS_PHYS_TO_KSEG1(KN01_SYS_PCC); in pm_cursor_off()
387 pcc->cmdr = (pm_creg &= ~(PCCCMD_ENPA | PCCCMD_ENPB)); in pm_cursor_off()
394 struct dc503reg *pcc; in pm_cursor_on() local
397 pcc = (void *)MIPS_PHYS_TO_KSEG1(KN01_SYS_PCC); in pm_cursor_on()
398 pcc->cmdr = (pm_creg |= (PCCCMD_ENPA | PCCCMD_ENPB)); in pm_cursor_on()
409 struct dc503reg *pcc; in pm_ioctl() local
[all …]
/netbsd-src/sys/arch/mvme68k/conf/
H A Dfiles.mvme68k31 device pcc { [ ipl = -1 ] }
32 attach pcc at mainbus
33 file arch/mvme68k/dev/pcc.c pcc needs-flag
37 attach vmepcc at pcc
41 attach clock at pcc with clock_pcc
50 attach zsc at pcc with zsc_pcc
62 attach lpt at pcc with lpt_pcc
66 attach le at pcc with le_pcc: le24
85 attach wdsc at pcc with wdsc_pcc
H A DVME14771 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 DRAMDISK73 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 DGENERIC155 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-src/libexec/telnetd/
H A Dtelnetd.c933 if (pcc) in telnet()
934 strncpy(ptyibuf2ptr, ptyip, pcc+1); in telnet()
936 pcc = strlen(ptyip); in telnet()
954 if (ncc < 0 && pcc < 0) in telnet()
963 if (nfrontp - nbackp || pcc > 0) in telnet()
1013 pcc = read(p, ptyibuf, BUFSIZ); in telnet()
1019 if (pcc < 0 && (errno == EWOULDBLOCK || in telnet()
1022 pcc = 0; in telnet()
1024 if (pcc <= 0) in telnet()
1031 copy_termbuf(ptyibuf+1, pcc in telnet()
[all...]
/netbsd-src/libexec/rlogind/
H A Drlogind.c453 int pcc = 0, fcc = 0; in protocol() local
474 if (pcc >= 0) { in protocol()
475 if (pcc) in protocol()
497 pcc = 0; in protocol()
540 pcc = read(p, pibuf, sizeof (pibuf)); 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()
[all …]
/netbsd-src/usr.sbin/puffs/mount_psshfs/
H A Dnode.c136 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
301 puffs_setback(pcc, PUFFS_SETBACK_INACT_N1); in psshfs_node_open()
347 rv = puffs_framev_framebuf_ccpromote(psn->lazyopen_r, pcc); in psshfs_node_open()
362 rv = puffs_framev_framebuf_ccpromote(psn->lazyopen_w, pcc); in psshfs_node_open()
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()
[all …]
/netbsd-src/external/bsd/pcc/usr.bin/pcc/
H A DMakefile13 PROG= pcc
15 MAN= pcc.1
27 ${TOOL_SED} -e "s,Nm cc,Nm pcc," \
/netbsd-src/external/bsd/pcc/dist/pcc/os/win32/
H A Dbuild.bat10 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"
H A Dbuild_installer.bat1 …gram Files\Inno Setup 5\ISCC.exe" /DAppName="PCC" /DAppVersion="1.1.x" /DAppNameLower="pcc" pcc.iss
/netbsd-src/tests/usr.bin/xlint/lint1/
H A Dd_c99_bool.c72 const char *pcc; in convert_to_bool() member
83 case 5: return v.pcc; in convert_to_bool()
/netbsd-src/external/bsd/pcc/dist/pcc/f77/f77/
H A DMakefile.in21 PCCLIBDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/lib
22 PCCINCDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/include
/netbsd-src/tools/pcc/
H A DMakefile3 GNUHOSTDIST= ${.CURDIR}/../../external/bsd/pcc/dist/pcc
/netbsd-src/sbin/mount_portal/
H A Dpuffs_portal.c328 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-src/external/bsd/pcc/dist/pcc/cc/driver/
H A DMakefile.in25 PCCLIBDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/lib
26 PCCINCDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/include
/netbsd-src/external/bsd/pcc/dist/pcc/cc/cc/
H A DMakefile.in26 PCCLIBDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/lib
27 PCCINCDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/include

12345