Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/ublk/
H A Dstripe.c18 unsigned nr_vec; member
58 t->nr_vec = 0; in alloc_stripe_array()
104 ublk_assert(this->nr_vec < this->cap); in calculate_stripe_array()
105 this->vec[this->nr_vec].iov_base = (void *)(base + done); in calculate_stripe_array()
106 this->vec[this->nr_vec++].iov_len = nr_sects << 9; in calculate_stripe_array()
158 t->nr_vec, in stripe_queue_tgt_rw_io()
/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-vntb.c1386 int nr_vec = vntb_epf_db_vector_count(ntb); in vntb_epf_db_valid_mask() local
1388 if (!nr_vec) in vntb_epf_db_valid_mask()
1391 return GENMASK_ULL(nr_vec - 1, 0); in vntb_epf_db_valid_mask()
1396 int nr_vec; in vntb_epf_db_vector_mask() local
1402 nr_vec = vntb_epf_db_vector_count(ntb); in vntb_epf_db_vector_mask()
1403 if (db_vector < 0 || db_vector >= nr_vec) in vntb_epf_db_vector_mask()
/linux/drivers/ntb/hw/epf/
H A Dntb_hw_epf.c454 int nr_vec; in ntb_epf_db_vector_mask() local
460 nr_vec = ntb_epf_db_vector_count(ntb); in ntb_epf_db_vector_mask()
461 if (db_vector < 0 || db_vector >= nr_vec) in ntb_epf_db_vector_mask()