Home
last modified time | relevance | path

Searched refs:refcount (Results 1 – 18 of 18) sorted by relevance

/fs/squashfs/
Dcache.c102 if (cache->entry[i].refcount == 0) in squashfs_cache_get()
116 entry->refcount = 1; in squashfs_cache_get()
154 if (entry->refcount == 0) in squashfs_cache_get()
156 entry->refcount++; in squashfs_cache_get()
174 cache->name, i, entry->block, entry->refcount, entry->error); in squashfs_cache_get()
191 entry->refcount--; in squashfs_cache_put()
192 if (entry->refcount == 0) { in squashfs_cache_put()
Dsquashfs_fs_sb.h45 int refcount; member
/fs/cifs/
Dcifsacl.c64 && psidid->refcount == 0) { in shrink_idmap_tree()
132 (*psidid)->refcount = 0; in sid_rb_insert()
260 (*psidid)->refcount = 0; in id_rb_insert()
339 ++psidid->refcount; in id_to_sid()
347 ++psidid->refcount; in id_to_sid()
351 ++psidid->refcount; in id_to_sid()
402 --psidid->refcount; in id_to_sid()
411 --psidid->refcount; in id_to_sid()
456 ++psidid->refcount; in sid_to_id()
464 ++psidid->refcount; in sid_to_id()
[all …]
Dcifsacl.h87 unsigned int refcount; /* increment with spinlock, decrement without */ member
Dcifsproto.h487 struct kref refcount; member
507 void cifs_writedata_release(struct kref *refcount);
Dfile.c1755 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writepages()
1831 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writepages()
1871 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writepages()
2162 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_uncached_writev_complete()
2256 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_iovec_write()
2298 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_iovec_write()
Dcifssmb.c2026 cifs_writedata_release(struct kref *refcount) in cifs_writedata_release() argument
2028 struct cifs_writedata *wdata = container_of(refcount, in cifs_writedata_release()
2029 struct cifs_writedata, refcount); in cifs_writedata_release()
2063 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writev_requeue()
2094 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writev_complete()
2112 kref_init(&wdata->refcount); in cifs_writedata_alloc()
2246 kref_get(&wdata->refcount); in cifs_async_writev()
2253 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_async_writev()
/fs/
Ddirect-io.c130 unsigned long refcount; /* direct_io_worker() and bios */ member
330 remaining = --dio->refcount; in dio_bio_end_aio()
356 if (--dio->refcount == 1 && dio->waiter) in dio_bio_end_io()
420 dio->refcount++; in dio_bio_submit()
465 while (dio->refcount > 1 && dio->bio_list == NULL) { in dio_await_one()
1061 ret2 = --dio->refcount; in drop_refcount()
1208 dio->refcount = 1; in do_blockdev_direct_IO()
/fs/ocfs2/
Docfs2_trace.h902 unsigned int clusters, unsigned int refcount),
903 TP_ARGS(blkno, index, cpos, clusters, refcount),
909 __field(unsigned int, refcount)
916 __entry->refcount = refcount;
919 __entry->cpos, __entry->clusters, __entry->refcount)
926 unsigned int count, unsigned int refcount), \
927 TP_ARGS(blkno, index, cpos, count, refcount))
933 unsigned int clusters, unsigned int refcount,
936 TP_ARGS(cpos, clusters, refcount,
941 __field(unsigned int, refcount)
[all …]
Dxattr.c5763 struct ocfs2_post_refcount refcount; in ocfs2_prepare_refcount_xattr() local
5798 refcount.credits = bucket->bu_blocks; in ocfs2_prepare_refcount_xattr()
5799 refcount.para = bucket; in ocfs2_prepare_refcount_xattr()
5800 refcount.func = in ocfs2_prepare_refcount_xattr()
5802 p = &refcount; in ocfs2_prepare_refcount_xattr()
5880 struct ocfs2_post_refcount *refcount) in ocfs2_xattr_value_attach_refcount() argument
5903 dealloc, refcount); in ocfs2_xattr_value_attach_refcount()
6031 struct ocfs2_post_refcount refcount = { in ocfs2_xattr_bucket_value_refcount() local
6040 p = &refcount; in ocfs2_xattr_bucket_value_refcount()
/fs/ocfs2/dlm/
Ddlmdebug.c84 atomic_read(&lock->lock_refs.refcount), in __dlm_print_lock()
110 res->last_used, atomic_read(&res->refs.refcount), in __dlm_print_one_lock_resource()
305 atomic_read(&mle->mle_refs.refcount)); in dump_mle()
524 atomic_read(&lock->lock_refs.refcount)); in dump_lock()
551 atomic_read(&res->refs.refcount)); in dump_lockres()
818 atomic_read(&dlm->dlm_refs.refcount)); in debug_state_print()
Ddlmunlock.c251 atomic_read(&lock->lock_refs.refcount)-1); in dlmunlock_common()
Ddlmmaster.c236 if (!atomic_read(&mle->mle_refs.refcount)) { in __dlm_put_mle()
1926 rr = atomic_read(&mle->mle_refs.refcount); in dlm_assert_master_handler()
Ddlmdomain.c2091 atomic_read(&dlm->dlm_refs.refcount)); in dlm_alloc_ctxt()
/fs/xfs/
Dxfs_trace.h100 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, int refcount,
102 TP_ARGS(mp, agno, refcount, caller_ip),
106 __field(int, refcount)
112 __entry->refcount = refcount;
118 __entry->refcount,
124 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, int refcount, \
126 TP_ARGS(mp, agno, refcount, caller_ip))
/fs/nfs/blocklayout/
Dextents.c444 atomic_read(&be->be_refcnt.refcount)); in bl_put_extent()
606 atomic_read(&be->be_refcnt.refcount)); in bl_find_get_extent()
645 atomic_read(&be->be_refcnt.refcount)); in bl_find_get_extent_locked()
/fs/ocfs2/cluster/
Dnetdebug.c368 atomic_read(&sc->sc_kref.refcount), in sc_show_sock_container()
Dtcp.c100 atomic_read(&__sc->sc_kref.refcount), __sc->sc_sock, \