Home
last modified time | relevance | path

Searched refs:free_ws (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/fs/btrfs/
Dcompression.c934 wsm->free_ws = 1; in btrfs_init_workspace_manager()
969 int *free_ws; in btrfs_get_workspace() local
976 free_ws = &wsm->free_ws; in btrfs_get_workspace()
983 (*free_ws)--; in btrfs_get_workspace()
993 if (atomic_read(total_ws) > cpus && !*free_ws) in btrfs_get_workspace()
1065 int *free_ws; in btrfs_put_workspace() local
1072 free_ws = &wsm->free_ws; in btrfs_put_workspace()
1075 if (*free_ws <= num_online_cpus()) { in btrfs_put_workspace()
1077 (*free_ws)++; in btrfs_put_workspace()
Dcompression.h117 int free_ws; member
/Linux-v5.10/lib/reed_solomon/
Dtest_rslib.c98 static void free_ws(struct wspace *ws) in free_ws() function
135 free_ws(ws); in alloc_ws()
480 free_ws(ws); in run_exercise()
/Linux-v5.10/include/linux/ceph/
Dosdmap.h144 int free_ws; member
/Linux-v5.10/net/ceph/
Dosdmap.c1003 wsm->free_ws = 0; in init_workspace_manager()
1014 wsm->free_ws = 1; in add_initial_workspace()
1028 wsm->free_ws = 0; in cleanup_workspace_manager()
1047 wsm->free_ws--; in get_workspace()
1057 if (atomic_read(&wsm->total_ws) > cpus && !wsm->free_ws) in get_workspace()
1089 if (wsm->free_ws <= num_online_cpus()) { in put_workspace()
1091 wsm->free_ws++; in put_workspace()