/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/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/block/ |
H A D | bdev.c | 93 if (mapping->nrpages) { 455 ret += inode->i_mapping->nrpages; 1200 mapping->nrpages == 0) {
|
/linux-master/drivers/iommu/intel/ |
H A D | iommu.c | 4130 unsigned long nrpages; local 4133 nrpages = aligned_nrpages(gather->start, size); 4138 start_pfn, nrpages, 4142 parent_domain_flush(dmar_domain, start_pfn, nrpages,
|
/linux-master/fs/bcachefs/ |
H A D | fs-io-direct.c | 190 if (unlikely(mapping->nrpages)) { 644 if (unlikely(mapping->nrpages)) {
|
H A D | fs-io-pagecache.c | 58 if (!mapping->nrpages) 65 if (!mapping->nrpages)
|
/linux-master/fs/btrfs/ |
H A D | inode.c | 8658 WARN_ON(vfs_inode->i_data.nrpages);
|
H A D | send.c | 5767 * if the inode's mapping nrpages is 0 when we first open it, and 5778 sctx->clean_page_cache = (sctx->cur_inode->i_mapping->nrpages == 0);
|
/linux-master/fs/ |
H A D | buffer.c | 3125 unsigned long nrpages; local 3133 nrpages = (nr_free_buffer_pages() * 10) / 100; 3134 max_buffer_heads = nrpages * (PAGE_SIZE / sizeof(struct buffer_head));
|
H A D | dax.c | 626 mapping->nrpages -= PG_PMD_NR; 642 mapping->nrpages += 1UL << order; 762 mapping->nrpages -= 1UL << dax_entry_order(entry);
|
H A D | direct-io.c | 363 dio->inode->i_mapping->nrpages);
|
/linux-master/fs/ceph/ |
H A D | caps.c | 1003 ci->netfs.inode.i_data.nrpages)) 1983 if (inode->i_data.nrpages == 0 && 2118 inode->i_data.nrpages && /* have cached pages */ 5003 if (inode->i_data.nrpages > 0)
|
/linux-master/fs/erofs/ |
H A D | internal.h | 468 int erofs_pcpubuf_growsize(unsigned int nrpages);
|
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 | zdata.c | 301 unsigned int nrpages = PAGE_ALIGN(size) >> PAGE_SHIFT; local 307 if (nrpages > pcs->maxpages)
|
/linux-master/fs/exfat/ |
H A D | inode.c | 666 inode->i_mapping->nrpages = 0;
|
/linux-master/fs/ext4/ |
H A D | inode.c | 2533 if (!mapping->nrpages || !mapping_tagged(mapping, PAGECACHE_TAG_DIRTY))
|
/linux-master/fs/f2fs/ |
H A D | checkpoint.c | 251 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, argument 272 for (; nrpages-- > 0; blkno++) {
|
H A D | compress.c | 1930 if (!mapping->nrpages)
|
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 | f2fs.h | 3774 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages,
|
H A D | file.c | 1399 pgoff_t nrpages = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); local 1413 ret = __exchange_data_block(inode, inode, end, start, nrpages - end, true);
|
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/fs/gfs2/ |
H A D | file.c | 749 if (mapping->nrpages) { 771 if (mapping->nrpages)
|
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);
|