Searched defs:dyn (Results 1 - 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Ddynamic.c44 Elf_dyn_entry(Lm_list *lml, Dyn *dyn, int ndx, const char *name, argument
52 conv_dyn_tag(dyn->d_tag, osabi, mach, 0, &inv_buf),
53 EC_XWORD(dyn->d_un.d_val), name);
62 Elf_dyn_null_entry(Lm_list *lml, Dyn *dyn, int start_ndx, int end_ndx) argument
68 Elf_dyn_entry(lml, dyn, start_ndx, MSG_ORIG(MSG_STR_EMPTY),
75 EC_XWORD(dyn->d_un.d_val), MSG_ORIG(MSG_STR_EMPTY));
H A Dsyms.c591 const char *strtab, Dyn *dyn)
601 needed = strtab + dyn[sip->si_boundto].d_un.d_val;
590 Dbg_syminfo_entry(Lm_list *lml, Word ndx, Syminfo *sip, Sym *sym, const char *strtab, Dyn *dyn) argument
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dcommon_sparc.c94 Dyn *dyn; local
105 for (dyn = DYN(lmp), dip = DYNINFO(lmp);
106 !(dip->di_flags & FLG_DI_IGNORE); dyn++, dip++) {
115 rsymndx = dyn->d_un.d_val;
/illumos-gate/usr/src/cmd/mdb/tools/setdynflag/common/
H A Dsetdynflag.c91 GElf_Dyn dyn; local
116 if (gelf_getdyn(data, i, &dyn) == NULL)
119 if (dyn.d_tag == DT_FLAGS_1) {
120 dyn.d_un.d_val |= (Elf64_Xword)flval;
122 if (gelf_update_dyn(data, i, &dyn) == 0)
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddynamic.c43 Dyn *dyn = (Dyn *)_cache->c_data->d_buf, *posdyn = 0; local
59 while (dyn->d_tag != DT_NULL) {
62 switch ((Xword)dyn->d_tag) {
74 (strs + dyn->d_un.d_val), NULL)) {
127 dyn->d_un.d_ptr += addr;
136 dyn->d_un.d_val = 0;
146 dyn->d_un.d_val = ((data + func) * entsize);
151 dyn->d_un.d_ptr = (addr + off + (null * entsize));
160 dyn->d_un.d_val = 0;
164 dyn
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dcfga.c238 char dyn[MAXPATHLEN]; local
240 ap_cm_id(a, i, dyn, sizeof (dyn));
243 a->target, dyn);
245 a->path, dyn);
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfedit_machelf.c361 Dyn *dyn; local
364 dyn = (Dyn *) dynsec->sec_data->d_buf;
371 switch (dyn[i].d_tag) {
382 &dyn[i]);
386 elfedit_dyn_elt_save(&flags_1_elt, i, &dyn[i]);
420 dyn[flags_1_elt.dn_ndx] = flags_1_elt.dn_dyn;
H A Dutil_machelf.c99 elfedit_dyn_elt_save(elfedit_dyn_elt_t *elt, Word ndx, Dyn *dyn) argument
103 elt->dn_dyn = *dyn;
401 * dyn - Address of variable to recieve pointer to dynamic
404 * referenced by dyn.
408 * variables referenced by dyn and numdyn. On failure,
412 elfedit_sec_getdyn(elfedit_obj_state_t *obj_state, Dyn **dyn, Word *num) argument
420 *dyn = (Dyn *) cache->sec_data->d_buf;
869 Dyn *dyn = (Dyn *) dynsec->sec_data->d_buf; local
881 if (dyn[i].d_tag == DT_SUNW_STRPAD) {
882 elfedit_dyn_elt_save(dyn_strpad, i, &dyn[
[all...]
/illumos-gate/usr/src/lib/libtnfctl/
H A Dinternal.c178 Elf3264_Dyn *dyn = &_DYNAMIC; local
181 for (dp = dyn; dp->d_tag != DT_NULL; dp++) {
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgelf.c1099 GElf_Dyn dyn; local
1110 (void) gelf_getdyn(data, i, &dyn);
1111 if (dyn.d_tag == DT_FLAGS_1) {
1112 return (dyn.d_un.d_val);
/illumos-gate/usr/src/cmd/sgs/librtld_db/common/
H A Drd_elf.c143 Xword dyntag, Dyn *dyn)
161 *dyn = d;
262 Dyn dyn; local
269 rc = find_dynamic_ent32(rap, symaddr, DT_DEBUG, &dyn);
274 rap->rd_rdebug = dyn.d_un.d_ptr;
420 /* We only need to muck with dyn elements for ET_DYN objects */
142 find_dynamic_ent32(struct rd_agent *rap, psaddr_t dynaddr, Xword dyntag, Dyn *dyn) argument
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_cvt.c78 static scfga_ret_t path_apid_dyn_to_path(const char *hba_phys, const char *dyn,
289 * dyn : bus address of pathinfo node
296 const char *dyn,
376 if (strlen(di_path_bus_addr(pi_node)) != strlen(dyn)) {
380 if (strcmp(di_path_bus_addr(pi_node), dyn) == 0) {
294 path_apid_dyn_to_path( const char *hba_phys, const char *dyn, char **pathpp, int *l_errnop) argument
H A Dcfga_utils.c333 char *hba_phys = NULL, *dyn = NULL; local
346 if ((dyn = GET_DYN(hba_phys)) != NULL) {
347 len = strlen(DYN_TO_DYNCOMP(dyn)) + 1;
354 (void) strcpy(dyncomp, DYN_TO_DYNCOMP(dyn));
357 *dyn = '\0';
362 /* get dyn comp type */
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c135 char *dyn; local
144 dyn = strstr(apid, "::");
145 if ((dyn == NULL) || (dyn == apid) ||
146 (sscanf(dyn, "::dsk/c%dt%dd%d", &c, &t, &d) != 3))
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.c127 } dyn; member in struct:__anon1515
355 argstate->dyn.sec = NULL;
356 elfedit_dyn_elt_init(&argstate->dyn.strpad);
364 argstate->dyn.sec = elfedit_sec_getdyn(obj_state,
365 &argstate->dyn.data, &argstate->dyn.n);
367 &argstate->dyn.strpad);
373 if ((argstate->dyn.strpad.dn_seen != 0) &&
374 (argstate->dyn.strpad.dn_dyn.d_un.d_val >
376 argstate->dyn
[all...]
H A Dsyminfo.c261 Dyn *dyn; local
271 dyn = argstate->dynamic.data;
286 ((dyn[syminfo->si_boundto].d_tag == DT_NEEDED) ||
287 (dyn[syminfo->si_boundto].d_tag == DT_USED)))
289 dyn[syminfo->si_boundto].d_un.d_val,
469 Dyn *dyn; local
483 dyn = argstate->dynamic.data;
484 for (ndx = 0; ndx < numdyn; dyn++, ndx++) {
485 switch (dyn->d_tag) {
490 elfedit_dyn_elt_save(&null_elt, ndx, dyn);
[all...]
H A Dphdr.c513 Word numdyn; /* # of elements in dyn arr */
619 Dyn *dyn; local
621 dynsec = elfedit_sec_getdyn(obj_state, &dyn, &numdyn);
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmachrel.amd.c158 ld_mach_update_odynamic(Ofl_desc *ofl, Dyn **dyn) argument
161 (*dyn)->d_tag = DT_PLTGOT;
163 (*dyn)->d_un.d_ptr = ofl->ofl_osgot->os_shdr->sh_addr;
165 (*dyn)->d_un.d_ptr = 0;
166 (*dyn)++;
H A Dmachrel.intel.c125 ld_mach_update_odynamic(Ofl_desc *ofl, Dyn **dyn) argument
128 (*dyn)->d_tag = DT_PLTGOT;
130 (*dyn)->d_un.d_ptr = ofl->ofl_osgot->os_shdr->sh_addr;
132 (*dyn)->d_un.d_ptr = 0;
133 (*dyn)++;
H A Dmachrel.sparc.c184 ld_mach_update_odynamic(Ofl_desc *ofl, Dyn **dyn) argument
187 (*dyn)->d_tag = DT_PLTGOT;
189 (*dyn)->d_un.d_ptr = ofl->ofl_osplt->os_shdr->sh_addr;
191 (*dyn)->d_un.d_ptr = 0;
192 (*dyn)++;
/illumos-gate/usr/src/cmd/sgs/rtld/mdbmod/common/
H A Drtld.c1336 Dyn dyn; local
1342 if (mdb_vread(&dyn, sizeof (dyn), addr) == -1) {
1349 dynstr = conv_dyn_tag(dyn.d_tag, ELFOSABI_SOLARIS, M_MACH, 0, &inv_buf);
1350 mdb_printf(MSG_ORIG(MSG_ELFDYN_LINE1), addr, dynstr, dyn.d_un.d_ptr);
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_commit.c424 diff_and_fix(pool_conf_t *stc, pool_conf_t *dyn) argument
437 if (process_lists(PEC_SYSTEM, stc, dyn, 0) != PO_SUCCESS) {
440 if (process_lists(PEC_POOL, stc, dyn, 0) != PO_SUCCESS) {
443 if (process_lists(PEC_RES_COMP, stc, dyn, 0) != PO_SUCCESS) {
446 if (process_lists(PEC_COMP, stc, dyn, 0) != PO_SUCCESS) {
449 if (process_lists(PEC_POOL, stc, dyn, 1) != PO_SUCCESS) {
457 if (share_resources(dyn) != PO_SUCCESS) {
467 process_elem_lt(pool_elem_t *pe, pool_conf_t *dyn) argument
474 if (commit_create(dyn, &pe) != PO_SUCCESS) {
482 process_elem_gt(pool_elem_t *pe, pool_conf_t *stc, pool_conf_t *dyn) argument
575 process_lists(int type, pool_conf_t *stc, pool_conf_t *dyn, int pass) argument
1252 pool_conf_t *dyn; local
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c410 char *xport_phys = NULL, *dyn = NULL; local
424 if ((dyn = GET_DYN(xport_phys)) != NULL) {
425 len = strlen(DYN_TO_DYNCOMP(dyn)) + 1;
432 (void) strcpy(dyncomp, DYN_TO_DYNCOMP(dyn));
439 *dyn = '\0';
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dfake_shdr.c1090 SINFO dyn; member in struct:__anon1431
1114 static const size_t sinfo_n = sizeof (sec) / sizeof (sec.dyn);
1170 sec.dyn.type = SINFO_T_DYN;
1171 sinfo = &sec.dyn;
1212 if (sec.dyn.type == SINFO_T_DYN)
1213 (void) get_data(&fstate, &sec.dyn);
1214 if ((sec.dyn.type == SINFO_T_DYN) && (sec.dyn.data->d_buf != NULL)) {
1215 Dyn *dyn; local
1216 for (dyn
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Ddlfcns.c2135 Dyn *dyn; local
2141 for (dyn = DYN(lmp), dyip = DYNINFO(lmp);
2142 !(dyip->di_flags & FLG_DI_IGNORE); dyn++, dyip++) {
2161 oname = STRTAB(lmp) + dyn->d_un.d_val;

Completed in 94 milliseconds

12