函数逻辑报告 |
Source Code:kernel\locking\percpu-rwsem.c |
Create Date:2022-07-27 10:49:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:percpu_down_write
函数原型:void percpu_down_write(struct percpu_rw_semaphore *sem)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct percpu_rw_semaphore * | sem |
146 | rcu_sync_enter( & rss) |
148 | lock for writing |
154 | WRITE_ONCE(readers_block, 1) |
156 | smp_mb() |
名称 | 描述 |
---|---|
torture_percpu_rwsem_down_write | |
cgroup_procs_write_start | |
cgroup_update_dfl_csses | group_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_all | group_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_tasks | group_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_attach | Called 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_resmask | Common handling for a write to a "cpus" or "mems" file. |
sched_partition_write | |
cpuset_css_online | |
cpuset_css_offline | If 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_tasks | puset_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_workfn | CPU / memory hotplug is handled asynchronously. |
register_for_each_vma | |
locks_start | |
mem_hotplug_begin | |
sb_wait_write | sb_wait_write - wait until all writers to given file system finish*@sb: the super for which we wait*@level: type of writers we wait for (normal vs page fault)* This function waits until there are no writers of given type to given file* system. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |