Home
last modified time | relevance | path

Searched refs:dyn (Results 1 – 25 of 67) sorted by relevance

123

/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Ddyn.c135 } dyn; member
191 Dyn *dyn; in convert_dt_null() local
207 dyn = &argstate->dyn.data[ndx]; in convert_dt_null()
299 Dyn *dyn; in print_dyn() local
342 dyn = &argstate->dyn.data[ndx]; in print_dyn()
404 dyn++; in print_dyn()
696 for (ndx = 0, dyn = argstate->dyn.data; in arg_to_index()
697 ndx < argstate->dyn.num; dyn++, ndx++) { in arg_to_index()
770 Dyn *dyn = argstate->dyn.data; in cmd_body_value() local
971 Dyn *dyn = argstate->dyn.data; in cmd_body_runpath() local
[all …]
H A Dsyminfo.c261 Dyn *dyn; in dump_syminfo() local
271 dyn = argstate->dynamic.data; in dump_syminfo()
469 Dyn *dyn; in needed_to_boundto() local
483 dyn = argstate->dynamic.data; in needed_to_boundto()
485 switch (dyn->d_tag) { in needed_to_boundto()
509 dyn = argstate->dynamic.data; in needed_to_boundto()
511 if (((dyn->d_tag == DT_NEEDED) || in needed_to_boundto()
512 (dyn->d_tag == DT_USED)) && in needed_to_boundto()
545 dyn = argstate->dynamic.data + ndx; in needed_to_boundto()
546 dyn->d_tag = DT_NEEDED; in needed_to_boundto()
[all …]
H A Dstr.c127 } dyn; member
355 argstate->dyn.sec = NULL; in process_args()
356 elfedit_dyn_elt_init(&argstate->dyn.strpad); in process_args()
365 &argstate->dyn.data, &argstate->dyn.n); in process_args()
367 &argstate->dyn.strpad); in process_args()
373 if ((argstate->dyn.strpad.dn_seen != 0) && in process_args()
376 argstate->dyn.strpad.dn_seen = 0; in process_args()
381 EC_XWORD(argstate->dyn.strpad.dn_dyn. in process_args()
440 if (argstate->dyn.strpad.dn_seen) in print_strtab()
584 if (argstate->dyn.strpad.dn_seen) { in cmd_body_set()
[all …]
H A Ddyn.msg31 # Message file for elfedit 'dyn' module
102 By default, dyn:value modifies the first element of the\n\
218 The dyn:tag command is used to display or alter the\n\
229 The dyn:value command is used to display or alter the\n\
278 The dyn:runpath command is used to display or alter the\n\
302 The dyn:posflag1 command is used to display or alter\n\
343 The dyn:flags command is used to display or alter the\n\
346 If dyn:flags is called without arguments, the current\n\
367 The dyn:flags1 command is used to display or alter the\n\
370 If dyn:flags1 is called without arguments, the current\n\
[all …]
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddynamic.c59 while (dyn->d_tag != DT_NULL) { in update_dynamic()
62 switch ((Xword)dyn->d_tag) { in update_dynamic()
127 dyn->d_un.d_ptr += addr; in update_dynamic()
136 dyn->d_un.d_val = 0; in update_dynamic()
160 dyn->d_un.d_val = 0; in update_dynamic()
176 dyn->d_un.d_val = checksum; in update_dynamic()
215 posdyn = dyn++; in update_dynamic()
242 dyn->d_un.d_ptr += addr; in update_dynamic()
256 dyn->d_un.d_ptr += addr; in update_dynamic()
262 EC_XWORD(dyn->d_tag)); in update_dynamic()
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dupdate.c2201 dyn++; in update_odynamic()
2260 dyn++; in update_odynamic()
2263 dyn++; in update_odynamic()
2291 dyn++; in update_odynamic()
2296 dyn++; in update_odynamic()
2300 dyn++; in update_odynamic()
2309 dyn++; in update_odynamic()
2617 dyn++; in update_odynamic()
2638 dyn++; in update_odynamic()
2642 dyn++; in update_odynamic()
[all …]
H A Dfiles.c1758 Dyn *dyn; in process_rel_dynamic() local
1785 for (dyn = (Dyn *)dp->d_buf; dyn->d_tag != DT_NULL; dyn++) { in process_rel_dynamic()
1788 switch (dyn->d_tag) { in process_rel_dynamic()
2101 Dyn *dyn; in process_dynamic_isgnu() local
2112 for (dyn = (Dyn *)dp->d_buf; dyn->d_tag != DT_NULL; dyn++) { in process_dynamic_isgnu()
2113 if (dyn->d_tag == DT_VERSYM) { in process_dynamic_isgnu()
2136 Dyn *data, *dyn; in process_dynamic() local
2152 for (dyn = data; dyn->d_tag != DT_NULL; dyn++) { in process_dynamic()
2166 for (dyn = data; dyn->d_tag != DT_NULL; dyn++) { in process_dynamic()
2167 if (dyn->d_tag == DT_SONAME) { in process_dynamic()
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Delf.c147 Dyn *dyn = NULL; in elf_cap_check() local
181 while (dyn && dyncnt) { in elf_cap_check()
188 dyn++, dyncnt--; in elf_cap_check()
607 Dyn *dyn; in elf_needed() local
1629 Dyn *dyn = (Dyn *)odyn; local
1682 if (dyn) {
1713 DYN(lmp) = dyn;
1724 if (dyn) {
1888 fltr = dyn->d_un.d_val;
1938 if (dyn->d_un.d_ptr)
[all …]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dfake_shdr.c1090 SINFO dyn; in fake_shdr_cache() member
1170 sec.dyn.type = SINFO_T_DYN; in fake_shdr_cache()
1171 sinfo = &sec.dyn; in fake_shdr_cache()
1212 if (sec.dyn.type == SINFO_T_DYN) in fake_shdr_cache()
1214 if ((sec.dyn.type == SINFO_T_DYN) && (sec.dyn.data->d_buf != NULL)) { in fake_shdr_cache()
1215 Dyn *dyn; in fake_shdr_cache() local
1216 for (dyn = sec.dyn.data->d_buf; dyn->d_tag != DT_NULL; dyn++) { in fake_shdr_cache()
1217 switch (dyn->d_tag) { in fake_shdr_cache()
1252 sec.rel.size = dyn->d_un.d_val; in fake_shdr_cache()
1350 dyn->d_un.d_val; in fake_shdr_cache()
[all …]
H A Delfdump.c2316 Dyn *dyn; in versions() local
2339 for (; numdyn-- > 0; dyn++) in versions()
2340 if (dyn->d_tag == DT_VERSYM) { in versions()
2816 switch (dyn->d_tag) { in dyn_test()
3068 Dyn *dyn; in dynamic() local
3104 if (dyn->d_tag == DT_FLAGS_1) { in dynamic()
3161 switch (dyn->d_tag) { in dynamic()
3170 dyn++; in dynamic()
3192 file, dyn->d_un.d_ptr); in dynamic()
3199 file, dyn->d_un.d_ptr); in dynamic()
[all …]
/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, in Elf_dyn_entry() argument
52 conv_dyn_tag(dyn->d_tag, osabi, mach, 0, &inv_buf), in Elf_dyn_entry()
53 EC_XWORD(dyn->d_un.d_val), name); in Elf_dyn_entry()
62 Elf_dyn_null_entry(Lm_list *lml, Dyn *dyn, int start_ndx, int end_ndx) in Elf_dyn_null_entry() argument
68 Elf_dyn_entry(lml, dyn, start_ndx, MSG_ORIG(MSG_STR_EMPTY), in Elf_dyn_null_entry()
75 EC_XWORD(dyn->d_un.d_val), MSG_ORIG(MSG_STR_EMPTY)); in Elf_dyn_null_entry()
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_commit.c1252 pool_conf_t *dyn; in pool_conf_commit_sys() local
1258 pool_conf_free(dyn); in pool_conf_commit_sys()
1263 (void) pool_conf_close(dyn); in pool_conf_commit_sys()
1264 pool_conf_free(dyn); in pool_conf_commit_sys()
1272 (void) pool_conf_close(dyn); in pool_conf_commit_sys()
1273 pool_conf_free(dyn); in pool_conf_commit_sys()
1277 if (dyn->pc_prov->pc_commit(dyn) != PO_SUCCESS) { in pool_conf_commit_sys()
1278 (void) pool_conf_close(dyn); in pool_conf_commit_sys()
1279 pool_conf_free(dyn); in pool_conf_commit_sys()
1282 (void) pool_conf_close(dyn); in pool_conf_commit_sys()
[all …]
H A Dpool_internal.c1664 pool_conf_t *dyn; in pool_validate_resource() local
1714 dyn = (pool_conf_t *)conf; in pool_validate_resource()
1721 pool_conf_free(dyn); in pool_validate_resource()
1726 (void) pool_conf_close(dyn); in pool_validate_resource()
1727 pool_conf_free(dyn); in pool_validate_resource()
1736 if (conf != dyn) { in pool_validate_resource()
1737 (void) pool_conf_close(dyn); in pool_validate_resource()
1738 pool_conf_free(dyn); in pool_validate_resource()
1745 if (conf != dyn) { in pool_validate_resource()
1746 (void) pool_conf_close(dyn); in pool_validate_resource()
[all …]
/illumos-gate/usr/src/cmd/mdb/tools/setdynflag/common/
H A Dsetdynflag.c91 GElf_Dyn dyn; in set_flag() local
116 if (gelf_getdyn(data, i, &dyn) == NULL) in set_flag()
119 if (dyn.d_tag == DT_FLAGS_1) { in set_flag()
120 dyn.d_un.d_val |= (Elf64_Xword)flval; in set_flag()
122 if (gelf_update_dyn(data, i, &dyn) == 0) in set_flag()
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_list.c528 *dyn = '\0'; in do_list_FCP_dev()
2814 if (dyn != NULL) dyncomp = DYN_TO_DYNCOMP(dyn); in is_FCP_dev_ap_on_ldata_list()
2836 dyn = dyncomp = NULL; in is_FCP_dev_ap_on_ldata_list()
2840 if (dyn != NULL) dyncomp = DYN_TO_DYNCOMP(dyn); in is_FCP_dev_ap_on_ldata_list()
3192 if ((dyn != NULL) && ((dyncomp = DYN_TO_DYNCOMP(dyn)) != NULL)) { in init_ldata_for_accessible_FCP_dev()
3196 dyn = GET_DYN( in init_ldata_for_accessible_FCP_dev()
3247 dyn = GET_DYN( in init_ldata_for_accessible_FCP_dev()
3558 if (dyn != NULL) dyncomp = DYN_TO_DYNCOMP(dyn); in insert_fc_dev_ldata()
3573 if (dyn != NULL) dyncomp = DYN_TO_DYNCOMP(dyn); in insert_fc_dev_ldata()
3610 if (dyn != NULL) dyncomp = DYN_TO_DYNCOMP(dyn); in insert_FCP_dev_ldata()
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dcommon_sparc.c94 Dyn *dyn; in elf_regsyms() local
105 for (dyn = DYN(lmp), dip = DYNINFO(lmp); in elf_regsyms()
106 !(dip->di_flags & FLG_DI_IGNORE); dyn++, dip++) { in elf_regsyms()
115 rsymndx = dyn->d_un.d_val; in elf_regsyms()
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dcfga.c238 char dyn[MAXPATHLEN]; in cfga_list_ext() local
240 ap_cm_id(a, i, dyn, sizeof (dyn)); in cfga_list_ext()
243 a->target, dyn); in cfga_list_ext()
245 a->path, dyn); in cfga_list_ext()
/illumos-gate/usr/src/boot/efi/loader/arch/arm64/
H A Dldscript.arm6462 .rela.dyn : {
74 *(.rela.dyn .rela.dyn.*)
/illumos-gate/usr/src/boot/efi/loader/arch/i386/
H A Dldscript.i38655 .rel.dyn : {
67 *(.rel.dyn .rel.dyn.*)
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfedit_machelf.c363 Dyn *dyn; in elfedit64_init_obj_state() local
366 dyn = (Dyn *) dynsec->sec_data->d_buf; in elfedit64_init_obj_state()
373 switch (dyn[i].d_tag) { in elfedit64_init_obj_state()
384 &dyn[i]); in elfedit64_init_obj_state()
388 elfedit_dyn_elt_save(&flags_1_elt, i, &dyn[i]); in elfedit64_init_obj_state()
422 dyn[flags_1_elt.dn_ndx] = flags_1_elt.dn_dyn; in elfedit64_init_obj_state()
H A Dutil_machelf.c99 elfedit_dyn_elt_save(elfedit_dyn_elt_t *elt, Word ndx, Dyn *dyn) in elfedit_dyn_elt_save() argument
103 elt->dn_dyn = *dyn; in elfedit_dyn_elt_save()
412 elfedit_sec_getdyn(elfedit_obj_state_t *obj_state, Dyn **dyn, Word *num) in elfedit_sec_getdyn() argument
420 *dyn = (Dyn *) cache->sec_data->d_buf; in elfedit_sec_getdyn()
869 Dyn *dyn = (Dyn *) dynsec->sec_data->d_buf; in elfedit_dynstr_getpad() local
881 if (dyn[i].d_tag == DT_SUNW_STRPAD) { in elfedit_dynstr_getpad()
882 elfedit_dyn_elt_save(dyn_strpad, i, &dyn[i]); in elfedit_dynstr_getpad()
/illumos-gate/usr/src/cmd/file/
H A Delf_read.c510 Elf_Dyn dyn; in process_shdr() local
526 if (pread64(EI->elffd, &dyn, dsize, doff) in process_shdr()
528 file_xlatetom(ELF_T_DYN, (char *)&dyn) in process_shdr()
537 if ((dyn.d_tag == DT_SUNW_KMOD) && in process_shdr()
538 (dyn.d_un.d_val == 1)) { in process_shdr()
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/
H A DMakefile.targ115 sh $(CHKMSG) -m ../common/dyn.msg ../common/dyn.c
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c135 char *dyn; in adjust_dynamic_ap() local
144 dyn = strstr(apid, "::"); in adjust_dynamic_ap()
145 if ((dyn == NULL) || (dyn == apid) || in adjust_dynamic_ap()
146 (sscanf(dyn, "::dsk/c%dt%dd%d", &c, &t, &d) != 3)) in adjust_dynamic_ap()
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c713 Dyn *dyn; in load_exec() local
756 dyn->d_tag != DT_NULL; dyn++) { in load_exec()
757 switch (dyn->d_tag) { in load_exec()
789 dyn->d_tag != DT_NULL; dyn++) in load_exec()
790 if (dyn->d_tag == DT_NEEDED) { in load_exec()
1175 Dyn *dyn; in bind_primary() local
1180 dyn->d_tag != DT_NULL; dyn++) { in bind_primary()
1181 switch (dyn->d_tag) { in bind_primary()
1184 relasz = dyn->d_un.d_val; in bind_primary()
1188 relaent = dyn->d_un.d_val; in bind_primary()
[all …]

123