Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 3 of 3) sorted by relevance

/kernel/sched/
Dcpupri.c71 struct cpupri_vec *vec = &cp->pri_to_cpu[idx]; in cpupri_find() local
74 if (!atomic_read(&(vec)->count)) in cpupri_find()
100 if (cpumask_any_and(p->cpus_ptr, vec->mask) >= nr_cpu_ids) in cpupri_find()
106 cpumask_and(lowest_mask, p->cpus_ptr, vec->mask); in cpupri_find()
172 struct cpupri_vec *vec = &cp->pri_to_cpu[newpri]; in cpupri_set() local
174 cpumask_set_cpu(cpu, vec->mask); in cpupri_set()
181 atomic_inc(&(vec)->count); in cpupri_set()
185 struct cpupri_vec *vec = &cp->pri_to_cpu[oldpri]; in cpupri_set() local
206 atomic_dec(&(vec)->count); in cpupri_set()
208 cpumask_clear_cpu(cpu, vec->mask); in cpupri_set()
[all …]
/kernel/
Dsysctl_binary.c969 unsigned __user *vec = oldval; in bin_intvec() local
970 size_t length = oldlen / sizeof(*vec); in bin_intvec()
990 if (put_user(value, vec + i)) in bin_intvec()
993 copied += sizeof(*vec); in bin_intvec()
1000 unsigned __user *vec = newval; in bin_intvec() local
1001 size_t length = newlen / sizeof(*vec); in bin_intvec()
1012 if (get_user(value, vec + i)) in bin_intvec()
1042 unsigned long __user *vec = oldval; in bin_ulongvec() local
1043 size_t length = oldlen / sizeof(*vec); in bin_ulongvec()
1063 if (put_user(value, vec + i)) in bin_ulongvec()
[all …]
/kernel/time/
Dtimer.c1461 struct hlist_head *vec; in __collect_expired_timers() local
1469 vec = base->vectors + idx; in __collect_expired_timers()
1470 hlist_move_list(vec, heads++); in __collect_expired_timers()