/linux-master/fs/btrfs/tests/ |
H A D | inode-tests.c | 267 if (em->block_start != EXTENT_MAP_HOLE) { 268 test_err("expected a hole, got %llu", em->block_start); 286 if (em->block_start != EXTENT_MAP_INLINE) { 287 test_err("expected an inline, got %llu", em->block_start); 324 if (em->block_start != EXTENT_MAP_HOLE) { 325 test_err("expected a hole, got %llu", em->block_start); 347 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { 348 test_err("expected a real extent, got %llu", em->block_start); 375 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { 376 test_err("expected a real extent, got %llu", em->block_start); [all...] |
H A D | extent-map-tests.c | 31 "em leak: em (start %llu len %llu block_start %llu block_len %llu) refs %d", 32 em->start, em->len, em->block_start, 79 em->block_start = 0; 100 em->block_start = SZ_32K; /* avoid merging */ 121 em->block_start = start; 137 em->block_start != 0 || em->block_len != SZ_16K) { 139 "case1 [%llu %llu]: ret %d return a wrong em (start %llu len %llu block_start %llu block_len %llu", 141 em->block_start, em->block_len); 175 em->block_start = EXTENT_MAP_INLINE; 196 em->block_start 483 add_compressed_extent(struct btrfs_inode *inode, u64 start, u64 len, u64 block_start) argument [all...] |
/linux-master/fs/isofs/ |
H A D | compress.c | 36 * Read data of @inode from @block_start to @block_end and uncompress 40 static loff_t zisofs_uncompress_block(struct inode *inode, loff_t block_start, argument 49 int i, block_size = block_end - block_start; 54 int needblocks = (block_size + (block_start & bufmask) + bufmask) 77 blocknum = block_start >> bufshift; 138 (block_start & bufmask); 140 (block_start & bufmask), 143 block_start = 0; 210 loff_t block_start, block_end; local 246 block_start [all...] |
/linux-master/fs/btrfs/ |
H A D | extent_map.c | 191 if (em->block_start + em->block_len < em->block_start) 193 return em->block_start + em->block_len; 228 if (next->block_start < EXTENT_MAP_LAST_BYTE - 1) 229 return next->block_start == extent_map_block_end(prev); 232 return next->block_start == prev->block_start; 264 em->block_start = merge->block_start; 564 if (em->block_start < EXTENT_MAP_LAST_BYT [all...] |
H A D | extent_map.h | 95 u64 block_start; member in struct:extent_map
|
H A D | inode.c | 141 u64 len, u64 orig_start, u64 block_start, 1204 ins.objectid, /* block_start */ 1282 if (em->block_start >= EXTENT_MAP_LAST_BYTE) { 1285 if (em && em->block_start < EXTENT_MAP_LAST_BYTE) 1286 alloc_hint = em->block_start; 1290 alloc_hint = em->block_start; 1440 ins.objectid, /* block_start */ 2169 nocow_args.disk_bytenr, /* block_start */ 2684 if (em->block_start != EXTENT_MAP_HOLE) 3242 * writepage where we do ASSERT(em->block_start ! 4728 u64 block_start; local 6989 btrfs_create_dio_extent(struct btrfs_inode *inode, struct btrfs_dio_data *dio_data, const u64 start, const u64 len, const u64 orig_start, const u64 block_start, const u64 block_len, const u64 orig_block_len, const u64 ram_bytes, const int type) argument 7293 create_io_em(struct btrfs_inode *inode, u64 start, u64 len, u64 orig_start, u64 block_start, u64 block_len, u64 orig_block_len, u64 ram_bytes, int compress_type, int type) argument 7382 u64 block_start, orig_start, orig_block_len, ram_bytes; local 10472 u64 block_start; member in struct:btrfs_swap_info [all...] |
H A D | defrag.c | 711 em->block_start = EXTENT_MAP_HOLE; 828 if (!next || next->block_start >= EXTENT_MAP_LAST_BYTE) 995 if (em->block_start == EXTENT_MAP_INLINE && 1000 if (em->block_start == EXTENT_MAP_HOLE || 1065 if (em->block_start == EXTENT_MAP_INLINE)
|
/linux-master/fs/reiserfs/ |
H A D | file.c | 173 unsigned block_start, block_end; local 195 for (bh = head = page_buffers(page), block_start = 0; 196 bh != head || !block_start; 197 block_start = block_end, bh = bh->b_this_page) { 201 block_end = block_start + blocksize; 202 if (block_end <= from || block_start >= to) {
|
/linux-master/kernel/sched/ |
H A D | stats.c | 50 u64 sleep_start, block_start; local 53 block_start = schedstat_val(stats->block_start); 73 if (block_start) { 74 u64 delta = rq_clock(rq) - block_start; 82 __schedstat_set(stats->block_start, 0);
|
/linux-master/drivers/fpga/ |
H A D | microchip-spi.c | 110 u32 block_start, component_size; local 143 block_start = get_unaligned_le32(buf + block_start_offset); 147 bitstream_start = block_start; 148 info->header_size = block_start; 149 if (block_start > count) 154 components_size_start = block_start;
|
/linux-master/fs/cramfs/ |
H A D | inode.c | 827 u32 block_ptr, block_start, block_len; local 843 block_start = block_ptr << CRAMFS_BLK_DIRECT_PTR_SHIFT; 852 cramfs_read(sb, block_start, 2); 853 block_start += 2; 863 block_start = OFFSET(inode) + maxblock * 4; 865 block_start = *(u32 *) 868 if (unlikely(block_start & CRAMFS_BLK_FLAG_DIRECT_PTR)) { 870 u32 prev_start = block_start; 871 block_start = prev_start & ~CRAMFS_BLK_FLAGS; 872 block_start << [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_buddy.c | 183 u64 block_start, block_end; local 188 block_start = drm_buddy_block_offset(block); 189 block_end = block_start + drm_buddy_block_size(mm, block) - 1; 191 if (!contains(start, end, block_start, block_end)) 495 u64 block_start; local 509 block_start = drm_buddy_block_offset(block); 510 block_end = block_start + drm_buddy_block_size(mm, block) - 1; 512 if (!overlaps(start, end, block_start, block_end)) 518 if (block_start < start || block_end > end) { 519 u64 adjusted_start = max(block_start, star 701 u64 block_start; local [all...] |
/linux-master/fs/ocfs2/ |
H A D | aops.c | 419 unsigned block_start, block_end; local 424 for ( bh = head, block_start = 0; 425 ret == 0 && (bh != head || !block_start); 426 block_start = block_end, bh = next) 429 block_end = block_start + blocksize; 430 if (block_end <= from || block_start >= to) { 569 unsigned int block_start) 571 u64 offset = folio_pos(folio) + block_start; 596 unsigned int block_end, block_start; local 603 for (bh = head, block_start 568 ocfs2_should_read_blk(struct inode *inode, struct folio *folio, unsigned int block_start) argument 875 unsigned int block_start, block_end; local [all...] |
/linux-master/fs/nilfs2/ |
H A D | page.c | 438 unsigned int block_start, block_end; local 442 for (bh = head = page_buffers(page), block_start = 0; 443 bh != head || !block_start; 444 block_start = block_end, bh = bh->b_this_page) { 445 block_end = block_start + bh->b_size; 446 if (block_end > from && block_start < to && !buffer_dirty(bh))
|
/linux-master/fs/ext4/ |
H A D | move_extent.c | 176 unsigned int blocksize, block_start, block_end; local 190 for (bh = head, block_start = 0; bh != head || !block_start; 191 block++, block_start = block_end, bh = bh->b_this_page) { 192 block_end = block_start + blocksize; 193 if (block_end <= from || block_start >= to) { 205 folio_zero_range(folio, block_start, blocksize);
|
H A D | page-io.c | 433 unsigned block_start; local 463 block_start = bh_offset(bh); 464 if (block_start >= len) {
|
/linux-master/lib/zlib_deflate/ |
H A D | deflate.c | 546 s->block_start = 0L; 775 s->block_start -= (long) wsize; 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"); 892 Assert(s->block_start >= 0L, "block gone"); 898 max_start = s->block_start + max_block_size; 905 /* Flush if we may have to slide, otherwise block_start ma [all...] |
H A D | defutil.h | 126 long block_start; member in struct:deflate_state
|
/linux-master/fs/ |
H A D | buffer.c | 1989 size_t block_start, block_end; local 1998 block_start = 0; 2000 block_end = block_start + bh->b_size; 2003 if (block_end > from && block_start < to) { 2007 start = max(from, block_start); 2019 block_start = block_end; 2099 size_t block_start, block_end; local 2113 for (bh = head, block_start = 0; bh != head || !block_start; 2114 block++, block_start 2184 size_t block_start, block_end; local 2330 unsigned block_start, block_end, blocksize; local [all...] |
/linux-master/tools/net/ynl/ |
H A D | ynl-gen-c.py | 197 ri.cw.block_start(line=f"{kw} (type == {self.enum_name})") 1264 def block_start(self, line=''): member in class:CodeWriter 1353 self.block_start() 1515 cw.block_start(line=f'struct ynl_policy_attr {struct.render_name}_policy[{type_max} + 1] =') 1523 cw.block_start(line=f'struct ynl_policy_nest {struct.render_name}_nest =') 1535 cw.block_start() 1551 cw.block_start(line=f"static const char * const {map_name}[] =") 1577 cw.block_start(line=f"static const char * const {map_name}[] =") 1597 ri.cw.block_start() 1645 ri.cw.block_start() [all...] |
/linux-master/drivers/mtd/parsers/ |
H A D | afs.c | 227 u32 block_start; local 281 block_start = imginfo[20]; 287 block_start, block_end);
|
/linux-master/arch/arm/mm/ |
H A D | mmu.c | 1198 phys_addr_t block_start, block_end, memblock_limit = 0; local 1216 for_each_mem_range(i, &block_start, &block_end) { 1217 if (!IS_ALIGNED(block_start, PMD_SIZE)) { 1220 len = round_up(block_start, PMD_SIZE) - block_start; 1221 memblock_mark_nomap(block_start, len); 1226 for_each_mem_range(i, &block_start, &block_end) { 1227 if (block_start < vmalloc_limit) { 1253 if (!IS_ALIGNED(block_start, PMD_SIZE)) 1254 memblock_limit = block_start; [all...] |
/linux-master/fs/bcachefs/ |
H A D | fs-io.c | 515 u64 block_start = round_up(offset, block_bytes(c)); local 528 if (block_start < block_end) { 532 block_start >> 9, block_end >> 9, 712 u64 block_start = round_down(offset, block_bytes(c)); local 732 block_start = round_up(offset, block_bytes(c)); 736 ret = __bchfs_fallocate(inode, mode, block_start >> 9, block_end >> 9);
|
/linux-master/fs/iomap/ |
H A D | buffered-io.c | 659 static int iomap_read_folio_sync(loff_t block_start, struct folio *folio, argument 666 bio.bi_iter.bi_sector = iomap_sector(iomap, block_start); 677 loff_t block_start = round_down(pos, block_size); local 703 iomap_adjust_read_range(iter->inode, folio, &block_start, 704 block_end - block_start, &poff, &plen); 713 if (iomap_block_needs_zeroing(iter, block_start)) { 723 status = iomap_read_folio_sync(block_start, folio, 729 } while ((block_start += plen) < block_end);
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_acl_flex_keys.h | 233 int block_start, int block_end);
|