Searched refs:pcc (Results 1 - 25 of 59) sorted by relevance

123

/netbsd-current/lib/libpuffs/
H A Dcallcontext.c74 puffs_cc_yield(struct puffs_cc *pcc) argument
81 if ((~pcc->pcc_flags & (PCC_BORROWED|PCC_DONE)) == 0) {
82 pcc->pcc_flags &= ~(PCC_BORROWED|PCC_DONE);
86 puffs__cc_destroy(pcc, 1);
87 setcontext(&pcc->pcc_uc_ret);
89 pcc->pcc_flags &= ~PCC_BORROWED;
93 if ((pcc->pcc_flags & PCC_MLCONT) == 0) {
94 DPRINTF(("no mlcont, pcc %p\n", pcc));
95 swapcontext(&pcc
113 puffs__cc_cont(struct puffs_cc *pcc) argument
130 puffs_cc_continue(struct puffs_cc *pcc) argument
159 puffs_cc_schedule(struct puffs_cc *pcc) argument
168 puffs_cc_getcaller(struct puffs_cc *pcc, pid_t *pid, lwpid_t *lid) argument
188 struct puffs_cc *volatile pcc; local
227 struct puffs_cc *pcc; local
284 puffs__cc_setcaller(struct puffs_cc *pcc, pid_t pid, lwpid_t lid) argument
293 cc_free(struct puffs_cc *pcc) argument
304 puffs__cc_destroy(struct puffs_cc *pcc, int nonuke) argument
326 struct puffs_cc *pcc; local
[all...]
H A Dframebuf.c55 struct puffs_cc *pcc; /* pcc to continue with */ member in struct:puffs_framebuf
84 struct puffs_cc *pcc; member in struct:puffs_fbevent
330 if (pufbuf->pcc) {
331 puffs__goto(pufbuf->pcc);
355 puffs_framev_enqueue_cc(struct puffs_cc *pcc, int fd, argument
358 struct puffs_usermount *pu = pcc->pcc_pu;
370 pufbuf->pcc = pcc;
382 puffs_cc_yield(pcc);
446 puffs_framev_enqueue_directreceive(struct puffs_cc *pcc, int fd, struct puffs_framebuf *pufbuf, int flags ) argument
482 puffs_framev_enqueue_directsend(struct puffs_cc *pcc, int fd, struct puffs_framebuf *pufbuf, int flags) argument
515 puffs_framev_framebuf_ccpromote(struct puffs_framebuf *pufbuf, struct puffs_cc *pcc) argument
535 puffs_framev_enqueue_waitevent(struct puffs_cc *pcc, int fd, int *what) argument
[all...]
H A Ddispatcher.c59 struct puffs_cc *pcc = puffs_cc_getcc(pu); local
62 pcc->pcc_pb = pb;
63 pcc->pcc_flags |= PCC_MLCONT;
64 dispatch(pcc);
67 preq = puffs__framebuf_getdataptr(pcc->pcc_pb);
73 pcc->pcc_pb, 0, 0);
75 puffs_framebuf_destroy(pcc->pcc_pb);
79 if (pcc->pcc_flags & PCC_BORROWED) {
80 puffs_cc_yield(pcc); /* back to borrow source */
82 pcc
90 struct puffs_cc *pcc; local
102 puffs_dispatch_exec(struct puffs_cc *pcc, struct puffs_framebuf **pbp) argument
121 dispatch(struct puffs_cc *pcc) argument
[all...]
/netbsd-current/external/bsd/pcc/usr.bin/
H A DMakefile5 SUBDIR= pcc
/netbsd-current/external/bsd/pcc/usr.bin/pcc/
H A DMakefile10 # we build PCC cc(1) as pcc(1) to avoid conflicts with GCC
13 PROG= pcc
15 MAN= pcc.1
26 pcc.1: cc.1
27 ${TOOL_SED} -e "s,Nm cc,Nm pcc," \
33 SYMLINKS+= ${BINDIR}/pcc /usr/bin/pcpp
37 SYMLINKS+= ${BINDIR}/pcc /usr/bin/p++
40 CLEANFILES+= pcc.1
/netbsd-current/sys/uvm/
H A Duvm_pgflcache.c117 struct pccolor *pcc; local
131 pcc = &pc->color[c];
134 if (pcc->count >= FILLPGS) {
139 count = pcc->count;
144 pcc->pages[count++] = pg;
153 pgb->pgb_nfree -= (count - pcc->count);
154 CPU_COUNT(CPU_COUNT_FREEPAGES, -(count - pcc->count));
155 pcc->count = count;
171 struct pccolor *pcc; local
177 pcc
207 struct pccolor *pcc; local
240 struct pccolor *pcc; local
[all...]
/netbsd-current/external/bsd/pcc/
H A Dprepare-import.sh3 # prepare pcc distribution for import
5 # pcc can be built as part of the toolchain by setting
20 if [ ! -d work -o ! -d work/pcc ]; then
21 echo "checkout or unpack pcc to work/ first, eg"
23 echo " cvs -d :pserver:anonymous@pcc.ludd.ltu.se:/cvsroot -f checkout -P -d work -N pcc"
28 echo "====> Removing pcc CVS directories..."
46 echo "====> Creating pcc \"config.h\" file..."
49 env -i PATH=/bin:/usr/bin /bin/sh ../pcc/configure --enable-tls
66 datestamp=$(cat work/pcc/DATESTAM
[all...]
H A DMakefile.inc4 PCC_DIST=${PCC_DIR}/dist/pcc
5 PCC_LIBS=${PCC_DIR}/dist/pcc-libs
25 VERSSTR="pcc ${PCC_VERSION} ${PCC_DATESTAMP} for ${TARGMACH}--${TARGOS}"
37 # We only build binaries from here where the pcc host and target architectures
38 # will be the same. For a cross-compiler, use the tools/pcc build.
/netbsd-current/tests/usr.bin/xlint/lint1/
H A Dd_c99_bool.c72 const char *pcc; member in struct:variant
83 case 5: return v.pcc;
/netbsd-current/sys/kern/
H A Dsubr_percpu.c94 percpu_cpu_t * const pcc = cpu_percpu(ci); local
99 * swap *pcc and *newpcc unless anyone has beaten us.
102 if (newpcc->pcc_size > pcc->pcc_size) {
106 tmp = *pcc;
118 memcpy(newpcc->pcc_data, pcc->pcc_data, pcc->pcc_size);
124 pcc->pcc_data = newpcc->pcc_data;
128 pcc->pcc_size = newpcc->pcc_size;
145 percpu_cpu_t pcc; local
147 pcc
244 percpu_cpu_t * const pcc = cpu_percpu(ci); local
[all...]
/netbsd-current/share/man/man4/man4.mvme68k/
H A DMakefile4 mem.4 memc.4 ncrsc.4 pcc.4 pcctwo.4 wdsc.4 zsc.4
/netbsd-current/external/bsd/pcc/dist/pcc/os/midnightbsd/
H A Dccconfig.h24 * Configuration for pcc on a MidnightBSD (amd64, i386 or sparc64) target
73 #error pcc does not support amd64 yet
/netbsd-current/external/bsd/pcc/dist/pcc/os/mirbsd/
H A Dccconfig.h24 * Configuration for pcc on a MirOS BSD (i386 or sparc) target
54 #error pcc does not support sparc yet
/netbsd-current/tools/pcc/
H A DMakefile3 GNUHOSTDIST= ${.CURDIR}/../../external/bsd/pcc/dist/pcc
/netbsd-current/external/bsd/pcc/dist/pcc/cc/cc/
H A DMakefile.in4 # Makefile.in for the cc part of pcc.
26 PCCLIBDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/lib
27 PCCINCDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/include
47 DRIVERS=pcc pcpp p++
/netbsd-current/tests/lib/libobjc/
H A DMakefile8 UNSUPPORTED_COMPILER.pcc= # defined
/netbsd-current/external/bsd/pcc/dist/pcc/driver/
H A Dmkopt.sh55 const char dir_pccinc[] = "${PCCINC:-${STDINC}/pcc}";
56 const char dir_pccinc[] = "${PCCINC:-${STDINC}/pcc}";
60 const char dir_pcclib[] = "${PCCLIB:-${STDLIB}/pcc}";
66 const char *cc_names[] = $(array ${CC_NAMES:-cc pcc});
/netbsd-current/libexec/telnetd/
H A Dglobal.c87 int pcc, ncc; variable
H A Dtelnetd.c931 if (pcc)
932 strncpy(ptyibuf2ptr, ptyip, pcc+1);
934 pcc = strlen(ptyip);
952 if (ncc < 0 && pcc < 0)
961 if (nfrontp - nbackp || pcc > 0)
1011 pcc = read(p, ptyibuf, BUFSIZ);
1017 if (pcc < 0 && (errno == EWOULDBLOCK ||
1020 pcc = 0;
1022 if (pcc <= 0)
1029 copy_termbuf(ptyibuf+1, pcc
[all...]
/netbsd-current/libexec/rlogind/
H A Drlogind.c453 int pcc = 0, fcc = 0; local
474 if (pcc >= 0) {
475 if (pcc)
497 pcc = 0;
540 pcc = read(p, pibuf, sizeof (pibuf));
542 if (pcc < 0 && errno == EWOULDBLOCK)
543 pcc = 0;
544 else if (pcc <= 0)
547 pbp++, pcc--;
553 pcc
[all...]
/netbsd-current/sys/arch/pmax/ibus/
H A Dpm.c264 struct dc503reg *pcc; local
269 pcc = (void *)MIPS_PHYS_TO_KSEG1(KN01_SYS_PCC);
375 pcc->cmdr = PCCCMD_FOPB | PCCCMD_VBHI;
384 struct dc503reg *pcc; local
386 pcc = (void *)MIPS_PHYS_TO_KSEG1(KN01_SYS_PCC);
387 pcc->cmdr = (pm_creg &= ~(PCCCMD_ENPA | PCCCMD_ENPB));
394 struct dc503reg *pcc; local
397 pcc = (void *)MIPS_PHYS_TO_KSEG1(KN01_SYS_PCC);
398 pcc->cmdr = (pm_creg |= (PCCCMD_ENPA | PCCCMD_ENPB));
409 struct dc503reg *pcc; local
580 struct dc503reg *pcc; local
[all...]
/netbsd-current/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-] [/pcclibssrcdir -dir-] [/install]
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%\compat.c
143 set PREFIX=C:\Program Files\pcc
194 copy pcc.exe "%PCCDESTDIR%\bin"
/netbsd-current/usr.sbin/puffs/mount_psshfs/
H A Dnode.c136 struct puffs_cc *pcc = puffs_cc_getcc(pu); local
288 struct puffs_cc *pcc = puffs_cc_getcc(pu); local
301 puffs_setback(pcc, PUFFS_SETBACK_INACT_N1);
347 rv = puffs_framev_framebuf_ccpromote(psn->lazyopen_r, pcc);
362 rv = puffs_framev_framebuf_ccpromote(psn->lazyopen_w, pcc);
391 struct puffs_cc *pcc = puffs_cc_getcc(pu); local
404 pw.pw_cc = pcc;
407 puffs_cc_yield(pcc);
498 pw.pw_cc = pcc;
501 puffs_cc_yield(pcc);
[all...]
/netbsd-current/external/bsd/
H A DMakefile37 SUBDIR+= pcc
/netbsd-current/usr.sbin/puffs/mount_9p/
H A Dninepuffs.h65 struct puffs_cc *pcc = puffs_cc_getcc(pu); \
77 if (puffs_framev_enqueue_cc(pcc, p9p->servsock, pb, 0) == -1) { \

Completed in 314 milliseconds

123