函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\percpu-rwsem.c Create Date:2022-07-27 10:49:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:percpu_up_write

函数原型:void percpu_up_write(struct percpu_rw_semaphore *sem)

返回类型:void

参数:

类型参数名称
struct percpu_rw_semaphore *sem
181  smp_store_release( & readers_block, 0)
186  lease a write lock
193  rcu_sync_exit( & rss)
调用者
名称描述
torture_percpu_rwsem_up_write
cgroup_procs_write_start
cgroup_procs_write_finish
cgroup_update_dfl_cssesgroup_update_dfl_csses - update css assoc of a subtree in default hierarchy*@cgrp: root of the subtree to update csses for*@cgrp's control masks have changed and its subtree's css associations* need to be updated accordingly
cgroup_attach_task_allgroup_attach_task_all - attach task 'tsk' to all cgroups of task 'from'*@from: attach to all cgroups of a given task*@tsk: the task to be attached
cgroup_transfer_tasksgroup_trasnsfer_tasks - move tasks from one cgroup to another*@to: cgroup to which the tasks will be moved*@from: cgroup in which the tasks currently reside* Locking rules between cgroup_post_fork() and the migration path* guarantee that, if a task is
rebuild_sched_domains
cpuset_can_attachCalled by cgroups to determine if a cpuset is usable; cpuset_mutex held
cpuset_cancel_attach
cpuset_attach
cpuset_write_u64
cpuset_write_s64
cpuset_write_resmaskCommon handling for a write to a "cpus" or "mems" file.
sched_partition_write
cpuset_css_online
cpuset_css_offlineIf the cpuset being removed has its flag 'sched_load_balance'* enabled, then simulate turning sched_load_balance off, which* will call rebuild_sched_domains_locked(). That is not needed* in the default hierarchy where only changes in partition
cpuset_bind
hotplug_update_tasks_legacy
cpuset_hotplug_update_taskspuset_hotplug_update_tasks - update tasks in a cpuset for hotunplug*@cs: cpuset in interest*@tmp: the tmpmasks structure pointer* Compare @cs's cpu and mem masks against top_cpuset and if some have gone* offline, update @cs accordingly
cpuset_hotplug_workfnCPU / memory hotplug is handled asynchronously.
register_for_each_vma
locks_stop
mem_hotplug_done
sb_freeze_unlock