Lines Matching defs:kref
164 kref_init(&rcd->kref);
169 * @kref: pointer to an initialized rcd data structure
172 static void hfi1_rcd_free(struct kref *kref)
176 container_of(kref, struct hfi1_ctxtdata, kref);
196 return kref_put(&rcd->kref, hfi1_rcd_free);
212 return kref_get_unless_zero(&rcd->kref);
279 * kref.
302 * NOTE: the initial kref is done here (hf1_rcd_init()).
467 * for the "final" put to match the kref init from hfi1_create_ctxtdata().