Home
last modified time | relevance | path

Searched refs:block_start (Results 1 – 35 of 35) sorted by relevance

/linux-4.4.14/fs/btrfs/tests/
Dinode-tests.c281 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent()
282 test_msg("Expected a hole, got %llu\n", em->block_start); in test_btrfs_get_extent()
304 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent()
305 test_msg("Expected a hole, got %llu\n", em->block_start); in test_btrfs_get_extent()
325 if (em->block_start != EXTENT_MAP_INLINE) { in test_btrfs_get_extent()
326 test_msg("Expected an inline, got %llu\n", em->block_start); in test_btrfs_get_extent()
351 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent()
352 test_msg("Expected a hole, got %llu\n", em->block_start); in test_btrfs_get_extent()
373 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in test_btrfs_get_extent()
374 test_msg("Expected a real extent, got %llu\n", em->block_start); in test_btrfs_get_extent()
[all …]
/linux-4.4.14/fs/isofs/
Dcompress.c43 static loff_t zisofs_uncompress_block(struct inode *inode, loff_t block_start, in zisofs_uncompress_block() argument
52 int i, block_size = block_end - block_start; in zisofs_uncompress_block()
57 int needblocks = (block_size + (block_start & bufmask) + bufmask) in zisofs_uncompress_block()
81 blocknum = block_start >> bufshift; in zisofs_uncompress_block()
138 (block_start & bufmask); in zisofs_uncompress_block()
140 (block_start & bufmask), in zisofs_uncompress_block()
143 block_start = 0; in zisofs_uncompress_block()
203 loff_t block_start, block_end; in zisofs_fill_pages() local
239 block_start = le32_to_cpu(*(__le32 *) in zisofs_fill_pages()
255 if (block_start > block_end) { in zisofs_fill_pages()
[all …]
/linux-4.4.14/fs/btrfs/
Dextent_map.h31 u64 block_start; member
61 if (em->block_start + em->block_len < em->block_start) in extent_map_block_end()
63 return em->block_start + em->block_len; in extent_map_block_end()
Dextent_map.c212 ((next->block_start == EXTENT_MAP_HOLE && in mergable_maps()
213 prev->block_start == EXTENT_MAP_HOLE) || in mergable_maps()
214 (next->block_start == EXTENT_MAP_INLINE && in mergable_maps()
215 prev->block_start == EXTENT_MAP_INLINE) || in mergable_maps()
216 (next->block_start == EXTENT_MAP_DELALLOC && in mergable_maps()
217 prev->block_start == EXTENT_MAP_DELALLOC) || in mergable_maps()
218 (next->block_start < EXTENT_MAP_LAST_BYTE - 1 && in mergable_maps()
219 next->block_start == extent_map_block_end(prev)))) { in mergable_maps()
239 em->block_start = merge->block_start; in try_merge_map()
Dfile.c594 if (em->block_start < EXTENT_MAP_LAST_BYTE) { in btrfs_drop_extent_cache()
596 split->block_start = em->block_start; in btrfs_drop_extent_cache()
608 split->block_start = em->block_start; in btrfs_drop_extent_cache()
632 if (em->block_start < EXTENT_MAP_LAST_BYTE) { in btrfs_drop_extent_cache()
639 split->block_start = em->block_start; in btrfs_drop_extent_cache()
643 split->block_start = em->block_start in btrfs_drop_extent_cache()
651 split->block_start = em->block_start; in btrfs_drop_extent_cache()
2227 hole_em->block_start = EXTENT_MAP_HOLE; in fill_holes()
2270 if (em->block_start == EXTENT_MAP_HOLE) { in find_first_non_hole()
2749 if (em->block_start == EXTENT_MAP_HOLE || in btrfs_fallocate()
[all …]
Dextent_io.c2314 logical = em->block_start + logical; in btrfs_get_io_failure_record()
2316 logical = em->block_start; in btrfs_get_io_failure_record()
2988 u64 block_start; in __do_readpage() local
3069 sector = em->block_start >> 9; in __do_readpage()
3071 sector = (em->block_start + extent_offset) >> 9; in __do_readpage()
3075 block_start = em->block_start; in __do_readpage()
3077 block_start = EXTENT_MAP_HOLE; in __do_readpage()
3125 if (block_start == EXTENT_MAP_HOLE) { in __do_readpage()
3159 if (block_start == EXTENT_MAP_INLINE) { in __do_readpage()
3448 u64 block_start; in __extent_writepage_io() local
[all …]
Dfile-item.c918 em->block_start = EXTENT_MAP_HOLE; in btrfs_extent_item_to_extent_map()
924 em->block_start = bytenr; in btrfs_extent_item_to_extent_map()
928 em->block_start = bytenr; in btrfs_extent_item_to_extent_map()
934 em->block_start = EXTENT_MAP_INLINE; in btrfs_extent_item_to_extent_map()
Dinode.c106 u64 block_start, u64 block_len,
782 em->block_start = ins.objectid; in submit_compressed_extents()
888 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in get_extent_allocation_hint()
891 if (em && em->block_start < EXTENT_MAP_LAST_BYTE) in get_extent_allocation_hint()
892 alloc_hint = em->block_start; in get_extent_allocation_hint()
896 alloc_hint = em->block_start; in get_extent_allocation_hint()
999 em->block_start = ins.objectid; in cow_file_range()
1423 em->block_start = disk_bytenr; in run_delalloc_nocow()
4841 hole_em->block_start = EXTENT_MAP_HOLE; in btrfs_cont_expand()
6691 if (em->block_start < EXTENT_MAP_LAST_BYTE && in merge_extent_mapping()
[all …]
Dtree-log.c3908 em->block_start == EXTENT_MAP_HOLE) in wait_ordered_extents()
4012 em->block_start + csum_offset, in wait_ordered_extents()
4013 em->block_start + csum_offset + in wait_ordered_extents()
4095 em->block_start, in log_one_extent()
4099 } else if (em->block_start < EXTENT_MAP_LAST_BYTE) { in log_one_extent()
4101 em->block_start - in log_one_extent()
Dcompression.c510 (em->block_start >> 9) != cb->orig_bio->bi_iter.bi_sector) { in add_ra_bio_pages()
Dioctl.c1020 if (!next || next->block_start >= EXTENT_MAP_LAST_BYTE) in defrag_check_next_extent()
1022 else if ((em->block_start + em->block_len == next->block_start) && in defrag_check_next_extent()
1053 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in should_defrag_range()
3348 em->block_start = EXTENT_MAP_HOLE; in clone_update_extent_map()
Drelocation.c3066 u64 block_start) argument
3080 em->block_start = block_start;
Dscrub.c4232 if (em->block_start > logical || in check_extent_to_block()
4233 em->block_start + em->block_len < logical + len) { in check_extent_to_block()
Dvolumes.c4726 em->block_start = 0; in __btrfs_alloc_chunk()
6238 em->block_start = 0; in read_one_chunk()
Ddisk-io.c243 em->block_start = 0; in btree_get_extent()
/linux-4.4.14/fs/reiserfs/
Dfile.c179 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.4.14/fs/
Dbuffer.c1870 unsigned int block_start, block_end; in page_zero_new_buffers() local
1878 block_start = 0; in page_zero_new_buffers()
1880 block_end = block_start + bh->b_size; in page_zero_new_buffers()
1883 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1887 start = max(from, block_start); in page_zero_new_buffers()
1899 block_start = block_end; in page_zero_new_buffers()
1911 unsigned block_start, block_end; in __block_write_begin() local
1928 for(bh = head, block_start = 0; bh != head || !block_start; in __block_write_begin()
1929 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin()
1930 block_end = block_start + blocksize; in __block_write_begin()
[all …]
/linux-4.4.14/fs/ocfs2/
Daops.c434 unsigned block_start, block_end; in walk_page_buffers() local
439 for ( bh = head, block_start = 0; in walk_page_buffers()
440 ret == 0 && (bh != head || !block_start); in walk_page_buffers()
441 block_start = block_end, bh = next) in walk_page_buffers()
444 block_end = block_start + blocksize; in walk_page_buffers()
445 if (block_end <= from || block_start >= to) { in walk_page_buffers()
1079 unsigned int block_start) in ocfs2_should_read_blk() argument
1081 u64 offset = page_offset(page) + block_start; in ocfs2_should_read_blk()
1105 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
1112 for (bh = head, block_start = 0; bh != head || !block_start; in ocfs2_map_page_blocks()
[all …]
Dfile.c776 unsigned zero_from, zero_to, block_start, block_end; in ocfs2_write_zero_page() local
809 for (block_start = zero_from; block_start < zero_to; in ocfs2_write_zero_page()
810 block_start = block_end) { in ocfs2_write_zero_page()
811 block_end = block_start + (1 << inode->i_blkbits); in ocfs2_write_zero_page()
818 ret = __block_write_begin(page, block_start + 1, 0, in ocfs2_write_zero_page()
827 ret = block_commit_write(page, block_start + 1, in ocfs2_write_zero_page()
828 block_start + 1); in ocfs2_write_zero_page()
/linux-4.4.14/fs/ext4/
Dmove_extent.c182 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local
196 for (bh = head, block_start = 0; bh != head || !block_start; in mext_page_mkuptodate()
197 block++, block_start = block_end, bh = bh->b_this_page) { in mext_page_mkuptodate()
198 block_end = block_start + blocksize; in mext_page_mkuptodate()
199 if (block_end <= from || block_start >= to) { in mext_page_mkuptodate()
213 zero_user(page, block_start, blocksize); in mext_page_mkuptodate()
Dpage-io.c424 unsigned block_start, blocksize; in ext4_bio_write_page() local
461 block_start = bh_offset(bh); in ext4_bio_write_page()
462 if (block_start >= len) { in ext4_bio_write_page()
Dinode.c839 unsigned block_start, block_end; in ext4_walk_page_buffers() local
844 for (bh = head, block_start = 0; in ext4_walk_page_buffers()
845 ret == 0 && (bh != head || !block_start); in ext4_walk_page_buffers()
846 block_start = block_end, bh = next) { in ext4_walk_page_buffers()
848 block_end = block_start + blocksize; in ext4_walk_page_buffers()
849 if (block_end <= from || block_start >= to) { in ext4_walk_page_buffers()
920 unsigned block_start, block_end; in ext4_block_write_begin() local
939 for (bh = head, block_start = 0; bh != head || !block_start; in ext4_block_write_begin()
940 block++, block_start = block_end, bh = bh->b_this_page) { in ext4_block_write_begin()
941 block_end = block_start + blocksize; in ext4_block_write_begin()
[all …]
/linux-4.4.14/fs/nilfs2/
Dpage.c446 unsigned block_start, block_end; in nilfs_page_count_clean_buffers() local
450 for (bh = head = page_buffers(page), block_start = 0; in nilfs_page_count_clean_buffers()
451 bh != head || !block_start; in nilfs_page_count_clean_buffers()
452 block_start = block_end, bh = bh->b_this_page) { in nilfs_page_count_clean_buffers()
453 block_end = block_start + bh->b_size; in nilfs_page_count_clean_buffers()
454 if (block_end > from && block_start < to && !buffer_dirty(bh)) in nilfs_page_count_clean_buffers()
/linux-4.4.14/lib/zlib_deflate/
Ddeflate.c535 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()
Ddefutil.h124 long block_start; member
Ddeftree.c996 ulg in_length = (ulg)((long)s->strstart - s->block_start);
/linux-4.4.14/fs/ntfs/
Dmft.c475 unsigned int block_start, block_end, m_start, m_end, page_ofs; in ntfs_sync_mft_mirror() local
522 block_start = 0; in ntfs_sync_mft_mirror()
526 block_end = block_start + blocksize; in ntfs_sync_mft_mirror()
530 if (unlikely(block_start >= m_end)) in ntfs_sync_mft_mirror()
541 (block_start - m_start); in ntfs_sync_mft_mirror()
577 BUG_ON(!nr_bhs && (m_start != block_start)); in ntfs_sync_mft_mirror()
581 } while (block_start = block_end, (bh = bh->b_this_page) != head); in ntfs_sync_mft_mirror()
679 unsigned int block_start, block_end, m_start, m_end; in write_mft_record_nolock() local
698 block_start = 0; in write_mft_record_nolock()
702 block_end = block_start + blocksize; in write_mft_record_nolock()
[all …]
/linux-4.4.14/arch/arm/mm/
Dmmu.c1120 phys_addr_t block_start = reg->base; in sanity_check_meminfo() local
1134 &block_start, &block_end); in sanity_check_meminfo()
1144 &block_start, &block_end, &vmalloc_limit); in sanity_check_meminfo()
1173 if (!IS_ALIGNED(block_start, PMD_SIZE)) in sanity_check_meminfo()
1174 memblock_limit = block_start; in sanity_check_meminfo()
/linux-4.4.14/fs/xfs/
Dxfs_aops.c1750 loff_t block_start; in xfs_vm_write_failed() local
1772 block_start = 0; in xfs_vm_write_failed()
1773 for (bh = head; bh != head || !block_start; in xfs_vm_write_failed()
1774 bh = bh->b_this_page, block_start = block_end, in xfs_vm_write_failed()
1776 block_end = block_start + bh->b_size; in xfs_vm_write_failed()
1783 if (block_start >= to) in xfs_vm_write_failed()
/linux-4.4.14/include/trace/events/
Dbtrfs.h182 __field( u64, block_start )
194 __entry->block_start = map->block_start;
209 show_map_type(__entry->block_start),
/linux-4.4.14/kernel/sched/
Ddebug.c80 PN(se->statistics.block_start); in print_cfs_group_stats()
575 PN(se.statistics.block_start); in proc_sched_show_task()
Dfair.c2914 if (se->statistics.block_start) { in enqueue_sleeper()
2915 u64 delta = rq_clock(rq_of(cfs_rq)) - se->statistics.block_start; in enqueue_sleeper()
2923 se->statistics.block_start = 0; in enqueue_sleeper()
3098 se->statistics.block_start = rq_clock(rq_of(cfs_rq)); in dequeue_entity()
Dcore.c7624 p->se.statistics.block_start = 0; in normalize_rt_tasks()
/linux-4.4.14/sound/soc/intel/common/
Dsst-firmware.c574 u32 block_start = SST_HSW_BLOCK_ANY; in block_alloc_contiguous() local
597 if (block->offset < block_start) in block_alloc_contiguous()
598 block_start = block->offset; in block_alloc_contiguous()
/linux-4.4.14/include/linux/
Dsched.h1223 u64 block_start; member