Lines Matching refs:nodehdl
132 lookup_container_table(picl_nodehdl_t nodehdl, int object_type) in lookup_container_table() argument
142 retval = ptree_get_propval_by_name(nodehdl, PICL_PROP_PARENT, in lookup_container_table()
146 retval = ptree_get_propval_by_name(nodehdl, PICL_PROP_PARENT, in lookup_container_table()
152 parenthdl = nodehdl; in lookup_container_table()
195 lock_container_lock(picl_nodehdl_t nodehdl, int object_type, int operation) in lock_container_lock() argument
201 while (((cont_obj = lookup_container_table(nodehdl, object_type)) != in lock_container_lock()
212 lookup_node_object(picl_nodehdl_t nodehdl, int object_type, in lookup_node_object() argument
220 index_to_hash = (nodehdl % TABLE_SIZE); in lookup_node_object()
226 if ((nodehdl == next_hash->picl_hdl) && in lookup_node_object()
281 alloc_container_table(picl_nodehdl_t nodehdl) in alloc_container_table() argument
290 cont_tbl->picl_hdl = nodehdl; in alloc_container_table()
313 alloc_container_node_object(picl_nodehdl_t nodehdl) in alloc_container_node_object() argument
320 acc_hdl = fru_open_container(nodehdl); in alloc_container_node_object()
340 hash_obj->picl_hdl = nodehdl; /* picl node handle */ in alloc_container_node_object()
354 alloc_section_node_object(picl_nodehdl_t nodehdl, section_t *section) in alloc_section_node_object() argument
377 hash_obj->picl_hdl = nodehdl; /* picl node handle */ in alloc_section_node_object()
391 alloc_segment_node_object(picl_nodehdl_t nodehdl, segment_t *segment) in alloc_segment_node_object() argument
416 hash_obj->picl_hdl = nodehdl; in alloc_segment_node_object()
430 alloc_packet_node_object(picl_nodehdl_t nodehdl, packet_t *packet) in alloc_packet_node_object() argument
452 hash_obj->picl_hdl = nodehdl; /* picl node handle */ in alloc_packet_node_object()
563 free_segment_node(hash_obj_t *hash_obj, picl_nodehdl_t nodehdl, in free_segment_node() argument
576 if (next_obj->picl_hdl == nodehdl) { in free_segment_node()
581 if (next_obj->picl_hdl != nodehdl) { in free_segment_node()
1399 picl_nodehdl_t nodehdl; in create_segment_node() local
1411 if (ptree_create_node(segname, PICL_CLASS_SEGMENT, &nodehdl) in create_segment_node()
1428 if (ptree_create_and_add_prop(nodehdl, &prop, &segment->descriptor, in create_segment_node()
1430 freeup(nodehdl); in create_segment_node()
1437 if (ptree_create_and_add_prop(nodehdl, &prop, &segment->offset, in create_segment_node()
1439 freeup(nodehdl); in create_segment_node()
1446 if (ptree_create_and_add_prop(nodehdl, &prop, &segment->length, in create_segment_node()
1448 freeup(nodehdl); in create_segment_node()
1454 if (ptree_create_and_add_prop(nodehdl, &prop, &numoftags, &prophdl) in create_segment_node()
1456 freeup(nodehdl); in create_segment_node()
1460 if (create_packet_table(nodehdl, &tblhdl) != PICL_SUCCESS) { in create_segment_node()
1461 freeup(nodehdl); in create_segment_node()
1468 freeup(nodehdl); in create_segment_node()
1481 if (ptree_create_and_add_prop(nodehdl, &prop, NULL, &prophdl) in create_segment_node()
1483 freeup(nodehdl); in create_segment_node()
1496 if (ptree_create_and_add_prop(nodehdl, &prop, NULL, &prophdl) in create_segment_node()
1498 freeup(nodehdl); in create_segment_node()
1503 if (ptree_add_node(sec_node, nodehdl) != PICL_SUCCESS) { in create_segment_node()
1504 freeup(nodehdl); in create_segment_node()
1508 hash_obj = alloc_segment_node_object(nodehdl, segment); in create_segment_node()
1510 freeup(nodehdl); in create_segment_node()
1518 retval = frudata_read_packet(nodehdl, &tblhdl, cont_tbl, cred); in create_segment_node()
1523 (void) ptree_update_propval_by_name(nodehdl, PICL_PROP_NUM_TAGS, in create_segment_node()
1747 create_section_node(picl_nodehdl_t nodehdl, int section_count, in create_section_node() argument
1824 if (ptree_add_node(nodehdl, chld_node) != PICL_SUCCESS) { in create_section_node()
1830 cont_hash = lookup_node_object(nodehdl, CONTAINER_NODE, cont_tbl); in create_section_node()
2416 picl_nodehdl_t nodehdl; in free_hash_table() local
2428 nodehdl = cont_tbl->picl_hdl; in free_hash_table()
2430 cont_tbl = lookup_container_table(nodehdl, in free_hash_table()