Home
last modified time | relevance | path

Searched refs:kref (Results 1 – 25 of 44) sorted by relevance

12

/fs/
Deventfd.c30 struct kref kref; member
82 static void eventfd_free(struct kref *kref) in eventfd_free() argument
84 struct eventfd_ctx *ctx = container_of(kref, struct eventfd_ctx, kref); in eventfd_free()
98 kref_put(&ctx->kref, eventfd_free); in eventfd_ctx_put()
386 kref_get(&ctx->kref); in eventfd_ctx_fileget()
407 kref_init(&ctx->kref); in do_eventfd()
/fs/configfs/
Ditem.c30 static void config_item_release(struct kref *kref);
137 static void config_item_release(struct kref *kref) in config_item_release() argument
139 config_item_cleanup(container_of(kref, struct config_item, ci_kref)); in config_item_release()
/fs/btrfs/
Dreada.c75 struct kref refcnt;
84 static void reada_control_release(struct kref *kref);
85 static void reada_zone_release(struct kref *kref);
525 static void reada_zone_release(struct kref *kref) in reada_zone_release() argument
527 struct reada_zone *zone = container_of(kref, struct reada_zone, refcnt); in reada_zone_release()
535 static void reada_control_release(struct kref *kref) in reada_control_release() argument
537 struct reada_control *rc = container_of(kref, struct reada_control, in reada_control_release()
/fs/nfs/
Ddirect.c68 struct kref kref; /* release manager */ member
304 kref_init(&dreq->kref); in nfs_direct_req_alloc()
305 kref_get(&dreq->kref); in nfs_direct_req_alloc()
315 static void nfs_direct_req_free(struct kref *kref) in nfs_direct_req_free() argument
317 struct nfs_direct_req *dreq = container_of(kref, struct nfs_direct_req, kref); in nfs_direct_req_free()
329 kref_put(&dreq->kref, nfs_direct_req_free); in nfs_direct_req_release()
Dnfs4_fs.h224 struct kref kref; member
Dpagelist.c275 nfs_page_group_destroy(struct kref *kref) in nfs_page_group_destroy() argument
277 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_page_group_destroy()
Dwrite.c49 struct kref refcount;
132 static void nfs_io_completion_release(struct kref *kref) in nfs_io_completion_release() argument
134 struct nfs_io_completion *ioc = container_of(kref, in nfs_io_completion_release()
Ddns_resolve.c115 static void nfs_dns_ent_put(struct kref *ref) in nfs_dns_ent_put()
/fs/ocfs2/cluster/
Dtcp_internal.h117 struct kref sc_kref;
188 struct kref nh_kref;
Dtcp.c378 static void sc_kref_release(struct kref *kref) in sc_kref_release() argument
380 struct o2net_sock_container *sc = container_of(kref, in sc_kref_release()
783 static void o2net_handler_kref_release(struct kref *kref) in o2net_handler_kref_release() argument
786 nmh = container_of(kref, struct o2net_msg_handler, nh_kref); in o2net_handler_kref_release()
/fs/ocfs2/dlm/
Ddlmlock.c50 static void dlm_lock_release(struct kref *kref);
336 static void dlm_lock_release(struct kref *kref) in dlm_lock_release() argument
340 lock = container_of(kref, struct dlm_lock, lock_refs); in dlm_lock_release()
Ddlmcommon.h51 struct kref mle_refs;
148 struct kref dlm_refs;
283 struct kref refs;
349 struct kref lock_refs;
Ddlmmaster.c74 static void dlm_mle_release(struct kref *kref);
405 static void dlm_mle_release(struct kref *kref) in dlm_mle_release() argument
410 mle = container_of(kref, struct dlm_master_list_entry, mle_refs); in dlm_mle_release()
466 static void dlm_lockres_release(struct kref *kref) in dlm_lockres_release() argument
471 res = container_of(kref, struct dlm_lock_resource, refs); in dlm_lockres_release()
/fs/ceph/
Dmds_client.h297 struct kref r_kref;
481 extern void ceph_mdsc_release_request(struct kref *kref);
/fs/cifs/
Dcifsproto.h551 void cifs_readdata_release(struct kref *refcount);
556 void (*release)(struct kref *kref));
562 void cifs_writedata_release(struct kref *refcount);
577 void cifs_aio_ctx_release(struct kref *refcount);
Dcifsglob.h375 void (*release)(struct kref *));
1017 struct kref refcount;
1282 struct kref refcount;
1307 struct kref refcount;
1341 struct kref refcount;
1525 struct kref refcount;
Dsmb2proto.h189 void (*release)(struct kref *kref));
/fs/nfsd/
Dnfsd.h91 struct kref cl_ref;
92 void (*cl_release)(struct kref *kref);
/fs/nfs/blocklayout/
Dblocklayout.c68 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/dlm/
Ddlm_internal.h233 struct kref lkb_ref;
294 struct kref res_ref;
Dlock.c91 static void toss_rsb(struct kref *kref);
1123 static void toss_rsb(struct kref *kref) in toss_rsb() argument
1125 struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref); in toss_rsb()
1149 static void kill_rsb(struct kref *kref) in kill_rsb() argument
1151 struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref); in kill_rsb()
1232 static void kill_lkb(struct kref *kref) in kill_lkb() argument
1234 struct dlm_lkb *lkb = container_of(kref, struct dlm_lkb, lkb_ref); in kill_lkb()
/fs/ocfs2/
Drefcounttree.h16 struct kref rf_getcnt;
/fs/lockd/
Dsvclock.c284 static void nlmsvc_free_block(struct kref *kref) in nlmsvc_free_block() argument
286 struct nlm_block *block = container_of(kref, struct nlm_block, b_count); in nlmsvc_free_block()
/fs/sdcardfs/
Dsdcardfs.h165 struct kref refcount;
380 extern void data_release(struct kref *ref);
Dsuper.c40 void data_release(struct kref *ref) in data_release()

12