/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_vfsops.c | 273 struct pathcnf *pc; /* Pathconf */ in nfs_copyin() local 348 pc = kmem_alloc(sizeof (*pc), KM_SLEEP); in nfs_copyin() 349 error = pathconf_copyin(STRUCT_BUF(args), pc); in nfs_copyin() 350 nargs->pathconf = pc; in nfs_copyin() 1068 pc->pc_xxx = STRUCT_FGET(pc_tmp, pc_xxx); in pathconf_copyin() 1070 pc->pc_mask[i] = STRUCT_FGET(pc_tmp, pc_mask[i]); in pathconf_copyin() 1078 struct pathcnf *p, *pc; in pathconf_get() local 1080 pc = args->pathconf; in pathconf_get() 1087 if (_PC_ISSET(_PC_ERROR, pc->pc_mask)) in pathconf_get() 1091 if (PCCMP(p, pc) == 0) in pathconf_get() [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiols/ |
H A D | audiols.c | 889 audigyls_ctrl_t *pc = arg; in audigyls_set_control() local 890 audigyls_dev_t *dev = pc->dev; in audigyls_set_control() 892 switch (pc->num) { in audigyls_set_control() 930 pc->val = val; in audigyls_set_control() 941 audigyls_ctrl_t *pc = arg; in audigyls_get_control() local 945 *val = pc->val; in audigyls_get_control() 954 audigyls_ctrl_t *pc; in audigyls_alloc_ctrl() local 958 pc = &dev->controls[num]; in audigyls_alloc_ctrl() 959 pc->num = num; in audigyls_alloc_ctrl() 960 pc->dev = dev; in audigyls_alloc_ctrl() [all …]
|
/illumos-gate/usr/src/cmd/deroff/ |
H A D | deroff.c | 58 #define SKIP_TO_COM SKIP; SKIP; pc = c; \ 59 while ((C != '.') || (pc != '\n') || \ 61 pc = c; \ 94 static int pc; variable 646 pc = c; in stbl() 647 while ((C != '.') || (pc != '\n') || in stbl() 649 pc = c; in stbl()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | lpad.h | 67 uint64_t pc; /* VA of CPU startup function */ member 73 extern uint64_t *lpad_setup(int cpuid, uint64_t pc, uint64_t arg);
|
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | secdb.c | 357 char *pc; in _csl_to_argv() local 369 for (pc = strtok_r(copy, ",", &lasts), i = 0; pc != NULL; in _csl_to_argv() 370 pc = strtok_r(NULL, ",", &lasts), i++) { in _csl_to_argv() 371 spc[i] = strdup(pc); in _csl_to_argv()
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lparser.c | 216 getlocvar(fs, --fs->nactvar)->endpc = fs->pc; in removevars() 352 luaK_patchlist(fs, gt->pc, label->pc); in closegoto() 384 int line, int pc) { in newlabelentry() argument 391 l->arr[n].pc = pc; in newlabelentry() 428 luaK_patchclose(fs, gt->pc, bl->nactvar); in movegotosout() 532 fs->pc = 0; in open_func() 561 f->sizecode = fs->pc; in close_func() 563 f->sizelineinfo = fs->pc; in close_func() 738 init_exp(t, VRELOCABLE, pc); in constructor() 1178 static void gotostat (LexState *ls, int pc) { in gotostat() argument [all …]
|
H A D | lparser.h | 65 int pc; /* position in code */ member 102 int pc; /* next position to code (equivalent to `ncode') */ member
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.tchar.c | 681 unsigned char *pc; in write_() local 692 pc = chbuf; in write_() 700 *pc++ = 0; in write_() 702 if ((j = wctomb((char *)pc, wc)) <= 0) { in write_() 703 *pc = (unsigned char)wc; in write_() 706 pc += j; in write_() 709 return (write(d, chbuf, pc - chbuf)); in write_()
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | cmds.c | 293 char *pc, lastc, rc; in transmit() local 309 for (pc = command; *pc; pc++) in transmit() 310 send(*pc); in transmit() 375 for (pc = eofchars; *pc; pc++) in transmit() 376 send(*pc); in transmit()
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | lpad.c | 75 lpad_setup(int cpuid, uint64_t pc, uint64_t arg) in lpad_setup() argument 120 lpd->pc = pc; in lpad_setup()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | archdep.c | 671 uintptr_t pc; in getpcstack() local 679 pc = ((struct regs *)fp)->r_pc; in getpcstack() 683 pc = fp->fr_savpc; in getpcstack() 696 pcstack[depth++] = (pc_t)pc; in getpcstack() 952 uintptr_t pc, nextpc; in traceback() local 970 pc = fp->fr_savpc; in traceback() 993 if ((sym = kobj_getsymname(pc, &off)) != NULL) { in traceback() 995 mod_containing_pc((caddr_t)pc), sym, off, args); in traceback() 1001 (uintptr_t)fp, pc, args); in traceback() 1003 "%lx (%s) | ", pc, args); in traceback() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/ |
H A D | bnx_hw_cpu.c | 46 u32_t pc; member 224 REG_WR_IND(pdev, cpu_reg->pc, fw->start_addr); in load_cpu_fw() 261 cpu_reg.pc = OFFSETOF(reg_space_t, rxp.rxp_cpu_program_counter); in init_5706_cpus() 309 cpu_reg.pc = OFFSETOF(reg_space_t, txp.txp_cpu_program_counter); in init_5706_cpus() 357 cpu_reg.pc = OFFSETOF(reg_space_t, tpat.tpat_cpu_program_counter); in init_5706_cpus() 405 cpu_reg.pc = OFFSETOF(reg_space_t, com.com_cpu_program_counter); in init_5706_cpus() 453 cpu_reg.pc = OFFSETOF(reg_space_t, cp.cp_cpu_program_counter); in init_5706_cpus() 519 cpu_reg.pc = OFFSETOF(reg_space_t, rxp.rxp_cpu_program_counter); in init_5709_cpus() 567 cpu_reg.pc = OFFSETOF(reg_space_t, txp.txp_cpu_program_counter); in init_5709_cpus() 663 cpu_reg.pc = OFFSETOF(reg_space_t, com.com_cpu_program_counter); in init_5709_cpus() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_pf.c | 272 ushort_t *pc; in pf_codeprint() local 280 for (pc = code; pc < plast; pc++) { in pf_codeprint() 281 printf("\t%3d: ", pc - code); in pf_codeprint() 283 op = *pc & 0xfc00; /* high 10 bits */ in pf_codeprint() 284 action = *pc & 0x3ff; /* low 6 bits */ in pf_codeprint() 376 pc++; in pf_codeprint() 377 printf("\n\t%3d: %d (0x%04x)", pc - code, *pc, *pc); in pf_codeprint()
|
/illumos-gate/usr/src/common/mc/zen_umc/ |
H A D | zen_umc_dump.c | 178 nvlist_t *pc = fnvlist_alloc(); in zen_umc_dump_chan_hash() local 180 fnvlist_add_uint32(pc, "uph_row_xor", in zen_umc_dump_chan_hash() 182 fnvlist_add_uint32(pc, "uph_col_xor", in zen_umc_dump_chan_hash() 184 fnvlist_add_uint8(pc, "uph_bank_xor", in zen_umc_dump_chan_hash() 186 fnvlist_add_boolean_value(pc, "uph_en", in zen_umc_dump_chan_hash() 189 fnvlist_add_nvlist(nvl, "uch_pch_hash", pc); in zen_umc_dump_chan_hash() 190 fnvlist_free(pc); in zen_umc_dump_chan_hash() 544 nvlist_t *pc; in zen_umc_restore_hash() local 546 if (nvlist_lookup_nvlist(nvl, "uch_pch_hash", &pc) != 0) { in zen_umc_restore_hash() 550 if (nvlist_lookup_pairs(pc, 0, in zen_umc_restore_hash()
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/amd64/ |
H A D | plt64_resolution.c | 49 plt64_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, in plt64_resolution() argument 62 pltoff = pc - pltbase; in plt64_resolution()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | instr_size.c | 130 caddr_t pc = (caddr_t)rp->r_pc; in instr_size() local 132 (void) copyin_nowatch(pc, (caddr_t)instr, sizeof (instr)); in instr_size()
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | cdutils.h | 41 int mode_sense(int fd, uchar_t pc, int dbd, int page_len, 43 int get_mode_page(int fd, int page_no, int pc, int buf_len,
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | kdi.c | 57 kdi_dvec_handle_fault(greg_t trapno, greg_t pc, greg_t sp, int cpuid) in kdi_dvec_handle_fault() argument 59 kdi_dvec->dv_handle_fault(trapno, pc, sp, cpuid); in kdi_dvec_handle_fault()
|
H A D | driver.c | 141 pm_ppm_cookie_t pc; in devi_attach() local 147 pm_pre_attach(devi, &pc, cmd); in devi_attach() 169 pm_post_attach(&pc, error); in devi_attach() 186 pm_ppm_cookie_t pc; in devi_detach() local 204 pm_pre_detach(devi, cmd, &pc); in devi_detach() 211 pm_post_detach(&pc, error); in devi_detach()
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | engine.c | 915 sopno pc; in step() local 920 for (pc = start, INIT(here, pc); pc != stop; pc++, INC(here)) { in step() 921 s = g->strip[pc]; in step() 924 assert(pc == stop-1); in step() 970 pc -= OPND(s) + 1; in step() 971 INIT(here, pc); in step() 987 assert(OP(g->strip[pc+OPND(s)]) == (sop)OOR2); in step() 993 OP(s = g->strip[pc+look]) != (sop)O_CH; in step() 1001 if (OP(g->strip[pc+OPND(s)]) != (sop)O_CH) { in step() 1002 assert(OP(g->strip[pc+OPND(s)]) == (sop)OOR2); in step()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ds/ |
H A D | mdb_ds.c | 60 uintptr_t sp, pc; in cmd_stack() local 122 pc = ((uintptr_t *)f.f_pcb)[2]; in cmd_stack() 125 pc = ((uintptr_t *)f.f_pcb)[7]; in cmd_stack() 128 pc = ((uintptr_t *)f.f_pcb)[5]; in cmd_stack() 132 if (pc != 0) in cmd_stack() 133 mdb_printf(" [ %0?lr %a() ]\n", sp, pc); in cmd_stack()
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 418 uintptr_t pc, fp, lastfp; in showstack() local 429 pc = fpp->fr_savpc; in showstack() 434 if ((sym = kobj_getsymname(pc, &off)) != NULL) in showstack() 436 mod_containing_pc((caddr_t)pc), sym, off); in showstack() 437 else if ((pc >= xen_virt_start) && (pc <= xpv_end)) in showstack() 438 xpv_panic_printf("%08lx 0x%lx (in Xen)\n", fp, pc); in showstack() 440 xpv_panic_printf("%08lx %lx\n", fp, pc); in showstack()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disp2.c | 371 register CLASS *pc; in s_load_class() local 380 else if (!(pc = Getclass(class))) { in s_load_class() 397 pcs->class = pc; in s_load_class() 426 } else if ((pcs = new_cstatus(pc))) { in s_load_class() 436 freeclass (pc); in s_load_class()
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/sparc/ |
H A D | plt32_resolution.c | 48 plt32_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, in plt32_resolution() argument 57 pltoff = pc - pltbase; in plt32_resolution()
|
/illumos-gate/usr/src/lib/ |
H A D | Makefile.targ | 93 %.pc: $(SRCDIR)/%.pc.in
|