Home
last modified time | relevance | path

Searched refs:nr_pages (Results 1 – 2 of 2) sorted by relevance

/block/
Dbio.c692 int nr_pages; in bio_get_nr_vecs() local
694 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() local
1169 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 …]
Dbio-integrity.c266 unsigned int len, nr_pages; in bio_integrity_prep() local
287 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()