Lines Matching refs:isns_obj_t

55 extern void print_object(char *, isns_obj_t *);
284 static lookup_ctrl_t *set_lookup_ctrl(lookup_ctrl_t *, isns_obj_t *);
286 const isns_obj_t *, const isns_obj_t *);
288 const isns_obj_t *, isns_type_t);
299 lookup_ctrl_t *, isns_type_t, uint32_t, const isns_obj_t *);
301 lookup_ctrl_t *, const isns_obj_t *, const isns_obj_t *);
302 static int new_ref(const isns_obj_t *, const isns_obj_t *);
303 static uint32_t setup_parent_lcp(lookup_ctrl_t *, isns_obj_t *);
304 static int set_obj_offline(isns_obj_t *);
305 static int copy_attrs(isns_obj_t *, const isns_obj_t *);
307 static isns_obj_t *make_default_pg(const isns_obj_t *, const isns_obj_t *);
308 static isns_obj_t *(*const make_ref[MAX_OBJ_TYPE])
309 (const isns_obj_t *, const isns_obj_t *) = {
360 isns_obj_t *obj; in entity_hval()
365 obj = (isns_obj_t *)p; in entity_hval()
401 isns_obj_t *obj; in iscsi_hval()
406 obj = (isns_obj_t *)p; in iscsi_hval()
443 isns_obj_t *obj; in portal_hval()
451 obj = (isns_obj_t *)p; in portal_hval()
495 isns_obj_t *obj; in pg_hval()
503 obj = (isns_obj_t *)p; in pg_hval()
564 isns_obj_t *obj; in dd_hval()
569 obj = (isns_obj_t *)p; in dd_hval()
604 isns_obj_t *obj; in dds_hval()
609 obj = (isns_obj_t *)p; in dds_hval()
642 isns_type_t type = ((isns_obj_t *)p)->type; in obj_hval()
663 isns_obj_t *obj = (isns_obj_t *)p; in get_obj_uid()
687 isns_obj_t *obj = (isns_obj_t *)p; in set_obj_uid()
718 isns_obj_t *obj = (isns_obj_t *)p1; in obj_cmp()
724 lcp = set_lookup_ctrl(&buff, (isns_obj_t *)p2); in obj_cmp()
769 isns_obj_t *dst = (isns_obj_t *)p1; in replace_object()
770 isns_obj_t *src = (isns_obj_t *)p2; in replace_object()
850 isns_obj_t *obj = (isns_obj_t *)p; in add_object()
975 isns_obj_t *obj, in get_ref_np()
991 isns_obj_t *obj, in get_ref_n()
1000 isns_obj_t *obj, in get_ref_p()
1019 isns_obj_t *obj, in get_ref_t()
1048 const isns_obj_t *obj in get_parent_p()
1078 const isns_obj_t *obj in get_parent_uid()
1103 isns_obj_t *obj, in get_child_np()
1131 isns_obj_t *obj, in get_child_n()
1159 isns_obj_t *base, in get_child_p()
1190 isns_obj_t *base, in get_child_t()
1218 isns_obj_t *obj in key_cmp()
1268 isns_obj_t *obj in set_lookup_ctrl()
1440 isns_obj_t *dst, in copy_attrs()
1441 const isns_obj_t *src in copy_attrs()
1701 isns_obj_t *
1706 isns_obj_t *obj = NULL; in obj_calloc()
1708 obj = (isns_obj_t *)calloc(1, SIZEOF_OBJ[type]); in obj_calloc()
1731 isns_obj_t *
1737 isns_obj_t *obj = obj_calloc(OBJ_ENTITY); in make_default_entity()
1779 static isns_obj_t *
1781 const isns_obj_t *p1, in make_default_pg()
1782 const isns_obj_t *p2 in make_default_pg()
1785 const isns_obj_t *iscsi, *portal; in make_default_pg()
1787 isns_obj_t *pg; in make_default_pg()
1870 isns_obj_t **p, in reg_get_entity()
1881 isns_obj_t *entity = NULL; in reg_get_entity()
1941 isns_obj_t **p, in reg_get_iscsi()
1953 isns_obj_t *obj = NULL; in reg_get_iscsi()
2007 isns_obj_t **p, in reg_get_portal()
2020 isns_obj_t *obj = NULL; in reg_get_portal()
2098 isns_obj_t **p, in reg_get_pg()
2109 isns_obj_t *obj = NULL; in reg_get_pg()
2155 isns_obj_t **p, in reg_get_pg1()
2167 isns_obj_t *obj = NULL; in reg_get_pg1()
2225 isns_obj_t **p, in reg_get_pg2()
2237 isns_obj_t *obj = NULL; in reg_get_pg2()
2317 isns_obj_t **p, in reg_get_obj()
2481 const isns_obj_t *obj in is_obj_online()
2500 isns_obj_t *obj in set_obj_offline()
2535 isns_obj_t *clone; in assoc_clone()
2541 const isns_obj_t *obj; in assoc_clone()
2547 obj = (isns_obj_t *)p; in assoc_clone()
2629 isns_obj_t *obj in free_one_object()
2696 isns_obj_t *obj in free_object()
2716 isns_obj_t *obj, in set_parent_obj()
2839 const isns_obj_t *obj in update_ref_obj()
2897 isns_obj_t *obj in update_deref_obj()
2945 isns_obj_t *obj, in register_object()
2969 isns_obj_t *obj, in register_assoc()
3034 const isns_obj_t *iscsi, in setup_ref_lcp()
3035 const isns_obj_t *portal in setup_ref_lcp()
3077 const isns_obj_t *pg, in setup_deref_lcp()
3119 isns_obj_t *obj in setup_parent_lcp()
3153 isns_obj_t *obj = (isns_obj_t *)p1; in cb_node_child()
3195 isns_obj_t *obj = (isns_obj_t *)p1; in cb_set_ref()
3231 isns_obj_t *obj = (isns_obj_t *)p1; in cb_clear_ref()
3261 isns_obj_t *obj = (isns_obj_t *)p1; in cb_add_child()
3272 isns_obj_t *o; in cb_add_child()
3315 o = (isns_obj_t *)*vpp; in cb_add_child()
3353 isns_obj_t *obj = (isns_obj_t *)p1; in cb_remove_child()
3404 isns_obj_t *parent = (isns_obj_t *)p1; in cb_verify_ref()
3524 isns_obj_t *obj = (isns_obj_t *)p1; in cb_ref_new2old()
3557 isns_obj_t *a = (isns_obj_t *)p1; in cb_new_ref()
3558 isns_obj_t *b = (isns_obj_t *)lcp->data[2].ptr; in cb_new_ref()
3570 const isns_obj_t *vp in ref_new2old()
3604 const isns_obj_t *p1, in ref_new2new()
3605 const isns_obj_t *p2 in ref_new2new()
3621 const isns_obj_t *p1, in new_ref()
3622 const isns_obj_t *p2 in new_ref()
3627 isns_obj_t *obj; in new_ref()
3668 isns_obj_t *obj; in do_dereg()
3788 isns_obj_t *obj; in dereg_assoc()
3956 print_object(NULL, (isns_obj_t *)p); in obj_dump()