Home
last modified time | relevance | path

Searched refs:start_block (Results 1 – 25 of 57) sorted by relevance

123

/openbmc/linux/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()
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()
163 start_block); in identify_ramdisk_image()
[all …]
/openbmc/linux/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 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 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 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.c380 u64 start_block, int length) in squashfs_get_fragment() argument
384 return squashfs_cache_get(sb, msblk->fragment_cache, start_block, in squashfs_get_fragment()
395 u64 start_block, int length) in squashfs_get_datablock() argument
399 return squashfs_cache_get(sb, msblk->read_page, start_block, length); in squashfs_get_datablock()
H A Dinode.c165 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
212 squashfs_i(inode)->start = le64_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
235 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
260 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
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()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_uboot_glue.c161 int start_block, int end_block) in cmd_yaffs_devconfig() argument
192 if (end_block < start_block) { in cmd_yaffs_devconfig()
211 chk->param.start_block, chk->param.end_block, in cmd_yaffs_devconfig()
212 start_block, end_block)) { in cmd_yaffs_devconfig()
224 dev->param.start_block = start_block; in cmd_yaffs_devconfig()
244 mp, flash_dev, start_block, end_block, in cmd_yaffs_devconfig()
268 dev->param.start_block, dev->param.end_block, in cmd_yaffs_dev_ls()
H A Dyaffs_nandif.h23 unsigned start_block; member
H A Dyaffs_nandif.c231 param->start_block = geometry->start_block; in yaffs_add_dev_from_geometry()
/openbmc/linux/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()
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()
370 extent->start_block = 0; in hfsplus_free_extents()
426 start = be32_to_cpu(fd.key->ext.start_block); in hfsplus_free_fork()
[all …]
H A Dhfsplus_raw.h90 __be32 start_block; member
348 __be32 start_block; member
365 __be32 start_block; member
/openbmc/u-boot/cmd/
H A Dyaffs2.c30 int start_block, int end_block);
69 int start_block; in do_ydevconfig() local
80 start_block = simple_strtol(argv[3], NULL, 16); in do_ydevconfig()
83 cmd_yaffs_devconfig(mtpoint, mtd_dev, start_block, end_block); in do_ydevconfig()
H A Donenand.c230 int start_block, end_block; in onenand_block_test() local
248 start_block = start >> this->erase_shift; in onenand_block_test()
252 if (start_block < 2) in onenand_block_test()
253 start_block = 2; in onenand_block_test()
258 blocks = start_block; in onenand_block_test()
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-g-edid.rst60 ``start_block``, ``blocks`` and ``edid`` fields, zero the ``reserved``
62 ``start_block`` and of size ``blocks`` will be placed in the memory
73 If ``start_block`` and ``blocks`` are both set to 0 when
85 ``pad``, ``blocks`` and ``edid`` fields, set ``start_block`` to 0 and
93 maximum that the hardware supports. If ``start_block`` is any value
117 - ``start_block``
/openbmc/linux/fs/ext2/
H A Dballoc.c752 ext2_fsblk_t start_block, in find_next_reservable_window() argument
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 = grp_goal + group_first_block; in alloc_new_reservation()
902 (start_block >= my_rsv->rsv_start)) in alloc_new_reservation()
924 search_head = search_reserve_window(fs_rsv_root, start_block); in alloc_new_reservation()
935 start_block, group_end_block); in alloc_new_reservation()
970 start_block = first_free_block + group_first_block; in alloc_new_reservation()
975 if (start_block >= my_rsv->rsv_start && start_block <= my_rsv->rsv_end) in alloc_new_reservation()
/openbmc/linux/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 - start; in nilfs_sufile_trim_fs()
[all …]
/openbmc/linux/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()
/openbmc/u-boot/disk/
H A Dpart_mac.c145 mpart->start_block, in part_print_mac()
232 info->start = mpart->start_block; in part_get_info_mac()
H A Dpart_mac.h59 __u32 start_block; /* abs. starting block # of partition */ member
/openbmc/linux/include/uapi/linux/
H A Dv4l2-common.h50 __u32 start_block; member
/openbmc/linux/block/partitions/
H A Dmac.h15 __be32 start_block; /* absolute starting block # of partition */ member
/openbmc/linux/mm/
H A Dswapfile.c180 sector_t start_block; in discard_swap() local
186 start_block = (se->start_block + 1) << (PAGE_SHIFT - 9); in discard_swap()
189 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
197 start_block = se->start_block << (PAGE_SHIFT - 9); in discard_swap()
254 sector_t start_block = se->start_block + offset; in discard_swap_cluster() local
262 start_block <<= PAGE_SHIFT - 9; in discard_swap_cluster()
264 if (blkdev_issue_discard(si->bdev, start_block, in discard_swap_cluster()
1672 if (se->start_block == offset) { in swap_type_of()
2196 unsigned long nr_pages, sector_t start_block) in add_swap_extent() argument
2214 if (se->start_block + se->nr_pages == start_block) { in add_swap_extent()
[all …]
/openbmc/linux/include/linux/
H A Dswap.h197 sector_t start_block; member
443 unsigned long nr_pages, sector_t start_block);
597 unsigned long nr_pages, sector_t start_block) in add_swap_extent() argument

123