Lines Matching refs:rc_node_t

36  * known here as "entities" and are represented by rc_node_t data
46 * rc_node_t's are also placed in the cache_hash[] hash table, for rapid
50 * rc_node_t is synchronized by its rn_lock member. Some fields are
67 * Locking rules: To dereference an rc_node_t * (usually to lock it), you must
70 * etc.). Once you have locked an rc_node_t you must check its rn_flags for
90 * rc_node_t * in question and a call to uu_list_walk_start() on that list. For
99 * A snapshot rc_node_t has a snapid which refers to an rc_snapshot_t in
168 * The implementation is based on the rn_cchain[] array of rc_node_t pointers
169 * in rc_node_t. For instances, the pointers point to the instance and its
505 static rc_node_t *rc_scope;
574 * rc_node_t property group update notification
613 static void rc_node_no_client_refs(rc_node_t *np);
653 rc_node_match(rc_node_t *np, rc_node_lookup_t *l)
688 rc_node_hold_ephemeral_locked(rc_node_t *np)
706 rc_node_hold_other(rc_node_t *np)
719 rc_node_rele_other(rc_node_t *np)
739 rc_node_hold_locked(rc_node_t *np)
750 rc_node_hold(rc_node_t *np)
758 rc_node_rele_locked(rc_node_t *np)
761 rc_node_t *par_ref = NULL;
805 rc_node_rele(rc_node_t *np)
825 static rc_node_t *
829 rc_node_t *np;
844 static rc_node_t *
849 rc_node_t *np;
862 cache_insert_unlocked(cache_bucket_t *bp, rc_node_t *np)
875 cache_remove_unlocked(cache_bucket_t *bp, rc_node_t *np)
877 rc_node_t **npp;
950 rc_node_free_fmri(rc_node_t *np)
1058 rc_node_get_fmri_or_fragment(rc_node_t *np, char *buf, size_t bufsize,
1108 rc_node_build_fmri(rc_node_t *np)
1153 rc_get_fmri_and_concat(rc_node_t *np, char *fmri, size_t size, size_t *sz_out,
1173 rc_node_t *nnp = np->rcn_node;
1202 rc_notify_insert_node(rc_node_t *nnp)
1257 rc_notify_remove_node(rc_node_t *nnp)
1637 rc_node_hold_flag(rc_node_t *np, uint32_t flag)
1653 rc_node_rele_flag(rc_node_t *np, uint32_t flag)
1666 rc_node_wait_flag(rc_node_t *np, uint32_t flag)
1685 static rc_node_t *
1686 rc_node_hold_parent_flag(rc_node_t *np, uint32_t flag)
1688 rc_node_t *pp;
1712 rc_node_t *
1715 rc_node_t *np = uu_zalloc(sizeof (*np));
1735 rc_node_destroy(rc_node_t *np)
1794 rc_node_link_child(rc_node_t *np, rc_node_t *cp)
1826 rc_node_setup_parent_ref(rc_node_t *np, rc_node_t *pp)
1828 rc_node_t *cp;
1868 rc_node_relink_child(rc_node_t *pp, rc_node_t *np, rc_node_t *newp)
1931 rc_node_t *
1932 rc_node_setup(rc_node_t *cp, rc_node_lookup_t *nip, const char *name,
1933 rc_node_t *pp)
1935 rc_node_t *np;
1996 rc_node_t *
1997 rc_node_setup_snapshot(rc_node_t *cp, rc_node_lookup_t *nip, const char *name,
1998 uint32_t snap_id, rc_node_t *pp)
2000 rc_node_t *np;
2053 rc_node_t *
2054 rc_node_setup_snaplevel(rc_node_t *cp, rc_node_lookup_t *nip,
2055 rc_snaplevel_t *lvl, rc_node_t *pp)
2057 rc_node_t *np;
2113 rc_node_t *
2114 rc_node_setup_pg(rc_node_t *cp, rc_node_lookup_t *nip, const char *name,
2115 const char *type, uint32_t flags, uint32_t gen_id, rc_node_t *pp)
2117 rc_node_t *np;
2186 rc_node_setup_cpg(rc_node_t *cpg, rc_node_t *pg1, rc_node_t *pg2)
2209 rc_node_create_property(rc_node_t *pp, rc_node_lookup_t *nip,
2213 rc_node_t *np;
2363 rc_node_t *np;
2367 sizeof (rc_node_t), offsetof(rc_node_t, rn_sibling_node),
2435 rc_node_fill_children(rc_node_t *np, uint32_t type)
2474 rc_node_find_named_child(rc_node_t *np, const char *name, uint32_t type,
2475 rc_node_t **cpp)
2478 rc_node_t *cp;
2501 static int rc_node_parent(rc_node_t *, rc_node_t **);
2511 rc_node_find_ancestor(rc_node_t *np, uint32_t type, rc_node_t **app)
2514 rc_node_t *parent, *np_orig;
2549 perm_add_pg_prop_values(permcheck_t *pcp, rc_node_t *pg, const char *propname)
2551 rc_node_t *prop;
2615 perm_add_ent_prop_values(permcheck_t *pcp, rc_node_t *ent, const char *pgname,
2619 rc_node_t *pg;
2675 perm_add_enabling_values(permcheck_t *pcp, rc_node_t *pg, const char *propname)
2679 rc_node_t *svc;
2726 perm_add_inst_action_auth(permcheck_t *pcp, rc_node_t *inst)
2729 rc_node_t *svc;
2771 rc_node_assign(rc_node_ptr_t *out, rc_node_t *val)
2773 rc_node_t *cur = out->rnp_node;
2817 rc_node_check_and_lock(rc_node_t *np)
2837 static rc_node_t *
2840 rc_node_t *np = npp->rnp_node;
2950 rc_node_t *np;
2962 static int rc_node_pg_check_read_protect(rc_node_t *);
2979 rc_node_t *np;
3056 rc_node_t *np;
3073 rc_node_parent(rc_node_t *np, rc_node_t **out)
3075 rc_node_t *pnp;
3076 rc_node_t *np_orig;
3143 rc_node_ptr_parent(rc_node_ptr_t *npp, rc_node_t **out)
3145 rc_node_t *np;
3164 rc_node_t *pnp;
3190 rc_node_t *pnp;
3222 rc_node_t *np, *cp;
3223 rc_node_t *child = NULL;
3270 rc_node_t *np = npp->rnp_node;
3271 rc_node_t *nnp;
3272 rc_node_t *cpg = NULL;
3887 rc_node_t *np;
3888 rc_node_t *cp = NULL;
3998 rc_node_t *np;
3999 rc_node_t *cp;
4161 rc_notify_node_delete(rc_notify_delete_t *ndp, rc_node_t *np_arg)
4163 rc_node_t *svc = NULL;
4164 rc_node_t *inst = NULL;
4165 rc_node_t *pg = NULL;
4166 rc_node_t *np = np_arg;
4167 rc_node_t *nnp;
4239 rc_node_delete_hold(rc_node_t *np, int andformer)
4241 rc_node_t *cp;
4278 rc_node_delete_rele(rc_node_t *np, int andformer)
4280 rc_node_t *cp;
4306 rc_node_finish_delete(rc_node_t *cp)
4352 rc_node_delete_children(rc_node_t *np, int andformer)
4354 rc_node_t *cp;
4411 rc_node_no_client_refs(rc_node_t *np)
4414 rc_node_t *current, *cur;
4697 rc_node_t *np, *np_orig;
4698 rc_node_t *pp = NULL;
5027 rc_node_t *np;
5028 rc_node_t *cp, *pp;
5115 * represent the new snapid, and np is replaced with the new rc_node_t on
5132 rc_node_t *np,
5134 rc_node_t *parentp,
5138 rc_node_t *np_orig;
5139 rc_node_t *nnp, *prev;
5140 rc_node_t *pp;
5399 rc_node_t *np;
5400 rc_node_t *outp = NULL;
5509 rc_node_t *np, *outp;
5529 rc_node_t *np;
5530 rc_node_t *cp;
5580 rc_svc_prop_exists(rc_node_t *ent, const char *pgname, const char *pgtype,
5584 rc_node_t *pg = NULL, *spg = NULL, *svc, *prop;
5738 rc_node_pg_check_read_protect(rc_node_t *np)
5741 rc_node_t *ent;
5787 rc_node_property_may_read(rc_node_t *np)
5791 rc_node_t *pgp;
5910 rc_iter_filter_name(rc_node_t *np, void *s)
5918 rc_iter_filter_type(rc_node_t *np, void *s)
5927 rc_iter_null_filter(rc_node_t *np, void *s)
5948 rc_iter_create(rc_node_iter_t **resp, rc_node_t *np, uint32_t type,
5988 rc_node_t *ent;
6062 rc_node_t *np = iter->rni_parent;
6088 rc_node_t *np;
6139 rc_node_t *np;
6183 rc_node_t *np = iter->rni_parent;
6262 rc_node_t *np;
6354 rc_node_t *np = iter->rni_parent;
6355 rc_node_t *res;
6406 rc_node_t *parent = iter->rni_parent;
6466 rc_node_t *ent = iter->rni_parent->rn_cchain[0];
6467 rc_node_t *pg;
6509 rc_node_t *pg;
6510 rc_node_t *ent = iter->rni_parent->rn_cchain[1];
6539 rc_node_t *cpg;
6600 rc_node_t *np;
6629 rc_node_t *np;
6675 rc_node_t *instn;
6805 tx_allow_value(const void *cmds_arg, size_t cmds_sz, rc_node_t *pg)
6810 rc_node_t *prop;
6954 rc_node_t *np = txp->rnp_node;
6955 rc_node_t *pp;
6956 rc_node_t *nnp;
7022 rc_node_t *instn;
7287 rc_node_t *np;
7479 rc_node_t *nnp;