Home
last modified time | relevance | path

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

/fs/afs/
Dserver.c78 atomic_set(&server->usage, 1); in afs_alloc_server()
96 _leave(" = %p{%d}", server, atomic_read(&server->usage)); in afs_alloc_server()
142 _leave(" = %p{%d}", server, atomic_read(&server->usage)); in afs_lookup_server()
156 _leave(" = %p{%d}", server, atomic_read(&server->usage)); in afs_lookup_server()
223 _enter("%p{%d}", server, atomic_read(&server->usage)); in afs_put_server()
225 _debug("PUT SERVER %d", atomic_read(&server->usage)); in afs_put_server()
227 ASSERTCMP(atomic_read(&server->usage), >, 0); in afs_put_server()
229 if (likely(!atomic_dec_and_test(&server->usage))) { in afs_put_server()
237 if (atomic_read(&server->usage) == 0) { in afs_put_server()
297 if (atomic_read(&server->usage) > 0) { in afs_reap_server()
Dcell.c59 atomic_set(&cell->usage, 1); in afs_cell_alloc()
301 _enter("%p{%d,%s}", cell, atomic_read(&cell->usage), cell->name); in afs_put_cell()
303 ASSERTCMP(atomic_read(&cell->usage), >, 0); in afs_put_cell()
309 if (likely(!atomic_dec_and_test(&cell->usage))) { in afs_put_cell()
332 _enter("%p{%d,%s}", cell, atomic_read(&cell->usage), cell->name); in afs_cell_destroy()
334 ASSERTCMP(atomic_read(&cell->usage), >=, 0); in afs_cell_destroy()
338 if (atomic_read(&cell->usage) > 0) { in afs_cell_destroy()
345 while (atomic_read(&cell->usage) > 0) { in afs_cell_destroy()
355 ASSERTCMP(atomic_read(&cell->usage), ==, 0); in afs_cell_destroy()
405 cell->name, atomic_read(&cell->usage)); in afs_cell_purge()
Dinternal.h152 int usage; member
191 atomic_t usage; member
246 atomic_t usage; member
270 atomic_t usage; member
302 atomic_t usage; member
453 #define afs_get_cell(C) do { atomic_inc(&(C)->usage); } while(0)
615 _debug("GET SERVER %d", atomic_read(&(S)->usage)); \
616 atomic_inc(&(S)->usage); \
655 #define afs_get_vlocation(V) do { atomic_inc(&(V)->usage); } while(0)
718 #define afs_get_volume(V) do { atomic_inc(&(V)->usage); } while(0)
Dvlocation.c177 atomic_set(&vl->usage, 1); in afs_vlocation_alloc()
430 atomic_inc(&vl->usage); in afs_vlocation_lookup()
493 ASSERTCMP(atomic_read(&vl->usage), >, 0); in afs_put_vlocation()
495 if (likely(!atomic_dec_and_test(&vl->usage))) { in afs_put_vlocation()
501 if (atomic_read(&vl->usage) == 0) { in afs_put_vlocation()
570 if (atomic_read(&vl->usage) > 0) { in afs_vlocation_reaper()
648 if (atomic_read(&vl->usage) > 0) in afs_vlocation_updater()
663 atomic_inc(&vl->usage); in afs_vlocation_updater()
Dwrite.c71 _enter("{%d}", wb->usage); in afs_put_writeback()
74 if (--wb->usage == 0) in afs_put_writeback()
143 candidate->usage = 1; in afs_write_begin()
210 wb->usage++; in afs_write_begin()
643 wb->usage--; in afs_pages_written_back()
647 if (wb->usage == 0) { in afs_pages_written_back()
755 wb->usage = 1; in afs_fsync()
Dvolume.c103 atomic_set(&volume->usage, 1); in afs_volume_lookup()
178 ASSERTCMP(atomic_read(&volume->usage), >, 0); in afs_put_volume()
186 if (likely(!atomic_dec_and_test(&volume->usage))) { in afs_put_volume()
Dproc.c241 atomic_read(&cell->usage), cell->name); in afs_proc_cells_show()
538 atomic_read(&vlocation->usage), in afs_proc_cell_volumes_show()
742 atomic_read(&server->usage), ipaddr, server->fs_state); in afs_proc_cell_servers_show()
Dcallback.c388 if (atomic_read(&vnode->usage) > 0)
404 atomic_inc(&vnode->usage);
/fs/btrfs/
Dref-cache.c48 atomic_set(&ref->usage, 1); in btrfs_alloc_leaf_ref()
62 WARN_ON(atomic_read(&ref->usage) == 0); in btrfs_free_leaf_ref()
63 if (atomic_dec_and_test(&ref->usage)) { in btrfs_free_leaf_ref()
170 atomic_inc(&ref->usage); in btrfs_lookup_leaf_ref()
201 atomic_inc(&ref->usage); in btrfs_add_leaf_ref()
Dref-cache.h35 atomic_t usage; member
/fs/xfs/
DKconfig26 If you say Y here, you will be able to set limits for disk usage on
/fs/
DKconfig63 usage (also called disk quotas). Currently, it works for the
/fs/cifs/
DCHANGES494 Fix PPC64 build error. Reduce excessive stack usage in smb password
607 Fix unsafe global variable usage and password hash failure on gcc 3.3.1
627 Fix spinlock usage for SMP.
876 Remove most typedef usage (except for the PDUs themselves).
DREADME539 -? display simple usage information
549 Stats Lists summary resource usage information as well as per
/fs/yaffs2/
Dyaffs_guts.c3968 int usage; in yaffs_GrabChunkCache() local
3987 usage = -1; in yaffs_GrabChunkCache()
3994 (dev->srCache[i].lastUse < usage || !cache)) { in yaffs_GrabChunkCache()
3995 usage = dev->srCache[i].lastUse; in yaffs_GrabChunkCache()
/fs/ntfs/
DChangeLog949 - Reduce function local stack usage from 0x3d4 bytes to just noise in