Home
last modified time | relevance | path

Searched refs:usage (Results 1 – 25 of 32) sorted by relevance

12

/fs/fscache/
Doperation.c41 atomic_set(&op->usage, 1); in fscache_operation_init()
66 op->object->debug_id, op->debug_id, atomic_read(&op->usage)); in fscache_enqueue_operation()
71 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_enqueue_operation()
80 atomic_inc(&op->usage); in fscache_enqueue_operation()
169 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_submit_exclusive_op()
196 atomic_inc(&op->usage); in fscache_submit_exclusive_op()
200 atomic_inc(&op->usage); in fscache_submit_exclusive_op()
216 atomic_inc(&op->usage); in fscache_submit_exclusive_op()
251 object->debug_id, op->debug_id, atomic_read(&op->usage)); in fscache_submit_op()
256 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_submit_op()
[all …]
Dcache.c32 atomic_inc(&tag->usage); in __fscache_lookup_cache_tag()
46 atomic_set(&xtag->usage, 1); in __fscache_lookup_cache_tag()
54 atomic_inc(&tag->usage); in __fscache_lookup_cache_tag()
74 if (atomic_dec_and_test(&tag->usage)) in __fscache_release_cache_tag()
/fs/cachefiles/
Dinterface.c50 atomic_set(&object->usage, 1); in cachefiles_alloc_object()
189 _enter("{OBJ%x,%d}", _object->debug_id, atomic_read(&object->usage)); in cachefiles_grab_object()
192 ASSERT((atomic_read(&object->usage) & 0xffff0000) != 0x6b6b0000); in cachefiles_grab_object()
195 u = atomic_inc_return(&object->usage); in cachefiles_grab_object()
274 object->fscache.debug_id, atomic_read(&object->usage)); in cachefiles_drop_object()
280 ASSERT((atomic_read(&object->usage) & 0xffff0000) != 0x6b6b0000); in cachefiles_drop_object()
334 object->fscache.debug_id, atomic_read(&object->usage)); in cachefiles_put_object()
337 ASSERT((atomic_read(&object->usage) & 0xffff0000) != 0x6b6b0000); in cachefiles_put_object()
343 u = atomic_dec_return(&object->usage); in cachefiles_put_object()
Dbind.c108 atomic_set(&fsdef->usage, 1); in cachefiles_daemon_add_cache()
Dinternal.h43 atomic_t usage; /* object usage count */ member
/fs/afs/
Dfile.c78 if (wbk && refcount_dec_and_test(&wbk->usage)) { in afs_put_wb_key()
94 refcount_set(&wbk->usage, 2); in afs_cache_wb_key()
110 refcount_inc(&p->usage); in afs_cache_wb_key()
201 refcount_set(&req->usage, 1); in afs_alloc_read()
211 if (refcount_dec_and_test(&req->usage)) { in afs_put_read()
Dinternal.h80 refcount_t usage; member
180 refcount_t usage; member
212 refcount_t usage; member
247 refcount_t usage; member
561 refcount_t usage; member
704 refcount_t usage; member
944 refcount_inc(&alist->usage); in afs_get_addrlist()
1074 refcount_inc(&req->usage); in afs_get_read()
1434 refcount_inc(&slist->usage); in afs_get_serverlist()
Dsecurity.c96 if (permits && refcount_dec_and_test(&permits->usage)) { in afs_put_permits()
209 if (permits && !refcount_inc_not_zero(&permits->usage)) in afs_cache_permit()
227 refcount_set(&new->usage, 1); in afs_cache_permit()
261 if (refcount_inc_not_zero(&xpermits->usage)) { in afs_cache_permit()
Dserver_list.c16 if (slist && refcount_dec_and_test(&slist->usage)) { in afs_put_serverlist()
44 refcount_set(&slist->usage, 1); in afs_alloc_server_list()
Daddr_list.c21 if (alist && refcount_dec_and_test(&alist->usage)) in afs_put_addrlist()
44 refcount_set(&alist->usage, 1); in afs_alloc_addrlist()
Dafs_vl.h138 refcount_t usage; member
Dmain.c112 refcount_set(&sysnames->usage, 1); in afs_net_init()
Dproc.c501 refcount_set(&sysnames->usage, 1); in afs_proc_sysname_write()
569 if (sysnames && refcount_dec_and_test(&sysnames->usage)) { in afs_put_sysnames()
Dwrite.c315 refcount_inc(&wbk->usage); in afs_get_writeback_key()
934 if (refcount_read(&wbk->usage) == 1) in afs_prune_wb_keys()
Dvolume.c109 refcount_set(&slist->usage, 1); in afs_alloc_volume()
/fs/netfs/
Dread_helper.c36 if (refcount_dec_and_test(&subreq->usage)) in netfs_put_subrequest()
56 refcount_set(&rreq->usage, 1); in netfs_alloc_read_request()
67 refcount_inc(&rreq->usage); in netfs_get_read_request()
99 if (refcount_dec_and_test(&rreq->usage)) { in netfs_put_read_request()
121 refcount_set(&subreq->usage, 2); in netfs_alloc_subrequest()
132 refcount_inc(&subreq->usage); in netfs_get_read_subrequest()
/fs/ext4/
Dxattr.h227 extern int ext4_get_inode_usage(struct inode *inode, qsize_t *usage);
/fs/cramfs/
DKconfig20 purpose to remain small and low on RAM usage. It is most suitable
/fs/
Dfs_context.c362 refcount_inc(&fc->log.log->usage); in vfs_dup_fs_context()
443 if (refcount_dec_and_test(&log->usage)) { in put_fc_log()
Dfsopen.c103 refcount_set(&fc->log.log->usage, 1); in fscontext_alloc_log()
/fs/quota/
DKconfig12 usage (also called disk quotas). Currently, it works for the
/fs/squashfs/
DKconfig63 decompression performance and CPU and memory usage.
72 one time. This limits CPU and memory usage to a minimum.
/fs/xfs/
DKconfig55 If you say Y here, you will be able to set limits for disk usage on
/fs/cifs/
DKconfig64 value of /proc/fs/cifs/cifsFYI). See Documentation/admin-guide/cifs/usage.rst
/fs/btrfs/
Dctree.h2387 cpu->usage = le64_to_cpu(disk->usage); in btrfs_disk_balance_args_to_cpu()
2407 disk->usage = cpu_to_le64(cpu->usage); in btrfs_cpu_balance_args_to_disk()

12