Home
last modified time | relevance | path

Searched refs:marks (Results 1 – 4 of 4) sorted by relevance

/fs/nfs/blocklayout/
Dextents.c136 static int _preload_range(struct pnfs_inval_markings *marks, in _preload_range() argument
142 struct my_tree *tree = &marks->im_tree; in _preload_range()
160 spin_lock_bh(&marks->im_lock); in _preload_range()
163 spin_unlock_bh(&marks->im_lock); in _preload_range()
178 int bl_is_sector_init(struct pnfs_inval_markings *marks, sector_t isect) in bl_is_sector_init() argument
182 spin_lock_bh(&marks->im_lock); in bl_is_sector_init()
183 rv = _has_tag(&marks->im_tree, isect, EXTENT_INITIALIZED); in bl_is_sector_init()
184 spin_unlock_bh(&marks->im_lock); in bl_is_sector_init()
219 static int is_range_written(struct pnfs_inval_markings *marks, in is_range_written() argument
224 spin_lock_bh(&marks->im_lock); in is_range_written()
[all …]
Dblocklayout.h108 BL_INIT_INVAL_MARKS(struct pnfs_inval_markings *marks, sector_t blocksize) in BL_INIT_INVAL_MARKS() argument
110 spin_lock_init(&marks->im_lock); in BL_INIT_INVAL_MARKS()
111 INIT_LIST_HEAD(&marks->im_tree.mtt_stub); in BL_INIT_INVAL_MARKS()
112 INIT_LIST_HEAD(&marks->im_extents); in BL_INIT_INVAL_MARKS()
113 marks->im_block_size = blocksize; in BL_INIT_INVAL_MARKS()
114 marks->im_tree.mtt_step_size = min((sector_t)PAGE_CACHE_SECTORS, in BL_INIT_INVAL_MARKS()
189 int bl_mark_sectors_init(struct pnfs_inval_markings *marks,
193 int bl_is_sector_init(struct pnfs_inval_markings *marks, sector_t isect);
205 int bl_push_one_short_extent(struct pnfs_inval_markings *marks);
207 bl_pop_one_short_extent(struct pnfs_inval_markings *marks);
[all …]
Dblocklayout.c935 release_inval_marks(struct pnfs_inval_markings *marks) in release_inval_marks() argument
940 list_for_each_entry_safe(pos, temp, &marks->im_tree.mtt_stub, it_link) { in release_inval_marks()
945 list_for_each_entry_safe(se, stemp, &marks->im_extents, bse_node) { in release_inval_marks()
/fs/affs/
DChanges114 It also marks the inode dirty now (which is not