Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dcgroup-defs.h681 extern struct percpu_rw_semaphore cgroup_threadgroup_rwsem;
692 percpu_down_read(&cgroup_threadgroup_rwsem); in cgroup_threadgroup_change_begin()
703 percpu_up_read(&cgroup_threadgroup_rwsem); in cgroup_threadgroup_change_end()
/Linux-v4.19/kernel/cgroup/
Dcgroup-internal.h216 __acquires(&cgroup_threadgroup_rwsem);
218 __releases(&cgroup_threadgroup_rwsem);
Dcgroup-v1.c58 percpu_down_write(&cgroup_threadgroup_rwsem); in cgroup_attach_task_all()
73 percpu_up_write(&cgroup_threadgroup_rwsem); in cgroup_attach_task_all()
108 percpu_down_write(&cgroup_threadgroup_rwsem); in cgroup_transfer_tasks()
144 percpu_up_write(&cgroup_threadgroup_rwsem); in cgroup_transfer_tasks()
Dcgroup.c101 struct percpu_rw_semaphore cgroup_threadgroup_rwsem; variable
2650 __acquires(&cgroup_threadgroup_rwsem) in cgroup_procs_write_start()
2658 percpu_down_write(&cgroup_threadgroup_rwsem); in cgroup_procs_write_start()
2689 percpu_up_write(&cgroup_threadgroup_rwsem); in cgroup_procs_write_start()
2696 __releases(&cgroup_threadgroup_rwsem) in cgroup_procs_write_finish()
2704 percpu_up_write(&cgroup_threadgroup_rwsem); in cgroup_procs_write_finish()
2763 percpu_down_write(&cgroup_threadgroup_rwsem); in cgroup_update_dfl_csses()
2793 percpu_up_write(&cgroup_threadgroup_rwsem); in cgroup_update_dfl_csses()
5298 BUG_ON(percpu_init_rwsem(&cgroup_threadgroup_rwsem)); in cgroup_init()
5308 rcu_sync_enter_start(&cgroup_threadgroup_rwsem.rss); in cgroup_init()