Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
205 loff_t block_start, block_end; in zisofs_fill_pages() local
255 block_end = le32_to_cpu(*(__le32 *) in zisofs_fill_pages()
257 if (block_start > block_end) { in zisofs_fill_pages()
262 ret = zisofs_uncompress_block(inode, block_start, block_end, in zisofs_fill_pages()
281 block_start = block_end; in zisofs_fill_pages()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/
Dbuffer.c1883 unsigned int block_start, block_end; in page_zero_new_buffers() local
1893 block_end = block_start + bh->b_size; in page_zero_new_buffers()
1896 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1901 size = min(to, block_end) - start; in page_zero_new_buffers()
1912 block_start = block_end; in page_zero_new_buffers()
1979 unsigned block_start, block_end; in __block_write_begin_int() local
1997 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin_int()
1998 block_end = block_start + blocksize; in __block_write_begin_int()
1999 if (block_end <= from || block_start >= to) { in __block_write_begin_int()
2026 if (block_end > to || block_start < from) in __block_write_begin_int()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_buddy.c368 u64 block_end; in i915_buddy_alloc_range() local
379 block_end = block_start + i915_buddy_block_size(mm, block) - 1; in i915_buddy_alloc_range()
381 if (!overlaps(start, end, block_start, block_end)) in i915_buddy_alloc_range()
389 if (contains(start, end, block_start, block_end)) { in i915_buddy_alloc_range()
/kernel/linux/linux-5.10/fs/ocfs2/
Daops.c425 unsigned block_start, block_end; in walk_page_buffers() local
432 block_start = block_end, bh = next) in walk_page_buffers()
435 block_end = block_start + blocksize; in walk_page_buffers()
436 if (block_end <= from || block_start >= to) { in walk_page_buffers()
601 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
610 block_end = block_start + bsize; in ocfs2_map_page_blocks()
618 if (block_start >= to || block_end <= from) { in ocfs2_map_page_blocks()
642 (block_start < from || block_end > to)) { in ocfs2_map_page_blocks()
669 block_end = block_start + bsize; in ocfs2_map_page_blocks()
670 if (block_end <= from) in ocfs2_map_page_blocks()
[all …]
Dfile.c763 unsigned zero_from, zero_to, block_start, block_end; in ocfs2_write_zero_page() local
799 block_start = block_end) { in ocfs2_write_zero_page()
800 block_end = block_start + i_blocksize(inode); in ocfs2_write_zero_page()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/nilfs2/
Dpage.c433 unsigned int block_start, block_end; in nilfs_page_count_clean_buffers() local
439 block_start = block_end, bh = bh->b_this_page) { in nilfs_page_count_clean_buffers()
440 block_end = block_start + bh->b_size; in nilfs_page_count_clean_buffers()
441 if (block_end > from && block_start < to && !buffer_dirty(bh)) in nilfs_page_count_clean_buffers()
/kernel/linux/linux-5.10/fs/squashfs/
Dblock.c83 const sector_t block_end = read_end >> msblk->devblksize_log2; in squashfs_bio_read() local
85 int total_len = (block_end - block) << msblk->devblksize_log2; in squashfs_bio_read()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/ext4/
Dmove_extent.c172 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local
187 block++, block_start = block_end, bh = bh->b_this_page) { in mext_page_mkuptodate()
188 block_end = block_start + blocksize; in mext_page_mkuptodate()
189 if (block_end <= from || block_start >= to) { in mext_page_mkuptodate()
Dinode.c964 unsigned block_start, block_end; in ext4_walk_page_buffers() local
971 block_start = block_end, bh = next) { in ext4_walk_page_buffers()
973 block_end = block_start + blocksize; in ext4_walk_page_buffers()
974 if (block_end <= from || block_start >= to) { in ext4_walk_page_buffers()
1042 unsigned block_start, block_end; in ext4_block_write_begin() local
1063 block++, block_start = block_end, bh = bh->b_this_page) { in ext4_block_write_begin()
1064 block_end = block_start + blocksize; in ext4_block_write_begin()
1065 if (block_end <= from || block_start >= to) { in ext4_block_write_begin()
1086 if (block_end > to || block_start < from) in ext4_block_write_begin()
1087 zero_user_segments(page, to, block_end, in ext4_block_write_begin()
[all …]
/kernel/linux/linux-5.10/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()
Ddm-thin.c126 key->block_end = e; in build_key()
1064 r = dm_thin_remove_range(tc->td, m->cell->key.block_begin, m->cell->key.block_end); in process_prepared_discard_no_passdown()
1665 m->virt_end = virt_cell->key.block_end; in process_discard_cell_no_passdown()
1747 break_up_discard_bio(tc, virt_cell->key.block_begin, virt_cell->key.block_end, bio); in process_discard_cell_passdown()
/kernel/linux/linux-5.10/fs/sysv/
Ditree.c80 static inline sysv_zone_t *block_end(struct buffer_head *bh) in block_end() function
359 block_end(bh), depth); in free_branches()
409 free_branches(inode, partial->p + 1, block_end(partial->bh), in sysv_truncate()
/kernel/linux/linux-5.10/arch/arm/mm/
Dmmu.c1177 phys_addr_t block_start, block_end, memblock_limit = 0; in adjust_lowmem_bounds() local
1194 for_each_mem_range(i, &block_start, &block_end) { in adjust_lowmem_bounds()
1204 for_each_mem_range(i, &block_start, &block_end) { in adjust_lowmem_bounds()
1206 if (block_end > lowmem_limit) in adjust_lowmem_bounds()
1215 block_end); in adjust_lowmem_bounds()
1233 else if (!IS_ALIGNED(block_end, PMD_SIZE)) in adjust_lowmem_bounds()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c503 int block_start, int block_end) in mlxsw_afk_clear() argument
507 for (i = block_start; i <= block_end; i++) in mlxsw_afk_clear()
Dcore_acl_flex_keys.h220 int block_start, int block_end);
/kernel/linux/linux-5.10/fs/fat/
Dfatent.c651 sector_t blocknr, block_end; in fat_ra_init() local
670 ops->ent_blocknr(sb, ent_limit - 1, &offset, &block_end); in fat_ra_init()
672 ra->limit = (block_end + 1) - blocknr; in fat_ra_init()
/kernel/linux/linux-5.10/fs/iomap/
Dbuffered-io.c557 loff_t block_end = round_up(pos + len, block_size); in __iomap_write_begin() local
566 block_end - block_start, &poff, &plen); in __iomap_write_begin()
586 } while ((block_start += plen) < block_end); in __iomap_write_begin()
/kernel/linux/linux-5.10/fs/btrfs/
Dinode.c4589 u64 block_end; in btrfs_truncate_block() local
4596 block_end = block_start + blocksize - 1; in btrfs_truncate_block()
4641 lock_extent_bits(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4646 unlock_extent_cached(io_tree, block_start, block_end, in btrfs_truncate_block()
4655 clear_extent_bit(&BTRFS_I(inode)->io_tree, block_start, block_end, in btrfs_truncate_block()
4659 ret = btrfs_set_extent_delalloc(BTRFS_I(inode), block_start, block_end, 0, in btrfs_truncate_block()
4662 unlock_extent_cached(io_tree, block_start, block_end, in btrfs_truncate_block()
4682 unlock_extent_cached(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4686 block_end, EXTENT_NORESERVE, NULL, NULL, in btrfs_truncate_block()
4767 u64 block_end = ALIGN(size, fs_info->sectorsize); in btrfs_cont_expand() local
[all …]

12