/linux-master/fs/erofs/ |
H A D | pcpubuf.c | 16 unsigned int nrpages; member in struct:erofs_pcpubuf 28 if (requiredpages > pcb->nrpages) { 48 int erofs_pcpubuf_growsize(unsigned int nrpages) argument 56 delta = nrpages - pcb_nrpages; 67 pages = kmalloc_array(nrpages, sizeof(*pages), GFP_KERNEL); 73 for (i = 0; i < nrpages; ++i) { 81 ptr = vmap(pages, nrpages, VM_MAP, PAGE_KERNEL); 92 i = pcb->nrpages; 93 pcb->nrpages = nrpages; [all...] |
H A D | internal.h | 475 int erofs_pcpubuf_growsize(unsigned int nrpages);
|
/linux-master/arch/sh/mm/ |
H A D | ioremap_fixed.c | 52 unsigned int nrpages; local 79 nrpages = size >> PAGE_SHIFT; 80 if (nrpages > FIX_N_IOREMAPS) 88 while (nrpages > 0) { 93 --nrpages; 104 unsigned int nrpages; local 122 nrpages = map->size >> PAGE_SHIFT; 124 idx = FIX_IOREMAP_BEGIN + slot + nrpages - 1; 125 while (nrpages > 0) { 128 --nrpages; [all...] |
/linux-master/mm/ |
H A D | early_ioremap.c | 104 unsigned int nrpages; local 138 nrpages = size >> PAGE_SHIFT; 139 if (WARN_ON(nrpages > NR_FIX_BTMAPS)) 146 while (nrpages > 0) { 153 --nrpages; 166 unsigned int nrpages; local 195 nrpages = PAGE_ALIGN(offset + size) >> PAGE_SHIFT; 198 while (nrpages > 0) { 204 --nrpages;
|
H A D | fadvise.c | 39 unsigned long nrpages; local 102 nrpages = end_index - start_index + 1; 103 if (!nrpages) 104 nrpages = ~0UL; 106 force_page_cache_readahead(mapping, file, start_index, nrpages);
|
H A D | mprotect.c | 583 long nrpages = (end - start) >> PAGE_SHIFT; local 620 if (!may_expand_vm(mm, newflags, nrpages) && 621 may_expand_vm(mm, oldflags, nrpages)) 625 charged = nrpages; 656 vm_unacct_memory(nrpages); 667 vm_stat_account(mm, oldflags, -nrpages); 668 vm_stat_account(mm, newflags, nrpages);
|
H A D | swap_state.c | 122 address_space->nrpages += nr; 163 address_space->nrpages -= nr;
|
/linux-master/fs/netfs/ |
H A D | locking.c | 150 if (inode->i_mapping->nrpages != 0) {
|
H A D | output.c | 124 wreq->mapping->nrpages) {
|
/linux-master/arch/x86/mm/ |
H A D | ioremap.c | 47 unsigned long nrpages = size >> PAGE_SHIFT; local 53 err = _set_memory_uc(vaddr, nrpages); 56 err = _set_memory_wc(vaddr, nrpages); 59 err = _set_memory_wt(vaddr, nrpages); 62 err = _set_memory_wb(vaddr, nrpages);
|
/linux-master/fs/nilfs2/ |
H A D | page.c | 331 smap->nrpages--; 342 dmap->nrpages++; 503 if (inode->i_mapping->nrpages == 0)
|
/linux-master/lib/ |
H A D | test_xarray.c | 738 unsigned int nrpages = 1UL << order; local 741 XA_BUG_ON(xa, index & (nrpages - 1)); 816 unsigned int nrpages = 1UL << order; local 821 base = round_down(index, nrpages); 822 next_index = round_down(base + nrpages, nrpages); 823 next_next_index = round_down(next_index + nrpages, nrpages); 827 for (i = 0; i < nrpages; i++) 842 for (i = 0; i < nrpages; [all...] |
/linux-master/fs/f2fs/ |
H A D | debug.c | 161 si->node_pages = NODE_MAPPING(sbi)->nrpages; 163 si->meta_pages = META_MAPPING(sbi)->nrpages; 166 si->compress_pages = COMPRESS_MAPPING(sbi)->nrpages; 323 unsigned long npages = NODE_MAPPING(sbi)->nrpages; 328 unsigned long npages = META_MAPPING(sbi)->nrpages; 334 unsigned long npages = COMPRESS_MAPPING(sbi)->nrpages;
|
H A D | node.c | 111 (COMPRESS_MAPPING(sbi)->nrpages < 2849 int i, idx, last_offset, nrpages; local 2856 for (i = 0; i < last_offset; i += nrpages, addr += nrpages) { 2857 nrpages = bio_max_segs(last_offset - i); 2860 f2fs_ra_meta_pages(sbi, addr, nrpages, META_POR, true); 2862 for (idx = addr; idx < addr + nrpages; idx++) { 2877 addr + nrpages); local
|
/linux-master/block/ |
H A D | bdev.c | 93 if (mapping->nrpages) { 455 ret += inode->i_mapping->nrpages; 1200 mapping->nrpages == 0) {
|
/linux-master/fs/orangefs/ |
H A D | file.c | 420 #define mapping_nrpages(idata) ((idata)->nrpages)
|
/linux-master/fs/jffs2/ |
H A D | dir.c | 191 inode->i_mapping->nrpages = 0; 212 jffs2_dbg(1, "%s(): Created ino #%lu with mode %o, nlink %d(%d). nrpages %ld\n", 214 f->inocache->pino_nlink, inode->i_mapping->nrpages);
|
/linux-master/fs/bcachefs/ |
H A D | fs-io-pagecache.c | 58 if (!mapping->nrpages) 65 if (!mapping->nrpages)
|
H A D | fs-io-direct.c | 190 if (unlikely(mapping->nrpages)) { 644 if (unlikely(mapping->nrpages)) {
|
/linux-master/fs/nfs/ |
H A D | inode.c | 148 if (mapping->nrpages != 0) { 211 if (inode->i_mapping->nrpages == 0) { 257 if (mapping->nrpages != 0) { 1018 if (inode->i_mapping->nrpages == 0) 1294 if (mapping->nrpages != 0) {
|
/linux-master/fs/ |
H A D | dax.c | 626 mapping->nrpages -= PG_PMD_NR; 642 mapping->nrpages += 1UL << order; 762 mapping->nrpages -= 1UL << dax_entry_order(entry);
|
/linux-master/ipc/ |
H A D | shm.c | 943 *rss_add += pages_per_huge_page(h) * mapping->nrpages; 949 *rss_add += inode->i_mapping->nrpages; 953 *rss_add += inode->i_mapping->nrpages;
|
/linux-master/fs/gfs2/ |
H A D | glock.c | 2380 unsigned long nrpages = 0; local 2385 nrpages = mapping->nrpages; 2404 (int)gl->gl_lockref.count, gl->gl_hold_time, nrpages);
|
H A D | glops.c | 556 inode->i_data.nrpages);
|
H A D | log.c | 730 if (ip->i_inode.i_mapping->nrpages == 0) { 751 if (ip->i_inode.i_mapping->nrpages == 0)
|