Home
last modified time | relevance | path

Searched refs:comp_vect (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/hfi1/
Daffinity.c368 struct cpu_mask_set *set = dd->comp_vect; in _dev_comp_vect_cpu_get()
407 struct cpu_mask_set *set = dd->comp_vect; in _dev_comp_vect_cpu_put()
515 int hfi1_comp_vect_mappings_lookup(struct rvt_dev_info *rdi, int comp_vect) in hfi1_comp_vect_mappings_lookup() argument
522 if (comp_vect >= dd->comp_vect_possible_cpus) in hfi1_comp_vect_mappings_lookup()
525 return dd->comp_vect_mappings[comp_vect]; in hfi1_comp_vect_mappings_lookup()
538 struct cpumask *dev_comp_vect_mask = &dd->comp_vect->mask; in _dev_comp_vect_cpu_mask_init()
609 cpu = per_cpu_affinity_put_max(&dd->comp_vect->mask, in _dev_comp_vect_cpu_mask_clean_up()
613 cpumask_clear_cpu(cpu, &dd->comp_vect->mask); in _dev_comp_vect_cpu_mask_clean_up()
Daffinity.h124 int hfi1_comp_vect_mappings_lookup(struct rvt_dev_info *rdi, int comp_vect);
Dinit.c1244 kfree(dd->comp_vect); in hfi1_clean_devdata()
1245 dd->comp_vect = NULL; in hfi1_clean_devdata()
1346 dd->comp_vect = kzalloc(sizeof(*dd->comp_vect), GFP_KERNEL); in hfi1_alloc_devdata()
1347 if (!dd->comp_vect) { in hfi1_alloc_devdata()
Dhfi.h1341 struct cpu_mask_set *comp_vect; member
/Linux-v5.4/include/rdma/
Drdma_vt.h403 int (*comp_vect_cpu_lookup)(struct rvt_dev_info *rdi, int comp_vect);