Home
last modified time | relevance | path

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

123

/openbmc/linux/fs/btrfs/tests/
H A Dinode-tests.c267 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent()
268 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
286 if (em->block_start != EXTENT_MAP_INLINE) { in test_btrfs_get_extent()
287 test_err("expected an inline, got %llu", em->block_start); in test_btrfs_get_extent()
324 if (em->block_start != EXTENT_MAP_HOLE) { in test_btrfs_get_extent()
325 test_err("expected a hole, got %llu", em->block_start); in test_btrfs_get_extent()
347 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in test_btrfs_get_extent()
348 test_err("expected a real extent, got %llu", em->block_start); in test_btrfs_get_extent()
375 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in test_btrfs_get_extent()
376 test_err("expected a real extent, got %llu", em->block_start); in test_btrfs_get_extent()
[all …]
H A Dextent-map-tests.c29 em->start, em->len, em->block_start, in free_extent_map_tree()
73 em->block_start = 0; in test_case_1()
94 em->block_start = SZ_32K; /* avoid merging */ in test_case_1()
115 em->block_start = start; in test_case_1()
126 em->block_start != 0 || em->block_len != SZ_16K)) { in test_case_1()
130 em->block_start, em->block_len); in test_case_1()
161 em->block_start = EXTENT_MAP_INLINE; in test_case_2()
182 em->block_start = SZ_4K; in test_case_2()
203 em->block_start = EXTENT_MAP_INLINE; in test_case_2()
214 em->block_start != EXTENT_MAP_INLINE || em->block_len != (u64)-1)) { in test_case_2()
[all …]
/openbmc/linux/fs/isofs/
H A Dcompress.c40 static loff_t zisofs_uncompress_block(struct inode *inode, loff_t block_start, in zisofs_uncompress_block() argument
49 int i, block_size = block_end - block_start; in zisofs_uncompress_block()
54 int needblocks = (block_size + (block_start & bufmask) + bufmask) in zisofs_uncompress_block()
77 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()
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 …]
/openbmc/linux/fs/btrfs/
H A Dextent_map.c210 ASSERT(next->block_start != EXTENT_MAP_DELALLOC && in mergable_maps()
211 prev->block_start != EXTENT_MAP_DELALLOC); in mergable_maps()
220 ((next->block_start == EXTENT_MAP_HOLE && in mergable_maps()
221 prev->block_start == EXTENT_MAP_HOLE) || in mergable_maps()
222 (next->block_start == EXTENT_MAP_INLINE && in mergable_maps()
223 prev->block_start == EXTENT_MAP_INLINE) || in mergable_maps()
224 (next->block_start < EXTENT_MAP_LAST_BYTE - 1 && in mergable_maps()
225 next->block_start == extent_map_block_end(prev)))) { in mergable_maps()
256 em->block_start = merge->block_start; in try_merge_map()
578 if (em->block_start < EXTENT_MAP_LAST_BYTE && in merge_extent_mapping()
[all …]
H A Dextent_map.h43 u64 block_start; member
82 if (em->block_start + em->block_len < em->block_start) in extent_map_block_end()
84 return em->block_start + em->block_len; in extent_map_block_end()
H A Dinode.c133 u64 len, u64 orig_start, u64 block_start,
1230 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { in get_extent_allocation_hint()
1233 if (em && em->block_start < EXTENT_MAP_LAST_BYTE) in get_extent_allocation_hint()
1234 alloc_hint = em->block_start; in get_extent_allocation_hint()
1238 alloc_hint = em->block_start; in get_extent_allocation_hint()
2629 if (em->block_start != EXTENT_MAP_HOLE) in btrfs_find_new_delalloc_bytes()
4708 u64 block_start; in btrfs_truncate_block() local
4715 block_start = round_down(from, blocksize); in btrfs_truncate_block()
4716 block_end = block_start + blocksize - 1; in btrfs_truncate_block()
4718 ret = btrfs_check_data_free_space(inode, &data_reserved, block_start, in btrfs_truncate_block()
[all …]
H A Ddefrag.c568 em->block_start = EXTENT_MAP_HOLE; in defrag_get_extent()
685 if (!next || next->block_start >= EXTENT_MAP_LAST_BYTE) in defrag_check_next_extent()
851 if (em->block_start == EXTENT_MAP_INLINE && in defrag_collect_targets()
856 if (em->block_start == EXTENT_MAP_HOLE || in defrag_collect_targets()
857 em->block_start == EXTENT_MAP_DELALLOC || in defrag_collect_targets()
922 if (em->block_start == EXTENT_MAP_INLINE) in defrag_collect_targets()
/openbmc/linux/kernel/sched/
H A Dstats.c50 u64 sleep_start, block_start; in __update_stats_enqueue_sleeper() local
53 block_start = schedstat_val(stats->block_start); in __update_stats_enqueue_sleeper()
73 if (block_start) { in __update_stats_enqueue_sleeper()
74 u64 delta = rq_clock(rq) - block_start; in __update_stats_enqueue_sleeper()
82 __schedstat_set(stats->block_start, 0); in __update_stats_enqueue_sleeper()
/openbmc/linux/fs/reiserfs/
H A Dfile.c173 unsigned block_start, block_end; in reiserfs_commit_page() local
195 for (bh = head = page_buffers(page), block_start = 0; in reiserfs_commit_page()
196 bh != head || !block_start; in reiserfs_commit_page()
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()
/openbmc/linux/fs/cramfs/
H A Dinode.c827 u32 block_ptr, block_start, block_len; in cramfs_read_folio() local
843 block_start = block_ptr << CRAMFS_BLK_DIRECT_PTR_SHIFT; in cramfs_read_folio()
852 cramfs_read(sb, block_start, 2); in cramfs_read_folio()
853 block_start += 2; in cramfs_read_folio()
863 block_start = OFFSET(inode) + maxblock * 4; in cramfs_read_folio()
865 block_start = *(u32 *) in cramfs_read_folio()
868 if (unlikely(block_start & CRAMFS_BLK_FLAG_DIRECT_PTR)) { in cramfs_read_folio()
870 u32 prev_start = block_start; in cramfs_read_folio()
871 block_start = prev_start & ~CRAMFS_BLK_FLAGS; in cramfs_read_folio()
872 block_start <<= CRAMFS_BLK_DIRECT_PTR_SHIFT; in cramfs_read_folio()
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_buddy.c348 u64 block_start; in alloc_range_bias() local
362 block_start = drm_buddy_block_offset(block); in alloc_range_bias()
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()
372 u64 adjusted_start = max(block_start, start); in alloc_range_bias()
380 if (contains(start, end, block_start, block_end) && in alloc_range_bias()
504 u64 block_start; in __alloc_range() local
515 block_start = drm_buddy_block_offset(block); in __alloc_range()
516 block_end = block_start + drm_buddy_block_size(mm, block) - 1; in __alloc_range()
[all …]
/openbmc/linux/drivers/fpga/
H A Dmicrochip-spi.c110 u32 block_start, component_size; in mpf_ops_parse_header() local
143 block_start = get_unaligned_le32(buf + block_start_offset); in mpf_ops_parse_header()
147 bitstream_start = block_start; in mpf_ops_parse_header()
148 info->header_size = block_start; in mpf_ops_parse_header()
149 if (block_start > count) in mpf_ops_parse_header()
154 components_size_start = block_start; in mpf_ops_parse_header()
/openbmc/linux/fs/ocfs2/
H A Daops.c421 unsigned block_start, block_end; in walk_page_buffers() local
426 for ( bh = head, block_start = 0; in walk_page_buffers()
427 ret == 0 && (bh != head || !block_start); in walk_page_buffers()
428 block_start = block_end, bh = next) in walk_page_buffers()
431 block_end = block_start + blocksize; in walk_page_buffers()
432 if (block_end <= from || block_start >= to) { in walk_page_buffers()
571 unsigned int block_start) in ocfs2_should_read_blk() argument
573 u64 offset = page_offset(page) + block_start; in ocfs2_should_read_blk()
597 unsigned int block_end, block_start; in ocfs2_map_page_blocks() local
604 for (bh = head, block_start = 0; bh != head || !block_start; in ocfs2_map_page_blocks()
[all …]
/openbmc/linux/tools/net/ynl/
H A Dynl-gen-c.py167 ri.cw.block_start(line=f"{kw} (type == {self.enum_name})")
1105 def block_start(self, line=''): member in CodeWriter
1194 self.block_start()
1339 cw.block_start(line=f'struct ynl_policy_attr {struct.render_name}_policy[{type_max} + 1] =')
1347 cw.block_start(line=f'struct ynl_policy_nest {struct.render_name}_nest =')
1359 cw.block_start()
1375 cw.block_start(line=f"static const char * const {map_name}[] =")
1397 cw.block_start(line=f"static const char * const {map_name}[] =")
1412 ri.cw.block_start()
1455 ri.cw.block_start()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dteamcity.py73 def block_start(self, name): member in TeamCityUI
273 ui.block_start("{0} task log".format(rt))
304 ui.block_start(event.processname)
314 ui.block_start("Loading cache")
322 ui.block_start("Parsing recipes and checking upstream revisions")
347 ui.block_start("Running tasks")
354 ui.block_start("Running tasks")
/openbmc/linux/fs/
H A Dbuffer.c1982 size_t block_start, block_end; in folio_zero_new_buffers() local
1991 block_start = 0; in folio_zero_new_buffers()
1993 block_end = block_start + bh->b_size; in folio_zero_new_buffers()
1996 if (block_end > from && block_start < to) { in folio_zero_new_buffers()
2000 start = max(from, block_start); in folio_zero_new_buffers()
2012 block_start = block_end; in folio_zero_new_buffers()
2092 unsigned block_start, block_end; in __block_write_begin_int() local
2109 for(bh = head, block_start = 0; bh != head || !block_start; in __block_write_begin_int()
2110 block++, block_start=block_end, bh = bh->b_this_page) { in __block_write_begin_int()
2111 block_end = block_start + blocksize; in __block_write_begin_int()
[all …]
/openbmc/linux/fs/nilfs2/
H A Dpage.c437 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()
/openbmc/linux/fs/ext4/
H A Dmove_extent.c174 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local
192 for (bh = head, block_start = 0; bh != head || !block_start; in mext_page_mkuptodate()
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()
207 folio_zero_range(folio, block_start, blocksize); in mext_page_mkuptodate()
/openbmc/linux/lib/zlib_deflate/
H A Ddeflate.c546 s->block_start = 0L; in lm_init()
775 s->block_start -= (long) wsize; in fill_window()
839 zlib_tr_flush_block(s, (s->block_start >= 0L ? \
840 (char *)&s->window[(unsigned)s->block_start] : \
842 (ulg)((long)s->strstart - s->block_start), \
844 s->block_start = s->strstart; \
885 s->block_start >= (long)s->w_size, "slide too late"); in deflate_stored()
892 Assert(s->block_start >= 0L, "block gone"); in deflate_stored()
898 max_start = s->block_start + max_block_size; in deflate_stored()
908 if (s->strstart - (uInt)s->block_start >= MAX_DIST(s)) { in deflate_stored()
/openbmc/u-boot/cmd/
H A Darmflash.c120 u32 block_start, block_end; in parse_bank() local
131 block_start = readl((void *)imginfo+0x54); in parse_bank()
133 afi->flash_mem_start = afi->flinfo->start[block_start]; in parse_bank()
H A Dnand.c157 ulong block_start = 0; in do_nand_status() local
173 print_status(block_start, off, mtd->erasesize, in do_nand_status()
175 block_start = off; in do_nand_status()
180 print_status(block_start, off, mtd->erasesize, last_status); in do_nand_status()
/openbmc/linux/arch/arm/mm/
H A 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()
1217 if (!IS_ALIGNED(block_start, PMD_SIZE)) { in adjust_lowmem_bounds()
1220 len = round_up(block_start, PMD_SIZE) - block_start; in adjust_lowmem_bounds()
1221 memblock_mark_nomap(block_start, len); in adjust_lowmem_bounds()
1226 for_each_mem_range(i, &block_start, &block_end) { in adjust_lowmem_bounds()
1227 if (block_start < vmalloc_limit) { in adjust_lowmem_bounds()
1253 if (!IS_ALIGNED(block_start, PMD_SIZE)) in adjust_lowmem_bounds()
1254 memblock_limit = block_start; in adjust_lowmem_bounds()
/openbmc/linux/drivers/mtd/parsers/
H A Dafs.c227 u32 block_start; in afs_parse_v2_partition() local
281 block_start = imginfo[20]; in afs_parse_v2_partition()
287 block_start, block_end); in afs_parse_v2_partition()
/openbmc/u-boot/lib/zlib/
H A Ddeflate.c337 s->block_start = (long)length;
850 s->block_start = 0L;
1035 s->block_start = 0L;
1335 s->block_start -= (long) wsize;
1435 _tr_flush_block(s, (s->block_start >= 0L ? \
1436 (charf *)&s->window[(unsigned)s->block_start] : \
1438 (ulg)((long)s->strstart - s->block_start), \
1440 s->block_start = s->strstart; \
1480 s->block_start >= (long)s->w_size, "slide too late");
1487 Assert(s->block_start >= 0L, "block gone");
[all …]
/openbmc/linux/fs/ntfs/
H A Dmft.c464 unsigned int block_start, block_end, m_start, m_end, page_ofs; in ntfs_sync_mft_mirror() local
513 block_start = 0; in ntfs_sync_mft_mirror()
517 block_end = block_start + blocksize; in ntfs_sync_mft_mirror()
521 if (unlikely(block_start >= m_end)) in ntfs_sync_mft_mirror()
532 (block_start - m_start); in ntfs_sync_mft_mirror()
568 BUG_ON(!nr_bhs && (m_start != block_start)); 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
693 block_start = 0; in write_mft_record_nolock()
697 block_end = block_start + blocksize; in write_mft_record_nolock()
[all …]

123