Home
last modified time | relevance | path

Searched refs:total_ws (Results 1 – 4 of 4) sorted by relevance

/linux/fs/btrfs/
H A Dcompression.c784 atomic_set(&wsm->total_ws, 0); in btrfs_init_workspace_manager()
796 atomic_set(&wsm->total_ws, 1); in btrfs_init_workspace_manager()
812 atomic_dec(&wsman->total_ws); in btrfs_cleanup_workspace_manager()
830 atomic_t *total_ws; in btrfs_get_workspace() local
837 total_ws = &wsm->total_ws; in btrfs_get_workspace()
861 atomic_inc(total_ws); in btrfs_get_workspace()
874 atomic_dec(total_ws); in btrfs_get_workspace()
887 if (atomic_read(total_ws) == 0) { in btrfs_get_workspace()
926 atomic_t *total_ws; in btrfs_put_workspace() local
933 total_ws = &wsm->total_ws; in btrfs_put_workspace()
[all …]
H A Dcompression.h129 atomic_t total_ws; member
/linux/net/ceph/
H A Dosdmap.c1018 atomic_set(&wsm->total_ws, 0); in init_workspace_manager()
1029 atomic_set(&wsm->total_ws, 1); in add_initial_workspace()
1043 atomic_set(&wsm->total_ws, 0); in cleanup_workspace_manager()
1068 if (atomic_read(&wsm->total_ws) > cpus) { in get_workspace()
1073 if (atomic_read(&wsm->total_ws) > cpus && !wsm->free_ws) in get_workspace()
1078 atomic_inc(&wsm->total_ws); in get_workspace()
1083 atomic_dec(&wsm->total_ws); in get_workspace()
1091 WARN_ON(atomic_read(&wsm->total_ws) < 1); in get_workspace()
1114 atomic_dec(&wsm->total_ws); in put_workspace()
/linux/include/linux/ceph/
H A Dosdmap.h146 atomic_t total_ws; member