maxpages 644 drivers/infiniband/core/rw.c unsigned int maxpages) maxpages 652 drivers/infiniband/core/rw.c return DIV_ROUND_UP(maxpages, mr_pages); maxpages 915 drivers/infiniband/hw/hfi1/tid_rdma.c int maxpages = pagecount; maxpages 919 drivers/infiniband/hw/hfi1/tid_rdma.c maxpages = maxpages 923 drivers/infiniband/hw/hfi1/tid_rdma.c maxpages = maxpages 928 drivers/infiniband/hw/hfi1/tid_rdma.c list[setcount].count = maxpages; maxpages 932 drivers/infiniband/hw/hfi1/tid_rdma.c pagecount -= maxpages; maxpages 933 drivers/infiniband/hw/hfi1/tid_rdma.c pageidx += maxpages; maxpages 974 drivers/infiniband/hw/hfi1/tid_rdma.c u32 maxpages = pages; maxpages 976 drivers/infiniband/hw/hfi1/tid_rdma.c if (maxpages > MAX_EXPECTED_PAGES) maxpages 977 drivers/infiniband/hw/hfi1/tid_rdma.c maxpages = MAX_EXPECTED_PAGES; maxpages 978 drivers/infiniband/hw/hfi1/tid_rdma.c else if (!is_power_of_2(maxpages)) maxpages 979 drivers/infiniband/hw/hfi1/tid_rdma.c maxpages = rounddown_pow_of_two(maxpages); maxpages 981 drivers/infiniband/hw/hfi1/tid_rdma.c list[sets++].count = maxpages; maxpages 982 drivers/infiniband/hw/hfi1/tid_rdma.c *idx += maxpages; maxpages 983 drivers/infiniband/hw/hfi1/tid_rdma.c pages -= maxpages; maxpages 625 drivers/infiniband/hw/hfi1/user_exp_rcv.c int maxpages = pagecount; maxpages 629 drivers/infiniband/hw/hfi1/user_exp_rcv.c maxpages = maxpages 633 drivers/infiniband/hw/hfi1/user_exp_rcv.c maxpages = maxpages 638 drivers/infiniband/hw/hfi1/user_exp_rcv.c list[setcount].count = maxpages; maxpages 639 drivers/infiniband/hw/hfi1/user_exp_rcv.c pagecount -= maxpages; maxpages 640 drivers/infiniband/hw/hfi1/user_exp_rcv.c pageidx += maxpages; maxpages 88 fs/orangefs/inode.c int maxpages; maxpages 210 fs/orangefs/inode.c if (ow->npages == ow->maxpages) { maxpages 227 fs/orangefs/inode.c ow->maxpages = orangefs_bufmap_size_query()/PAGE_SIZE; maxpages 228 fs/orangefs/inode.c ow->pages = kcalloc(ow->maxpages, sizeof(struct page *), GFP_KERNEL); maxpages 233 fs/orangefs/inode.c ow->bv = kcalloc(ow->maxpages, sizeof(struct bio_vec), GFP_KERNEL); maxpages 205 fs/ramfs/file-nommu.c unsigned long maxpages, lpages, nr, loop, ret; maxpages 215 fs/ramfs/file-nommu.c maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; maxpages 216 fs/ramfs/file-nommu.c if (pgoff >= maxpages) maxpages 219 fs/ramfs/file-nommu.c if (maxpages - pgoff < lpages) maxpages 26 fs/romfs/mmap-nommu.c unsigned long isize, offset, maxpages, lpages; maxpages 37 fs/romfs/mmap-nommu.c maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; maxpages 38 fs/romfs/mmap-nommu.c if ((pgoff >= maxpages) || (maxpages - pgoff < lpages)) maxpages 226 include/linux/uio.h size_t maxsize, unsigned maxpages, size_t *start); maxpages 229 include/linux/uio.h int iov_iter_npages(const struct iov_iter *i, int maxpages); maxpages 68 include/rdma/rw.h unsigned int maxpages); maxpages 1254 lib/iov_iter.c struct page **pages, size_t maxsize, unsigned maxpages, maxpages 1270 lib/iov_iter.c capacity = min(npages,maxpages) * PAGE_SIZE - *start; maxpages 1276 lib/iov_iter.c struct page **pages, size_t maxsize, unsigned maxpages, maxpages 1283 lib/iov_iter.c return pipe_get_pages(i, pages, maxsize, maxpages, start); maxpages 1293 lib/iov_iter.c if (len > maxpages * PAGE_SIZE) maxpages 1294 lib/iov_iter.c len = maxpages * PAGE_SIZE; maxpages 1551 lib/iov_iter.c int iov_iter_npages(const struct iov_iter *i, int maxpages) maxpages 1572 lib/iov_iter.c if (npages >= maxpages) maxpages 1573 lib/iov_iter.c return maxpages; maxpages 1578 lib/iov_iter.c if (npages >= maxpages) maxpages 1579 lib/iov_iter.c return maxpages; maxpages 1582 lib/iov_iter.c if (npages >= maxpages) maxpages 1583 lib/iov_iter.c return maxpages; maxpages 1588 lib/iov_iter.c if (npages >= maxpages) maxpages 1589 lib/iov_iter.c return maxpages; maxpages 2932 mm/swapfile.c unsigned long maxpages; maxpages 2962 mm/swapfile.c maxpages = max_swapfile_size(); maxpages 2968 mm/swapfile.c if (last_page > maxpages) { maxpages 2970 mm/swapfile.c maxpages << (PAGE_SHIFT - 10), maxpages 2973 mm/swapfile.c if (maxpages > last_page) { maxpages 2974 mm/swapfile.c maxpages = last_page + 1; maxpages 2976 mm/swapfile.c if ((unsigned int)maxpages == 0) maxpages 2977 mm/swapfile.c maxpages = UINT_MAX; maxpages 2979 mm/swapfile.c p->highest_bit = maxpages - 1; maxpages 2981 mm/swapfile.c if (!maxpages) maxpages 2984 mm/swapfile.c if (swapfilepages && maxpages > swapfilepages) { maxpages 2993 mm/swapfile.c return maxpages; maxpages 3007 mm/swapfile.c unsigned long maxpages, maxpages 3013 mm/swapfile.c unsigned long nr_clusters = DIV_ROUND_UP(maxpages, SWAPFILE_CLUSTER); maxpages 3017 mm/swapfile.c nr_good_pages = maxpages - 1; /* omit header page */ maxpages 3026 mm/swapfile.c if (page_nr < maxpages) { maxpages 3038 mm/swapfile.c for (i = maxpages; i < round_up(maxpages, SWAPFILE_CLUSTER); i++) maxpages 3048 mm/swapfile.c p->max = maxpages; maxpages 3109 mm/swapfile.c unsigned long maxpages; maxpages 3173 mm/swapfile.c maxpages = read_swap_header(p, swap_header, inode); maxpages 3174 mm/swapfile.c if (unlikely(!maxpages)) { maxpages 3180 mm/swapfile.c swap_map = vzalloc(maxpages); maxpages 3202 mm/swapfile.c nr_cluster = DIV_ROUND_UP(maxpages, SWAPFILE_CLUSTER); maxpages 3229 mm/swapfile.c error = swap_cgroup_swapon(p->type, maxpages); maxpages 3234 mm/swapfile.c cluster_info, maxpages, &span); maxpages 3241 mm/swapfile.c frontswap_map = kvcalloc(BITS_TO_LONGS(maxpages), maxpages 3275 mm/swapfile.c error = init_swap_address_space(p->type, maxpages); maxpages 301 net/core/skmsg.c int i, maxpages, ret = 0, num_elems = sk_msg_elem_used(msg); maxpages 309 net/core/skmsg.c maxpages = to_max_pages - num_elems; maxpages 310 net/core/skmsg.c if (maxpages == 0) { maxpages 315 net/core/skmsg.c copied = iov_iter_get_pages(from, pages, bytes, maxpages, maxpages 1330 net/tls/tls_sw.c int rc = 0, i = 0, num_elem = *pages_used, maxpages; maxpages 1338 net/tls/tls_sw.c maxpages = to_max_pages - num_elem; maxpages 1339 net/tls/tls_sw.c if (maxpages == 0) { maxpages 1345 net/tls/tls_sw.c maxpages, &offset); maxpages 60 sound/core/sgbuf.c unsigned int i, pages, chunk, maxpages; maxpages 91 sound/core/sgbuf.c maxpages = MAX_ALLOC_PAGES; maxpages 95 sound/core/sgbuf.c if (chunk > maxpages) maxpages 96 sound/core/sgbuf.c chunk = maxpages; maxpages 120 sound/core/sgbuf.c if (chunk < maxpages) maxpages 121 sound/core/sgbuf.c maxpages = chunk;