Home
last modified time | relevance | path

Searched refs:pc (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/lib/libtecla/common/
H A Dpcache.c348 cfc_set_check_fn(pc->cfc, pc->check_fn, pc->data); in new_PathCache()
370 pc->err = _del_ErrMsg(pc->err); in del_PathCache()
389 pc->path = _del_PathName(pc->path); in del_PathCache()
393 pc->home = _del_HomeDir(pc->home); in del_PathCache()
397 pc->dr = _del_DirReader(pc->dr); in del_PathCache()
401 pc->cfc = del_CplFileConf(pc->cfc); in del_PathCache()
482 pc->head = pc->tail = NULL; in pca_clear_cache()
548 if(add_PathNode(pc, pc->path->name)) in pca_scan_path()
868 pc->head = pc->tail = node; in add_PathNode()
1183 ppc->pc = pc; in pca_init_PcaPathConf()
[all …]
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice_info.c931 pc->match_depth_first_fail = pc->depth; in start()
1069 pc->curelem_stack[pc->depth] = pc->curelem; in start()
1095 pc->cdata_buf[pc->cdata_buf_len] = '\0'; in end()
1105 hal_device_property_set_string (pc->device, pc->merge_key, pc->cdata_buf); in end()
1113 hal_device_property_strlist_append (pc->device, pc->merge_key, pc->cdata_buf); in end()
1189 pc->merge_type, pc->merge_type)); in end()
1203 hal_device_property_strlist_append (pc->device, pc->merge_key, pc->cdata_buf); in end()
1241 hal_device_property_strlist_prepend (pc->device, pc->merge_key, pc->cdata_buf); in end()
1272 hal_device_property_strlist_remove (pc->device, pc->merge_key, pc->cdata_buf); in end()
1288 pc->merge_key, pc->device->udi)); in end()
[all …]
/illumos-gate/usr/src/uts/common/io/bpf/
H A Dbpf_filter.c153 --pc; in bpf_filter()
156 ++pc; in bpf_filter()
342 pc += pc->k; in bpf_filter()
346 pc += (A > pc->k) ? pc->jt : pc->jf; in bpf_filter()
350 pc += (A >= pc->k) ? pc->jt : pc->jf; in bpf_filter()
354 pc += (A == pc->k) ? pc->jt : pc->jf; in bpf_filter()
358 pc += (A & pc->k) ? pc->jt : pc->jf; in bpf_filter()
362 pc += (A > X) ? pc->jt : pc->jf; in bpf_filter()
366 pc += (A >= X) ? pc->jt : pc->jf; in bpf_filter()
370 pc += (A == X) ? pc->jt : pc->jf; in bpf_filter()
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dvalidate.c371 best_pc = pc; in _validate()
443 for (pcend2 = pc = arena; pc < pcend; pc++) { in _validate()
444 if (CHKU(prs, pc->pps) && CHKOPTS(prs, pc, pfs)) in _validate()
465 for (pcend2 = pc = arena; pc < pcend; pc++) in _validate()
487 for (pcend2 = pc = arena; pc < pcend; pc++) in _validate()
543 for (pcend2 = pc = arena; pc < pcend; pc++) in _validate()
552 if (!pc->fast && !pc->slow) in _validate()
607 for (pcend2 = pc = arena; pc < pcend; pc++) { in _validate()
647 for (pc = arena + 1; pc < pcend; pc++) in _validate()
805 for (pc = arena; pc < pcend; pc++) in _validate()
[all …]
H A Dpickfilter.c280 pc->fast = 0; in pickfilter()
281 pc->slow = 0; in pickfilter()
282 pc->output_type = 0; in pickfilter()
283 pc->flags = 0; in pickfilter()
326 pc->printer_type = Strdup(*(pc->printer_types)); in pickfilter()
359 &(pc->flags) in pickfilter()
389 &(pc->flags) in pickfilter()
392 pc->printer_type = Strdup(*(pc->printer_types)); in pickfilter()
408 pc->printer_type, in pickfilter()
458 pc->printer_type, in pickfilter()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dstrmatch.c212 if (pc == '*' || pc == '?' || pc == '+' && oldp == r) in onematch()
222 if (pc == '*' || pc == '+') in onematch()
229 pc = (pc != '!'); in onematch()
292 if (pc >= '0' && pc <= '9') in onematch()
301 pc = tolower(pc); in onematch()
318 else if (pc != '?' && pc != sc) in onematch()
456 pc = tolower(pc); in onematch()
460 if (sc == x || sc == pc || sc > x && sc < pc) in onematch()
480 pc = tolower(pc); in onematch()
493 if (pc >= '0' && pc <= '9') in onematch()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_icmp.c80 pc = ""; in interpret_icmp()
88 pc = buff; in interpret_icmp()
98 pc = buff; in interpret_icmp()
218 pc = buff; in interpret_icmp()
224 pc = buff; in interpret_icmp()
360 pc = buff; in interpret_icmp()
368 if (*pc) { in interpret_icmp()
385 if (*pc) { in interpret_icmp()
455 pc = "";
589 if (*pc)
[all …]
H A Dsnoop_mip.c289 char *pt, *pc = NULL; in interpret_mip_cntrlmsg() local
324 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
328 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
332 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
336 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
340 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
344 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
349 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
485 pc = "?"; in interpret_mip_cntrlmsg()
496 if (pc != NULL) in interpret_mip_cntrlmsg()
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Dfromclass.c51 CLASS *pc; local
53 if (!(pc = getclass(class))) {
58 if (!searchlist(printer, pc->members)) {
63 _fromclass (printer, class, pc);
75 register CLASS *pc; local
78 while ((pc = getclass(NAME_ALL)))
79 if (searchlist(printer, pc->members))
80 _fromclass (printer, pc->name, pc);
97 CLASS *pc;
107 if (!pc->members)
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dmacro.c50 unsigned char *pc; in copyto() local
70 while(*pc) { in copyto()
79 if (*pc) { in copyto()
96 while(*pc) { in copyto()
107 pc = readw(c); in copyto()
110 if (*pc) { in copyto()
111 while (*pc) { in copyto()
122 pc = readw(c); in copyto()
123 while (*pc) { in copyto()
476 if (*pc) { in comsubst()
[all …]
H A Dword.c53 unsigned char *pc; in word() local
85 pc = readw(c); in word()
118 pc = readw(c); in word()
119 while (*pc) { in word()
122 *argp++ = *pc++; in word()
131 pc = readw(cc); in word()
132 while (*pc) { in word()
135 *argp++ = *pc++; in word()
153 pc = readw(c); in word()
154 while (*pc) { in word()
[all …]
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Dfasttrap_isa.c528 npc = pc + 4; in fasttrap_pid_probe()
659 npc = pc + 4; in fasttrap_pid_probe()
669 npc = pc + 4; in fasttrap_pid_probe()
734 npc = pc + 4; in fasttrap_pid_probe()
737 npc = pc + 4; in fasttrap_pid_probe()
808 npc = pc + 4; in fasttrap_pid_probe()
811 npc = pc + 4; in fasttrap_pid_probe()
861 npc = pc + 4; in fasttrap_pid_probe()
890 npc = pc + 4; in fasttrap_pid_probe()
1007 rp->r_pc = pc; in fasttrap_pid_probe()
[all …]
/illumos-gate/usr/src/lib/libdisasm/common/
H A Dlibdisasm.c226 uint64_t res = pc; in dis_generic_previnstr()
229 return (pc); in dis_generic_previnstr()
232 start == pc) in dis_generic_previnstr()
247 if (addr != pc) { in dis_generic_previnstr()
274 return (dis_generic_previnstr(dhp, pc, n)); in dis_previnstr()
276 return (dhp->dh_arch->da_previnstr(dhp, pc, n)); in dis_previnstr()
294 if (dis_disassemble(dhp, pc, NULL, 0) != 0) in dis_generic_instrlen()
297 return (dhp->dh_addr - pc); in dis_generic_instrlen()
301 dis_instrlen(dis_handle_t *dhp, uint64_t pc) in dis_instrlen() argument
304 return (dis_generic_instrlen(dhp, pc)); in dis_instrlen()
[all …]
/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c205 long pc; in Pstack_iter() member
212 prgreg_t pc, ctf_pc; in Pstack_iter() local
221 long pc; in Pstack_iter() member
235 ctf_pc = pc = regs[R_PC]; in Pstack_iter()
237 while (fp != 0 || pc != 0) { in Pstack_iter()
249 if (frame.pc != -1L) { in Pstack_iter()
263 ctf_pc = frame.pc; in Pstack_iter()
265 gregs[R_PC] = pc; in Pstack_iter()
278 pc = gregs[R_PC]; in Pstack_iter()
284 pc = frame.pc; in Pstack_iter()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dcommon.c165 char c = '\0', *pc; in parse_quote() local
169 pc = *linep; in parse_quote()
170 if (*pc == '\0') in parse_quote()
174 c = *pc++; in parse_quote()
178 if (c == '\\' && *pc != '\0') { in parse_quote()
179 c = *pc++; in parse_quote()
195 if (*pc >= '0' && *pc <= '7') { in parse_quote()
196 c = (c<<3)+(*pc++ - '0'); in parse_quote()
197 if (*pc >= '0' && *pc <= '7') in parse_quote()
198 c = (c<<3)+(*pc++ - '0'); in parse_quote()
[all …]
/illumos-gate/usr/src/uts/intel/dtrace/
H A Ddtrace_isa.c51 uintptr_t pc; in dtrace_getpcstack() local
67 pc = fp->fr_savpc; in dtrace_getpcstack()
138 while (pc != 0) { in dtrace_getustack_common()
150 *pcstack++ = (uint64_t)pc; in dtrace_getustack_common()
219 uintptr_t pc, sp; in dtrace_getupcstack() local
242 pc = rp->r_pc; in dtrace_getupcstack()
246 *pcstack++ = (uint64_t)pc; in dtrace_getupcstack()
275 uintptr_t pc, sp; in dtrace_getustackdepth() local
284 pc = rp->r_pc; in dtrace_getustackdepth()
330 pc = rp->r_pc; in dtrace_getufpstack()
[all …]
H A Dfasttrap_isa.c925 rp->r_pc = pc; in fasttrap_pid_probe()
1092 new_pc = pc; in fasttrap_pid_probe()
1227 new_pc = pc; in fasttrap_pid_probe()
1263 new_pc = pc; in fasttrap_pid_probe()
1272 new_pc = pc; in fasttrap_pid_probe()
1283 new_pc = pc; in fasttrap_pid_probe()
1305 pc + tp->ftt_size); in fasttrap_pid_probe()
1314 new_pc = pc; in fasttrap_pid_probe()
1522 new_pc = pc; in fasttrap_pid_probe()
1566 rp->r_pc = pc; in fasttrap_pid_probe()
[all …]
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c267 prgreg32_t pc; in Pstack_iter32() member
284 prgreg32_t pc; in Pstack_iter32() member
327 ctf_pc = frame.pc; in Pstack_iter32()
329 gregs[R_PC] = pc; in Pstack_iter32()
351 pc = frame.pc; in Pstack_iter32()
501 uintptr_t pc; in Pstack_iter() member
507 prgreg_t pc; in Pstack_iter() local
525 prgreg_t pc; in Pstack_iter() member
538 pc = gregs[R_PC]; in Pstack_iter()
565 gregs[R_PC] = pc; in Pstack_iter()
[all …]
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkmdb_dpi_isadep.c44 kmdb_dpi_handle_fault(kreg_t trapno, kreg_t pc, kreg_t sp, int cpuid) in kmdb_dpi_handle_fault() argument
49 "sp 0x%0?p\n", (int)trapno, pc, sp); in kmdb_dpi_handle_fault()
65 kmdb_fault(trapno, pc, sp, cpuid); in kmdb_dpi_handle_fault()
96 kreg_t pc, trapno; in kmdb_dpi_resume_common() local
101 (void) kmdb_dpi_get_register("pc", &pc); in kmdb_dpi_resume_common()
103 (void *)pc); in kmdb_dpi_resume_common()
112 (void) kmdb_dpi_get_register("pc", &pc); in kmdb_dpi_resume_common()
115 "trapno: %u\n", (void *)pc, (int)trapno); in kmdb_dpi_resume_common()
H A Dkmdb_fault_isadep.c45 print_frame(uintptr_t pc, int fnum, int safe) in print_frame() argument
52 mdb_iob_printf(mdb.m_err, " [%2d] %?p()\n", fnum, pc); in print_frame()
54 mdb_iob_printf(mdb.m_err, " [%2d] %?p %A()\n", fnum, pc, pc); in print_frame()
93 kmdb_fault_display(kreg_t trapno, kreg_t pc, kreg_t sp, int safe) in kmdb_fault_display() argument
96 sp, pc); in kmdb_fault_display()
98 mdb_iob_printf(mdb.m_err, " %A", pc); in kmdb_fault_display()
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dmdb_ia32util.c215 uintptr_t pc = gsp->kregs[KREG_EIP]; in mdb_ia32_kvm_stack_iter() local
295 kregs[KREG_EIP] = pc = fr.fr_savpc; in mdb_ia32_kvm_stack_iter()
297 got_pc = (pc != 0); in mdb_ia32_kvm_stack_iter()
332 if (mdb_tgt_lookup_by_addr(t, pc, MDB_TGT_SYM_FUZZY, in mdb_ia32_step_out()
334 if (pc == s.st_value && curinstr == M_PUSHL_EBP) in mdb_ia32_step_out()
383 *p = pc + sizeof (mdb_instr_t) + sizeof (uint32_t); in mdb_ia32_next()
404 *p = pc + 3; /* skip pr_instr, m, disp8 */ in mdb_ia32_next()
407 *p = pc + 6; /* skip pr_instr, m, disp32 */ in mdb_ia32_next()
411 *p = pc + 6; in mdb_ia32_next()
416 *p = pc + 2; /* skip pr_instr, m */ in mdb_ia32_next()
[all …]
H A Dmdb_amd64util.c223 uintptr_t pc = gsp->kregs[KREG_RIP]; in mdb_amd64_kvm_stack_iter() local
334 pc - s.st_value); in mdb_amd64_kvm_stack_iter()
405 kregs[KREG_RIP] = pc = fr.fr_savpc; in mdb_amd64_kvm_stack_iter()
407 got_pc = (pc != 0); in mdb_amd64_kvm_stack_iter()
437 if (mdb_tgt_lookup_by_addr(t, pc, MDB_TGT_SYM_FUZZY, in mdb_amd64_step_out()
439 if (pc == s.st_value && curinstr == M_PUSHQ_RBP) in mdb_amd64_step_out()
478 *p = pc + sizeof (mdb_instr_t) + sizeof (uint32_t); in mdb_amd64_next()
483 callpc = pc; in mdb_amd64_next()
496 if (npc == pc) in mdb_amd64_next()
509 mdb_printf("%a(", pc); in mdb_amd64_kvm_frame()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dldebug.c355 int pc; in findsetreg() local
358 for (pc = 0; pc < lastpc; pc++) { in findsetreg()
359 Instruction i = p->code[pc]; in findsetreg()
366 setreg = filterpc(pc, jmptarget); in findsetreg()
382 int dest = pc + 1 + b; in findsetreg()
384 if (pc < dest && dest <= lastpc) { in findsetreg()
407 int pc; in getobjname() local
412 pc = findsetreg(p, lastpc, reg); in getobjname()
414 Instruction i = p->code[pc]; in getobjname()
430 kname(p, pc, k, name); in getobjname()
[all …]
H A Dlcode.c81 int offset = dest-(pc+1); in fixjump()
94 fs->lasttarget = fs->pc; in luaK_getlabel()
95 return fs->pc; in luaK_getlabel()
163 patchlistaux(fs, fs->jpc, fs->pc, NO_REG, fs->pc); in dischargejpc()
169 if (target == fs->pc) in luaK_patchlist()
217 f->code[fs->pc] = i; in luaK_code()
222 return fs->pc++; in luaK_code()
599 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET && in invertjump()
601 SETARG_A(*pc, !(GETARG_A(*pc))); in invertjump()
626 pc = e->u.info; in luaK_goiftrue()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A DWaddress-space-from.c12 obj_t __user *p, obj_t __percpu *pc, in expl() argument
33 (__UINTPTR_TYPE__)(pc); // OK in expl()
34 (unsigned long)(pc); // OK in expl()
35 (void *)(pc); in expl()
36 (obj_t*)(pc); in expl()
37 (obj_t __percpu*)(pc); // OK in expl()

12345678910>>...12