Searched refs:nrpages (Results 1 - 25 of 56) sorted by path

123

/linux-master/arch/sh/mm/
H A Dioremap_fixed.c52 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 Dioremap.c47 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 Dbdev.c93 if (mapping->nrpages) {
455 ret += inode->i_mapping->nrpages;
1200 mapping->nrpages == 0) {
/linux-master/drivers/iommu/intel/
H A Diommu.c4130 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 Dfs-io-direct.c190 if (unlikely(mapping->nrpages)) {
644 if (unlikely(mapping->nrpages)) {
H A Dfs-io-pagecache.c58 if (!mapping->nrpages)
65 if (!mapping->nrpages)
/linux-master/fs/btrfs/
H A Dinode.c8658 WARN_ON(vfs_inode->i_data.nrpages);
H A Dsend.c5767 * 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 Dbuffer.c3125 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 Ddax.c626 mapping->nrpages -= PG_PMD_NR;
642 mapping->nrpages += 1UL << order;
762 mapping->nrpages -= 1UL << dax_entry_order(entry);
H A Ddirect-io.c363 dio->inode->i_mapping->nrpages);
/linux-master/fs/ceph/
H A Dcaps.c1003 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 Dinternal.h468 int erofs_pcpubuf_growsize(unsigned int nrpages);
H A Dpcpubuf.c16 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 Dzdata.c301 unsigned int nrpages = PAGE_ALIGN(size) >> PAGE_SHIFT; local
307 if (nrpages > pcs->maxpages)
/linux-master/fs/exfat/
H A Dinode.c666 inode->i_mapping->nrpages = 0;
/linux-master/fs/ext4/
H A Dinode.c2533 if (!mapping->nrpages || !mapping_tagged(mapping, PAGECACHE_TAG_DIRTY))
/linux-master/fs/f2fs/
H A Dcheckpoint.c251 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages, argument
272 for (; nrpages-- > 0; blkno++) {
H A Dcompress.c1930 if (!mapping->nrpages)
H A Ddebug.c161 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 Df2fs.h3774 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages,
H A Dfile.c1399 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 Dnode.c111 (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 Dfile.c749 if (mapping->nrpages) {
771 if (mapping->nrpages)
H A Dglock.c2380 unsigned long nrpages = 0; local
2385 nrpages = mapping->nrpages;
2404 (int)gl->gl_lockref.count, gl->gl_hold_time, nrpages);

Completed in 615 milliseconds

123