Home
last modified time | relevance | path

Searched refs:sysref (Results 1 – 4 of 4) sorted by relevance

/dflybsd-src/sys/sys/
H A Dsysref2.h57 void _sysref_put(struct sysref *);
68 sysref_get(struct sysref *sr) in sysref_get()
81 sysref_put(struct sysref *sr) in sysref_put()
95 sysref_isactive(struct sysref *sr) in sysref_isactive()
105 sysref_isinactive(struct sysref *sr) in sysref_isinactive()
115 sysref_islastdeactivation(struct sysref *sr) in sysref_islastdeactivation()
122 void sysref_init(struct sysref *sr, struct sysref_class *);
124 void sysref_activate(struct sysref *);
H A Dsysref.h107 struct sysref { struct
108 RB_ENTRY(sysref) rbnode; /* per-cpu red-black tree node */
119 RB_HEAD(sysref_rb_tree, sysref); argument
120 RB_PROTOTYPE2(sysref_rb_tree, sysref, rbnode, rb_sysref_compare, sysid_t);
H A Dconf.h85 struct sysref si_sysref;
/dflybsd-src/sys/kern/
H A Dkern_sysref.c66 static int rb_sysref_compare(struct sysref *sr1, struct sysref *sr2);
67 RB_GENERATE2(sysref_rb_tree, sysref, rbnode, rb_sysref_compare, sysid_t, sysid);
87 SYSINIT(sysref, SI_BOOT2_MACHDEP, SI_ORDER_ANY, sysrefbootinit, NULL);
91 rb_sysref_compare(struct sysref *sr1, struct sysref *sr2) in rb_sysref_compare()
106 sysref_init(struct sysref *sr, struct sysref_class *srclass) in sysref_init()
135 struct sysref *sr; in sysref_alloc()
154 sr = (struct sysref *)(data + srclass->offset); in sysref_alloc()
173 n = srclass->offset + sizeof(struct sysref); in sysref_alloc()
200 struct sysref *sr = (void *)((char *)data + srclass->offset); in sysref_ctor()
254 struct sysref *sr = (void *)((char *)data + srclass->offset); in sysref_dtor()
[all …]