Home
last modified time | relevance | path

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

/fs/squashfs/
Dcache.c103 if (cache->entry[i].refcount == 0) in squashfs_cache_get()
117 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/
Ddirect-io.c132 unsigned long refcount; /* direct_io_worker() and bios */ member
298 remaining = --dio->refcount; in dio_bio_end_aio()
329 if (--dio->refcount == 1 && dio->waiter) in dio_bio_end_io()
393 dio->refcount++; in dio_bio_submit()
438 while (dio->refcount > 1 && dio->bio_list == NULL) { in dio_await_one()
1068 ret2 = --dio->refcount; in drop_refcount()
1217 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/cifs/
Dfile.c1916 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writepages()
1992 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writepages()
2039 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writepages()
2328 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_uncached_writev_complete()
2430 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_iovec_write()
2472 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_iovec_write()
2592 kref_init(&rdata->refcount); in cifs_readdata_alloc()
2602 cifs_readdata_release(struct kref *refcount) in cifs_readdata_release() argument
2604 struct cifs_readdata *rdata = container_of(refcount, in cifs_readdata_release()
2605 struct cifs_readdata, refcount); in cifs_readdata_release()
[all …]
Dcifsproto.h488 void cifs_readdata_release(struct kref *refcount);
496 void cifs_writedata_release(struct kref *refcount);
Dcifsglob.h966 struct kref refcount; member
990 struct kref refcount; member
Dsmb2pdu.c1444 kref_get(&rdata->refcount); in smb2_async_readv()
1449 kref_put(&rdata->refcount, cifs_readdata_release); in smb2_async_readv()
1605 kref_get(&wdata->refcount); in smb2_async_writev()
1610 kref_put(&wdata->refcount, cifs_writedata_release); in smb2_async_writev()
Dcifssmb.c1622 kref_get(&rdata->refcount); in cifs_async_readv()
1629 kref_put(&rdata->refcount, cifs_readdata_release); in cifs_async_readv()
1875 cifs_writedata_release(struct kref *refcount) in cifs_writedata_release() argument
1877 struct cifs_writedata *wdata = container_of(refcount, in cifs_writedata_release()
1878 struct cifs_writedata, refcount); in cifs_writedata_release()
1917 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writev_requeue()
1948 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_writev_complete()
1966 kref_init(&wdata->refcount); in cifs_writedata_alloc()
2092 kref_get(&wdata->refcount); in cifs_async_writev()
2099 kref_put(&wdata->refcount, cifs_writedata_release); in cifs_async_writev()
/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.c2089 atomic_read(&dlm->dlm_refs.refcount)); in dlm_alloc_ctxt()
/fs/sdcardfs/
Dsuper.c41 container_of(ref, struct sdcardfs_inode_data, refcount); in data_release()
217 kref_init(&d->refcount); in sdcardfs_alloc_inode()
Dsdcardfs.h185 struct kref refcount; member
374 kref_get(&data->refcount); in data_get()
388 kref_put(&data->refcount, data_release); in data_put()
/fs/xfs/
Dxfs_trace.h103 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, int refcount,
105 TP_ARGS(mp, agno, refcount, caller_ip),
109 __field(int, refcount)
115 __entry->refcount = refcount;
121 __entry->refcount,
127 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, int refcount, \
129 TP_ARGS(mp, agno, refcount, caller_ip))
/fs/exofs/
Dsys.c125 (int)atomic_read(&k_name->kref.refcount)); in exofs_sysfs_dbg_print()
/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, \