Searched refs:nr_vecs (Results 1 – 2 of 2) sorted by relevance
52 unsigned int nr_vecs) in bio_integrity_alloc() argument62 bip = kmalloc(struct_size(bip, bip_inline_vecs, nr_vecs), gfp_mask); in bio_integrity_alloc()63 inline_vecs = nr_vecs; in bio_integrity_alloc()74 if (nr_vecs > inline_vecs) { in bio_integrity_alloc()77 bip->bip_vec = bvec_alloc(gfp_mask, nr_vecs, &idx, in bio_integrity_alloc()
39 #define BV(x, n) { .nr_vecs = x, .name = "biovec-"#n }152 return bvec_slabs[--idx].nr_vecs; in bvec_nr_vecs()1651 if (bvs->nr_vecs <= BIO_INLINE_VECS) { in biovec_init_slabs()1656 size = bvs->nr_vecs * sizeof(struct bio_vec); in biovec_init_slabs()