Home
last modified time | relevance | path

Searched refs:shn (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/cmd/mdb/common/modules/md/
H A Ddumpnamespace.c51 struct did_shr_name shn; in print_did_shared_name() local
56 if (mdb_vread(&shn, sizeof (struct did_shr_name), addr) != in print_did_shared_name()
61 if (shn.did_size == 0) in print_did_shared_name()
65 mdb_printf("did_key: %d\n", shn.did_key); in print_did_shared_name()
66 mdb_printf("did_count: %u\n", shn.did_count); in print_did_shared_name()
67 mdb_printf("did_data: 0x%x \n", shn.did_data); in print_did_shared_name()
68 mdb_printf("did_size: %u\n", shn.did_size); in print_did_shared_name()
69 sn_name_addr = addr + ((uintptr_t)&shn.did_devid - (uintptr_t)&shn); in print_did_shared_name()
70 if (shn.did_size > 0) { in print_did_shared_name()
71 sn_name = mdb_alloc(shn.did_size + 1, UM_SLEEP | UM_GC); in print_did_shared_name()
[all …]
/titanic_41/usr/src/uts/intel/ia32/krtld/
H A Dkobj_isa.c88 uint_t shn; in get_progbits_size() local
95 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { in get_progbits_size()
96 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
H A Dkobj_reloc.c277 uint_t shn; in do_relocations() local
282 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { in do_relocations()
284 (mp->shdrs + shn * mp->hdr.e_shentsize); in do_relocations()
300 _kobj_printf(ops, "out of range %d\n", shn); in do_relocations()
319 _kobj_printf(ops, "section=%d\n", shn); in do_relocations()
/titanic_41/usr/src/uts/intel/amd64/krtld/
H A Dkobj_isa.c88 uint_t shn; in get_progbits_size() local
95 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { in get_progbits_size()
96 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
H A Dkobj_reloc.c283 uint_t shn; in do_relocations() local
288 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { in do_relocations()
290 (mp->shdrs + shn * mp->hdr.e_shentsize); in do_relocations()
306 _kobj_printf(ops, "out of range %d\n", shn); in do_relocations()
325 _kobj_printf(ops, "section=%d\n", shn); in do_relocations()
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd_names.c664 struct nm_shared_name *shn; in setshared_name() local
729 if ((shn = (struct nm_shared_name *)lookup_shared_entry(nh, in setshared_name()
732 shn->sn_count++; in setshared_name()
735 return (shn->sn_key); in setshared_name()
739 if ((shn = (struct nm_shared_name *)alloc_entry(nh, in setshared_name()
742 shn->sn_key = create_key(nh); in setshared_name()
743 shn->sn_count = 1; in setshared_name()
744 shn->sn_namlen = (ushort_t)len; in setshared_name()
745 (void) strcpy(shn->sn_name, shrname); in setshared_name()
746 key = shn->sn_key; in setshared_name()
[all …]
H A Dmd_mddb.c12272 char *shn; in md_update_minor() local
12308 if (((shn = (char *)getshared_name(setno, in md_update_minor()
12310 (strcmp(shn, "md") == 0)) { in md_update_minor()
12343 char *shn; in md_update_top_device_minor() local
12372 if ((shn = (char *)getshared_name(setno, n->n_drv_key, 0L)) in md_update_top_device_minor()
12378 if (strcmp(shn, "md") == 0) { in md_update_top_device_minor()
12511 struct nm_shared_name *shn, *new_shn; in update_setname() local
12536 if ((shn = (struct nm_shared_name *)lookup_shared_entry(nh, in update_setname()
12548 o_key = shn->sn_key; in update_setname()
12549 o_count = shn->sn_count; in update_setname()
[all …]
/titanic_41/usr/src/uts/sparc/krtld/
H A Dkobj_isa.c104 uint_t shn; in get_progbits_size() local
111 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { in get_progbits_size()
112 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
H A Dkobj_reloc.c342 uint_t shn; in do_relocations() local
347 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { in do_relocations()
349 (mp->shdrs + shn * mp->hdr.e_shentsize); in do_relocations()
364 _kobj_printf(ops, " sh_info out of range %lld\n", shn); in do_relocations()
382 _kobj_printf(ops, " section=%d\n", shn); in do_relocations()
/titanic_41/usr/src/uts/common/krtld/
H A Dkobj.c1614 uint_t shn; in kobj_export_ksyms() local
1617 for (shn = 1; shn < omp->hdr.e_shnum; shn++) { in kobj_export_ksyms()
1618 shp = (Shdr *)(omp->shdrs + shn * omp->hdr.e_shentsize); in kobj_export_ksyms()
1755 int dshn, shn, rc; in do_dynamic() local
1759 for (dshp = NULL, shn = 1; shn < mp->hdr.e_shnum; shn++) { in do_dynamic()
1760 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in do_dynamic()
1771 dshn = shn; in do_dynamic()
2218 uint_t shn; in free_module_data() local
2221 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { in free_module_data()
2222 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in free_module_data()
[all …]
/titanic_41/usr/src/uts/i86xpv/os/
H A Dxpv_panic.c818 int i, shn; in init_xen_module() local
887 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { in init_xen_module()
888 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in init_xen_module()
896 mp->symtbl_section = shn; in init_xen_module()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_link.c718 dt_symtab_lookup(Elf_Data *data_sym, int nsym, uintptr_t addr, uint_t shn, in dt_symtab_lookup() argument
726 shn == sym->st_shndx && in dt_symtab_lookup()