Home
last modified time | relevance | path

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

/fs/configfs/
Ditem.c44 static void config_item_release(struct kref *kref);
159 static void config_item_release(struct kref *kref) in config_item_release() argument
161 config_item_cleanup(container_of(kref, struct config_item, ci_kref)); in config_item_release()
/fs/nfs/
Ddirect.c67 struct kref kref; /* release manager */ member
156 kref_init(&dreq->kref); in nfs_direct_req_alloc()
157 kref_get(&dreq->kref); in nfs_direct_req_alloc()
171 static void nfs_direct_req_free(struct kref *kref) in nfs_direct_req_free() argument
173 struct nfs_direct_req *dreq = container_of(kref, struct nfs_direct_req, kref); in nfs_direct_req_free()
182 kref_put(&dreq->kref, nfs_direct_req_free); in nfs_direct_req_release()
Dpagelist.c164 static void nfs_free_request(struct kref *kref) in nfs_free_request() argument
166 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_free_request()
Dnfs4proc.c295 struct kref kref; member
366 kref_init(&p->kref); in nfs4_opendata_alloc()
375 static void nfs4_opendata_free(struct kref *kref) in nfs4_opendata_free() argument
377 struct nfs4_opendata *p = container_of(kref, in nfs4_opendata_free()
378 struct nfs4_opendata, kref); in nfs4_opendata_free()
392 kref_put(&p->kref, nfs4_opendata_free); in nfs4_opendata_put()
890 kref_get(&data->kref); in _nfs4_proc_open_confirm()
1027 kref_get(&data->kref); in _nfs4_proc_open()
/fs/ocfs2/cluster/
Dtcp_internal.h131 struct kref sc_kref;
193 struct kref nh_kref;
Dtcp.c345 static void sc_kref_release(struct kref *kref) in sc_kref_release() argument
347 struct o2net_sock_container *sc = container_of(kref, in sc_kref_release()
735 static void o2net_handler_kref_release(struct kref *kref) in o2net_handler_kref_release() argument
738 nmh = container_of(kref, struct o2net_msg_handler, nh_kref); in o2net_handler_kref_release()
/fs/ocfs2/dlm/
Ddlmlock.c66 static void dlm_lock_release(struct kref *kref);
356 static void dlm_lock_release(struct kref *kref) in dlm_lock_release() argument
360 lock = container_of(kref, struct dlm_lock, lock_refs); in dlm_lock_release()
Ddlmdebug.h33 struct kref debug_refcnt;
Ddlmcommon.h70 struct kref mle_refs;
166 struct kref dlm_refs;
293 struct kref refs;
358 struct kref lock_refs;
Ddlmdebug.c364 static void dlm_debug_free(struct kref *kref) in dlm_debug_free() argument
368 dc = container_of(kref, struct dlm_debug_ctxt, debug_refcnt); in dlm_debug_free()
Ddlmmaster.c99 static void dlm_mle_release(struct kref *kref);
401 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()
505 static void dlm_lockres_release(struct kref *kref) in dlm_lockres_release() argument
510 res = container_of(kref, struct dlm_lock_resource, refs); in dlm_lockres_release()
Ddlmdomain.c316 static void dlm_ctxt_release(struct kref *kref) in dlm_ctxt_release() argument
320 dlm = container_of(kref, struct dlm_ctxt, dlm_refs); in dlm_ctxt_release()
/fs/dlm/
Ddlm_internal.h222 struct kref lkb_ref;
265 struct kref res_ref;
Dlock.c510 static void toss_rsb(struct kref *kref) in toss_rsb() argument
512 struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref); in toss_rsb()
552 static void kill_rsb(struct kref *kref) in kill_rsb() argument
554 struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref); in kill_rsb()
658 static void kill_lkb(struct kref *kref) in kill_lkb() argument
660 struct dlm_lkb *lkb = container_of(kref, struct dlm_lkb, lkb_ref); in kill_lkb()
/fs/lockd/
Dsvclock.c246 static void nlmsvc_free_block(struct kref *kref) in nlmsvc_free_block() argument
248 struct nlm_block *block = container_of(kref, struct nlm_block, b_count); in nlmsvc_free_block()
/fs/nfsd/
Dnfs4state.c133 free_nfs4_file(struct kref *kref) in free_nfs4_file() argument
135 struct nfs4_file *fp = container_of(kref, struct nfs4_file, fi_ref); in free_nfs4_file()
984 nfs4_free_stateowner(struct kref *kref) in nfs4_free_stateowner() argument
987 container_of(kref, struct nfs4_stateowner, so_ref); in nfs4_free_stateowner()
Dnfs4idmap.c96 ent_put(struct kref *ref) in ent_put()
Dexport.c62 static void expkey_put(struct kref *ref) in expkey_put()
329 static void svc_export_put(struct kref *ref) in svc_export_put()
/fs/ocfs2/
Docfs2.h155 struct kref d_refcnt;
Ddlmglue.c2455 static void ocfs2_dlm_debug_free(struct kref *kref) in ocfs2_dlm_debug_free() argument
2459 dlm_debug = container_of(kref, struct ocfs2_dlm_debug, d_refcnt); in ocfs2_dlm_debug_free()