Home
last modified time | relevance | path

Searched refs:cont_obj (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dlibfruaccess.c226 container_obj_t *cont_obj; in create_container_hash_object() local
228 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 …]
H A Dfru_access_impl.h246 container_obj_t *cont_obj; member
/titanic_50/usr/src/lib/libfru/libfruraw/
H A Draw_access.c94 container_obj_t *cont_obj; in create_container_hash_object() local
96 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 …]
H A Dfru_access_impl.h188 container_obj_t *cont_obj; member
/titanic_50/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c86 container_obj_t *cont_obj; in create_container_hash_object() local
88 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 …]
H A Dfru_access_impl.h190 container_obj_t *cont_obj; member
/titanic_50/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c85 container_obj_t *cont_obj; in create_container_hash_object() local
87 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 …]
H A Dfru_access_impl.h194 container_obj_t *cont_obj; member
/titanic_50/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c176 lock_readwrite_lock(container_tbl_t *cont_obj, int operation) in lock_readwrite_lock() argument
180 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() local
201 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()