Lines Matching refs:sec_obj

122 	section_obj_t *sec_obj;
124 sec_obj = malloc(sizeof (section_obj_t));
125 if (sec_obj == NULL) {
131 free(sec_obj);
135 sec_obj->next = NULL;
136 sec_obj->seg_obj_list = NULL;
138 hash_obj->u.sec_obj = sec_obj;
224 hash_obj = lookup_handle_object(hash_obj->u.sec_obj->cont_hdl,
299 seg_hash = sec_hash->u.sec_obj->seg_obj_list;
305 sec_hash->u.sec_obj->seg_obj_list = seg_hash->u.seg_obj->next;
341 child_obj->u.sec_obj->cont_hdl = parent_obj->obj_hdl;
348 next_hash->u.sec_obj->next != NULL;
349 next_hash = next_hash->u.sec_obj->next) {
353 next_hash->u.sec_obj->next = child_obj;
363 if (parent_obj->u.sec_obj->seg_obj_list == NULL) {
364 parent_obj->u.sec_obj->seg_obj_list = child_obj;
368 for (next_hash = parent_obj->u.sec_obj->seg_obj_list;
516 section_obj_t *sec_obj;
523 sec_obj = sec_object->u.sec_obj;
524 if (sec_obj == NULL) {
528 if (sec_obj->num_of_segment > maxseg) {
532 seg_object = sec_object->u.sec_obj->seg_obj_list;
537 for (count = 0; count < sec_obj->num_of_segment; count++) {
601 section_obj_t *sec_obj;
606 sec_obj = sec_hash->u.sec_obj;
607 if (sec_obj == NULL) {
613 section->offset = sec_obj->section.offset;
614 section->length = sec_obj->section.length;
615 section->protection = sec_obj->section.protection;
616 section->version = sec_obj->section.version;
619 retval = raw_memcpy(&sec_hdr, rawlist, sec_obj->section.offset,
651 sec_obj->section.offset + sizeof (sec_hdr),
672 sec_obj->section.version = hdrver;
677 if (sec_hash->u.sec_obj->seg_obj_list != NULL) {
680 sec_obj->num_of_segment = 0;
691 sec_obj->num_of_segment++;
728 sec_hash = sec_hash->u.sec_obj->next;
766 protection = sec_hash->u.sec_obj->section.protection;
851 (sec_hash->u.sec_obj->section.offset +
852 sec_hash->u.sec_obj->section.length)) {
950 section_obj_t *sec_obj;
957 sec_obj = sec_object->u.sec_obj;
958 if (sec_obj == NULL) {
962 return (sec_obj->num_of_segment);
1014 if (offset < sec_hash->u.sec_obj->section.offset) {
1139 sec_hash_obj->u.sec_obj->section.offset =
1142 sec_hash_obj->u.sec_obj->section.protection =
1145 sec_hash_obj->u.sec_obj->section.length =
1147 sec_hash_obj->u.sec_obj->section.version =
1178 while (sec_hash_obj->u.sec_obj->seg_obj_list != NULL) {
1181 sec_hash_obj->u.sec_obj->seg_obj_list->obj_hdl;
1200 sec_hash_obj = sec_hash_obj->u.sec_obj->next;
1202 free(prev_hash->u.sec_obj); /* free section hash object */