/linux-4.19.296/fs/btrfs/tests/ |
D | extent-map-tests.c | 24 em->start, em->len, em->block_start, in free_extent_map_tree() 66 em->block_start = 0; in test_case_1() 79 em->block_start = SZ_32K; /* avoid merging */ in test_case_1() 92 em->block_start = start; in test_case_1() 99 em->block_start != 0 || em->block_len != SZ_16K)) in test_case_1() 103 em->block_start, em->block_len); in test_case_1() 130 em->block_start = EXTENT_MAP_INLINE; in test_case_2() 143 em->block_start = SZ_4K; in test_case_2() 156 em->block_start = EXTENT_MAP_INLINE; in test_case_2() 163 em->block_start != EXTENT_MAP_INLINE || em->block_len != (u64)-1)) in test_case_2() [all …]
|
D | inode-tests.c | 275 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent() 276 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 294 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent() 295 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 316 if (em->block_start != EXTENT_MAP_INLINE) { in test_btrfs_get_extent() 317 test_err("expected an inline, got %llu", em->block_start); in test_btrfs_get_extent() 344 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent() 345 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent() 367 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in test_btrfs_get_extent() 368 test_err("expected a real extent, got %llu", em->block_start); in test_btrfs_get_extent() [all …]
|
/linux-4.19.296/fs/isofs/ |
D | compress.c | 45 static loff_t zisofs_uncompress_block(struct inode *inode, loff_t block_start, in zisofs_uncompress_block() argument 54 int i, block_size = block_end - block_start; in zisofs_uncompress_block() 59 int needblocks = (block_size + (block_start & bufmask) + bufmask) in zisofs_uncompress_block() 83 blocknum = block_start >> bufshift; in zisofs_uncompress_block() 144 (block_start & bufmask); in zisofs_uncompress_block() 146 (block_start & bufmask), in zisofs_uncompress_block() 149 block_start = 0; in zisofs_uncompress_block() 210 loff_t block_start, block_end; in zisofs_fill_pages() local 246 block_start = le32_to_cpu(*(__le32 *) in zisofs_fill_pages() 262 if (block_start > block_end) { in zisofs_fill_pages() [all …]
|
/linux-4.19.296/fs/reiserfs/ |
D | file.c | 179 unsigned block_start, block_end; in reiserfs_commit_page() local 201 for (bh = head = page_buffers(page), block_start = 0; in reiserfs_commit_page() 202 bh != head || !block_start; in reiserfs_commit_page() 203 block_start = block_end, bh = bh->b_this_page) { in reiserfs_commit_page() 207 block_end = block_start + blocksize; in reiserfs_commit_page() 208 if (block_end <= from || block_start >= to) { in reiserfs_commit_page()
|
/linux-4.19.296/fs/btrfs/ |
D | extent_map.h | 33 u64 block_start; member 71 if (em->block_start + em->block_len < em->block_start) in extent_map_block_end() 73 return em->block_start + em->block_len; in extent_map_block_end()
|
D | extent_map.c | 213 ((next->block_start == EXTENT_MAP_HOLE && in mergable_maps() 214 prev->block_start == EXTENT_MAP_HOLE) || in mergable_maps() 215 (next->block_start == EXTENT_MAP_INLINE && in mergable_maps() 216 prev->block_start == EXTENT_MAP_INLINE) || in mergable_maps() 217 (next->block_start == EXTENT_MAP_DELALLOC && in mergable_maps() 218 prev->block_start == EXTENT_MAP_DELALLOC) || in mergable_maps() 219 (next->block_start < EXTENT_MAP_LAST_BYTE - 1 && in mergable_maps() 220 next->block_start == extent_map_block_end(prev)))) { in mergable_maps() 251 em->block_start = merge->block_start; in try_merge_map() 522 if (em->block_start < EXTENT_MAP_LAST_BYTE && in merge_extent_mapping() [all …]
|
D | file.c | 484 if (em->block_start != EXTENT_MAP_HOLE) in btrfs_find_new_delalloc_bytes() 649 if (em->block_start < EXTENT_MAP_LAST_BYTE) { in btrfs_drop_extent_cache() 651 split->block_start = em->block_start; in btrfs_drop_extent_cache() 663 split->block_start = em->block_start; in btrfs_drop_extent_cache() 687 if (em->block_start < EXTENT_MAP_LAST_BYTE) { in btrfs_drop_extent_cache() 694 split->block_start = em->block_start; in btrfs_drop_extent_cache() 698 split->block_start = em->block_start in btrfs_drop_extent_cache() 706 split->block_start = em->block_start; in btrfs_drop_extent_cache() 2391 hole_em->block_start = EXTENT_MAP_HOLE; in fill_holes() 2432 if (em->block_start == EXTENT_MAP_HOLE) { in find_first_non_hole() [all …]
|
D | inode.c | 97 u64 orig_start, u64 block_start, 945 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in get_extent_allocation_hint() 948 if (em && em->block_start < EXTENT_MAP_LAST_BYTE) in get_extent_allocation_hint() 949 alloc_hint = em->block_start; in get_extent_allocation_hint() 953 alloc_hint = em->block_start; in get_extent_allocation_hint() 4967 u64 block_start; in btrfs_truncate_block() local 4974 block_start = round_down(from, blocksize); in btrfs_truncate_block() 4975 block_end = block_start + blocksize - 1; in btrfs_truncate_block() 4978 block_start, blocksize); in btrfs_truncate_block() 4986 block_start, blocksize, true); in btrfs_truncate_block() [all …]
|
D | extent_io.c | 2259 logical = em->block_start + logical; in btrfs_get_io_failure_record() 2261 logical = em->block_start; in btrfs_get_io_failure_record() 2917 u64 block_start; in __do_readpage() local 2992 offset = em->block_start; in __do_readpage() 2994 offset = em->block_start + extent_offset; in __do_readpage() 2998 block_start = em->block_start; in __do_readpage() 3000 block_start = EXTENT_MAP_HOLE; in __do_readpage() 3048 if (block_start == EXTENT_MAP_HOLE) { in __do_readpage() 3077 if (block_start == EXTENT_MAP_INLINE) { in __do_readpage() 3341 u64 block_start; in __extent_writepage_io() local [all …]
|
D | file-item.c | 966 em->block_start = EXTENT_MAP_HOLE; in btrfs_extent_item_to_extent_map() 972 em->block_start = bytenr; in btrfs_extent_item_to_extent_map() 976 em->block_start = bytenr; in btrfs_extent_item_to_extent_map() 982 em->block_start = EXTENT_MAP_INLINE; in btrfs_extent_item_to_extent_map()
|
D | tree-log.c | 4098 em->block_start == EXTENT_MAP_HOLE) in log_extent_csums() 4112 em->block_start + csum_offset, in log_extent_csums() 4113 em->block_start + csum_offset + in log_extent_csums() 4187 em->block_start, in log_one_extent() 4191 } else if (em->block_start < EXTENT_MAP_LAST_BYTE) { in log_one_extent() 4193 em->block_start - in log_one_extent() 4395 em->block_start != EXTENT_MAP_HOLE) in btrfs_log_changed_extents()
|
/linux-4.19.296/fs/cramfs/ |
D | inode.c | 829 u32 block_ptr, block_start, block_len; in cramfs_readpage() local 845 block_start = block_ptr << CRAMFS_BLK_DIRECT_PTR_SHIFT; in cramfs_readpage() 854 cramfs_read(sb, block_start, 2); in cramfs_readpage() 855 block_start += 2; in cramfs_readpage() 865 block_start = OFFSET(inode) + maxblock * 4; in cramfs_readpage() 867 block_start = *(u32 *) in cramfs_readpage() 870 if (unlikely(block_start & CRAMFS_BLK_FLAG_DIRECT_PTR)) { in cramfs_readpage() 872 u32 prev_start = block_start; in cramfs_readpage() 873 block_start = prev_start & ~CRAMFS_BLK_FLAGS; in cramfs_readpage() 874 block_start <<= CRAMFS_BLK_DIRECT_PTR_SHIFT; in cramfs_readpage() [all …]
|
/linux-4.19.296/fs/ |
D | buffer.c | 1850 unsigned int block_start, block_end; in page_zero_new_buffers() local 1858 block_start = 0; in page_zero_new_buffers() 1860 block_end = block_start + bh->b_size; in page_zero_new_buffers() 1863 if (block_end > from && block_start < to) { in page_zero_new_buffers() 1867 start = max(from, block_start); in page_zero_new_buffers() 1879 block_start = block_end; in page_zero_new_buffers() 1946 unsigned block_start, block_end; in __block_write_begin_int() local 1963 for(bh = head, block_start = 0; bh != head || !block_start; in __block_write_begin_int() 1964 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin_int() 1965 block_end = block_start + blocksize; in __block_write_begin_int() [all …]
|
D | iomap.c | 624 iomap_read_page_sync(struct inode *inode, loff_t block_start, struct page *page, in iomap_read_page_sync() argument 631 if (iomap->type != IOMAP_MAPPED || block_start >= i_size_read(inode)) { in iomap_read_page_sync() 639 bio.bi_iter.bi_sector = iomap_sector(iomap, block_start); in iomap_read_page_sync() 651 loff_t block_start = pos & ~(block_size - 1); in __iomap_write_begin() local 660 iomap_adjust_read_range(inode, iop, &block_start, in __iomap_write_begin() 661 block_end - block_start, &poff, &plen); in __iomap_write_begin() 667 status = iomap_read_page_sync(inode, block_start, page, in __iomap_write_begin() 673 } while ((block_start += plen) < block_end); in __iomap_write_begin()
|
/linux-4.19.296/fs/ocfs2/ |
D | aops.c | 447 unsigned block_start, block_end; in walk_page_buffers() local 452 for ( bh = head, block_start = 0; in walk_page_buffers() 453 ret == 0 && (bh != head || !block_start); in walk_page_buffers() 454 block_start = block_end, bh = next) in walk_page_buffers() 457 block_end = block_start + blocksize; in walk_page_buffers() 458 if (block_end <= from || block_start >= to) { in walk_page_buffers() 597 unsigned int block_start) in ocfs2_should_read_blk() argument 599 u64 offset = page_offset(page) + block_start; in ocfs2_should_read_blk() 623 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local 630 for (bh = head, block_start = 0; bh != head || !block_start; in ocfs2_map_page_blocks() [all …]
|
D | file.c | 775 unsigned zero_from, zero_to, block_start, block_end; in ocfs2_write_zero_page() local 808 for (block_start = zero_from; block_start < zero_to; in ocfs2_write_zero_page() 809 block_start = block_end) { in ocfs2_write_zero_page() 810 block_end = block_start + i_blocksize(inode); in ocfs2_write_zero_page() 817 ret = __block_write_begin(page, block_start + 1, 0, in ocfs2_write_zero_page() 826 ret = block_commit_write(page, block_start + 1, in ocfs2_write_zero_page() 827 block_start + 1); in ocfs2_write_zero_page()
|
/linux-4.19.296/fs/ext4/ |
D | move_extent.c | 172 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local 186 for (bh = head, block_start = 0; bh != head || !block_start; in mext_page_mkuptodate() 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() 203 zero_user(page, block_start, blocksize); in mext_page_mkuptodate()
|
D | page-io.c | 424 unsigned block_start; in ext4_bio_write_page() local 459 block_start = bh_offset(bh); in ext4_bio_write_page() 460 if (block_start >= len) { in ext4_bio_write_page()
|
D | inode.c | 1101 unsigned block_start, block_end; in ext4_walk_page_buffers() local 1106 for (bh = head, block_start = 0; in ext4_walk_page_buffers() 1107 ret == 0 && (bh != head || !block_start); in ext4_walk_page_buffers() 1108 block_start = block_end, bh = next) { in ext4_walk_page_buffers() 1110 block_end = block_start + blocksize; in ext4_walk_page_buffers() 1111 if (block_end <= from || block_start >= to) { in ext4_walk_page_buffers() 1179 unsigned block_start, block_end; in ext4_block_write_begin() local 1198 for (bh = head, block_start = 0; bh != head || !block_start; in ext4_block_write_begin() 1199 block++, block_start = block_end, bh = bh->b_this_page) { in ext4_block_write_begin() 1200 block_end = block_start + blocksize; in ext4_block_write_begin() [all …]
|
/linux-4.19.296/fs/nilfs2/ |
D | page.c | 437 unsigned int block_start, block_end; in nilfs_page_count_clean_buffers() local 441 for (bh = head = page_buffers(page), block_start = 0; in nilfs_page_count_clean_buffers() 442 bh != head || !block_start; in nilfs_page_count_clean_buffers() 443 block_start = block_end, bh = bh->b_this_page) { in nilfs_page_count_clean_buffers() 444 block_end = block_start + bh->b_size; in nilfs_page_count_clean_buffers() 445 if (block_end > from && block_start < to && !buffer_dirty(bh)) in nilfs_page_count_clean_buffers()
|
/linux-4.19.296/lib/zlib_deflate/ |
D | deflate.c | 535 s->block_start = 0L; in lm_init() 764 s->block_start -= (long) wsize; in fill_window() 828 zlib_tr_flush_block(s, (s->block_start >= 0L ? \ 829 (char *)&s->window[(unsigned)s->block_start] : \ 831 (ulg)((long)s->strstart - s->block_start), \ 833 s->block_start = s->strstart; \ 874 s->block_start >= (long)s->w_size, "slide too late"); in deflate_stored() 881 Assert(s->block_start >= 0L, "block gone"); in deflate_stored() 887 max_start = s->block_start + max_block_size; in deflate_stored() 897 if (s->strstart - (uInt)s->block_start >= MAX_DIST(s)) { in deflate_stored()
|
D | defutil.h | 124 long block_start; member
|
D | deftree.c | 996 ulg in_length = (ulg)((long)s->strstart - s->block_start);
|
/linux-4.19.296/fs/ntfs/ |
D | mft.c | 478 unsigned int block_start, block_end, m_start, m_end, page_ofs; in ntfs_sync_mft_mirror() local 527 block_start = 0; in ntfs_sync_mft_mirror() 531 block_end = block_start + blocksize; in ntfs_sync_mft_mirror() 535 if (unlikely(block_start >= m_end)) in ntfs_sync_mft_mirror() 546 (block_start - m_start); in ntfs_sync_mft_mirror() 582 BUG_ON(!nr_bhs && (m_start != block_start)); in ntfs_sync_mft_mirror() 586 } while (block_start = block_end, (bh = bh->b_this_page) != head); in ntfs_sync_mft_mirror() 684 unsigned int block_start, block_end, m_start, m_end; in write_mft_record_nolock() local 707 block_start = 0; in write_mft_record_nolock() 711 block_end = block_start + blocksize; in write_mft_record_nolock() [all …]
|
/linux-4.19.296/include/trace/events/ |
D | btrfs.h | 222 __field( u64, block_start ) 235 __entry->block_start = map->block_start; 251 show_map_type(__entry->block_start),
|