Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

kernel/sched/build_utility.c build_balance_mask() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
BUF_SIZE 0 sg 40,48-1072
BUF_SIZE 0 sg 40,48-1072
DATA_SOURCE 0 sg $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c build_group_from_child_sched_domain() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 1-u64max
BUF_SIZE 0 sg 40-4294967335
BUF_SIZE 0 sg 40-4294967335
DATA_SOURCE 0 sg r _kmalloc_node_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c build_overlap_sched_groups() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
BUF_SIZE 0 sg 40-s32max
BUF_SIZE 0 sg 40-s32max
DATA_SOURCE 0 sg r build_group_from_child_sched_domain
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c build_sched_groups() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
DATA_SOURCE 0 sg r get_group
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c get_group() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c get_group() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c get_group() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c get_group() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c init_overlap_sched_group() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
BUF_SIZE 0 sg 40-s32max
BUF_SIZE 0 sg 40-s32max
DATA_SOURCE 0 sg $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c init_sched_groups_capacity() -> sched_group_span()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c init_sched_groups_capacity() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c init_sched_groups_capacity() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c init_sched_groups_capacity() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex

kernel/sched/build_utility.c sched_domain_debug_one() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex
LOCK2 rcu_read

kernel/sched/build_utility.c sched_domain_debug_one() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex
LOCK2 rcu_read

kernel/sched/build_utility.c sched_domain_debug_one() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex
LOCK2 rcu_read

kernel/sched/build_utility.c sched_domain_debug_one() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex
LOCK2 rcu_read

kernel/sched/build_utility.c sched_domain_debug_one() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex
LOCK2 rcu_read

kernel/sched/build_utility.c sched_domain_debug_one() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex
LOCK2 rcu_read

kernel/sched/build_utility.c sched_domain_debug_one() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
CAPPED_DATA 0 sg 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &sched_domains_mutex
LOCK2 rcu_read

kernel/sched/build_utility.c sched_update_asym_prefer_cpu() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
CAPPED_DATA 0 sg->asym_prefer_cpu 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

kernel/sched/build_utility.c sched_update_asym_prefer_cpu() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
CAPPED_DATA 0 sg->asym_prefer_cpu 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

kernel/sched/fair.c llc_balance() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
DATA_SOURCE 0 sg $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c record_sg_llc_stats() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
DATA_SOURCE 0 sg $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c sched_balance_find_dst_group() -> sched_group_span()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c sched_balance_find_dst_group() -> sched_group_span()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c sched_balance_find_dst_group() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c sched_balance_find_dst_group() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c sched_balance_find_dst_group_cpu() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
DATA_SOURCE 0 sg $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c sched_balance_find_dst_group_cpu() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
DATA_SOURCE 0 sg $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c sched_balance_find_dst_group_cpu() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
DATA_SOURCE 0 sg $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c sched_balance_find_src_rq() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
DATA_SOURCE 0 sg $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c sched_balance_find_src_rq() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
DATA_SOURCE 0 sg $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c sched_group_cookie_match() -> sched_group_span()

Type Parameter Key Value
DATA_SOURCE 0 sg $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c sched_group_cookie_match() -> sched_group_span()

Type Parameter Key Value
DATA_SOURCE 0 sg $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c select_idle_cpu() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
BIT_INFO 0 sg->flags 0x100,0xffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c select_idle_cpu() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
BIT_INFO 0 sg->flags 0x100,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c select_idle_cpu() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
BIT_INFO 0 sg->flags 0x100,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c update_group_capacity() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &sched_domains_mutex

kernel/sched/fair.c update_group_capacity() -> sched_group_span()

Type Parameter Key Value
PARAM_VALUE 0 sg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &sched_domains_mutex

kernel/sched/fair.c update_sd_lb_stats() -> sched_group_span()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c update_sg_lb_stats() -> sched_group_span()

Type Parameter Key Value
DATA_SOURCE 0 sg $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c update_sg_lb_stats() -> sched_group_span()

Type Parameter Key Value
DATA_SOURCE 0 sg $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 busiest
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

kernel/sched/fair.c update_sg_wakeup_stats() -> sched_group_span()

Type Parameter Key Value
DATA_SOURCE 0 sg $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock

kernel/sched/fair.c update_sg_wakeup_stats() -> sched_group_span()

Type Parameter Key Value
DATA_SOURCE 0 sg $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &p->pi_lock
HALF_LOCKED2 &p->sighand->siglock
HALF_LOCKED2 irq
TYPE_LOCK (struct task_struct)->pi_lock