Searched refs:i_pages (Results 1 - 25 of 44) sorted by path

12

/linux-master/arch/arm/include/asm/
H A Dcacheflush.h321 #define flush_dcache_mmap_lock(mapping) xa_lock_irq(&mapping->i_pages)
322 #define flush_dcache_mmap_unlock(mapping) xa_unlock_irq(&mapping->i_pages)
/linux-master/arch/csky/abiv1/inc/abi/
H A Dcacheflush.h19 #define flush_dcache_mmap_lock(mapping) xa_lock_irq(&mapping->i_pages)
20 #define flush_dcache_mmap_unlock(mapping) xa_unlock_irq(&mapping->i_pages)
/linux-master/arch/nios2/include/asm/
H A Dcacheflush.h54 #define flush_dcache_mmap_lock(mapping) xa_lock_irq(&mapping->i_pages)
55 #define flush_dcache_mmap_unlock(mapping) xa_unlock_irq(&mapping->i_pages)
57 xa_lock_irqsave(&mapping->i_pages, flags)
59 xa_unlock_irqrestore(&mapping->i_pages, flags)
/linux-master/arch/parisc/include/asm/
H A Dcacheflush.h55 #define flush_dcache_mmap_lock(mapping) xa_lock_irq(&mapping->i_pages)
56 #define flush_dcache_mmap_unlock(mapping) xa_unlock_irq(&mapping->i_pages)
58 xa_lock_irqsave(&mapping->i_pages, flags)
60 xa_unlock_irqrestore(&mapping->i_pages, flags)
/linux-master/fs/afs/
H A Ddir.c117 XA_STATE(xas, &mapping->i_pages, 0);
192 XA_STATE(xas, &mapping->i_pages, 0);
226 XA_STATE(xas, &mapping->i_pages, 0);
312 iov_iter_xarray(&req->def_iter, ITER_DEST, &dvnode->netfs.inode.i_mapping->i_pages,
H A Dfile.c342 iov_iter_xarray(&fsreq->def_iter, ITER_DEST, &folio->mapping->i_pages,
/linux-master/fs/bcachefs/
H A Dfs-io-buffered.c120 folio = xa_load(&iter->mapping->i_pages, folio_offset);
/linux-master/fs/btrfs/
H A Dcompression.c454 page = xa_load(&mapping->i_pages, pg_index);
H A Dextent_io.c2108 * At this point we hold neither the i_pages lock nor
4105 xa_lock_irq(&folio->mapping->i_pages);
4107 __xa_clear_mark(&folio->mapping->i_pages,
4109 xa_unlock_irq(&folio->mapping->i_pages);
/linux-master/fs/ceph/
H A Daddr.c315 iov_iter_xarray(&iter, ITER_DEST, &rreq->mapping->i_pages, subreq->start, len);
372 iov_iter_xarray(&iter, ITER_DEST, &rreq->mapping->i_pages, subreq->start, len);
/linux-master/fs/
H A Ddax.c191 * under the i_pages lock, ditto for entry handling in our callers.
204 * If @order is larger than the order of the entry found in i_pages, this
207 * Must be called with the i_pages lock held.
239 * The only thing keeping the address space around is the i_pages lock
240 * (it's cycled in clear_inode() after removing the entries from i_pages)
448 xas.xa = &mapping->i_pages;
473 XA_STATE(xas, &mapping->i_pages, folio->index);
502 xas.xa = &mapping->i_pages;
536 XA_STATE(xas, &mapping->i_pages, index);
605 * the i_pages loc
[all...]
H A Dfs-writeback.c402 XA_STATE(xas, &mapping->i_pages, 0);
407 xa_lock_irq(&mapping->i_pages);
485 xa_unlock_irq(&mapping->i_pages);
511 * synchronizing against the i_pages lock.
513 * Grabbing old_wb->list_lock, inode->i_lock and the i_pages lock
H A Dinode.c399 xa_init_flags(&mapping->i_pages, XA_FLAGS_LOCK_IRQ | XA_FLAGS_ACCOUNT);
609 * We have to cycle the i_pages lock here because reclaim can be in the
613 xa_lock_irq(&inode->i_data.i_pages);
623 xa_unlock_irq(&inode->i_data.i_pages);
/linux-master/fs/erofs/
H A Dfscache.c62 XA_STATE(xas, &req->mapping->i_pages, start_page);
243 iov_iter_xarray(&io->iter, ITER_DEST, &folio->mapping->i_pages,
289 iov_iter_xarray(&iter, ITER_DEST, &mapping->i_pages, pos, PAGE_SIZE);
304 iov_iter_xarray(&iter, ITER_DEST, &mapping->i_pages, pos, count);
324 iov_iter_xarray(&io->iter, ITER_DEST, &mapping->i_pages, pos, count);
/linux-master/fs/f2fs/
H A Ddata.c4088 xa_lock_irqsave(&mapping->i_pages, flags);
4089 __xa_clear_mark(&mapping->i_pages, page_index(page),
4091 xa_unlock_irqrestore(&mapping->i_pages, flags);
H A Dfile.c417 xa_get_mark(&mapping->i_pages, index, PAGECACHE_TAG_DIRTY))
H A Dnode.c1415 apage = xa_load(&NODE_MAPPING(sbi)->i_pages, nid);
/linux-master/fs/netfs/
H A Dbuffered_read.c26 XA_STATE(xas, &rreq->mapping->i_pages, start_page);
214 iov_iter_xarray(&rreq->iter, ITER_DEST, &ractl->mapping->i_pages,
314 iov_iter_xarray(&rreq->iter, ITER_DEST, &mapping->i_pages,
480 iov_iter_xarray(&rreq->iter, ITER_DEST, &mapping->i_pages,
548 iov_iter_xarray(&rreq->iter, ITER_DEST, &mapping->i_pages,
H A Dbuffered_write.c646 XA_STATE(xas, &mapping->i_pages, wreq->start / PAGE_SIZE);
975 iov_iter_xarray(&wreq->iter, ITER_SOURCE, &mapping->i_pages, start,
1057 /* At this point we hold neither the i_pages lock nor the page lock:
1121 XA_STATE(xas, &mapping->i_pages, *_start / PAGE_SIZE);
H A Dfscache_io.c181 XA_STATE(xas, &mapping->i_pages, first);
251 iov_iter_xarray(&iter, ITER_SOURCE, &mapping->i_pages, start, len);
H A Dio.c118 XA_STATE(xas, &rreq->mapping->i_pages, subreq->start / PAGE_SIZE);
209 iov_iter_xarray(&iter, ITER_SOURCE, &rreq->mapping->i_pages,
H A Doutput.c406 iov_iter_xarray(&wreq->iter, ITER_SOURCE, &wreq->mapping->i_pages, wreq->start, 0);
/linux-master/fs/nfs/
H A Dfscache.c319 xa_for_each_range(&sreq->rreq->mapping->i_pages, idx, page, start, last) {
/linux-master/fs/nilfs2/
H A Dbtnode.c198 xa_lock_irq(&btnc->i_pages);
199 err = __xa_insert(&btnc->i_pages, newkey, ofolio, GFP_NOFS);
200 xa_unlock_irq(&btnc->i_pages);
255 xa_lock_irq(&btnc->i_pages);
256 __xa_erase(&btnc->i_pages, oldkey);
257 __xa_set_mark(&btnc->i_pages, newkey, PAGECACHE_TAG_DIRTY);
258 xa_unlock_irq(&btnc->i_pages);
286 xa_erase_irq(&btnc->i_pages, newkey);
H A Dpage.c328 xa_lock_irq(&smap->i_pages);
329 f = __xa_erase(&smap->i_pages, index);
332 xa_unlock_irq(&smap->i_pages);
334 xa_lock_irq(&dmap->i_pages);
335 f = __xa_store(&dmap->i_pages, index, folio, GFP_NOFS);
344 __xa_set_mark(&dmap->i_pages, index,
347 xa_unlock_irq(&dmap->i_pages);
467 xa_lock_irq(&mapping->i_pages);
469 __xa_clear_mark(&mapping->i_pages, folio->index,
471 xa_unlock_irq(&mapping->i_pages);
[all...]

Completed in 401 milliseconds

12