Searched refs:seg_obj (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | raw_access.c | 151 segment_obj_t *seg_obj; in create_segment_hash_object() local 153 seg_obj = malloc(sizeof (segment_obj_t)); in create_segment_hash_object() 154 if (seg_obj == NULL) { in create_segment_hash_object() 160 free(seg_obj); in create_segment_hash_object() 164 seg_obj->next = NULL; in create_segment_hash_object() 165 seg_obj->pkt_obj_list = NULL; in create_segment_hash_object() 168 hash_obj->u.seg_obj = seg_obj; in create_segment_hash_object() 245 if (parent_obj->u.seg_obj->pkt_obj_list == NULL) { in add_to_pkt_object_list() 246 parent_obj->u.seg_obj->pkt_obj_list = child_obj; in add_to_pkt_object_list() 250 for (next_hash = parent_obj->u.seg_obj->pkt_obj_list; in add_to_pkt_object_list() [all …]
|
H A D | fru_access_impl.h | 190 segment_obj_t *seg_obj; member
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 142 segment_obj_t *seg_obj; in create_segment_hash_object() local 144 seg_obj = malloc(sizeof (segment_obj_t)); in create_segment_hash_object() 145 if (seg_obj == NULL) { in create_segment_hash_object() 151 free(seg_obj); in create_segment_hash_object() 155 seg_obj->next = NULL; in create_segment_hash_object() 156 seg_obj->pkt_obj_list = NULL; in create_segment_hash_object() 159 hash_obj->u.seg_obj = seg_obj; in create_segment_hash_object() 245 child_obj->u.seg_obj->section_hdl = parent_obj->obj_hdl; in add_to_seg_object_list() 252 next_hash->u.seg_obj->next != NULL; in add_to_seg_object_list() 253 next_hash = next_hash->u.seg_obj->next) { in add_to_seg_object_list() [all …]
|
H A D | fru_access_impl.h | 194 segment_obj_t *seg_obj; member
|
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/ |
H A D | mem_seg_map.c | 42 void *seg_obj, *guest_mem; in main() local 64 seg_obj = mmap(NULL, SEG_SZ, PROT_READ | PROT_WRITE, MAP_SHARED, in main() 66 if (seg_obj == MAP_FAILED) { in main() 73 uint64_t *p = (uint64_t *)((uintptr_t)seg_obj + i * PAGE_SZ); in main() 85 if (seg_obj == MAP_FAILED) { in main() 108 uint64_t *p = (uint64_t *)((uintptr_t)seg_obj + off); in main() 125 res = munmap(seg_obj, SEG_SZ); in main()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/ |
H A D | fru_data.c | 1109 add_row_to_table(hash_obj_t *seg_obj, picl_nodehdl_t tblhdl, packet_t *pkt, in add_row_to_table() argument 1183 add_to_packet_list(seg_obj, hash_obj); in add_row_to_table() 2380 free_segment_hash_object(hash_obj_t *seg_obj) in free_segment_hash_object() argument 2384 while (seg_obj != NULL) { in free_segment_hash_object() 2385 free_packet_hash_object(seg_obj->u.seg_node->packet_list); in free_segment_hash_object() 2386 tmp_obj = seg_obj->u.seg_node->next; in free_segment_hash_object() 2387 free(seg_obj->u.seg_node); in free_segment_hash_object() 2388 free(seg_obj); in free_segment_hash_object() 2389 seg_obj = tmp_obj; in free_segment_hash_object()
|