• Home
  • Raw
  • Download

Lines Matching refs:ref

122 static void ib_uverbs_release_dev(struct kref *ref)  in ib_uverbs_release_dev()  argument
125 container_of(ref, struct ib_uverbs_device, ref); in ib_uverbs_release_dev()
130 static void ib_uverbs_release_event_file(struct kref *ref) in ib_uverbs_release_event_file() argument
133 container_of(ref, struct ib_uverbs_event_file, ref); in ib_uverbs_release_event_file()
152 kref_put(&ev_file->ref, ib_uverbs_release_event_file); in ib_uverbs_release_ucq()
285 static void ib_uverbs_release_file(struct kref *ref) in ib_uverbs_release_file() argument
288 container_of(ref, struct ib_uverbs_file, ref); in ib_uverbs_release_file()
291 kref_put(&file->device->ref, ib_uverbs_release_dev); in ib_uverbs_release_file()
390 kref_put(&file->uverbs_file->ref, ib_uverbs_release_file); in ib_uverbs_event_close()
392 kref_put(&file->ref, ib_uverbs_release_event_file); in ib_uverbs_event_close()
528 kref_init(&ev_file->ref); in ib_uverbs_alloc_event_file()
567 kref_get(&ev_file->ref); in ib_uverbs_lookup_comp_file()
632 kref_get(&dev->ref); in ib_uverbs_open()
650 kref_init(&file->ref); in ib_uverbs_open()
661 kref_put(&dev->ref, ib_uverbs_release_dev); in ib_uverbs_open()
672 kref_put(&file->async_file->ref, ib_uverbs_release_event_file); in ib_uverbs_close()
674 kref_put(&file->ref, ib_uverbs_release_file); in ib_uverbs_close()
770 kref_init(&uverbs_dev->ref); in ib_uverbs_add_one()
830 kref_put(&uverbs_dev->ref, ib_uverbs_release_dev); in ib_uverbs_add_one()
852 kref_put(&uverbs_dev->ref, ib_uverbs_release_dev); in ib_uverbs_remove_one()