Searched refs:cont_obj (Results 1 – 9 of 9) sorted by relevance
226 container_obj_t *cont_obj; in create_container_hash_object() local228 cont_obj = malloc(sizeof (container_obj_t)); in create_container_hash_object()229 if (cont_obj == NULL) { in create_container_hash_object()235 free(cont_obj); in create_container_hash_object()239 cont_obj->sec_obj_list = NULL; in create_container_hash_object()242 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()364 if (parent_obj->u.cont_obj->sec_obj_list == NULL) { in add_to_sec_object_list()365 parent_obj->u.cont_obj->sec_obj_list = child_obj; in add_to_sec_object_list()369 for (next_hash = parent_obj->u.cont_obj->sec_obj_list; in add_to_sec_object_list()431 format = cont_hash_obj->u.cont_obj->format; in initialize_ipmi_container()[all …]
246 container_obj_t *cont_obj; member
94 container_obj_t *cont_obj; in create_container_hash_object() local96 cont_obj = malloc(sizeof (container_obj_t)); in create_container_hash_object()97 if (cont_obj == NULL) { in create_container_hash_object()103 free(cont_obj); in create_container_hash_object()107 cont_obj->sec_obj_list = NULL; in create_container_hash_object()110 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()342 if (parent_obj->u.cont_obj->sec_obj_list == NULL) { in add_to_sec_object_list()343 parent_obj->u.cont_obj->sec_obj_list = child_obj; in add_to_sec_object_list()347 for (next_hash = parent_obj->u.cont_obj->sec_obj_list; in add_to_sec_object_list()711 if (cont_object->u.cont_obj->num_of_section > maxsec) { in fru_get_sections()[all …]
188 container_obj_t *cont_obj; member
86 container_obj_t *cont_obj; in create_container_hash_object() local88 cont_obj = malloc(sizeof (container_obj_t)); in create_container_hash_object()89 if (cont_obj == NULL) { in create_container_hash_object()95 free(cont_obj); in create_container_hash_object()99 cont_obj->sec_obj_list = NULL; in create_container_hash_object()102 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()227 if (parent_obj->u.cont_obj->sec_obj_list == NULL) { in add_to_sec_object_list()228 parent_obj->u.cont_obj->sec_obj_list = child_obj; in add_to_sec_object_list()232 for (next_hash = parent_obj->u.cont_obj->sec_obj_list; in add_to_sec_object_list()810 (void) strlcpy(cont_hash_obj->u.cont_obj->device_pathname, devpath, in fru_open_container()[all …]
190 container_obj_t *cont_obj; member
85 container_obj_t *cont_obj; in create_container_hash_object() local87 cont_obj = malloc(sizeof (container_obj_t)); in create_container_hash_object()88 if (cont_obj == NULL) { in create_container_hash_object()94 free(cont_obj); in create_container_hash_object()98 cont_obj->sec_obj_list = NULL; in create_container_hash_object()101 hash_obj->u.cont_obj = cont_obj; in create_container_hash_object()226 if (parent_obj->u.cont_obj->sec_obj_list == NULL) { in add_to_sec_object_list()227 parent_obj->u.cont_obj->sec_obj_list = child_obj; in add_to_sec_object_list()231 for (next_hash = parent_obj->u.cont_obj->sec_obj_list; in add_to_sec_object_list()819 (void) strlcpy(cont_hash_obj->u.cont_obj->device_pathname, devpath, in fru_open_container()[all …]
194 container_obj_t *cont_obj; member
176 lock_readwrite_lock(container_tbl_t *cont_obj, int operation) in lock_readwrite_lock() argument180 return (pthread_rwlock_trywrlock(&cont_obj->rwlock)); in lock_readwrite_lock()183 return (pthread_rwlock_tryrdlock(&cont_obj->rwlock)); in lock_readwrite_lock()197 container_tbl_t *cont_obj = NULL; in lock_container_lock() local201 while (((cont_obj = lookup_container_table(nodehdl, object_type)) != in lock_container_lock()202 NULL) && (lock_readwrite_lock(cont_obj, operation) == EBUSY)) { in lock_container_lock()203 pthread_cond_wait(&cont_obj->cond_var, &cont_tbl_lock); in lock_container_lock()208 return (cont_obj); in lock_container_lock()