Lines Matching defs:handle

90 	fru_nodehdl_t handle;
128 "Invalid handle",
180 int hash_bucket = lock->handle % CONT_LOCK_HASH_NUM;
196 find_cont_lock(fru_nodehdl_t handle)
198 int hash_bucket = handle % CONT_LOCK_HASH_NUM;
202 if (which->handle == handle) {
212 alloc_cont_lock(fru_nodehdl_t handle)
218 lock->handle = handle;
229 lock_container(lock_mode_t mode, fru_nodehdl_t handle)
237 which = find_cont_lock(handle);
241 if ((which = alloc_cont_lock(handle)) == NULL) {
270 #define CHK_UNLOCK_CONTAINER(handle) \
271 if (unlock_container(handle) != FRU_SUCCESS) { \
275 unlock_container(fru_nodehdl_t handle)
280 which = find_cont_lock(handle);
506 fru_get_root(fru_nodehdl_t *handle)
516 *handle = TREEHDL_TO_NODEHDL(tr_root);
523 fru_get_child(fru_nodehdl_t handle, fru_nodehdl_t *child)
532 RETRY(err = data_source->get_child(NODEHDL_TO_TREEHDL(handle),
575 fru_get_peer(fru_nodehdl_t handle, fru_nodehdl_t *peer)
578 fru_treehdl_t tr_peer = NODEHDL_TO_TREEHDL(handle);
606 fru_get_parent(fru_nodehdl_t handle, fru_nodehdl_t *parent)
614 RETRY(err = data_source->get_parent(NODEHDL_TO_TREEHDL(handle),
625 fru_get_name_from_hdl(fru_nodehdl_t handle, char **name)
633 RETRY(err = data_source->get_name_from_hdl(NODEHDL_TO_TREEHDL(handle),
644 * process_node() has available the handle, path (in the subtree from the root
739 fru_get_node_type(fru_nodehdl_t handle, fru_node_t *type)
747 RETRY(err = data_source->get_node_type(NODEHDL_TO_TREEHDL(handle),
757 is_container(fru_nodehdl_t handle)
761 if ((err = fru_get_node_type(handle, &type)) != FRU_SUCCESS) {
1100 * (which is currently the only way to get a segment handle) so that the
1120 * (which is currently the only way to get a segment handle) so that the