Home
last modified time | relevance | path

Searched refs:block_end (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v6.1/fs/isofs/
Dcompress.c41 loff_t block_end, int pcount, in zisofs_uncompress_block() argument
49 int i, block_size = block_end - block_start; in zisofs_uncompress_block()
210 loff_t block_start, block_end; in zisofs_fill_pages() local
260 block_end = le32_to_cpu(*(__le32 *) in zisofs_fill_pages()
262 if (block_start > block_end) { in zisofs_fill_pages()
267 ret = zisofs_uncompress_block(inode, block_start, block_end, in zisofs_fill_pages()
286 block_start = block_end; in zisofs_fill_pages()
/Linux-v6.1/fs/reiserfs/
Dfile.c173 unsigned block_start, block_end; in reiserfs_commit_page() local
197 block_start = block_end, bh = bh->b_this_page) { in reiserfs_commit_page()
201 block_end = block_start + blocksize; in reiserfs_commit_page()
202 if (block_end <= from || block_start >= to) { in reiserfs_commit_page()
/Linux-v6.1/drivers/gpu/drm/
Ddrm_buddy.c330 u64 block_end; in alloc_range_bias() local
344 block_end = block_start + drm_buddy_block_size(mm, block) - 1; in alloc_range_bias()
346 if (!overlaps(start, end, block_start, block_end)) in alloc_range_bias()
352 if (contains(start, end, block_start, block_end) && in alloc_range_bias()
468 u64 block_end; in __alloc_range() local
479 block_end = block_start + drm_buddy_block_size(mm, block) - 1; in __alloc_range()
481 if (!overlaps(start, end, block_start, block_end)) in __alloc_range()
489 if (contains(start, end, block_start, block_end)) { in __alloc_range()
/Linux-v6.1/fs/
Dbuffer.c1863 unsigned int block_start, block_end; in page_zero_new_buffers() local
1873 block_end = block_start + bh->b_size; in page_zero_new_buffers()
1876 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1881 size = min(to, block_end) - start; in page_zero_new_buffers()
1892 block_start = block_end; in page_zero_new_buffers()
1959 unsigned block_start, block_end; in __block_write_begin_int() local
1977 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin_int()
1978 block_end = block_start + blocksize; in __block_write_begin_int()
1979 if (block_end <= from || block_start >= to) { in __block_write_begin_int()
2006 if (block_end > to || block_start < from) in __block_write_begin_int()
[all …]
/Linux-v6.1/fs/ntfs3/lib/
Dlzx_decompress.c477 u8 * const block_end = out_next + block_size; in lzx_decompress_block() local
554 if (match_len > (size_t)(block_end - out_next)) in lzx_decompress_block()
561 block_end, LZX_MIN_MATCH_LEN); in lzx_decompress_block()
563 } while (out_next != block_end); in lzx_decompress_block()
/Linux-v6.1/fs/ocfs2/
Daops.c422 unsigned block_start, block_end; in walk_page_buffers() local
429 block_start = block_end, bh = next) in walk_page_buffers()
432 block_end = block_start + blocksize; in walk_page_buffers()
433 if (block_end <= from || block_start >= to) { in walk_page_buffers()
598 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
607 block_end = block_start + bsize; in ocfs2_map_page_blocks()
615 if (block_start >= to || block_end <= from) { in ocfs2_map_page_blocks()
638 (block_start < from || block_end > to)) { in ocfs2_map_page_blocks()
665 block_end = block_start + bsize; in ocfs2_map_page_blocks()
666 if (block_end <= from) in ocfs2_map_page_blocks()
[all …]
Dfile.c758 unsigned zero_from, zero_to, block_start, block_end; in ocfs2_write_zero_page() local
794 block_start = block_end) { in ocfs2_write_zero_page()
795 block_end = block_start + i_blocksize(inode); in ocfs2_write_zero_page()
/Linux-v6.1/drivers/mtd/parsers/
Dafs.c228 u32 block_end; in afs_parse_v2_partition() local
282 block_end = imginfo[21]; in afs_parse_v2_partition()
287 block_start, block_end); in afs_parse_v2_partition()
/Linux-v6.1/fs/nilfs2/
Dpage.c425 unsigned int block_start, block_end; in nilfs_page_count_clean_buffers() local
431 block_start = block_end, bh = bh->b_this_page) { in nilfs_page_count_clean_buffers()
432 block_end = block_start + bh->b_size; in nilfs_page_count_clean_buffers()
433 if (block_end > from && block_start < to && !buffer_dirty(bh)) in nilfs_page_count_clean_buffers()
/Linux-v6.1/fs/squashfs/
Dblock.c86 const sector_t block_end = read_end >> msblk->devblksize_log2; in squashfs_bio_read() local
88 int total_len = (block_end - block) << msblk->devblksize_log2; in squashfs_bio_read()
/Linux-v6.1/fs/minix/
Ditree_common.c25 static inline block_t *block_end(struct buffer_head *bh) in block_end() function
291 block_end(bh), depth); in free_branches()
336 free_branches(inode, partial->p + 1, block_end(partial->bh), in truncate()
/Linux-v6.1/fs/ext4/
Dmove_extent.c174 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local
189 block++, block_start = block_end, bh = bh->b_this_page) { in mext_page_mkuptodate()
190 block_end = block_start + blocksize; in mext_page_mkuptodate()
191 if (block_end <= from || block_start >= to) { in mext_page_mkuptodate()
Dinode.c980 unsigned block_start, block_end; in ext4_walk_page_buffers() local
987 block_start = block_end, bh = next) { in ext4_walk_page_buffers()
989 block_end = block_start + blocksize; in ext4_walk_page_buffers()
990 if (block_end <= from || block_start >= to) { in ext4_walk_page_buffers()
1059 unsigned block_start, block_end; in ext4_block_write_begin() local
1080 block++, block_start = block_end, bh = bh->b_this_page) { in ext4_block_write_begin()
1081 block_end = block_start + blocksize; in ext4_block_write_begin()
1082 if (block_end <= from || block_start >= to) { in ext4_block_write_begin()
1102 if (block_end > to || block_start < from) in ext4_block_write_begin()
1103 zero_user_segments(page, to, block_end, in ext4_block_write_begin()
[all …]
/Linux-v6.1/drivers/md/
Ddm-bio-prison-v2.h37 dm_block_t block_begin, block_end; member
Ddm-bio-prison-v1.h33 dm_block_t block_begin, block_end; member
Ddm-bio-prison-v2.c102 if (lhs->block_end <= rhs->block_begin) in cmp_keys()
105 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
Ddm-bio-prison-v1.c100 if (lhs->block_end <= rhs->block_begin) in cmp_keys()
103 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
/Linux-v6.1/fs/sysv/
Ditree.c80 static inline sysv_zone_t *block_end(struct buffer_head *bh) in block_end() function
355 block_end(bh), depth); in free_branches()
405 free_branches(inode, partial->p + 1, block_end(partial->bh), in sysv_truncate()
/Linux-v6.1/arch/arm/mm/
Dmmu.c1197 phys_addr_t block_start, block_end, memblock_limit = 0; in adjust_lowmem_bounds() local
1215 for_each_mem_range(i, &block_start, &block_end) { in adjust_lowmem_bounds()
1225 for_each_mem_range(i, &block_start, &block_end) { in adjust_lowmem_bounds()
1227 if (block_end > lowmem_limit) in adjust_lowmem_bounds()
1236 block_end); in adjust_lowmem_bounds()
1254 else if (!IS_ALIGNED(block_end, PMD_SIZE)) in adjust_lowmem_bounds()
/Linux-v6.1/fs/ntfs/
Dmft.c464 unsigned int block_start, block_end, m_start, m_end, page_ofs; in ntfs_sync_mft_mirror() local
517 block_end = block_start + blocksize; in ntfs_sync_mft_mirror()
519 if (block_end <= m_start) in ntfs_sync_mft_mirror()
571 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in ntfs_sync_mft_mirror()
572 } while (block_start = block_end, (bh = bh->b_this_page) != head); in ntfs_sync_mft_mirror()
670 unsigned int block_start, block_end, m_start, m_end; in write_mft_record_nolock() local
697 block_end = block_start + blocksize; in write_mft_record_nolock()
699 if (block_end <= m_start) in write_mft_record_nolock()
758 BUG_ON((nr_bhs >= max_bhs) && (m_end != block_end)); in write_mft_record_nolock()
759 } while (block_start = block_end, (bh = bh->b_this_page) != head); in write_mft_record_nolock()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c499 int block_start, int block_end) in mlxsw_afk_clear() argument
503 for (i = block_start; i <= block_end; i++) in mlxsw_afk_clear()
Dcore_acl_flex_keys.h220 int block_start, int block_end);
/Linux-v6.1/fs/fat/
Dfatent.c652 sector_t blocknr, block_end; in fat_ra_init() local
671 ops->ent_blocknr(sb, ent_limit - 1, &offset, &block_end); in fat_ra_init()
673 ra->limit = (block_end + 1) - blocknr; in fat_ra_init()
/Linux-v6.1/fs/iomap/
Dbuffered-io.c533 loff_t block_end = round_up(pos + len, block_size); in __iomap_write_begin() local
548 block_end - block_start, &poff, &plen); in __iomap_write_begin()
573 } while ((block_start += plen) < block_end); in __iomap_write_begin()
/Linux-v6.1/fs/btrfs/
Dinode.c4878 u64 block_end; in btrfs_truncate_block() local
4885 block_end = block_start + blocksize - 1; in btrfs_truncate_block()
4932 lock_extent(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4936 unlock_extent(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4944 clear_extent_bit(&inode->io_tree, block_start, block_end, in btrfs_truncate_block()
4948 ret = btrfs_set_extent_delalloc(inode, block_start, block_end, 0, in btrfs_truncate_block()
4951 unlock_extent(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4966 block_end + 1 - block_start); in btrfs_truncate_block()
4967 btrfs_page_set_dirty(fs_info, page, block_start, block_end + 1 - block_start); in btrfs_truncate_block()
4968 unlock_extent(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
[all …]

12