Searched refs:vec (Results 1 – 3 of 3) sorted by relevance
77 struct cpupri_vec *vec = &cp->pri_to_cpu[idx]; in cpupri_find() local80 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() local162 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() local194 atomic_dec(&(vec)->count); in cpupri_set()196 cpumask_clear_cpu(cpu, vec->mask); in cpupri_set()[all …]
71 struct list_head vec[TVN_SIZE]; member75 struct list_head vec[TVR_SIZE]; member361 struct list_head *vec; in __internal_add_timer() local365 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 …]
983 unsigned __user *vec = oldval; in bin_intvec() local984 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() local1014 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() local1055 size_t length = oldlen / sizeof(*vec); in bin_ulongvec()1074 if (put_user(value, vec + i)) in bin_ulongvec()[all …]