Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:27:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:wq_calc_node_cpumask - calculate a wq_attrs' cpumask for the specified node*@attrs: the wq_attrs of the default pwq of the target workqueue*@node: the target NUMA node*@cpu_going_down: if >= 0, the CPU to consider as offline*@cpumask: outarg, the
Proto:static bool wq_calc_node_cpumask(const struct workqueue_attrs *attrs, int node, int cpu_going_down, cpumask_t *cpumask)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const struct workqueue_attrs * | attrs | |
int | node | |
int | cpu_going_down | |
cpumask_t * | cpumask |
3821 | If cpu_going_down >= 0 Then pumask_clear_cpu - clear a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer |
3824 | If pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear. Then Go to use_dfl |
3831 | pr_warn_once("WARNING: workqueue cpumask: online intersect > possible intersect\n") |
3833 | Return false |
3838 | use_dfl : |
3840 | Return false |
Name | Describe |
---|---|
apply_wqattrs_prepare | allocate the attrs and pwqs for later installation |
wq_update_unbound_numa | wq_update_unbound_numa - update NUMA affinity of a wq for CPU hot[un]plug*@wq: the target workqueue*@cpu: the CPU coming up or going down*@online: whether @cpu is coming up or going down* This function is to be called from %CPU_DOWN_PREPARE, %CPU_ONLINE |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |