Searched refs:idp (Results 26 - 50 of 82) sorted by relevance

1234

/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_register.c30 log_register(dblp, dbp, name, type, idp)
35 u_int32_t *idp;
137 if (idp != NULL)
138 *idp = fnp->id;
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_open.c832 const dt_ident_t *idp; local
1063 for (idp = _dtrace_macros; idp->di_name != NULL; idp++) {
1064 if (dt_idhash_insert(dtp->dt_macros, idp->di_name,
1065 idp->di_kind, idp->di_flags, idp->di_id, idp->di_attr,
1066 idp
1332 dt_ident_t *idp, *ndp; local
[all...]
H A Ddt_lex.l284 dt_ident_t *idp = dt_idhash_lookup(
289 if (idp == NULL) {
298 (void) snprintf(s, sizeof (s), "%u", idp->di_id);
306 dt_ident_t *idp = dt_idhash_lookup(
309 if (idp == NULL) {
318 yylval.l_int = (intmax_t)(int)idp->di_id;
727 dt_ident_t *idp;
795 idp = dt_idhash_insert(yypcb->pcb_idents, s, DT_IDENT_SCALAR, 0,
798 if (idp == NULL)
H A Ddt_decl.c157 dt_decl_pop_param(char **idp) argument
166 if (idp != NULL && dt_decl_top() != NULL) {
167 *idp = dsp->ds_ident;
716 dt_ident_t *idp; local
787 idp = dt_idhash_insert(dtp->dt_globals, name, DT_IDENT_ENUM,
791 if (idp == NULL)
816 idp->di_iarg = inp;
817 idp->di_ctfp = dsp->ds_ctfp;
818 idp->di_type = dsp->ds_type;
H A Ddt_cc.c124 dt_idreset(dt_idhash_t *dhp, dt_ident_t *idp, void *ignored) argument
126 idp->di_flags &= ~(DT_IDFLG_REF | DT_IDFLG_MOD |
133 dt_idpragma(dt_idhash_t *dhp, dt_ident_t *idp, void *ignored) argument
135 yylineno = idp->di_lineno;
136 xyerror(D_PRAGMA_UNUSED, "unused #pragma %s\n", (char *)idp->di_iarg);
1652 dt_ident_t *idp; local
1709 if ((idp = dt_idhash_lookup(dtp->dt_globals, "probeprov")) != NULL)
1710 idp->di_attr = pap->dtpa_provider;
1711 if ((idp = dt_idhash_lookup(dtp->dt_globals, "probemod")) != NULL)
1712 idp
1736 dt_ident_t *idp; local
1749 dt_reduceid(dt_idhash_t *dhp, dt_ident_t *idp, dtrace_hdl_t *dtp) argument
[all...]
H A Ddt_proc.c1116 dt_ident_t *idp = dt_idhash_lookup(dtp->dt_macros, "target"); local
1119 if (P != NULL && idp != NULL && idp->di_id == 0)
1120 idp->di_id = Pstatus(P)->pr_pid; /* $target = created pid */
1128 dt_ident_t *idp = dt_idhash_lookup(dtp->dt_macros, "target"); local
1131 if (P != NULL && idp != NULL && idp->di_id == 0)
1132 idp->di_id = pid; /* $target = grabbed pid */
H A Ddt_program.c399 dt_header_decl(dt_idhash_t *dhp, dt_ident_t *idp, void *data) argument
403 dt_probe_t *prp = idp->di_data;
452 dt_header_probe(dt_idhash_t *dhp, dt_ident_t *idp, void *data) argument
456 dt_probe_t *prp = idp->di_data;
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_asconf.c377 uint32_t *idp; local
397 idp = (uint32_t *)(ch + 1);
398 rlen = ntohs(ch->sch_len) - sizeof (*ch) - sizeof (*idp);
400 if (rlen < 0 || rlen < sizeof (*idp)) {
406 *idp = ntohl(*idp);
407 if (*idp == (sctp->sctp_fcsn + 1)) {
409 } else if (*idp == sctp->sctp_fcsn) {
417 hmp = sctp_make_mp(sctp, fp, sizeof (*ach) + sizeof (*idp));
428 *hidp = htonl(*idp);
599 uint32_t *idp; local
617 uint32_t *idp; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c741 keywdtab_t *idp; local
746 for (idp = idtypes; idp->kw_str != NULL; idp++) {
747 if (strcasecmp(idp->kw_str, type) == 0) {
749 *idnum = idp->kw_tag;
765 sadb_ident_t *idp; local
771 *idpp = idp = (sadb_ident_t *)malloc(alloclen);
772 if (idp == NULL)
775 if ((consumed = parse_idtype(argv[0], &idp
1796 print_id(char *prefix, sadb_ident_t *idp, int init_instr) argument
1827 print_idspec(char *prefix, char *idp, int icnt, int ecnt) argument
2755 do_getdel_doorcall(int cmd, int idlen, int idtype, char *idp, char *name) argument
2825 char *name, *idp, *p, *p1, *p2; local
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_sram.c56 sfxge_sram_buf_tbl_alloc(sfxge_t *sp, size_t n, uint32_t *idp) argument
70 *idp = (uint32_t)id - 1;
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_idspace.c98 id_t *ida, *idp; local
103 ida = idp = fmd_alloc(sizeof (id_t) * count, FMD_SLEEP);
107 *idp++ = ide->ide_id;
110 ASSERT(idp == ida + count);
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dst_parse.c344 parse_sou(char *cp, iidesc_t *idp) argument
356 parse_debug(1, NULL, "parse_sou: declaring '%s'", idp->ii_name ?
357 idp->ii_name : "(anon)");
359 if (idp->ii_name != NULL) {
361 strcmp(rtdp->t_name, idp->ii_name) != 0) {
365 tdp->t_name = xstrdup(idp->ii_name);
370 idp->ii_name, tdesc_name(rtdp), tid);
372 rtdp->t_name = xstrdup(idp->ii_name);
378 rtdp->t_name = idp->ii_name ? xstrdup(idp
[all...]
H A Dctf.c147 write_objects(iidesc_t *idp, ctf_buf_t *b) argument
149 ushort_t id = (idp ? idp->ii_dtype->t_id : 0);
153 debug(3, "Wrote object %s (%d)\n", (idp ? idp->ii_name : "(null)"), id);
157 write_functions(iidesc_t *idp, ctf_buf_t *b) argument
164 if (!idp) {
172 nargs = idp->ii_nargs + (idp->ii_vargs != 0);
176 idp
[all...]
/illumos-gate/usr/src/uts/i86xpv/cpu/generic_cpu/
H A Dgcpu_mca_xpv.c203 gcpu_xpv_telem_read(mc_info_t *mci, int type, uint64_t *idp) argument
218 *idp = mcf->fetch_id;
221 *idp = 0;
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_ofs/
H A Dsol_cma.h40 #define IS_UDP_CMID(idp) ((idp)->ps == RDMA_PS_UDP || \
41 (idp)->ps == RDMA_PS_IPOIB)
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_common.h197 #define IS_ATA_VERSION_SUPPORTED(idp, n) \
198 ((idp->ai_majorversion != 0xffff) && \
199 (idp->ai_majorversion & (1<<n)))
202 #define IS_ATA_VERSION_GE(idp, n) \
203 ((idp->ai_majorversion != 0xffff) && \
204 (idp->ai_majorversion != 0) && \
205 (idp->ai_majorversion >= (1<<n)))
/illumos-gate/usr/src/lib/libsec/common/
H A Dacltext.c304 char idp[ID_STR_MAX]; local
324 error = str_append(dstr, pruname(aclp->a_id, idp,
325 sizeof (idp), flags & ACL_NORESOLVE));
346 error = str_append(dstr, prgname(aclp->a_id, idp,
347 sizeof (idp), flags & ACL_NORESOLVE));
382 char idp[ID_STR_MAX]; local
407 error = str_append(dynstr, prgname(acep->a_who, idp,
408 sizeof (idp), flags & ACL_NORESOLVE));
429 error = str_append(dynstr, pruname(acep->a_who, idp,
430 sizeof (idp), flag
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab.c2172 uint_t *idp)
2231 if (idp != NULL)
2232 *idp = i;
2241 uint_t *idp)
2270 if (idp)
2271 *idp = id;
2286 sym_by_addr(sym_tbl_t *symtab, GElf_Addr addr, GElf_Sym *symp, uint_t *idp) argument
2289 return (sym_by_addr_linear(symtab, addr, symp, idp));
2291 return (sym_by_addr_binary(symtab, addr, symp, idp));
2300 uint_t *idp)
2171 sym_by_addr_binary(sym_tbl_t *symtab, GElf_Addr addr, GElf_Sym *symp, uint_t *idp) argument
2240 sym_by_addr_linear(sym_tbl_t *symtab, GElf_Addr addr, GElf_Sym *symbolp, uint_t *idp) argument
2299 sym_by_name_binary(sym_tbl_t *symtab, const char *name, GElf_Sym *symp, uint_t *idp) argument
2338 sym_by_name_linear(sym_tbl_t *symtab, const char *name, GElf_Sym *symp, uint_t *idp) argument
2367 sym_by_name(sym_tbl_t *symtab, const char *name, GElf_Sym *symp, uint_t *idp) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dddi_intr.h316 int ddi_add_softintr(dev_info_t *dip, int preference, ddi_softintr_t *idp,
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dacpidev_dr.h214 processorid_t *idp);
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_cpu.c315 acpidev_cpu_get_procid(acpidev_walk_info_t *infop, uint32_t *idp) argument
339 *idp = mat.proc_id;
351 *idp = ((ACPI_OBJECT *)rb.Pointer)->Processor.ProcId;
368 *idp = id;
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_metad_subr.c214 mddb_recid_t *idp,
245 reqp->ur_recid = *idp;
251 *idp = reqp->ur_recid;
254 reqp->ur_recid = *idp;
258 if (*idp <= 0) {
268 *idp = 0;
278 *idp = 0;
304 mddb_recid_t *idp,
311 assert(idp != NULL);
313 reqp = get_db_rec(cmd, setno, MDDB_USER, type2, idp, e
209 get_db_rec( md_ur_get_cmd_t cmd, set_t setno, mddb_type_t type, uint_t type2, mddb_recid_t *idp, md_error_t *ep ) argument
300 get_ur_rec( set_t setno, md_ur_get_cmd_t cmd, uint_t type2, mddb_recid_t *idp, md_error_t *ep ) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c293 id_props_t idp[1]; member in struct:idp_lkup
599 data.id = idprop->idp[index].envhandle;
839 if (idprop->idp[index].volprop == proph)
855 if (strcmp(idprop->idp[index].envhandle.name, name) == 0)
1636 &idprop->idp[index].volprop);
2187 len = offsetof(idp_lkup_t, idp) + entries * sizeof (id_props_t);
2952 idprop->idp[*index].envhandle = hpu->id;
2960 &idprop->idp[(*index)++].volprop);
2962 idprop->idp[*index].envhandle = hpu->id;
2985 &idprop->idp[(*inde
[all...]
/illumos-gate/usr/src/uts/common/dtrace/
H A Dfasttrap.c679 fasttrap_id_t *id, **idp; local
713 idp = &tp->ftt_ids;
719 idp = &tp->ftt_retids;
726 while ((*idp)->fti_probe != probe) {
727 idp = &(*idp)->fti_next;
728 ASSERT(*idp != NULL);
731 id = *idp;
732 *idp = id->fti_next;
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c1589 uint_t flags, char *buf, size_t nbytes, GElf_Sym *sym, uint_t *idp)
1618 if (idp != NULL) {
1619 *idp = (u.sp - (caddr_t)gst->gst_dsect->gs_data) /
1624 if (idp != NULL)
1625 *idp = u.dsp->ds_id;
1637 GElf_Sym *sym, uint_t *idp)
1647 if (idp != NULL) {
1650 *idp = dsp->ds_id;
1652 *idp = ((uintptr_t)mdb_nv_get_cookie(v) -
1666 const char *name, GElf_Sym *sym, uint_t *idp)
1588 mdb_gelf_symtab_lookup_by_addr(mdb_gelf_symtab_t *gst, uintptr_t addr, uint_t flags, char *buf, size_t nbytes, GElf_Sym *sym, uint_t *idp) argument
1636 mdb_gelf_symtab_lookup_by_name(mdb_gelf_symtab_t *gst, const char *name, GElf_Sym *sym, uint_t *idp) argument
1665 mdb_gelf_symtab_lookup_by_file(mdb_gelf_symtab_t *gst, const char *file, const char *name, GElf_Sym *sym, uint_t *idp) argument
[all...]

Completed in 184 milliseconds

1234