Searched refs:npg (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/fs/nfs/blocklayout/ |
D | blocklayout.c | 142 static struct bio *bl_alloc_init_bio(int npg, sector_t isect, in bl_alloc_init_bio() argument 149 npg = min(npg, BIO_MAX_PAGES); in bl_alloc_init_bio() 150 bio = bio_alloc(GFP_NOIO, npg); in bl_alloc_init_bio() 152 while (!bio && (npg /= 2)) in bl_alloc_init_bio() 153 bio = bio_alloc(GFP_NOIO, npg); in bl_alloc_init_bio() 165 static struct bio *do_add_page_to_bio(struct bio *bio, int npg, int rw, in do_add_page_to_bio() argument 174 npg, rw, (unsigned long long)isect, offset, len); in do_add_page_to_bio() 177 bio = bl_alloc_init_bio(npg, isect, be, end_io, par); in do_add_page_to_bio() 188 static struct bio *bl_add_page_to_bio(struct bio *bio, int npg, int rw, in bl_add_page_to_bio() argument 194 return do_add_page_to_bio(bio, npg, rw, isect, page, be, in bl_add_page_to_bio()
|
/linux-3.4.99/arch/tile/include/asm/ |
D | pgtable.h | 397 static inline unsigned long pages_to_mb(unsigned long npg) in pages_to_mb() argument 399 return npg >> (20 - PAGE_SHIFT); in pages_to_mb()
|
/linux-3.4.99/arch/x86/include/asm/ |
D | pgtable.h | 490 static inline unsigned long pages_to_mb(unsigned long npg) in pages_to_mb() argument 492 return npg >> (20 - PAGE_SHIFT); in pages_to_mb()
|