Lines Matching defs:nodeh

822 lookup_and_lock_node(int rw, picl_nodehdl_t nodeh, picl_obj_t **nodep)
826 nobj = hash_lookup_obj(&ptreetbl, nodeh);
828 return (ptree_hdl_error(nodeh));
1099 lookup_verify_node_handle(picl_nodehdl_t nodeh, picl_obj_t **ret)
1103 nodep = hash_lookup_obj(&ptreetbl, nodeh);
1105 return (ptree_hdl_error(nodeh));
1428 ptree_add_prop(picl_nodehdl_t nodeh, picl_prophdl_t proph)
1456 err = lookup_and_lock_node(WRLOCK_NODE, nodeh, &nodep);
1789 ptree_create_node(const char *name, const char *clname, picl_nodehdl_t *nodeh)
1868 *nodeh = pobj->ptree_hdl;
1920 ptree_destroy_node(picl_nodehdl_t nodeh)
1929 err = lookup_verify_node_handle(nodeh, &nodep);
1974 ptree_delete_node(picl_nodehdl_t nodeh)
1984 err = lookup_verify_node_handle(nodeh, &nodep);
2124 xptree_get_propinfo_by_name(picl_nodehdl_t nodeh, const char *pname,
2133 err = lookup_and_lock_node(RDLOCK_NODE, nodeh, &nodep); /* lock node */
2204 rarg.nodeh = nodep->ptree_hdl;
2206 rarg.nodeh = PICL_INVALID_PICLHDL;
2270 xptree_get_propval_by_name_with_cred(picl_nodehdl_t nodeh, const char *pname,
2280 err = lookup_and_lock_node(RDLOCK_NODE, nodeh, &nodep); /* lock node */
2312 ptree_get_propval_by_name(picl_nodehdl_t nodeh, const char *pname, void *vbuf,
2315 return (xptree_get_propval_by_name_with_cred(nodeh, pname, vbuf, size,
2336 warg.nodeh = nodep->ptree_hdl;
2338 warg.nodeh = PICL_INVALID_PICLHDL;
2402 xptree_update_propval_by_name_with_cred(picl_nodehdl_t nodeh, const char *pname,
2411 err = lookup_and_lock_node(WRLOCK_NODE, nodeh, &nodep); /* lock node */
2444 ptree_update_propval_by_name(picl_nodehdl_t nodeh, const char *pname,
2447 return (xptree_update_propval_by_name_with_cred(nodeh, pname, vbuf,
2455 ptree_get_prop_by_name(picl_nodehdl_t nodeh, const char *pname,
2464 err = lookup_and_lock_node(RDLOCK_NODE, nodeh, &nodep); /* lock node */
2490 ptree_get_first_prop(picl_nodehdl_t nodeh, picl_prophdl_t *proph)
2497 err = lookup_and_lock_node(RDLOCK_NODE, nodeh, &pobj); /* lock node */
2746 check_propval(picl_nodehdl_t nodeh, char *pname, char *pval)
2753 err = ptree_get_prop_by_name(nodeh, pname, &proph);
2781 picl_nodehdl_t *nodeh, char *pname)
2867 *nodeh = chdh;
2884 *nodeh = chdh;
3003 ptree_create_and_add_prop(picl_nodehdl_t nodeh, ptree_propinfo_t *infop,
3012 err = ptree_add_prop(nodeh, tmph);
3028 const char *classname, picl_nodehdl_t *nodeh)
3044 *nodeh = tmph;
3107 compare_propval(picl_nodehdl_t nodeh, char *pname, picl_prop_type_t ptype,
3115 err = ptree_get_prop_by_name(nodeh, pname, &proph);
3190 ptree_get_frutree_parent(picl_nodehdl_t nodeh, picl_nodehdl_t *fruh)
3197 nparh = nodeh;