Home
last modified time | relevance | path

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

/kernel/sched/
Dcpupri.c77 struct cpupri_vec *vec = &cp->pri_to_cpu[idx]; in cpupri_find() local
80 if (!atomic_read(&(vec)->count)) in cpupri_find()
106 if (cpumask_any_and(&p->cpus_allowed, vec->mask) >= nr_cpu_ids) in cpupri_find()
110 cpumask_and(lowest_mask, &p->cpus_allowed, vec->mask); in cpupri_find()
160 struct cpupri_vec *vec = &cp->pri_to_cpu[newpri]; in cpupri_set() local
162 cpumask_set_cpu(cpu, vec->mask); in cpupri_set()
169 atomic_inc(&(vec)->count); in cpupri_set()
173 struct cpupri_vec *vec = &cp->pri_to_cpu[oldpri]; in cpupri_set() local
194 atomic_dec(&(vec)->count); in cpupri_set()
196 cpumask_clear_cpu(cpu, vec->mask); in cpupri_set()
[all …]
/kernel/time/
Dtimer.c71 struct list_head vec[TVN_SIZE]; member
75 struct list_head vec[TVR_SIZE]; member
361 struct list_head *vec; in __internal_add_timer() local
365 vec = base->tv1.vec + i; in __internal_add_timer()
368 vec = base->tv2.vec + i; in __internal_add_timer()
371 vec = base->tv3.vec + i; in __internal_add_timer()
374 vec = base->tv4.vec + i; in __internal_add_timer()
380 vec = base->tv1.vec + (base->timer_jiffies & TVR_MASK); in __internal_add_timer()
392 vec = base->tv5.vec + i; in __internal_add_timer()
397 list_add_tail(&timer->entry, vec); in __internal_add_timer()
[all …]
/kernel/
Dsysctl_binary.c983 unsigned __user *vec = oldval; in bin_intvec() local
984 size_t length = oldlen / sizeof(*vec); in bin_intvec()
1003 if (put_user(value, vec + i)) in bin_intvec()
1006 copied += sizeof(*vec); in bin_intvec()
1013 unsigned __user *vec = newval; in bin_intvec() local
1014 size_t length = newlen / sizeof(*vec); in bin_intvec()
1024 if (get_user(value, vec + i)) in bin_intvec()
1054 unsigned long __user *vec = oldval; in bin_ulongvec() local
1055 size_t length = oldlen / sizeof(*vec); in bin_ulongvec()
1074 if (put_user(value, vec + i)) in bin_ulongvec()
[all …]