Searched refs:nr_pages (Results 1 – 2 of 2) sorted by relevance
692 int nr_pages; in bio_get_nr_vecs() local694 nr_pages = min_t(unsigned, in bio_get_nr_vecs()698 return min_t(unsigned, nr_pages, BIO_MAX_PAGES); in bio_get_nr_vecs()1150 int nr_pages = 0; in bio_copy_user_iov() local1169 nr_pages += end - start; in bio_copy_user_iov()1174 nr_pages++; in bio_copy_user_iov()1181 bio = bio_kmalloc(gfp_mask, nr_pages); in bio_copy_user_iov()1191 nr_pages = 1 << map_data->page_order; in bio_copy_user_iov()1203 if (i == map_data->nr_entries * nr_pages) { in bio_copy_user_iov()1208 page = map_data->pages[i / nr_pages]; in bio_copy_user_iov()[all …]
266 unsigned int len, nr_pages; in bio_integrity_prep() local287 nr_pages = end - start; in bio_integrity_prep()290 bip = bio_integrity_alloc(bio, GFP_NOIO, nr_pages); in bio_integrity_prep()306 for (i = 0 ; i < nr_pages ; i++) { in bio_integrity_prep()