Home
last modified time | relevance | path

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

1234

/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_ident.c51 dt_idcook_sign(dt_node_t *dnp, dt_ident_t *idp, in dt_idcook_sign() argument
54 dt_idsig_t *isp = idp->di_data; in dt_idcook_sign()
60 iskey = idp->di_kind == DT_IDENT_ARRAY || idp->di_kind == DT_IDENT_AGG; in dt_idcook_sign()
75 "passed, %s%d expected\n", prefix, idp->di_name, suffix, in dt_idcook_sign()
91 prefix, idp->di_name, suffix, in dt_idcook_sign()
100 dt_node_type_assign(dnp, idp->di_ctfp, idp->di_type, B_FALSE); in dt_idcook_sign()
109 dt_idcook_assc(dt_node_t *dnp, dt_ident_t *idp, int argc, dt_node_t *args) in dt_idcook_assc() argument
111 if (idp->di_data == NULL) { in dt_idcook_assc()
112 dt_idsig_t *isp = idp->di_data = malloc(sizeof (dt_idsig_t)); in dt_idcook_assc()
127 idp->di_data = NULL; in dt_idcook_assc()
[all …]
H A Ddt_as.c80 dt_countvar(dt_idhash_t *dhp, dt_ident_t *idp, void *data) in dt_countvar() argument
84 if (idp->di_flags & (DT_IDFLG_DIFR | DT_IDFLG_DIFW)) in dt_countvar()
92 dt_copyvar(dt_idhash_t *dhp, dt_ident_t *idp, void *data) in dt_copyvar() argument
99 if (!(idp->di_flags & (DT_IDFLG_DIFR | DT_IDFLG_DIFW))) in dt_copyvar()
103 stroff = dt_strtab_insert(pcb->pcb_strtab, idp->di_name); in dt_copyvar()
111 dvp->dtdv_id = idp->di_id; in dt_copyvar()
114 dvp->dtdv_kind = (idp->di_kind == DT_IDENT_ARRAY) ? 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()
[all …]
H A Ddt_pragma.c49 dt_pragma_apply(dt_idhash_t *dhp, dt_ident_t *idp) in dt_pragma_apply() argument
57 while ((pdp = dt_idhash_lookup(php, idp->di_name)) != NULL) { in dt_pragma_apply()
60 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
127 } else if ((idp = dt_idstack_lookup( in dt_pragma_attributes()
130 if (idp->di_gen != dtp->dt_gen) { in dt_pragma_attributes()
135 idp->di_attr = attr; in dt_pragma_attributes()
143 idp = dt_idhash_insert(yypcb->pcb_pragmas, name, DT_IDENT_PRAGAT, 0, 0, in dt_pragma_attributes()
146 if (idp == NULL) in dt_pragma_attributes()
[all …]
H A Ddt_parser.c785 dt_ident_t *idp; in dt_node_resolve() local
794 idp = dt_ident_resolve(dnp->dn_ident); in dt_node_resolve()
795 return (idp->di_kind == idkind ? idp : NULL); in dt_node_resolve()
799 idp = dt_ident_resolve(dnp->dn_ident); in dt_node_resolve()
800 return (idp->di_kind == idkind ? idp : NULL); in dt_node_resolve()
1303 dt_ident_t *idp; in dt_node_ident() local
1315 if ((idp = dt_idstack_lookup(&yypcb->pcb_globals, name)) != NULL && in dt_node_ident()
1316 (idp->di_flags & DT_IDFLG_INLINE)) { in dt_node_ident()
1317 dt_idnode_t *inp = idp->di_iarg; in dt_node_ident()
1549 dt_ident_t *idp; in dt_node_decl() local
[all …]
H A Ddt_cg.c93 dt_cg_xsetx(dt_irlist_t *dlp, dt_ident_t *idp, uint_t lbl, int reg, uint64_t x) in dt_cg_xsetx() argument
95 int flag = idp != NULL ? DT_INT_PRIVATE : DT_INT_SHARED; in dt_cg_xsetx()
107 if (idp != NULL) in dt_cg_xsetx()
108 dlp->dl_last->di_extern = idp; in dt_cg_xsetx()
541 dt_cg_arglist(dt_ident_t *idp, dt_node_t *args, in dt_cg_arglist() argument
544 const dt_idsig_t *isp = idp->di_data; in dt_cg_arglist()
628 dt_cg_stvar(const dt_ident_t *idp) in dt_cg_stvar() argument
633 uint_t i = (((idp->di_flags & DT_IDFLG_LOCAL) != 0) << 1) | in dt_cg_stvar()
634 ((idp->di_flags & DT_IDFLG_TLS) != 0); in dt_cg_stvar()
636 return (idp->di_kind == DT_IDENT_ARRAY ? aops[i] : sops[i]); in dt_cg_stvar()
[all …]
H A Ddt_module.c265 GElf_Sym *symp, uint_t *idp) in dt_module_symname32() argument
284 if (idp != NULL) in dt_module_symname32()
285 *idp = dsp->ds_symid; in dt_module_symname32()
295 GElf_Sym *symp, uint_t *idp) in dt_module_symname64() argument
314 if (idp != NULL) in dt_module_symname64()
315 *idp = dsp->ds_symid; in dt_module_symname64()
325 GElf_Sym *symp, uint_t *idp) in dt_module_symaddr32() argument
357 if (idp != NULL) in dt_module_symaddr32()
358 *idp = (uint_t)(sym - symtab); in dt_module_symaddr32()
367 GElf_Sym *symp, uint_t *idp) in dt_module_symaddr64() argument
[all …]
H A Ddt_provider.c239 dt_ident_t *idp; in dt_probe_discover() local
300 idp = dt_ident_create(name, DT_IDENT_PROBE, in dt_probe_discover()
304 if (idp == NULL) { in dt_probe_discover()
309 if ((prp = dt_probe_create(dtp, idp, 2, in dt_probe_discover()
311 dt_ident_destroy(idp); in dt_probe_discover()
375 dt_ident_t *idp; in dt_probe_lookup() local
390 if ((idp = dt_idhash_lookup(pvp->pv_probes, key)) != NULL) in dt_probe_lookup()
391 return (idp->di_data); in dt_probe_lookup()
409 dt_probe_create(dtrace_hdl_t *dtp, dt_ident_t *idp, int protoc, in dt_probe_create() argument
417 assert(idp->di_kind == DT_IDENT_PROBE); in dt_probe_create()
[all …]
H A Ddt_open.c832 const dt_ident_t *idp; in dt_vopen() local
1063 for (idp = _dtrace_macros; idp->di_name != NULL; idp++) { in dt_vopen()
1064 if (dt_idhash_insert(dtp->dt_macros, idp->di_name, in dt_vopen()
1065 idp->di_kind, idp->di_flags, idp->di_id, idp->di_attr, in dt_vopen()
1066 idp->di_vers, idp->di_ops ? idp->di_ops : &dt_idops_thaw, in dt_vopen()
1067 idp->di_iarg, 0) == NULL) in dt_vopen()
1332 dt_ident_t *idp, *ndp; in dtrace_close() local
1351 for (idp = dtp->dt_externs; idp != NULL; idp = ndp) { in dtrace_close()
1352 ndp = idp->di_next; in dtrace_close()
1353 dt_ident_destroy(idp); in dtrace_close()
/titanic_41/usr/src/uts/common/os/
H A Dcyclic.c2043 cyclic_juggle_one_to(cyc_id_t *idp, cyc_cpu_t *dest) in cyclic_juggle_one_to() argument
2045 cyc_cpu_t *src = idp->cyi_cpu; in cyclic_juggle_one_to()
2046 cyc_index_t ndx = idp->cyi_ndx; in cyclic_juggle_one_to()
2054 ASSERT(src != NULL && idp->cyi_omni_list == NULL); in cyclic_juggle_one_to()
2056 CYC_PTRACE("juggle-one-to", idp, dest); in cyclic_juggle_one_to()
2075 CYC_PTRACE("remove-expand", idp, dest); in cyclic_juggle_one_to()
2085 rw_enter(&idp->cyi_lock, RW_WRITER); in cyclic_juggle_one_to()
2112 CYC_PTRACE("remove-retry", idp, src); in cyclic_juggle_one_to()
2121 rw_exit(&idp->cyi_lock); in cyclic_juggle_one_to()
2123 rw_enter(&idp->cyi_lock, RW_WRITER); in cyclic_juggle_one_to()
[all …]
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_cma.c651 rdma_bind_addr(struct rdma_cm_id *idp, struct sockaddr *addr) in rdma_bind_addr() argument
657 ASSERT(idp); in rdma_bind_addr()
659 chanp = (sol_cma_chan_t *)idp; in rdma_bind_addr()
660 addrp = &(idp->route.addr); in rdma_bind_addr()
662 idp, addr); in rdma_bind_addr()
687 if (chanp->chan_ib_client_hdl && rdma_ib_bind_addr(idp, addr) == 0) { in rdma_bind_addr()
692 } else if (chanp->chan_iw_client_hdl && rdma_iw_bind_addr(idp, addr) in rdma_bind_addr()
708 rdma_resolve_addr(struct rdma_cm_id *idp, struct sockaddr *src_addr, in rdma_resolve_addr() argument
715 ASSERT(idp); in rdma_resolve_addr()
716 chanp = (sol_cma_chan_t *)idp; in rdma_resolve_addr()
[all …]
H A Dsol_ib_cma.c99 rdma_ib_destroy_id(struct rdma_cm_id *idp) in rdma_ib_destroy_id() argument
101 sol_cma_chan_t *chanp = (sol_cma_chan_t *)idp; in rdma_ib_destroy_id()
105 SOL_OFS_DPRINTF_L5(sol_rdmacm_dbg_str, "rdma_ib_destroy_id(%p)", idp); in rdma_ib_destroy_id()
145 rdma_ib_bind_addr(struct rdma_cm_id *idp, struct sockaddr *addr) in rdma_ib_bind_addr() argument
147 sol_cma_chan_t *chanp = (sol_cma_chan_t *)idp; in rdma_ib_bind_addr()
153 idp, addr); in rdma_ib_bind_addr()
157 sockaddr2ibtaddr_port(idp, addr, &ibchanp->chan_local_addr, &port); in rdma_ib_bind_addr()
170 ret = ibcma_query_local_ip(idp, chanp, ibchanp); in rdma_ib_bind_addr()
173 ibchanp->chan_sid = ibt_get_ip_sid(idp->ps, port); in rdma_ib_bind_addr()
176 ibchanp->chan_sid, idp->ps, port); in rdma_ib_bind_addr()
[all …]
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c238 name_to_type(mdb_tgt_t *t, const char *cname, ctf_id_t *idp) in name_to_type() argument
301 *idp = id; in name_to_type()
501 mdb_ctf_type_invalidate(mdb_ctf_id_t *idp) in mdb_ctf_type_invalidate() argument
503 set_ctf_id(idp, NULL, CTF_ERR); in mdb_ctf_type_invalidate()
526 mdb_ctf_impl_t *idp = (mdb_ctf_impl_t *)&mid; in mdb_ctf_type_resolve() local
528 if ((id = ctf_type_resolve(idp->mci_fp, idp->mci_id)) == CTF_ERR) { in mdb_ctf_type_resolve()
531 return (set_errno(ctf_to_errno(ctf_errno(idp->mci_fp)))); in mdb_ctf_type_resolve()
534 if (ctf_type_kind(idp->mci_fp, id) == CTF_K_FORWARD) { in mdb_ctf_type_resolve()
538 if (ctf_type_name(idp->mci_fp, id, name, sizeof (name)) != in mdb_ctf_type_resolve()
548 set_ctf_id(outp, idp->mci_fp, id); in mdb_ctf_type_resolve()
[all …]
/titanic_41/usr/src/tools/ctf/cvt/
H A Diidesc.c154 iidesc_free(iidesc_t *idp, void *private) in iidesc_free() argument
156 if (idp->ii_name) in iidesc_free()
157 free(idp->ii_name); in iidesc_free()
158 if (idp->ii_nargs) in iidesc_free()
159 free(idp->ii_args); in iidesc_free()
160 if (idp->ii_owner) in iidesc_free()
161 free(idp->ii_owner); in iidesc_free()
162 free(idp); in iidesc_free()
/titanic_41/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()
/titanic_41/usr/src/uts/common/sys/scsi/impl/
H A Dspc3_types.h1033 #define NAA_IEEE_EXT_VENDOR_A(idp) \ argument
1034 SCSI_MK12_4_8((idp)->snieii_vendor_id_a_msn, \
1035 (idp)->snieii_vendor_id_a_lsb)
1036 #define NAA_IEEE_EXT_COMPANY_ID(idp) SCSI_READ24((idp)->snieii_company_id) argument
1037 #define NAA_IEEE_EXT_VENDOR_B(idp) SCSI_READ24((idp)->snieii_vendor_id_b) argument
1053 #define NAA_IEEE_REG_COMPANY_ID(idp) \ argument
1054 SCSI_MK24_4_16_4((idp)->snirii_company_id_msn, \
1055 SCSI_READ16(&(idp)->snirii_company_id_mid), \
1056 (idp)->snirii_company_id_lsn)
1057 #define NAA_IEEE_REG_VENDOR_ID(idp) \ argument
[all …]
/titanic_41/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()
/titanic_41/usr/src/cmd/fs.d/ufs/fsck/
H A Dfsck.h425 #define LINK_CLEAR(text, ino, mode, idp) { \ argument
429 init_inodesc((idp)); \
430 (idp)->id_type = ADDR; \
431 (idp)->id_func = pass4check; \
432 (idp)->id_number = ino; \
433 (idp)->id_fix = DONTKNOW; \
434 clri((idp), (text), CLRI_QUIET, CLRI_NOP_CORRUPT); \
443 #define LFDIR_LINK_RANGE_RVAL(text, current, offset, idp, rval) { \ argument
446 LINK_CLEAR(text, lfdir, IFDIR, idp); \
456 #define LFDIR_LINK_RANGE_NORVAL(text, current, offset, idp) { \ argument
[all …]
/titanic_41/usr/src/uts/common/io/i40e/
H A Di40e_main.c467 i40e_device_t *idp = i40e->i40e_device; in i40e_device_rele() local
469 if (idp == NULL) in i40e_device_rele()
473 VERIFY(idp->id_nreg > 0); in i40e_device_rele()
474 list_remove(&idp->id_i40e_list, i40e); in i40e_device_rele()
475 idp->id_nreg--; in i40e_device_rele()
476 if (idp->id_nreg == 0) { in i40e_device_rele()
477 list_remove(&i40e_dlist, idp); in i40e_device_rele()
478 list_destroy(&idp->id_i40e_list); in i40e_device_rele()
479 kmem_free(idp->id_rsrcs, sizeof (i40e_switch_rsrc_t) * in i40e_device_rele()
480 idp->id_rsrcs_alloc); in i40e_device_rele()
[all …]
/titanic_41/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_svc.c117 cachefsd_caches_id *headp, *idp; in cachefsd_caches_1_svc() local
136 headp = idp = cfsd_calloc(sizeof (cachefsd_caches_id) * cnt); in cachefsd_caches_1_svc()
139 for (index = 0; index < cnt; index++, idp++) { in cachefsd_caches_1_svc()
145 idp->cci_cacheid = cache_object_p->i_cacheid; in cachefsd_caches_1_svc()
146 idp->cci_name = subr_strdup(cache_object_p->i_cachedir); in cachefsd_caches_1_svc()
300 struct cachefsd_mount *headp, *idp; in cachefsd_mounts_1_svc() local
345 headp = idp = cfsd_calloc(sizeof (cachefsd_mount) * cnt); in cachefsd_mounts_1_svc()
347 for (index = 0; index < cnt; index++, idp++) { in cachefsd_mounts_1_svc()
354 idp->cm_fsid = fscache_object_p->i_fscacheid; in cachefsd_mounts_1_svc()
355 idp->cm_name = subr_strdup(fscache_object_p->i_name); in cachefsd_mounts_1_svc()
/titanic_41/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()
/titanic_41/usr/src/uts/common/io/ib/clients/of/sol_ucma/
H A Dsol_ucma.c1040 struct rdma_cm_id *idp; local
1053 idp = chanp->chan_rdma_id;
1056 rdma2usr_route(idp, &route_info);
1083 struct rdma_cm_id *idp; local
1107 idp = chanp->chan_rdma_id;
1108 if (idp->ps == RDMA_PS_TCP)
1118 if (ret == 0 && idp->ps == RDMA_PS_TCP) {
1182 struct rdma_cm_id *idp; local
1196 idp = chanp->chan_rdma_id;
1197 if (idp->ps == RDMA_PS_TCP)
[all …]
/titanic_41/usr/src/cmd/backup/dump/
H A Ddumpitime.c125 struct idates *idp; local
129 idp = (struct idates *)xcalloc(1, sizeof (*idp));
130 if (getrecord(df, idp) < 0) {
131 free((char *)idp);
137 idatev[nidates - 1] = idp;
/titanic_41/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()
398 rlen = ntohs(ch->sch_len) - sizeof (*ch) - sizeof (*idp); in sctp_input_asconf()
400 if (rlen < 0 || rlen < sizeof (*idp)) { in sctp_input_asconf()
406 *idp = ntohl(*idp); in sctp_input_asconf()
407 if (*idp == (sctp->sctp_fcsn + 1)) { in sctp_input_asconf()
409 } else if (*idp == sctp->sctp_fcsn) { in sctp_input_asconf()
417 hmp = sctp_make_mp(sctp, fp, sizeof (*ach) + sizeof (*idp)); in sctp_input_asconf()
428 *hidp = htonl(*idp); in sctp_input_asconf()
432 ph = (sctp_parm_hdr_t *)(idp + 1); in sctp_input_asconf()
[all …]
/titanic_41/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()
/titanic_41/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