| /src/lib/librumpuser/ |
| rumpuser_sp.c | 138 LIST_ENTRY(prefork) pf_spcentries; /* linked from forking spc */ 148 waitresp(struct spclient *spc, struct respwait *rw) 153 pthread_mutex_lock(&spc->spc_mtx); 154 sendunlockl(spc); 155 while (!rw->rw_done && spc->spc_state != SPCSTATE_DYING) { 156 pthread_cond_wait(&rw->rw_cv, &spc->spc_mtx); 158 TAILQ_REMOVE(&spc->spc_respwait, rw, rw_entries); 159 spcstate = spc->spc_state; 160 pthread_mutex_unlock(&spc->spc_mtx); 195 lwproc_rfork(struct spclient *spc, int flags, const char *comm 560 struct spclient *spc = &spclist[idx]; local 594 struct spclient *spc; local 785 struct spclient *spc = arg; local 826 struct spclient *spc = arg; local 859 struct spclient *spc = arg; local 888 struct spclient *spc = arg; local 1182 struct spclient *spc; local 1375 struct spclient *spc = arg; local [all...] |
| sp_common.c | 256 spcresetbuf(struct spclient *spc) 259 spc->spc_buf = NULL; 260 spc->spc_off = 0; 264 spcfreebuf(struct spclient *spc) 267 free(spc->spc_buf); 268 spcresetbuf(spc); 272 sendlockl(struct spclient *spc) 275 while (spc->spc_ostatus != SPCSTATUS_FREE) { 276 spc->spc_ostatus = SPCSTATUS_WANTED; 277 pthread_cond_wait(&spc->spc_cv, &spc->spc_mtx) [all...] |
| /src/external/gpl3/gcc/dist/gcc/ |
| gimple-pretty-print.cc | 71 /* Emit a newline and SPC indentation spaces to BUFFER. */ 74 newline_and_indent (pretty_printer *buffer, int spc) 77 INDENT (spc); 150 /* Print GIMPLE statement G to FILE using SPC indentation spaces and 154 print_gimple_stmt (FILE *file, gimple *g, int spc, dump_flags_t flags) 159 pp_gimple_stmt_1 (&buffer, g, spc, flags); 179 /* Print GIMPLE statement G to FILE using SPC indentation spaces and 184 print_gimple_expr (FILE *file, gimple *g, int spc, dump_flags_t flags) 190 pp_gimple_stmt_1 (&buffer, g, spc, flags); 195 /* Print the GIMPLE sequence SEQ on BUFFER using SPC indentatio [all...] |
| tree-pretty-print.cc | 62 #define NIY do_niy (pp, node, spc, flags) 69 do_niy (pretty_printer *pp, const_tree node, int spc, dump_flags_t flags) 81 newline_and_indent (pp, spc+2); 82 dump_generic_node (pp, TREE_OPERAND (node, i), spc+2, flags, false); 362 /* Dump a function declaration. NODE is the FUNCTION_TYPE. PP, SPC and 367 int spc, dump_flags_t flags) 385 dump_generic_node (pp, TREE_VALUE (arg), spc, flags, false); 403 dump_array_domain (pretty_printer *pp, tree domain, int spc, dump_flags_t flags) 418 dump_generic_node (pp, min, spc, flags, false); 421 dump_generic_node (pp, max, spc, flags, false) 4668 int spc = 0; local [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| gimple-pretty-print.cc | 70 /* Emit a newline and SPC indentation spaces to BUFFER. */ 73 newline_and_indent (pretty_printer *buffer, int spc) 76 INDENT (spc); 149 /* Print GIMPLE statement G to FILE using SPC indentation spaces and 153 print_gimple_stmt (FILE *file, gimple *g, int spc, dump_flags_t flags) 158 pp_gimple_stmt_1 (&buffer, g, spc, flags); 178 /* Print GIMPLE statement G to FILE using SPC indentation spaces and 183 print_gimple_expr (FILE *file, gimple *g, int spc, dump_flags_t flags) 189 pp_gimple_stmt_1 (&buffer, g, spc, flags); 194 /* Print the GIMPLE sequence SEQ on BUFFER using SPC indentatio [all...] |
| tree-pretty-print.cc | 61 #define NIY do_niy (pp, node, spc, flags) 68 do_niy (pretty_printer *pp, const_tree node, int spc, dump_flags_t flags) 80 newline_and_indent (pp, spc+2); 81 dump_generic_node (pp, TREE_OPERAND (node, i), spc+2, flags, false); 361 /* Dump a function declaration. NODE is the FUNCTION_TYPE. PP, SPC and 366 int spc, dump_flags_t flags) 384 dump_generic_node (pp, TREE_VALUE (arg), spc, flags, false); 402 dump_array_domain (pretty_printer *pp, tree domain, int spc, dump_flags_t flags) 417 dump_generic_node (pp, min, spc, flags, false); 420 dump_generic_node (pp, max, spc, flags, false) 4407 int spc = 0; local [all...] |
| /src/sys/dev/pci/ |
| sti_pci.c | 98 struct sti_pci_softc *spc = device_private(self); local 102 spc->sc_dev = self; 104 spc->sc_pc = paa->pa_pc; 105 spc->sc_tag = paa->pa_tag; 106 spc->sc_base.sc_dev = self; 107 spc->sc_base.sc_enable_rom = sti_pci_enable_rom; 108 spc->sc_base.sc_disable_rom = sti_pci_disable_rom; 112 if (sti_check_rom(spc, paa) != 0) 116 ret = sti_pci_is_console(paa, spc->sc_base. bases); 118 spc->sc_base.sc_flags |= STI_CONSOLE 129 struct sti_pci_softc *spc = device_private(dev); local 396 struct sti_pci_softc *spc = device_private(sc->sc_dev); local 422 struct sti_pci_softc *spc = device_private(sc->sc_dev); local [all...] |
| /src/sys/kern/ |
| kern_runq.c | 138 struct schedstate_percpu *spc; local 143 spc = &ci->ci_schedstate; 144 spc->spc_nextpkg = ci; 146 if (spc->spc_lwplock == NULL) { 147 spc->spc_lwplock = mutex_obj_alloc(MUTEX_DEFAULT, IPL_SCHED); 151 lwp0.l_mutex = spc->spc_lwplock; 153 if (spc->spc_mutex != NULL) { 159 size = roundup2(sizeof(spc->spc_queue[0]) * PRI_COUNT, coherency_unit) + 162 spc->spc_queue = (void *)roundup2((uintptr_t)p, coherency_unit); 165 spc->spc_mutex = mutex_obj_alloc(MUTEX_DEFAULT, IPL_SCHED) 188 struct schedstate_percpu *spc; local 262 struct schedstate_percpu *spc; local 322 struct schedstate_percpu *spc; local 455 const struct schedstate_percpu *spc = &ci->ci_schedstate; local 476 struct schedstate_percpu *spc = &curcpu()->ci_schedstate; local 569 struct schedstate_percpu *spc; local 655 struct schedstate_percpu *spc, *curspc; local 717 struct schedstate_percpu *spc, *tspc; local 795 struct schedstate_percpu *spc, *tspc; local 819 struct schedstate_percpu *spc, *tspc; local 1076 struct schedstate_percpu *spc; local 1113 const struct schedstate_percpu *spc; local 1188 struct schedstate_percpu *spc; local [all...] |
| kern_cpu.c | 315 struct schedstate_percpu *spc, *mspc = NULL; local 325 spc = &ci->ci_schedstate; 327 spc->spc_flags |= SPCF_OFFLINE; 385 spc->spc_flags &= ~SPCF_OFFLINE; 392 struct schedstate_percpu *spc; local 397 spc = &ci->ci_schedstate; 399 spc->spc_flags &= ~SPCF_OFFLINE; 406 struct schedstate_percpu *spc; local 413 spc = &ci->ci_schedstate; 418 if ((spc->spc_flags & SPCF_OFFLINE) == 0 498 struct schedstate_percpu *spc; local 510 struct schedstate_percpu *spc; local 522 struct schedstate_percpu *spc; local [all...] |
| kern_idle.c | 48 struct schedstate_percpu *spc; local 54 spc = &ci->ci_schedstate; 55 KASSERT(lwp_locked(l, spc->spc_lwplock)); 59 spc->spc_flags |= SPCF_RUNNING; 83 if ((spc->spc_flags & SPCF_OFFLINE) == 0) {
|
| kern_clock.c | 414 struct schedstate_percpu *spc = &ci->ci_schedstate; local 425 if (spc->spc_psdiv != psdiv) { 426 spc->spc_psdiv = psdiv; 427 spc->spc_pscnt = psdiv; 449 if (--spc->spc_pscnt > 0) { 460 spc->spc_cp_time[CP_NICE]++; 462 spc->spc_cp_time[CP_USER]++; 489 if (--spc->spc_pscnt > 0) { 510 spc->spc_cp_time[CP_INTR]++; 513 spc->spc_cp_time[CP_SYS]++ [all...] |
| sched_4bsd.c | 104 struct schedstate_percpu *spc = &ci->ci_schedstate; local 108 spc->spc_ticks = sched_rrticks; 113 /* spc now unlocked */ 124 KASSERT(l->l_mutex != spc->spc_mutex); 134 if (spc->spc_flags & SPCF_SHOULDYIELD) { 141 } else if (spc->spc_flags & SPCF_SEENRR) { 148 spc->spc_flags |= SPCF_SHOULDYIELD; 156 spc->spc_flags |= SPCF_SHOULDYIELD; 158 spc->spc_flags |= SPCF_SEENRR; 166 /* spc now unlocked * [all...] |
| kern_synch.c | 549 nextlwp(struct cpu_info *ci, struct schedstate_percpu *spc) 565 KASSERT(lwp_locked(newl, spc->spc_mutex)); 570 spc->spc_curpriority = lwp_eprio(newl); 571 spc->spc_flags &= ~(SPCF_SWITCHCLEAR | SPCF_IDLE); 572 lwp_setlock(newl, spc->spc_lwplock); 580 spc->spc_curpriority = PRI_IDLE; 581 spc->spc_flags = (spc->spc_flags & ~SPCF_SWITCHCLEAR) | 611 struct schedstate_percpu *spc; local 631 spc = &ci->ci_schedstate 1057 struct schedstate_percpu *spc; local 1086 struct schedstate_percpu *spc; local [all...] |
| /src/distrib/common/bootimage/ |
| diskproto2sunlabel.awk | 75 spc = $2 107 if (spc == "") 109 if (spc != spt * head) 126 if ((part_offset[p] % spc) != 0) 129 " is not cylinder-aligned (spc=" spc ")") 131 start = int(part_offset[p] / spc)
|
| /src/lib/librumpclient/ |
| rumpclient.c | 137 send_with_recon(struct spclient *spc, struct iovec *iov, size_t iovlen) 145 rv = dosend(spc, iov, iovlen); 220 cliwaitresp(struct spclient *spc, struct respwait *rw, sigset_t *mask, 226 pthread_mutex_lock(&spc->spc_mtx); 228 sendunlockl(spc); 229 mygen = spc->spc_generation; 233 if (__predict_false(spc->spc_generation != mygen || !imalive)) 237 if (spc->spc_istatus == SPCSTATUS_FREE) { 240 spc->spc_istatus = SPCSTATUS_BUSY; 241 pthread_mutex_unlock(&spc->spc_mtx) [all...] |
| /src/etc/rc.d/ |
| bootconf.sh | 35 spc="" 44 echo -n "${spc}[${name}]" 46 echo -n "${spc}${name}" 48 spc=" "
|
| /src/external/gpl3/gcc/dist/gcc/c-family/ |
| c-ada-spec.cc | 856 /* Dump a newline and indent BUFFER by SPC chars. */ 859 newline_and_indent (pretty_printer *buffer, int spc) 862 INDENT (spc); 1505 /* Dump in BUFFER aspect Import on a given node T. SPC is the current 1509 dump_ada_import (pretty_printer *buffer, tree t, int spc) 1518 newline_and_indent (buffer, spc + 5); 1527 newline_and_indent (buffer, spc + 5); 1535 newline_and_indent (buffer, spc + 5); 1583 SPC is the current indentation level. */ 1588 bool is_destructor, int spc) [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/c-family/ |
| c-ada-spec.cc | 856 /* Dump a newline and indent BUFFER by SPC chars. */ 859 newline_and_indent (pretty_printer *buffer, int spc) 862 INDENT (spc); 1505 /* Dump in BUFFER aspect Import on a given node T. SPC is the current 1509 dump_ada_import (pretty_printer *buffer, tree t, int spc) 1518 newline_and_indent (buffer, spc + 5); 1527 newline_and_indent (buffer, spc + 5); 1535 newline_and_indent (buffer, spc + 5); 1581 SPC is the current indentation level. */ 1586 bool is_destructor, int spc) [all...] |
| /src/sys/dev/pcmcia/ |
| spc_pcmcia.c | 106 struct spc_softc *spc = &sc->sc_spc; local 112 spc->sc_dev = self; 122 spc->sc_iot = cfe->iospace[0].handle.iot; 123 spc->sc_ioh = cfe->iospace[0].handle.ioh; 129 spc->sc_initiator = 7; /* XXX */ 130 spc->sc_adapter.adapt_enable = spc_pcmcia_enable; 131 spc->sc_adapter.adapt_refcnt = 1; 136 spc_attach(spc); 137 scsipi_adapter_delref(&spc->sc_adapter);
|
| /src/sys/external/bsd/gnu-efi/dist/lib/ |
| print.c | 323 POOL_PRINT *spc; local 325 spc = Context; 332 if (spc->len + len > spc->maxlen) { 333 len = spc->maxlen - spc->len; 340 CopyMem (spc->str + spc->len, Buffer, len * sizeof(CHAR16)); 341 spc->len += len; 347 if (spc->len < spc->maxlen) 365 POOL_PRINT *spc; local 456 POOL_PRINT spc; local 530 POOL_PRINT spc; local [all...] |
| /src/usr.sbin/diskpart/ |
| diskpart.c | 124 int spc, def, part, layout, j, ch; local 176 spc = dp->d_secpercyl; 188 threshold = howmany(spc, badsecttable); 199 dp->d_ncylinders = howmany(totsize, spc); 200 badsecttable = spc * dp->d_ncylinders - totsize; 212 curcyl += howmany(defpart[def][part], spc); 231 numcyls[part] = howmany(defpart[def][part], spc); 239 defpart[def][PART('f')] = numcyls[PART('f')] * spc - badsecttable; 240 defpart[def][PART('g')] = numcyls[PART('g')] * spc - badsecttable; 241 defpart[def][PART('c')] = numcyls[PART('c')] * spc; [all...] |
| /src/sbin/newfs_msdos/ |
| mkfs_msdos.c | 120 u_int8_t spc; /* sectors per cluster */ member in struct:bsbpb 164 u_int spc; /* sectors per cluster */ member in struct:bpb 182 { .bps = a, .spc = b, .res = c, .nft = d, .rde = e, \ 340 if (bpb.spc == 0) { /* set defaults */ 344 bpb.spc = 1; /* use 512 bytes */ 348 bpb.spc = 1; /* use 512 bytes */ 352 bpb.spc = 8; /* use 4k */ 357 while (bpb.spc < 128 && x < x1) { 359 bpb.spc *= 2; 424 bpb.spc = o.block_size / bpb.bps [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.cp/ |
| maint.exp | 65 foreach spc [list "" " " " "] { 66 test_single_component "operator${spc}<<" 67 test_single_component "operator${spc}>>" 68 test_single_component "operator${spc}->" 69 test_single_component "operator${spc}()" 70 test_single_component "operator${spc}>" 71 test_single_component "operator${spc}<" 73 test_single_component "foo${spc}()" 74 test_single_component "foo${spc}(int)" 75 test_single_component "foo${spc}(X::Y) [all...] |
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/ |
| maint.exp | 65 foreach spc [list "" " " " "] { 66 test_single_component "operator${spc}<<" 67 test_single_component "operator${spc}>>" 68 test_single_component "operator${spc}->" 69 test_single_component "operator${spc}()" 70 test_single_component "operator${spc}>" 71 test_single_component "operator${spc}<" 73 test_single_component "foo${spc}()" 74 test_single_component "foo${spc}(int)" 75 test_single_component "foo${spc}(X::Y) [all...] |
| /src/external/gpl3/gdb.old/dist/sim/sh/ |
| sh-sim.h | 67 int spc; member in struct:__anon22708::__anon22709::__anon22712::__anon22713
|