Searched refs:max_pages (Results 1 – 11 of 11) sorted by relevance
/fs/logfs/ |
D | dev_bdev.c | 98 unsigned int max_pages; in __bdev_writeseg() local 101 max_pages = min(nr_pages, (size_t) bio_get_nr_vecs(super->s_bdev)); in __bdev_writeseg() 103 bio = bio_alloc(GFP_NOFS, max_pages); in __bdev_writeseg() 107 if (i >= max_pages) { in __bdev_writeseg() 123 bio = bio_alloc(GFP_NOFS, max_pages); in __bdev_writeseg() 190 unsigned int max_pages; in do_erase() local 193 max_pages = min(nr_pages, (size_t) bio_get_nr_vecs(super->s_bdev)); in do_erase() 195 bio = bio_alloc(GFP_NOFS, max_pages); in do_erase() 199 if (i >= max_pages) { in do_erase() 215 bio = bio_alloc(GFP_NOFS, max_pages); in do_erase()
|
/fs/nfs/ |
D | nfs4filelayoutdev.c | 675 int max_pages; in filelayout_get_device_info() local 686 max_pages = nfs_page_array_len(0, max_resp_sz); in filelayout_get_device_info() 688 __func__, inode, max_resp_sz, max_pages); in filelayout_get_device_info() 694 pages = kzalloc(max_pages * sizeof(struct page *), gfp_flags); in filelayout_get_device_info() 699 for (i = 0; i < max_pages; i++) { in filelayout_get_device_info() 723 for (i = 0; i < max_pages; i++) in filelayout_get_device_info()
|
D | nfs4proc.c | 6324 size_t max_pages = max_response_pages(server); in nfs4_layoutget_release() local 6327 nfs4_free_pages(lgp->args.layout.pages, max_pages); in nfs4_layoutget_release() 6345 size_t max_pages = max_response_pages(server); in nfs4_proc_layoutget() local 6364 lgp->args.layout.pages = nfs4_alloc_pages(max_pages, gfp_flags); in nfs4_proc_layoutget() 6369 lgp->args.layout.pglen = max_pages * PAGE_SIZE; in nfs4_proc_layoutget()
|
/fs/nilfs2/ |
D | segbuf.c | 38 int max_pages; member 390 wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); in nilfs_segbuf_submit_bio() 430 wi->max_pages = bio_get_nr_vecs(wi->nilfs->ns_bdev); in nilfs_segbuf_prepare_write() 431 wi->nr_vecs = min(wi->max_pages, wi->rest_blocks); in nilfs_segbuf_prepare_write()
|
/fs/ceph/ |
D | addr.c | 666 pgoff_t max_pages = 0, max_pages_ever = 0; in ceph_writepages_start() local 757 max_pages = max_pages_ever; in ceph_writepages_start() 763 max_pages - (pgoff_t)locked_pages) - 1) in ceph_writepages_start() 771 for (i = 0; i < pvec_pages && locked_pages < max_pages; i++) { in ceph_writepages_start() 857 max_pages = calc_pages_for(0, (u64)len); in ceph_writepages_start() 858 size = max_pages * sizeof (*pages); in ceph_writepages_start() 895 locked_pages < max_pages) { in ceph_writepages_start()
|
/fs/nfs/blocklayout/ |
D | blocklayout.c | 1054 int max_pages; in nfs4_blk_get_deviceinfo() local 1063 max_pages = nfs_page_array_len(0, max_resp_sz); in nfs4_blk_get_deviceinfo() 1065 __func__, max_resp_sz, max_pages); in nfs4_blk_get_deviceinfo() 1073 pages = kzalloc(max_pages * sizeof(struct page *), GFP_NOFS); in nfs4_blk_get_deviceinfo() 1078 for (i = 0; i < max_pages; i++) { in nfs4_blk_get_deviceinfo() 1090 dev->pglen = PAGE_SIZE * max_pages; in nfs4_blk_get_deviceinfo() 1103 for (i = 0; i < max_pages; i++) in nfs4_blk_get_deviceinfo()
|
/fs/fuse/ |
D | file.c | 792 if (WARN_ON(req->num_pages >= req->max_pages)) { in fuse_readpages_fill() 1017 req->num_pages < req->max_pages && offset == 0); in fuse_fill_write_pages() 1207 while (nbytes < *nbytesp && req->num_pages < req->max_pages) { in fuse_get_user_pages() 1214 unsigned n = req->max_pages - req->num_pages; in fuse_get_user_pages() 2044 unsigned int in_iovs = 0, out_iovs = 0, num_pages = 0, max_pages; in fuse_do_ioctl() local 2094 max_pages = DIV_ROUND_UP(max(in_size, out_size), PAGE_SIZE); in fuse_do_ioctl() 2098 if (max_pages > FUSE_MAX_PAGES_PER_REQ) in fuse_do_ioctl() 2100 while (num_pages < max_pages) { in fuse_do_ioctl()
|
D | fuse_i.h | 332 unsigned max_pages; member
|
D | dev.c | 53 req->max_pages = npages; in fuse_request_init() 230 fuse_request_init(req, req->pages, req->page_descs, req->max_pages); in put_reserved_req()
|
/fs/btrfs/ |
D | ctree.h | 3583 u64 newer_than, unsigned long max_pages);
|
D | extent_io.c | 2627 unsigned long max_pages, in submit_extent_page() argument
|