Home
last modified time | relevance | path

Searched refs:dmap (Results 1 – 8 of 8) sorted by relevance

/fs/fuse/
Ddax.c131 struct fuse_dax_mapping *dmap; in alloc_dax_mapping() local
134 dmap = list_first_entry_or_null(&fcd->free_ranges, in alloc_dax_mapping()
136 if (dmap) { in alloc_dax_mapping()
137 list_del_init(&dmap->list); in alloc_dax_mapping()
144 return dmap; in alloc_dax_mapping()
149 struct fuse_dax_mapping *dmap) in __dmap_remove_busy_list() argument
151 list_del_init(&dmap->busy_list); in __dmap_remove_busy_list()
157 struct fuse_dax_mapping *dmap) in dmap_remove_busy_list() argument
160 __dmap_remove_busy_list(fcd, dmap); in dmap_remove_busy_list()
166 struct fuse_dax_mapping *dmap) in __dmap_add_to_free_pool() argument
[all …]
/fs/nilfs2/
Dpage.c240 int nilfs_copy_dirty_pages(struct address_space *dmap, in nilfs_copy_dirty_pages() argument
260 dpage = grab_cache_page(dmap, page->index); in nilfs_copy_dirty_pages()
294 void nilfs_copy_back_pages(struct address_space *dmap, in nilfs_copy_back_pages() argument
312 dfolio = filemap_lock_folio(dmap, index); in nilfs_copy_back_pages()
330 xa_lock_irq(&dmap->i_pages); in nilfs_copy_back_pages()
331 f = __xa_store(&dmap->i_pages, index, folio, GFP_NOFS); in nilfs_copy_back_pages()
337 folio->mapping = dmap; in nilfs_copy_back_pages()
338 dmap->nrpages++; in nilfs_copy_back_pages()
340 __xa_set_mark(&dmap->i_pages, index, in nilfs_copy_back_pages()
343 xa_unlock_irq(&dmap->i_pages); in nilfs_copy_back_pages()
/fs/xfs/
Dxfs_reflink.c1152 struct xfs_bmbt_irec *dmap, in xfs_reflink_remap_extent() argument
1163 bool dmap_written = xfs_bmap_is_written_extent(dmap); in xfs_reflink_remap_extent()
1191 resblks + dmap->br_blockcount, 0, false, &tp); in xfs_reflink_remap_extent()
1206 error = xfs_bmapi_read(ip, dmap->br_startoff, dmap->br_blockcount, in xfs_reflink_remap_extent()
1210 ASSERT(nimaps == 1 && smap.br_startoff == dmap->br_startoff); in xfs_reflink_remap_extent()
1217 dmap->br_blockcount = min(dmap->br_blockcount, smap.br_blockcount); in xfs_reflink_remap_extent()
1218 ASSERT(dmap->br_blockcount == smap.br_blockcount); in xfs_reflink_remap_extent()
1227 if (dmap->br_startblock == smap.br_startblock) { in xfs_reflink_remap_extent()
1228 if (dmap->br_state != smap.br_state) in xfs_reflink_remap_extent()
1234 if (dmap->br_state == XFS_EXT_UNWRITTEN && in xfs_reflink_remap_extent()
[all …]
/fs/jfs/
Djfs_dmap.c64 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
73 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
75 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
78 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
80 static int dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks,
91 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
93 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno,
101 static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno,
103 static int dbInitDmap(struct dmap * dp, s64 blkno, int nblocks);
104 static int dbInitDmapTree(struct dmap * dp);
[all …]
Djfs_dmap.h147 struct dmap { struct
/fs/
Ddax.c1884 const struct iomap *dmap = &it_dest->iomap; in dax_range_compare_iter() local
1889 len = min(len, min(smap->length, dmap->length)); in dax_range_compare_iter()
1891 if (smap->type == IOMAP_HOLE && dmap->type == IOMAP_HOLE) { in dax_range_compare_iter()
1896 if (smap->type == IOMAP_HOLE || dmap->type == IOMAP_HOLE) { in dax_range_compare_iter()
1907 ret = dax_iomap_direct_access(dmap, pos2, ALIGN(pos2 + len, PAGE_SIZE), in dax_range_compare_iter()
/fs/ocfs2/dlm/
Ddlmdomain.c49 static inline void byte_copymap(u8 dmap[], unsigned long smap[], in byte_copymap() argument
57 memset(dmap, 0, ((sz + 7) >> 3)); in byte_copymap()
60 byte_set_bit(nn, dmap); in byte_copymap()
/fs/f2fs/
Dsegment.c1954 unsigned long *dmap = SIT_I(sbi)->tmp_map; in add_discard_addrs() local
1974 dmap[i] = force ? ~ckpt_map[i] & ~discard_map[i] : in add_discard_addrs()
1979 start = __find_rev_next_bit(dmap, max_blocks, end + 1); in add_discard_addrs()
1983 end = __find_rev_next_zero_bit(dmap, max_blocks, start + 1); in add_discard_addrs()