Lines Matching refs:sysref
66 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()
274 sysref_activate(struct sysref *sr) in sysref_activate()
298 _sysref_put(struct sysref *sr) in _sysref_put()