Home
last modified time | relevance | path

Searched refs:start_block (Results 1 - 25 of 92) sorted by relevance

1234

/kernel/linux/linux-5.10/init/
H A Ddo_mounts_rd.c70 int start_block = rd_image_start; in identify_ramdisk_image() local
85 pos = start_block * BLOCK_SIZE; in identify_ramdisk_image()
91 compress_name, start_block); in identify_ramdisk_image()
105 start_block); in identify_ramdisk_image()
113 start_block); in identify_ramdisk_image()
122 start_block); in identify_ramdisk_image()
131 pos = start_block * BLOCK_SIZE + 0x200; in identify_ramdisk_image()
137 start_block); in identify_ramdisk_image()
145 pos = (start_block + 1) * BLOCK_SIZE; in identify_ramdisk_image()
153 start_block); in identify_ramdisk_image()
[all...]
/kernel/linux/linux-6.6/init/
H A Ddo_mounts_rd.c70 int start_block = rd_image_start; in identify_ramdisk_image() local
85 pos = start_block * BLOCK_SIZE; in identify_ramdisk_image()
91 compress_name, start_block); in identify_ramdisk_image()
105 start_block); in identify_ramdisk_image()
113 start_block); in identify_ramdisk_image()
122 start_block); in identify_ramdisk_image()
131 pos = start_block * BLOCK_SIZE + 0x200; in identify_ramdisk_image()
137 start_block); in identify_ramdisk_image()
145 pos = (start_block + 1) * BLOCK_SIZE; in identify_ramdisk_image()
153 start_block); in identify_ramdisk_image()
[all...]
/kernel/linux/linux-5.10/fs/squashfs/
H A Dfragment.c41 u64 start_block; in squashfs_frag_lookup() local
48 start_block = le64_to_cpu(msblk->fragment_index[block]); in squashfs_frag_lookup()
50 size = squashfs_read_metadata(sb, &fragment_entry, &start_block, in squashfs_frag_lookup()
55 *fragment_block = le64_to_cpu(fragment_entry.start_block); in squashfs_frag_lookup()
H A Dsquashfs_fs.h264 __le32 start_block; member
341 __le32 start_block; member
355 __le64 start_block; member
372 __le32 start_block; member
388 __le32 start_block; member
419 __le32 start_block; member
424 __le64 start_block; member
H A Did.c38 u64 start_block; in squashfs_get_id() local
45 start_block = le64_to_cpu(msblk->id_table[block]); in squashfs_get_id()
47 err = squashfs_read_metadata(sb, &disk_id, &start_block, &offset, in squashfs_get_id()
H A Dxattr_id.c34 u64 start_block; in squashfs_xattr_lookup() local
41 start_block = le64_to_cpu(msblk->xattr_id_table[block]); in squashfs_xattr_lookup()
43 err = squashfs_read_metadata(sb, &id, &start_block, &offset, in squashfs_xattr_lookup()
H A Dcache.c376 * Look-up in the fragmment cache the fragment located at <start_block> in the
380 u64 start_block, int length) in squashfs_get_fragment()
384 return squashfs_cache_get(sb, msblk->fragment_cache, start_block, in squashfs_get_fragment()
390 * Read and decompress the datablock located at <start_block> in the
395 u64 start_block, int length) in squashfs_get_datablock()
399 return squashfs_cache_get(sb, msblk->read_page, start_block, length); in squashfs_get_datablock()
379 squashfs_get_fragment(struct super_block *sb, u64 start_block, int length) squashfs_get_fragment() argument
394 squashfs_get_datablock(struct super_block *sb, u64 start_block, int length) squashfs_get_datablock() argument
H A Dnamei.c108 *next_block = le32_to_cpu(index->start_block) + in get_dir_index_using_name()
202 blk = le32_to_cpu(dirh.start_block); in squashfs_lookup()
/kernel/linux/linux-6.6/fs/squashfs/
H A Dfragment.c41 u64 start_block; in squashfs_frag_lookup() local
48 start_block = le64_to_cpu(msblk->fragment_index[block]); in squashfs_frag_lookup()
50 size = squashfs_read_metadata(sb, &fragment_entry, &start_block, in squashfs_frag_lookup()
55 *fragment_block = le64_to_cpu(fragment_entry.start_block); in squashfs_frag_lookup()
H A Dsquashfs_fs.h264 __le32 start_block; member
341 __le32 start_block; member
355 __le64 start_block; member
372 __le32 start_block; member
388 __le32 start_block; member
419 __le32 start_block; member
424 __le64 start_block; member
H A Did.c38 u64 start_block; in squashfs_get_id() local
45 start_block = le64_to_cpu(msblk->id_table[block]); in squashfs_get_id()
47 err = squashfs_read_metadata(sb, &disk_id, &start_block, &offset, in squashfs_get_id()
H A Dxattr_id.c34 u64 start_block; in squashfs_xattr_lookup() local
41 start_block = le64_to_cpu(msblk->xattr_id_table[block]); in squashfs_xattr_lookup()
43 err = squashfs_read_metadata(sb, &id, &start_block, &offset, in squashfs_xattr_lookup()
H A Dcache.c376 * Look-up in the fragmment cache the fragment located at <start_block> in the
380 u64 start_block, int length) in squashfs_get_fragment()
384 return squashfs_cache_get(sb, msblk->fragment_cache, start_block, in squashfs_get_fragment()
390 * Read and decompress the datablock located at <start_block> in the
395 u64 start_block, int length) in squashfs_get_datablock()
399 return squashfs_cache_get(sb, msblk->read_page, start_block, length); in squashfs_get_datablock()
379 squashfs_get_fragment(struct super_block *sb, u64 start_block, int length) squashfs_get_fragment() argument
394 squashfs_get_datablock(struct super_block *sb, u64 start_block, int length) squashfs_get_datablock() argument
H A Dnamei.c108 *next_block = le32_to_cpu(index->start_block) + in get_dir_index_using_name()
202 blk = le32_to_cpu(dirh.start_block); in squashfs_lookup()
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dextents.c34 k1s = k1->ext.start_block; in hfsplus_ext_cmp_key()
35 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
46 key->ext.start_block = cpu_to_be32(block); in hfsplus_ext_build_key()
59 return be32_to_cpu(ext->start_block) + off; in hfsplus_ext_find_block()
84 return be32_to_cpu(ext->start_block) + be32_to_cpu(ext->block_count); in hfsplus_ext_lastblock()
196 hip->cached_start = be32_to_cpu(fd->key->ext.start_block); in __hfsplus_ext_cache_extent()
304 be32_to_cpu(extent[i].start_block), in hfsplus_dump_extent()
319 start = be32_to_cpu(extent->start_block); in hfsplus_add_extent()
324 extent->start_block = cpu_to_be32(alloc_block); in hfsplus_add_extent()
361 start = be32_to_cpu(extent->start_block); in hfsplus_free_extents()
[all...]
H A Dhfsplus_raw.h90 __be32 start_block; member
344 __be32 start_block; member
361 __be32 start_block; member
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dextents.c34 k1s = k1->ext.start_block; in hfsplus_ext_cmp_key()
35 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
46 key->ext.start_block = cpu_to_be32(block); in hfsplus_ext_build_key()
59 return be32_to_cpu(ext->start_block) + off; in hfsplus_ext_find_block()
84 return be32_to_cpu(ext->start_block) + be32_to_cpu(ext->block_count); in hfsplus_ext_lastblock()
196 hip->cached_start = be32_to_cpu(fd->key->ext.start_block); in __hfsplus_ext_cache_extent()
304 be32_to_cpu(extent[i].start_block), in hfsplus_dump_extent()
319 start = be32_to_cpu(extent->start_block); in hfsplus_add_extent()
324 extent->start_block = cpu_to_be32(alloc_block); in hfsplus_add_extent()
361 start = be32_to_cpu(extent->start_block); in hfsplus_free_extents()
[all...]
/kernel/liteos_a/drivers/mtd/multi_partition/include/
H A Dmtd_partition.h57 UINT32 start_block; member
89 (node)->start_block = (startAddr) / (blkSize); \
90 (node)->end_block = (len) / (blkSize) + ((node)->start_block - 1); \
/kernel/liteos_a/drivers/mtd/multi_partition/src/
H A Dmtd_shellcmd.c70 (node->start_block * param->block_size), in osShellCmdPartitionShow()
71 ((node->end_block - node->start_block) + 1) * param->block_size); in osShellCmdPartitionShow()
/kernel/linux/linux-5.10/fs/ext2/
H A Dballoc.c728 * We have both head and start_block to assist the search
730 * but we will shift to the place where start_block is,
735 * @start_block: the first block we consider to start the real search from
746 * reservation double linked list, (start_block, last_block)
755 ext2_fsblk_t start_block, in find_next_reservable_window()
764 /* cur = *start_block & ~7;*/ in find_next_reservable_window()
765 cur = start_block; in find_next_reservable_window()
878 ext2_fsblk_t group_first_block, group_end_block, start_block; in alloc_new_reservation() local
889 start_block = group_first_block; in alloc_new_reservation()
891 start_block in alloc_new_reservation()
751 find_next_reservable_window( struct ext2_reserve_window_node *search_head, struct ext2_reserve_window_node *my_rsv, struct super_block * sb, ext2_fsblk_t start_block, ext2_fsblk_t last_block) find_next_reservable_window() argument
[all...]
/kernel/linux/linux-6.6/fs/ext2/
H A Dballoc.c723 * @start_block: The first block we consider to start the real search from
731 * linked list, (start_block, last_block) to find a free region that is
735 * We have both head and @start_block to assist the search for the
737 * the place where start_block is, then start from there, when looking
752 ext2_fsblk_t start_block, in find_next_reservable_window()
761 /* cur = *start_block & ~7;*/ in find_next_reservable_window()
762 cur = start_block; in find_next_reservable_window()
868 ext2_fsblk_t group_first_block, group_end_block, start_block; in alloc_new_reservation() local
879 start_block = group_first_block; in alloc_new_reservation()
881 start_block in alloc_new_reservation()
748 find_next_reservable_window( struct ext2_reserve_window_node *search_head, struct ext2_reserve_window_node *my_rsv, struct super_block * sb, ext2_fsblk_t start_block, ext2_fsblk_t last_block) find_next_reservable_window() argument
[all...]
/kernel/linux/linux-5.10/fs/nilfs2/
H A Dsufile.c1066 sector_t seg_start, seg_end, start_block, end_block; in nilfs_sufile_trim_fs() local
1081 start_block = (range->start + nilfs->ns_blocksize - 1) >> in nilfs_sufile_trim_fs()
1089 if (max_blocks - start_block < len) in nilfs_sufile_trim_fs()
1092 end_block = start_block + len - 1; in nilfs_sufile_trim_fs()
1094 segnum = nilfs_get_segnum_of_block(nilfs, start_block); in nilfs_sufile_trim_fs()
1137 if (start < start_block) { in nilfs_sufile_trim_fs()
1138 nblocks -= start_block - start; in nilfs_sufile_trim_fs()
1139 start = start_block; in nilfs_sufile_trim_fs()
1171 if (start < start_block) { in nilfs_sufile_trim_fs()
1172 nblocks -= start_block in nilfs_sufile_trim_fs()
[all...]
/kernel/linux/linux-6.6/fs/nilfs2/
H A Dsufile.c1066 sector_t seg_start, seg_end, start_block, end_block; in nilfs_sufile_trim_fs() local
1081 start_block = (range->start + nilfs->ns_blocksize - 1) >> in nilfs_sufile_trim_fs()
1089 if (max_blocks - start_block < len) in nilfs_sufile_trim_fs()
1092 end_block = start_block + len - 1; in nilfs_sufile_trim_fs()
1094 segnum = nilfs_get_segnum_of_block(nilfs, start_block); in nilfs_sufile_trim_fs()
1137 if (start < start_block) { in nilfs_sufile_trim_fs()
1138 nblocks -= start_block - start; in nilfs_sufile_trim_fs()
1139 start = start_block; in nilfs_sufile_trim_fs()
1171 if (start < start_block) { in nilfs_sufile_trim_fs()
1172 nblocks -= start_block in nilfs_sufile_trim_fs()
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/
H A Dadv748x-hdmi.c471 if (edid->start_block == 0 && edid->blocks == 0) { in adv748x_hdmi_get_edid()
476 if (edid->start_block >= hdmi->edid.blocks) in adv748x_hdmi_get_edid()
479 if (edid->start_block + edid->blocks > hdmi->edid.blocks) in adv748x_hdmi_get_edid()
480 edid->blocks = hdmi->edid.blocks - edid->start_block; in adv748x_hdmi_get_edid()
482 memcpy(edid->edid, hdmi->edid.edid + edid->start_block * 128, in adv748x_hdmi_get_edid()
520 if (edid->start_block != 0) in adv748x_hdmi_set_edid()
/kernel/linux/linux-6.6/drivers/media/i2c/adv748x/
H A Dadv748x-hdmi.c482 if (edid->start_block == 0 && edid->blocks == 0) { in adv748x_hdmi_get_edid()
487 if (edid->start_block >= hdmi->edid.blocks) in adv748x_hdmi_get_edid()
490 if (edid->start_block + edid->blocks > hdmi->edid.blocks) in adv748x_hdmi_get_edid()
491 edid->blocks = hdmi->edid.blocks - edid->start_block; in adv748x_hdmi_get_edid()
493 memcpy(edid->edid, hdmi->edid.edid + edid->start_block * 128, in adv748x_hdmi_get_edid()
531 if (edid->start_block != 0) in adv748x_hdmi_set_edid()

Completed in 17 milliseconds

1234