Searched defs:pc (Results 26 - 50 of 180) sorted by relevance

12345678

/illumos-gate/usr/src/cmd/mdb/sparc/mdb/
H A Dmdb_v9util.c91 { "pc", KREG_PC, MDB_TGT_R_EXPORT },
205 mdb_printf(" %%pc = 0x%0?p %A\n", GETREG2(KREG_PC));
265 * - If we got a pc, invoke the call back function starting
267 * - If we got a saved pc (%i7), invoke the call back function
269 * - If we got neither a pc nor a saved pc, invoke the call back
308 mdb_kvm_v9frame(void *arglim, uintptr_t pc, uint_t argc, const long *argv, argument
312 mdb_printf("%a(", pc);
325 mdb_kvm_v9framev(void *arglim, uintptr_t pc, uint_t argc, const long *argv, argument
329 mdb_printf("%0?llr %a(", gregs->kregs[KREG_SP], pc);
342 mdb_kvm_v9framer(void *arglim, uintptr_t pc, uint_t argc, const long *argv, const mdb_tgt_gregset_t *gregs) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/librtld_db/sparcv9/
H A Dplt64_resolution.c53 plt64_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, argument
67 pltoff = pc - pltbase;
/illumos-gate/usr/src/cmd/sh/
H A Dword.c53 unsigned char *pc; local
85 pc = readw(c);
92 while (c = *pc++) {
118 pc = readw(c);
119 while (*pc) {
122 *argp++ = *pc++;
131 pc = readw(cc);
132 while (*pc) {
135 *argp++ = *pc++;
153 pc
[all...]
/illumos-gate/usr/src/uts/common/io/bpf/
H A Dbpf_filter.c133 * Execute the filter program starting at pc on the packet p
141 bpf_filter(struct bpf_insn *pc, uchar_t *p, uint_t wirelen, uint_t buflen) argument
146 if (pc == 0)
153 --pc;
156 ++pc;
157 switch (pc->code) {
162 struct bpf_insn *, pc);
168 return ((uint_t)pc->k);
174 k = pc->k;
193 k = pc
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dkdi.c57 kdi_dvec_handle_fault(greg_t trapno, greg_t pc, greg_t sp, int cpuid) argument
59 kdi_dvec->dv_handle_fault(trapno, pc, sp, cpuid);
/illumos-gate/usr/src/uts/sun4v/os/
H A Dlpad.c75 lpad_setup(int cpuid, uint64_t pc, uint64_t arg) argument
120 lpd->pc = pc;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dinstr_size.c132 caddr_t pc = (caddr_t)rp->r_pc; local
134 (void) copyin_nowatch(pc, (caddr_t)instr, sizeof (instr));
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_match.c143 char pc; /* current pattern char */ local
170 while ((pc = *pat) != '\0') {
171 switch (pc) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dcommon.c165 char c = '\0', *pc; local
169 pc = *linep;
170 if (*pc == '\0')
174 c = *pc++;
178 if (c == '\\' && *pc != '\0') {
179 c = *pc++;
195 if (*pc >= '0' && *pc <= '7') {
196 c = (c<<3)+(*pc++ - '0');
197 if (*pc >
[all...]
/illumos-gate/usr/src/cmd/sgs/librtld_db/i386/
H A Dplt32_resolution.c146 plt32_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, argument
159 pltoff = pc - pltbase;
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dsparc_a.out.c64 aout_bndr(caddr_t pc) argument
88 if (pc > (caddr_t)(LM2LP(lmp)->lp_plt) &&
89 pc < (caddr_t)((int)LM2LP(lmp)->lp_plt +
99 rndx = *(int *)(pc + (sizeof (ulong_t *) * 2)) & LAST22BITS;
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dv831.c159 #define pc(x) (c = x, (void) write(AC, &c, 1)) macro
198 pc(STX);
199 pc(vp->vc_rack);
200 pc(vp->vc_modem);
202 pc(*phonenum++);
203 pc(SI);
204 pc(ETX);
215 pc(ABORT);
/illumos-gate/usr/src/cmd/truss/
H A Dipc.c267 prgreg_t pc; local
390 (void) Lgetareg(Lwp, R_PC, &pc);
401 (void) Lputareg(Lwp, R_nPC, pc);
403 (void) Lgetareg(Lwp, R_PC, &pc);
406 (void) Lgetareg(Lwp, R_PC, &pc);
411 (void) Pissyscall_prev(Proc, pc, (uintptr_t *)&pc);
412 (void) Lputareg(Lwp, R_PC, pc);
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dlpad.h67 uint64_t pc; /* VA of CPU startup function */ member in struct:lpad_data
73 extern uint64_t *lpad_setup(int cpuid, uint64_t pc, uint64_t arg);
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_printer.c230 CLASS *pc, local
236 Loop: if (!(pc = getclass(c))) {
259 pc = &clsbuf;
261 } else if (searchlist(p, pc->members))
262 LP_ERRMSG2 (WARNING, E_ADM_INCLASS, p, pc->name);
264 else if (addlist(&pc->members, p) == -1) {
270 if (putclass(pc->name, pc) == -1) {
274 pc->name,
281 send_message (S_LOAD_CLASS, pc
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dalerts.c295 CLSTATUS * pc; local
301 ((pc = search_cstatus(dest)) != NULL)
302 && searchlist(printer, pc->class->members)
H A Ddisp2.c371 register CLASS *pc; local
380 else if (!(pc = Getclass(class))) {
397 pcs->class = pc;
426 } else if ((pcs = new_cstatus(pc))) {
436 freeclass (pc);
H A Dpickfilter.c81 pickfilter(RSTATUS *prs, CANDIDATE *pc, FSTATUS *pfs) argument
86 register PSTATUS * pps = pc->pps;
273 valid_printer_types = pc->printer_types;
279 pc->fast = 0;
280 pc->slow = 0;
281 pc->output_type = 0;
282 pc->flags = 0;
307 pc->printer_type = Strdup(prs->request->input_type);
325 pc->printer_type = Strdup(*(pc
[all...]
/illumos-gate/usr/src/lib/libdisasm/common/
H A Ddis_sparc.c202 dis_sparc_previnstr(dis_handle_t *dhp, uint64_t pc, int n) argument
205 return (pc);
207 if (pc < n)
208 return (pc);
210 return (pc - n*4);
215 dis_sparc_instrlen(dis_handle_t *dhp, uint64_t pc) argument
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dsecdb.c357 char *pc; local
369 for (pc = strtok_r(copy, ",", &lasts), i = 0; pc != NULL;
370 pc = strtok_r(NULL, ",", &lasts), i++) {
371 spc[i] = strdup(pc);
/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c138 argcount(struct ps_prochandle *P, long pc, ssize_t sz) argument
148 if (Pread(P, instr, sizeof (instr), pc) != sizeof (instr) ||
182 long pc; member in struct:__anon3805
189 prgreg_t pc; local
198 long pc; member in struct:__anon3806
212 pc = regs[R_PC];
214 while (fp != 0 || pc != 0) {
223 * the return pc of the signal frame to 0xffffffff on
226 if (frame.pc != -1L) {
228 argc = argcount(P, (long)frame.pc, s
[all...]
/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Deh_frame.c147 if ((ctx->pc < func) || (ctx->pc > (func+range)))
298 locate_fde_for_pc(uint64_t pc, int enc,
303 * Search the eh_frame info with a given pc. Return a pointer to a
308 * a matching pc value.
316 uint64_t pc = ctx->pc; local
325 if (0 == dlamd64getunwind((void*)pc, &dlef)) {
349 ctx->fde = locate_fde_for_pc(pc, ft_enc, pi, pj, reloc, base);
354 locate_fde_for_pc(uint64_t pc, in argument
[all...]
H A Dunwind_context.h45 uint64_t pc; member in struct:_Unwind_Context
98 * Computes the func and fde fields using pc as the lookup key.
119 * register values, pc and fde values in a context
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dwalkstack.c226 * when the saved pc is inside this function.
247 * get value of saved fp and pc w/o crashing
288 * the saved fp & pc to pass to user's function
347 display_stack_info(uintptr_t pc, int signo, void *arg) argument
356 (void) addrtosymstr((void *)pc, buffer, sizeof (buffer));
399 callback(uintptr_t pc, int signo, void *arg) argument
406 bt->bt_buffer[bt->bt_actcount++] = (void *)pc;
438 addrtosymstr(void *pc, char *buffer, int size) argument
443 if (dladdr1(pc, &info, (void **)&sym,
445 return (snprintf(buffer, size, "[0x%p]", pc));
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dmem_prop_update.c206 char *pc, *nac; local
265 if ((pc = strrchr(nac, '/')) != NULL)
266 nac = ++pc;

Completed in 88 milliseconds

12345678