| /fs/ |
| A D | eventfd.c | 31 struct kref kref; member 89 static void eventfd_free(struct kref *kref) in eventfd_free() argument 91 struct eventfd_ctx *ctx = container_of(kref, struct eventfd_ctx, kref); in eventfd_free() 105 kref_put(&ctx->kref, eventfd_free); in eventfd_ctx_put() 374 kref_get(&ctx->kref); in eventfd_ctx_fileget() 397 kref_init(&ctx->kref); in do_eventfd()
|
| /fs/configfs/ |
| A D | item.c | 28 static void config_item_release(struct kref *kref); 135 static void config_item_release(struct kref *kref) in config_item_release() argument 137 config_item_cleanup(container_of(kref, struct config_item, ci_kref)); in config_item_release()
|
| /fs/nfs/ |
| A D | nfs42xattr.c | 69 struct kref ref; 80 struct kref ref; 255 nfs4_xattr_free_entry_cb(struct kref *kref) in nfs4_xattr_free_entry_cb() argument 259 entry = container_of(kref, struct nfs4_xattr_entry, ref); in nfs4_xattr_free_entry_cb() 268 nfs4_xattr_free_cache_cb(struct kref *kref) in nfs4_xattr_free_cache_cb() argument 273 cache = container_of(kref, struct nfs4_xattr_cache, ref); in nfs4_xattr_free_cache_cb()
|
| A D | direct.c | 193 kref_init(&dreq->kref); in nfs_direct_req_alloc() 194 kref_get(&dreq->kref); in nfs_direct_req_alloc() 204 static void nfs_direct_req_free(struct kref *kref) in nfs_direct_req_free() argument 206 struct nfs_direct_req *dreq = container_of(kref, struct nfs_direct_req, kref); in nfs_direct_req_free() 218 kref_put(&dreq->kref, nfs_direct_req_free); in nfs_direct_req_release()
|
| A D | nfs4_fs.h | 231 struct kref kref; member
|
| A D | pagelist.c | 352 nfs_page_group_destroy(struct kref *kref) in nfs_page_group_destroy() argument 354 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_page_group_destroy()
|
| /fs/tracefs/ |
| A D | internal.h | 59 struct kref kref; member
|
| A D | event_inode.c | 102 static void release_ei(struct kref *ref) in release_ei() 104 struct eventfs_inode *ei = container_of(ref, struct eventfs_inode, kref); in release_ei() 121 kref_put(&ei->kref, release_ei); in put_ei() 147 kref_get(&ei->kref); in get_ei() 436 kref_init(&ei->kref); in init_ei()
|
| /fs/ocfs2/cluster/ |
| A D | tcp_internal.h | 115 struct kref sc_kref; 186 struct kref nh_kref;
|
| A D | tcp.c | 377 static void sc_kref_release(struct kref *kref) in sc_kref_release() argument 379 struct o2net_sock_container *sc = container_of(kref, in sc_kref_release() 784 static void o2net_handler_kref_release(struct kref *kref) in o2net_handler_kref_release() argument 787 nmh = container_of(kref, struct o2net_msg_handler, nh_kref); in o2net_handler_kref_release()
|
| /fs/ocfs2/dlm/ |
| A D | dlmlock.c | 48 static void dlm_lock_release(struct kref *kref); 334 static void dlm_lock_release(struct kref *kref) in dlm_lock_release() argument 338 lock = container_of(kref, struct dlm_lock, lock_refs); in dlm_lock_release()
|
| A D | dlmcommon.h | 46 struct kref mle_refs; 143 struct kref dlm_refs; 278 struct kref refs; 344 struct kref lock_refs;
|
| A D | dlmmaster.c | 72 static void dlm_mle_release(struct kref *kref); 403 static void dlm_mle_release(struct kref *kref) in dlm_mle_release() argument 408 mle = container_of(kref, struct dlm_master_list_entry, mle_refs); in dlm_mle_release() 464 static void dlm_lockres_release(struct kref *kref) in dlm_lockres_release() argument 469 res = container_of(kref, struct dlm_lock_resource, refs); in dlm_lockres_release()
|
| /fs/ceph/ |
| A D | mds_client.h | 287 struct kref r_kref; 594 extern void ceph_mdsc_release_request(struct kref *kref);
|
| /fs/nfsd/ |
| A D | nfsd.h | 108 struct kref cl_ref; 109 void (*cl_release)(struct kref *kref);
|
| /fs/dlm/ |
| A D | lowcomms.c | 136 struct kref ref; 148 struct kref ref; 682 static void dlm_page_release(struct kref *kref) in dlm_page_release() argument 684 struct writequeue_entry *e = container_of(kref, struct writequeue_entry, in dlm_page_release() 691 static void dlm_msg_release(struct kref *kref) in dlm_msg_release() argument 693 struct dlm_msg *msg = container_of(kref, struct dlm_msg, ref); in dlm_msg_release()
|
| A D | lock.c | 92 static void deactivate_rsb(struct kref *kref); 361 static inline int dlm_kref_put_write_lock_bh(struct kref *kref, in dlm_kref_put_write_lock_bh() argument 362 void (*release)(struct kref *kref), in dlm_kref_put_write_lock_bh() argument 365 if (dlm_refcount_dec_and_write_lock_bh(&kref->refcount, lock)) { in dlm_kref_put_write_lock_bh() 366 release(kref); in dlm_kref_put_write_lock_bh() 1431 static void deactivate_rsb(struct kref *kref) in deactivate_rsb() argument 1433 struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref); in deactivate_rsb() 1566 static void kill_lkb(struct kref *kref) in kill_lkb() argument 1568 struct dlm_lkb *lkb = container_of(kref, struct dlm_lkb, lkb_ref); in kill_lkb() 1620 static void unhold_lkb_assert(struct kref *kref) in unhold_lkb_assert() argument [all …]
|
| A D | dlm_internal.h | 255 struct kref lkb_ref; 313 struct kref res_ref;
|
| /fs/vboxsf/ |
| A D | file.c | 19 struct kref refcount; 121 static void vboxsf_handle_release(struct kref *refcount) in vboxsf_handle_release()
|
| /fs/smb/client/ |
| A D | cached_dir.h | 42 struct kref refcount;
|
| A D | cifs_swn.c | 24 struct kref ref_count; 372 static void cifs_swn_reg_release(struct kref *ref) in cifs_swn_reg_release()
|
| A D | cached_dir.c | 17 static void smb2_close_cached_fid(struct kref *ref); 435 smb2_close_cached_fid(struct kref *ref) in smb2_close_cached_fid()
|
| /fs/nfs/blocklayout/ |
| A D | blocklayout.c | 68 struct kref refcnt; 90 static void destroy_parallel(struct kref *kref) in destroy_parallel() argument 92 struct parallel_io *p = container_of(kref, struct parallel_io, refcnt); in destroy_parallel()
|
| /fs/ocfs2/ |
| A D | refcounttree.h | 14 struct kref rf_getcnt;
|
| /fs/lockd/ |
| A D | svclock.c | 292 static void nlmsvc_free_block(struct kref *kref) in nlmsvc_free_block() argument 294 struct nlm_block *block = container_of(kref, struct nlm_block, b_count); in nlmsvc_free_block()
|