Lines Matching defs:shn
51 struct did_shr_name shn;
56 if (mdb_vread(&shn, sizeof (struct did_shr_name), addr) !=
61 if (shn.did_size == 0)
65 mdb_printf("did_key: %d\n", shn.did_key);
66 mdb_printf("did_count: %u\n", shn.did_count);
67 mdb_printf("did_data: 0x%x \n", shn.did_data);
68 mdb_printf("did_size: %u\n", shn.did_size);
69 sn_name_addr = addr + ((uintptr_t)&shn.did_devid - (uintptr_t)&shn);
70 if (shn.did_size > 0) {
71 sn_name = mdb_alloc(shn.did_size + 1, UM_SLEEP | UM_GC);
72 if (mdb_readstr((char *)sn_name, shn.did_size + 1,
80 next_addr = addr + MY_DID_SHR_NAMSIZ(shn.did_size);
89 struct nm_shared_name shn;
94 if (mdb_vread(&shn, sizeof (struct nm_shared_name), addr) !=
99 if (shn.sn_namlen == 0)
103 mdb_printf("sn_key: %d \n", shn.sn_key);
104 mdb_printf("sn_count: %u\n", shn.sn_count);
105 mdb_printf("sn_data: 0x%x \n", shn.sn_data);
106 mdb_printf("sn_namlen: %u\n", shn.sn_namlen);
107 sn_name_addr = addr + ((uintptr_t)&shn.sn_name - (uintptr_t)&shn);
108 if (shn.sn_namlen > 0) {
109 sn_name = mdb_alloc(shn.sn_namlen + 1, UM_SLEEP | UM_GC);
110 if (mdb_readstr((char *)sn_name, shn.sn_namlen + 1,
117 next_addr = addr + MY_SHR_NAMSIZ(shn.sn_namlen);