Home
last modified time | relevance | path

Searched refs:idp (Results 1 – 25 of 81) sorted by relevance

1234

/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_ident.c379 idp->di_vers, idp->di_ops, idp->di_iarg, idp->di_gen); in dt_idcook_args()
399 idp->di_vers, idp->di_ops, idp->di_iarg, idp->di_gen); in dt_idcook_args()
625 idp->di_kind, idp->di_flags, idp->di_id, idp->di_attr, in dt_idhash_populate()
674 for (idp = dhp->dh_hash[i]; idp != NULL; idp = next) { in dt_idhash_destroy()
681 for (idp = dhp->dh_hash[i]; idp != NULL; idp = next) { in dt_idhash_destroy()
699 for (idp = dhp->dh_hash[i]; idp != NULL; idp = idp->di_next) { in dt_idhash_update()
724 for (idp = dhp->dh_hash[h]; idp != NULL; idp = idp->di_next) { in dt_idhash_lookup()
810 for (idp = dhp->dh_hash[h]; idp != NULL; idp = idp->di_next) { in dt_idhash_delete()
854 for (idp = dhp->dh_hash[i]; idp != NULL; idp = idp->di_next) in dt_idhash_iter()
935 idp->di_ops->di_dtor(idp); in dt_ident_destroy()
[all …]
H A Ddt_as.c111 dvp->dtdv_id = idp->di_id; in dt_copyvar()
117 if (idp->di_flags & DT_IDFLG_LOCAL) in dt_copyvar()
119 else if (idp->di_flags & DT_IDFLG_TLS) in dt_copyvar()
124 if (idp->di_flags & DT_IDFLG_DIFR) in dt_copyvar()
126 if (idp->di_flags & DT_IDFLG_DIFW) in dt_copyvar()
130 dt_node_type_assign(&dn, idp->di_ctfp, idp->di_type, B_FALSE); in dt_copyvar()
195 if (idp->di_flags & DT_IDFLG_USER) in dt_as_undef()
202 yylineno = idp->di_lineno; in dt_as_undef()
216 dt_ident_t *idp; in dt_as() local
299 idp = dip->di_extern; in dt_as()
[all …]
H A Ddt_pragma.c60 idp->di_attr = pdp->di_attr; in dt_pragma_apply()
63 idp->di_vers = pdp->di_vers; in dt_pragma_apply()
83 dt_ident_t *idp; in dt_pragma_attributes() local
130 if (idp->di_gen != dtp->dt_gen) { in dt_pragma_attributes()
135 idp->di_attr = attr; in dt_pragma_attributes()
146 if (idp == NULL) in dt_pragma_attributes()
165 dt_ident_t *idp; in dt_pragma_binding() local
181 if (idp != NULL) { in dt_pragma_binding()
182 if (idp->di_gen != dtp->dt_gen) { in dt_pragma_binding()
186 idp->di_vers = vers; in dt_pragma_binding()
[all …]
H A Ddt_parser.c785 dt_ident_t *idp; in dt_node_resolve() local
795 return (idp->di_kind == idkind ? idp : NULL); in dt_node_resolve()
800 return (idp->di_kind == idkind ? idp : NULL); in dt_node_resolve()
1580 if (idp != NULL && idp->di_gen == 0) { in dt_node_decl()
1615 if (idp != NULL && idp->di_type != CTF_ERR) in dt_node_decl()
1616 dt_node_type_assign(&idn, idp->di_ctfp, idp->di_type, in dt_node_decl()
1632 if (idp != NULL && (idp->di_kind != idkind || in dt_node_decl()
2251 idp->di_name, dt_idkind_name(idp->di_kind), in dt_node_inline()
3206 if (idp == NULL || dt_ident_unref(idp)) in dt_cook_op2()
3596 if (idp != NULL && idp->di_kind == DT_IDENT_XLSOU && in dt_cook_op2()
[all …]
H A Ddt_cg.c108 if (idp != NULL) in dt_cg_xsetx()
731 instr = DIF_INSTR_STV(dt_cg_stvar(idp), idp->di_id, nreg); in dt_cg_postarith_op()
998 dt_ident_t *idp; in dt_cg_asgn_op() local
1165 instr = DIF_INSTR_STV(dt_cg_stvar(idp), idp->di_id, dnp->dn_reg); in dt_cg_asgn_op()
1399 dxp = idp->di_data; in dt_cg_xlate_member()
1518 dlm.dtxl_idp = idp; in dt_cg_xlate_expand()
1539 dt_ident_t *idp; in dt_cg_node() local
1746 assert(idp != NULL); in dt_cg_node()
1863 dxp = idp->di_data; in dt_cg_node()
1993 dt_idkind_name(idp->di_kind), idp->di_name); in dt_cg_node()
[all …]
H A Ddt_module.c284 if (idp != NULL) in dt_module_symname32()
314 if (idp != NULL) in dt_module_symname64()
357 if (idp != NULL) in dt_module_symaddr32()
399 if (idp != NULL) in dt_module_symaddr64()
426 dt_ident_t *idp; in dt_module_create() local
464 if (idp != NULL && idp->di_id != 0) in dt_module_create()
966 dt_ident_t *idp; in dt_module_extern() local
1002 return (idp); in dt_module_extern()
1252 dt_ident_t *idp; in dtrace_lookup_by_name() local
1309 ctf_type_size(idp->di_ctfp, idp->di_type); in dtrace_lookup_by_name()
[all …]
H A Ddt_provider.c239 dt_ident_t *idp; in dt_probe_discover() local
304 if (idp == NULL) { in dt_probe_discover()
311 dt_ident_destroy(idp); in dt_probe_discover()
375 dt_ident_t *idp; in dt_probe_lookup() local
391 return (idp->di_data); in dt_probe_lookup()
418 assert(idp->di_data == NULL); in dt_probe_create()
436 prp->pr_ident = idp; in dt_probe_create()
438 p = strrchr(idp->di_name, ':'); in dt_probe_create()
482 idp->di_data = prp; in dt_probe_create()
685 dt_ident_t *idp; in dt_probe_info() local
[all …]
H A Ddt_open.c836 const dt_ident_t *idp; in dt_vopen() local
1067 for (idp = _dtrace_macros; idp->di_name != NULL; idp++) { in dt_vopen()
1068 if (dt_idhash_insert(dtp->dt_macros, idp->di_name, in dt_vopen()
1069 idp->di_kind, idp->di_flags, idp->di_id, idp->di_attr, in dt_vopen()
1070 idp->di_vers, idp->di_ops ? idp->di_ops : &dt_idops_thaw, in dt_vopen()
1071 idp->di_iarg, 0) == NULL) in dt_vopen()
1336 dt_ident_t *idp, *ndp; in dtrace_close() local
1355 for (idp = dtp->dt_externs; idp != NULL; idp = ndp) { in dtrace_close()
1356 ndp = idp->di_next; in dtrace_close()
1357 dt_ident_destroy(idp); in dtrace_close()
/illumos-gate/usr/src/uts/common/os/
H A Dcyclic.c2642 cyc_id_t *idp; in cyclic_new_id() local
2670 return (idp); in cyclic_new_id()
2926 cyc_id_t *prev = idp->cyi_prev, *next = idp->cyi_next; in cyclic_remove()
2929 CYC_PTRACE("remove", idp, idp->cyi_cpu); in cyclic_remove()
2937 cyclic_omni_stop(idp, idp->cyi_omni_list->cyo_cpu); in cyclic_remove()
3086 CYC_PTRACE("reprog", idp, idp->cyi_cpu); in cyclic_reprogram()
3308 for (idp = cyclic_id_head; idp != NULL; idp = idp->cyi_next) { in cyclic_juggle()
3371 for (idp = cyclic_id_head; idp != NULL; idp = idp->cyi_next) { in cyclic_offline()
3429 for (idp = cyclic_id_head; idp != NULL; idp = idp->cyi_next) { in cyclic_online()
3486 for (idp = cyclic_id_head; idp != NULL; idp = idp->cyi_next) { in cyclic_move_in()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_cma.c657 ASSERT(idp); in rdma_bind_addr()
715 ASSERT(idp); in rdma_resolve_addr()
823 ASSERT(idp); in rdma_resolve_route()
885 ASSERT(idp); in rdma_connect()
929 ASSERT(idp); in rdma_listen()
1030 ASSERT(idp); in rdma_accept()
1137 idp); in rdma_accept()
1166 ASSERT(idp); in rdma_notify()
1299 if (!idp) in rdma_disconnect()
1655 event_arg->idp = idp;
[all …]
H A Dsol_ib_cma.c153 idp, addr); in rdma_ib_bind_addr()
228 idp->ps, port); in rdma_ib_resolve_addr()
296 ASSERT(idp); in rdma_ib_init_qp_attr()
364 ASSERT(idp); in rdma_ib_connect()
627 ASSERT(idp); in rdma_ib_accept()
632 idp, conn_param); in rdma_ib_accept()
721 ASSERT(idp); in rdma_ib_reject()
785 ASSERT(idp); in rdma_ib_disconnect()
1757 *event_id_ptr = idp; in ibcma_handle_est()
1833 *event_id_ptr = idp; in ibcma_handle_closed()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c302 *idp = id; in name_to_type()
529 if ((id = ctf_type_resolve(idp->mci_fp, idp->mci_id)) == CTF_ERR) { in mdb_ctf_type_resolve()
565 ret = ctf_type_name(idp->mci_fp, idp->mci_id, buf, len); in mdb_ctf_type_name()
582 if ((ret = ctf_type_size(idp->mci_fp, idp->mci_id)) == CTF_ERR) in mdb_ctf_type_size()
594 if ((ret = ctf_type_kind(idp->mci_fp, idp->mci_id)) == CTF_ERR) in mdb_ctf_type_kind()
606 if ((id = ctf_type_reference(idp->mci_fp, idp->mci_id)) == CTF_ERR) { in mdb_ctf_type_reference()
624 if (ctf_type_encoding(idp->mci_fp, idp->mci_id, ep) == CTF_ERR) in mdb_ctf_type_encoding()
691 ret = ctf_type_visit(idp->mci_fp, idp->mci_id, type_cb, &tv); in mdb_ctf_type_visit()
705 if (ctf_array_info(idp->mci_fp, idp->mci_id, &car) == CTF_ERR) in mdb_ctf_array_info()
726 if ((ret = ctf_enum_name(idp->mci_fp, idp->mci_id, value)) == NULL) in mdb_ctf_enum_name()
[all …]
/illumos-gate/usr/src/cmd/id/
H A Did.c71 gid_t *idp; in main() local
206 for (idp = groupids; i--; idp++) { in main()
207 (void) printf("%u", *idp); in main()
208 if (gr = getgrgid(*idp)) in main()
242 for (idp = groupids; i--; idp++) { in main()
243 if (*idp == egid) in main()
245 (void) printf("%u", *idp); in main()
246 if (gr = getgrgid(*idp)) in main()
/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dspc3_types.h1058 #define NAA_IEEE_EXT_VENDOR_A(idp) \ argument
1060 (idp)->snieii_vendor_id_a_lsb)
1061 #define NAA_IEEE_EXT_COMPANY_ID(idp) SCSI_READ24((idp)->snieii_company_id) argument
1062 #define NAA_IEEE_EXT_VENDOR_B(idp) SCSI_READ24((idp)->snieii_vendor_id_b) argument
1078 #define NAA_IEEE_REG_COMPANY_ID(idp) \ argument
1081 (idp)->snirii_company_id_lsn)
1082 #define NAA_IEEE_REG_VENDOR_ID(idp) \ argument
1083 SCSI_MK36_4_32((idp)->snirii_vendor_id_msn, \
1101 #define NAA_IEEE_REG_EXT_COMPANY_ID(idp) \ argument
1104 (idp)->snireii_company_id_lsn)
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dfsck.h419 #define LINK_CLEAR(text, ino, mode, idp) { \ argument
423 init_inodesc((idp)); \
424 (idp)->id_type = ADDR; \
425 (idp)->id_func = pass4check; \
426 (idp)->id_number = ino; \
427 (idp)->id_fix = DONTKNOW; \
428 clri((idp), (text), CLRI_QUIET, CLRI_NOP_CORRUPT); \
437 #define LFDIR_LINK_RANGE_RVAL(text, current, offset, idp, rval) { \ argument
440 LINK_CLEAR(text, lfdir, IFDIR, idp); \
450 #define LFDIR_LINK_RANGE_NORVAL(text, current, offset, idp) { \ argument
[all …]
/illumos-gate/usr/src/lib/libsec/common/
H A Daclcheck.c75 uid_t **idp; in aclent_aclcheck() local
134 idp = &(tally.def_user.id); in aclent_aclcheck()
137 idp = &(tally.def_group.id); in aclent_aclcheck()
140 idp = &(tally.user.id); in aclent_aclcheck()
143 idp = &(tally.group.id); in aclent_aclcheck()
147 *idp = calloc(nentries, sizeof (uid_t)); in aclent_aclcheck()
148 if (*idp == NULL) in aclent_aclcheck()
151 if (check_dup(cnt, *idp, aclentp->a_id, in aclent_aclcheck()
157 (*idp)[cnt] = aclentp->a_id; in aclent_aclcheck()
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_main.c474 if (idp == NULL) in i40e_device_rele()
480 idp->id_nreg--; in i40e_device_rele()
495 i40e_device_t *idp; in i40e_device_find() local
497 for (idp = list_head(&i40e_dlist); idp != NULL; in i40e_device_find()
498 idp = list_next(&i40e_dlist, idp)) { in i40e_device_find()
499 if (idp->id_parent == parent && idp->id_pci_bus == bus && in i40e_device_find()
505 if (idp != NULL) { in i40e_device_find()
506 VERIFY(idp->id_nreg < idp->id_nfuncs); in i40e_device_find()
507 idp->id_nreg++; in i40e_device_find()
525 idp->id_nreg = 1; in i40e_device_find()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Didlok.c99 IDST *idp; in _set_idln() local
102 for (idp = sid; idp != eid; idp++) { in _set_idln()
105 if ((tmp = _MIN(idp->_wy, idp->_sy)) < rval) in _set_idln()
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ucma/
H A Dsol_ucma.c1042 struct rdma_cm_id *idp; local
1055 idp = chanp->chan_rdma_id;
1085 struct rdma_cm_id *idp; local
1109 idp = chanp->chan_rdma_id;
1110 if (idp->ps == RDMA_PS_TCP)
1184 struct rdma_cm_id *idp; local
1391 struct rdma_cm_id *idp; local
1695 idp->context = req_chan;
1727 if (idp->ps == RDMA_PS_UDP || idp->ps == RDMA_PS_IPOIB)
1917 routep = &(idp->route);
[all …]
/illumos-gate/usr/src/lib/libidspace/common/
H A Dlibidspace.c22 id_alloc_specific(id_space_t *idp, id_t id) in id_alloc_specific() argument
24 return (id_alloc_specific_nosleep(idp, id)); in id_alloc_specific()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_asconf.c377 uint32_t *idp; in sctp_input_asconf() local
397 idp = (uint32_t *)(ch + 1); in sctp_input_asconf()
406 *idp = ntohl(*idp); in sctp_input_asconf()
428 *hidp = htonl(*idp); in sctp_input_asconf()
519 idp = (uint32_t *)(ph + 1); in sctp_input_asconf()
599 uint32_t *idp; in sctp_lookup_asconf_param() local
602 idp = (uint32_t *)(ph + 1); in sctp_lookup_asconf_param()
603 if (*idp == cid) { in sctp_lookup_asconf_param()
617 uint32_t *idp; in sctp_input_asconf_ack() local
683 idp = (uint32_t *)(och + 1); in sctp_input_asconf_ack()
[all …]
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpitime.c128 struct idates *idp; in readitimes() local
132 idp = (struct idates *)xcalloc(1, sizeof (*idp)); in readitimes()
133 if (getrecord(df, idp) < 0) { in readitimes()
134 free((char *)idp); in readitimes()
140 idatev[nidates - 1] = idp; in readitimes()
/illumos-gate/usr/src/uts/common/io/
H A Dsundlpi.c153 dlcapabsetqid(dl_mid_t *idp, const queue_t *q) in dlcapabsetqid() argument
156 idp->mid[0] = (t_uscalar_t)q; in dlcapabsetqid()
158 idp->mid[0] = (t_uscalar_t)BMASK_32((uint64_t)q); in dlcapabsetqid()
159 idp->mid[1] = (t_uscalar_t)BMASK_32(((uint64_t)q) >> 32); in dlcapabsetqid()
164 dlcapabcheckqid(const dl_mid_t *idp, const queue_t *q) in dlcapabcheckqid() argument
167 return ((queue_t *)(idp->mid[0]) == q); in dlcapabcheckqid()
170 ((uint64_t)idp->mid[0] | ((uint64_t)idp->mid[1] << 32)) == q); in dlcapabcheckqid()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c744 keywdtab_t *idp; in parse_idtype() local
749 for (idp = idtypes; idp->kw_str != NULL; idp++) { in parse_idtype()
752 *idnum = idp->kw_tag; in parse_idtype()
768 sadb_ident_t *idp; in parse_ident() local
775 if (idp == NULL) in parse_ident()
785 idp->sadb_ident_id = 0; in parse_ident()
1840 idp += strlen(idp) + 1; in print_idspec()
1847 idp += strlen(idp) + 1; in print_idspec()
2853 idp = (char *)&cpr; in do_getdel()
2869 idp = label; in do_getdel()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_register.c30 log_register(dblp, dbp, name, type, idp) in log_register() argument
35 u_int32_t *idp;
137 if (idp != NULL)
138 *idp = fnp->id;

1234