Searched refs:pc (Results 1 - 25 of 256) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice_info.c322 * @param pc Parsing context
328 handle_match (ParsingContext * pc, const char **attr) argument
347 pc->device->udi,
350 HAL_ERROR (("Could not resolve keypath '%s' on udi '%s'", key, pc->device->udi));
668 * @param pc Parsing context
672 handle_merge (ParsingContext * pc, const char **attr) argument
676 pc->merge_type = MERGE_TYPE_UNKNOWN;
688 strncpy (pc->merge_key, attr[1], MAX_KEY_SIZE);
695 pc->merge_type = MERGE_TYPE_STRING;
699 pc
732 handle_append_prepend(ParsingContext * pc, const char **attr) argument
776 handle_spawn(ParsingContext * pc, const char **attr) argument
804 handle_remove(ParsingContext * pc, const char **attr) argument
846 handle_clear(ParsingContext * pc, const char **attr) argument
878 parsing_abort(ParsingContext * pc) argument
892 start(ParsingContext * pc, const char *el, const char **attr) argument
1090 end(ParsingContext * pc, const char *el) argument
1329 cdata(ParsingContext * pc, const char *s, int len) argument
[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);
94 static void _fromclass (printer, class, pc)
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dpcache.c71 PathCache *pc; /* The path-list cache in which to look up the executables */ member in struct:PcaPathConf
126 char *dir; /* The directory pathname (stored in pc->sg) */
131 /* and its contents are taken from pc->abs_mem */
132 /* or pc->rel_mem */
138 static int add_PathNode(PathCache *pc, const char *dirname);
166 void *data; /* Annonymous data to be passed to pc->check_fn() */
174 static void pca_clear_cache(PathCache *pc);
177 * Read a username from string[] and record it in pc->usrnam[].
179 static int pca_read_username(PathCache *pc, const char *string, int slen,
186 static int pca_extract_dir(PathCache *pc, cons
269 PathCache *pc; /* The object to be returned */ local
364 del_PathCache(PathCache *pc) argument
432 pca_set_check_fn(PathCache *pc, CplCheckFn *check_fn, void *data) argument
464 pca_last_error(PathCache *pc) argument
475 pca_clear_cache(PathCache *pc) argument
510 pca_scan_path(PathCache *pc, const char *path) argument
583 pca_extract_dir(PathCache *pc, const char *path, const char **nextp) argument
662 pca_read_username(PathCache *pc, const char *string, int slen, int literal, const char **nextp) argument
808 add_PathNode(PathCache *pc, const char *dirname) argument
888 pca_scan_dir(PathCache *pc, const char *dirname, CacheMem *mem) argument
1012 pca_lookup_file(PathCache *pc, const char *name, int name_len, int literal) argument
1135 new_PcaPathConf(PathCache *pc) argument
1172 pca_init_PcaPathConf(PcaPathConf *ppc, PathCache *pc) argument
1218 PathCache *pc; /* The cache in which to look for completions */ local
1441 pca_prepare_suffix(PathCache *pc, const char *suffix, int add_escapes) argument
1561 pca_prepare_prefix(PathCache *pc, const char *prefix, size_t prefix_len, int escaped) argument
1636 pca_expand_tilde(PathCache *pc, const char *path, int pathlen, int literal, const char **endp) argument
1700 pca_remove_marks(PathCache *pc) argument
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Ddelay.c74 char pc; local
93 pc = *pad_char;
95 pc = 0;
97 (*outc)(pc);
H A Dmvderwin.c60 chtype obkgd, **wc, **pc; local
83 pc = par->_y + pary;
86 for (y = 0; y <= maxy; ++y, ++wc, ++pc, ++begch, ++endch) {
87 *wc = *pc + parx;
/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/cmd/lp/cmd/lpsched/
H A Dvalidate.c73 register CANDIDATE *pc = 0, local
320 (pc = &single)->pps = pps;
354 if (!CHKOPTS(prs, pc, pfs)) {
366 if (!pickfilter(prs, pc, pfs)) {
371 best_pc = pc;
443 for (pcend2 = pc = arena; pc < pcend; pc++) {
444 if (CHKU(prs, pc->pps) && CHKOPTS(prs, pc, pf
837 _chkopts(RSTATUS *prs, CANDIDATE *pc, FSTATUS *pfs) argument
978 free_candidate(CANDIDATE *pc) argument
[all...]
H A Dpickfilter.c82 pickfilter(RSTATUS *prs, CANDIDATE *pc, FSTATUS *pfs) argument
87 register PSTATUS * pps = pc->pps;
274 valid_printer_types = pc->printer_types;
280 pc->fast = 0;
281 pc->slow = 0;
282 pc->output_type = 0;
283 pc->flags = 0;
308 pc->printer_type = Strdup(prs->request->input_type);
326 pc->printer_type = Strdup(*(pc
[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) argument
48 mdb_dprintf(MDB_DBG_DPI, "\ndpi_handle_fault: trapno %u, pc 0x%0?p, "
49 "sp 0x%0?p\n", (int)trapno, pc, sp);
65 kmdb_fault(trapno, pc, sp, cpuid);
96 kreg_t pc, trapno; local
101 (void) kmdb_dpi_get_register("pc", &pc);
102 mdb_dprintf(MDB_DBG_PROC, "Resume requested, pc is %p\n",
103 (void *)pc);
112 (void) kmdb_dpi_get_register("pc",
[all...]
H A Dkmdb_fault_isadep.c45 print_frame(uintptr_t pc, int fnum, int safe) argument
52 mdb_iob_printf(mdb.m_err, " [%2d] %?p()\n", fnum, pc);
54 mdb_iob_printf(mdb.m_err, " [%2d] %?p %A()\n", fnum, pc, pc);
93 kmdb_fault_display(kreg_t trapno, kreg_t pc, kreg_t sp, int safe) argument
95 mdb_iob_printf(mdb.m_err, " trapno: %d, sp: %p, pc: %p", trapno,
96 sp, pc);
98 mdb_iob_printf(mdb.m_err, " %A", pc);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_icmp.c67 char *pt, *pc, *px; local
80 pc = "";
88 pc = buff;
98 pc = buff;
100 pc = "Bad net";
108 pc = buff;
110 pc = "Bad host";
117 pc = buff;
119 pc = "Bad protocol";
131 pc
387 icmp->icmp_code, pc); local
445 char *pt, *pc; local
602 icmp6->icmp6_code, pc); local
[all...]
H A Dsnoop_mip.c289 char *pt, *pc = NULL; local
320 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL)) ?
324 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))?
328 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))?
332 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))?
336 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))?
340 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))?
344 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))?
349 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))?
353 pc
591 "Code = %d %s", (int)rrep->code, pc); local
[all...]
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Ddisasm.c36 disassemble(unsigned int instr, unsigned long pc, FUNCPTR prtAddress, argument
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dldebug.h14 #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1)
16 #define getfuncline(f,pc) (((f)->lineinfo) ? (f)->lineinfo[pc] : 0)
/illumos-gate/usr/src/lib/iconv_modules/hi_IN/
H A DMakefile.com29 iscii91%pc-iscii.c \
30 pc-iscii%iscii91.c \
/illumos-gate/usr/src/tools/smatch/src/validation/
H A DWaddress-space-all-attr.c13 obj_t __user *p, obj_t __percpu *pc,
31 (ulong)(pc); (__UINTPTR_TYPE__)(pc);
32 (void *)(pc);
33 (obj_t*)(pc);
34 (obj_t __percpu*)(pc);
12 expl(obj_t __kernel *k, obj_t __iomem *o, obj_t __user *p, obj_t __percpu *pc, obj_t __rcu *r) argument
H A DWaddress-space-from.c12 obj_t __user *p, obj_t __percpu *pc,
33 (__UINTPTR_TYPE__)(pc); // OK
34 (unsigned long)(pc); // OK
35 (void *)(pc);
36 (obj_t*)(pc);
37 (obj_t __percpu*)(pc); // OK
11 expl(obj_t __kernel *k, obj_t __iomem *o, obj_t __user *p, obj_t __percpu *pc, obj_t __rcu *r) argument
/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/uts/sun4v/promif/
H A Dpromif_cpu.c89 caddr_t pc; local
98 pc = p1275_cell2ptr(ci[4]);
106 lpp = lpad_setup(cpuid, (uint64_t)pc, (uint64_t)arg);
110 pc = (caddr_t)lpp;
112 rv = hv_cpu_start(cpuid, va_to_pa(pc), rtba, cpuid);
/illumos-gate/usr/src/cmd/sh/
H A Dmacro.c50 unsigned char *pc; local
68 pc = readw(d);
70 while(*pc) {
73 pushstak(*pc++);
76 pc = readw(d);
79 if (*pc) {
80 while (*pc) {
83 pushstak(*pc++);
88 pushstak(*pc);
92 pc
460 unsigned char *pc; local
580 unsigned char *pc; local
[all...]
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathcheck.c52 pathcheck(const char* package, const char* tool, Pathcheck_t* pc) argument
89 if (pc) memzero(pc, sizeof(*pc));
/illumos-gate/usr/src/lib/libdisasm/common/
H A Dlibdisasm.c222 dis_generic_previnstr(dis_handle_t *dhp, uint64_t pc, int n) argument
226 uint64_t res = pc;
229 return (pc);
231 if (dhp->dh_lookup(dhp->dh_data, pc, NULL, 0, &start, NULL) != 0 ||
232 start == pc)
237 for (cur = 0, nseen = 0, addr = start; addr < pc; addr = dhp->dh_addr) {
247 if (addr != pc) {
249 * We scanned past %pc, but didn't find an instruction that
250 * started at %pc. This means that either the caller specified
271 dis_previnstr(dis_handle_t *dhp, uint64_t pc, in argument
292 dis_generic_instrlen(dis_handle_t *dhp, uint64_t pc) argument
301 dis_instrlen(dis_handle_t *dhp, uint64_t pc) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_dpi_isadep.c122 kreg_t pc, tt; local
127 (void) kmdb_dpi_get_register("pc", &pc);
128 mdb_dprintf(MDB_DBG_PROC, "Resume requested, pc is %p\n",
129 (void *)pc);
138 (void) kmdb_dpi_get_register("pc", &pc);
140 mdb_dprintf(MDB_DBG_PROC, "Back from resume, pc: %p, tt: %lx\n",
141 (void *)pc, tt);
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Ddlamd64getunwind.c37 getunwind_core(Lm_list *lml, void *pc, Dl_amd64_unwindinfo *unwindinfo) argument
66 * Identify the link-map associated with the exception "pc". Note,
67 * the "pc" might not correspond to a link-map (as can happen with a
68 * "pc" fabricated by a debugger such as dbx). In this case, the
72 lmp = _caller(pc, CL_NONE);
80 if ((mpp = find_segment(pc, lmp)) == NULL)
118 dlamd64getunwind(void *pc, Dl_amd64_unwindinfo *unwindinfo) argument
127 unwindinfo = getunwind_core(lml, pc, unwindinfo);
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dboot_a.out.s65 aout_rtbndr(caddr_t pc)
67 (void) aout_bndr(pc);
103 aout_plt_write(caddr_t pc, unsigned long symval)
106 *(unsigned long *)(pc) = (M_SETHIG1 | (symval >> (32 - 22)));
108 *(unsigned long *)(pc + 4) = (M_JMPL | (symval & S_MASK(10)));

Completed in 105 milliseconds

1234567891011