Home
last modified time | relevance | path

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

12

/linux-6.6.21/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-6.6.21/drivers/gpu/drm/
Ddrm_buddy.c349 u64 block_end; in alloc_range_bias() local
363 block_end = block_start + drm_buddy_block_size(mm, block) - 1; in alloc_range_bias()
365 if (!overlaps(start, end, block_start, block_end)) in alloc_range_bias()
371 if (block_start < start || block_end > end) { in alloc_range_bias()
373 u64 adjusted_end = min(block_end, end); in alloc_range_bias()
380 if (contains(start, end, block_start, block_end) && in alloc_range_bias()
505 u64 block_end; in __alloc_range() local
516 block_end = block_start + drm_buddy_block_size(mm, block) - 1; in __alloc_range()
518 if (!overlaps(start, end, block_start, block_end)) in __alloc_range()
526 if (contains(start, end, block_start, block_end)) { in __alloc_range()
/linux-6.6.21/tools/net/ynl/
Dynl-gen-c.py186 ri.cw.block_end()
1108 def block_end(self, line=''): member in CodeWriter
1194 self.block_end()
1341 cw.block_end(line=';')
1347 cw.block_end(line=';')
1362 cw.block_end()
1379 cw.block_end(line=';')
1397 cw.block_end(line=';')
1421 ri.cw.block_end()
1478 ri.cw.block_end()
[all …]
/linux-6.6.21/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-6.6.21/fs/
Dbuffer.c1978 size_t block_start, block_end; in folio_zero_new_buffers() local
1989 block_end = block_start + bh->b_size; in folio_zero_new_buffers()
1992 if (block_end > from && block_start < to) { in folio_zero_new_buffers()
1997 xend = min(to, block_end); in folio_zero_new_buffers()
2008 block_start = block_end; in folio_zero_new_buffers()
2088 unsigned block_start, block_end; in __block_write_begin_int() local
2106 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin_int()
2107 block_end = block_start + blocksize; in __block_write_begin_int()
2108 if (block_end <= from || block_start >= to) { in __block_write_begin_int()
2134 if (block_end > to || block_start < from) in __block_write_begin_int()
[all …]
/linux-6.6.21/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-6.6.21/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 …]
/linux-6.6.21/drivers/md/
Ddm-bio-prison-v1.c111 if (lhs->block_end <= rhs->block_begin) in cmp_keys()
114 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
128 if (WARN_ON_ONCE(key->block_end - key->block_begin > BIO_PRISON_MAX_RANGE)) in dm_cell_key_has_valid_range()
131 (key->block_end - 1) >> BIO_PRISON_MAX_RANGE_SHIFT)) in dm_cell_key_has_valid_range()
Ddm-bio-prison-v2.h38 dm_block_t block_begin, block_end; member
Ddm-bio-prison-v1.h34 dm_block_t block_begin, block_end; member
Ddm-bio-prison-v2.c103 if (lhs->block_end <= rhs->block_begin) in cmp_keys()
106 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
/linux-6.6.21/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-6.6.21/fs/nilfs2/
Dpage.c434 unsigned int block_start, block_end; in nilfs_page_count_clean_buffers() local
440 block_start = block_end, bh = bh->b_this_page) { in nilfs_page_count_clean_buffers()
441 block_end = block_start + bh->b_size; in nilfs_page_count_clean_buffers()
442 if (block_end > from && block_start < to && !buffer_dirty(bh)) in nilfs_page_count_clean_buffers()
/linux-6.6.21/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-6.6.21/fs/ext4/
Dmove_extent.c176 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local
193 block++, block_start = block_end, bh = bh->b_this_page) { in mext_page_mkuptodate()
194 block_end = block_start + blocksize; in mext_page_mkuptodate()
195 if (block_end <= from || block_start >= to) { in mext_page_mkuptodate()
Dinode.c953 unsigned block_start, block_end; in ext4_walk_page_buffers() local
960 block_start = block_end, bh = next) { in ext4_walk_page_buffers()
962 block_end = block_start + blocksize; in ext4_walk_page_buffers()
963 if (block_end <= from || block_start >= to) { in ext4_walk_page_buffers()
1020 unsigned block_start, block_end; in ext4_block_write_begin() local
1043 block++, block_start = block_end, bh = bh->b_this_page) { in ext4_block_write_begin()
1044 block_end = block_start + blocksize; in ext4_block_write_begin()
1045 if (block_end <= from || block_start >= to) { in ext4_block_write_begin()
1065 if (block_end > to || block_start < from) in ext4_block_write_begin()
1067 block_end, in ext4_block_write_begin()
[all …]
/linux-6.6.21/fs/squashfs/
Dblock.c197 const sector_t block_end = read_end >> msblk->devblksize_log2; in squashfs_bio_read() local
199 int total_len = (block_end - block) << msblk->devblksize_log2; in squashfs_bio_read()
/linux-6.6.21/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()
/linux-6.6.21/arch/arm/mm/
Dmmu.c1198 phys_addr_t block_start, block_end, memblock_limit = 0; in adjust_lowmem_bounds() local
1216 for_each_mem_range(i, &block_start, &block_end) { in adjust_lowmem_bounds()
1226 for_each_mem_range(i, &block_start, &block_end) { in adjust_lowmem_bounds()
1228 if (block_end > lowmem_limit) in adjust_lowmem_bounds()
1237 block_end); in adjust_lowmem_bounds()
1255 else if (!IS_ALIGNED(block_end, PMD_SIZE)) in adjust_lowmem_bounds()
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c501 int block_start, int block_end) in mlxsw_afk_clear() argument
505 for (i = block_start; i <= block_end; i++) in mlxsw_afk_clear()
Dcore_acl_flex_keys.h222 int block_start, int block_end);
/linux-6.6.21/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-6.6.21/fs/btrfs/
Dinode.c4691 u64 block_end; in btrfs_truncate_block() local
4698 block_end = block_start + blocksize - 1; in btrfs_truncate_block()
4753 lock_extent(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4757 unlock_extent(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4765 clear_extent_bit(&inode->io_tree, block_start, block_end, in btrfs_truncate_block()
4769 ret = btrfs_set_extent_delalloc(inode, block_start, block_end, 0, in btrfs_truncate_block()
4772 unlock_extent(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4787 block_end + 1 - block_start); in btrfs_truncate_block()
4788 btrfs_page_set_dirty(fs_info, page, block_start, block_end + 1 - block_start); in btrfs_truncate_block()
4789 unlock_extent(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
[all …]
/linux-6.6.21/fs/iomap/
Dbuffered-io.c637 loff_t block_end = round_up(pos + len, block_size); in __iomap_write_begin() local
663 block_end - block_start, &poff, &plen); in __iomap_write_begin()
688 } while ((block_start += plen) < block_end); in __iomap_write_begin()

12