Home
last modified time | relevance | path

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

12

/Linux-v4.19/init/
Ddo_mounts_rd.c58 identify_ramdisk_image(int fd, int start_block, decompress_fn *decompressor) in identify_ramdisk_image() argument
83 ksys_lseek(fd, start_block * BLOCK_SIZE, 0); in identify_ramdisk_image()
89 compress_name, start_block); in identify_ramdisk_image()
103 start_block); in identify_ramdisk_image()
111 start_block); in identify_ramdisk_image()
120 start_block); in identify_ramdisk_image()
129 ksys_lseek(fd, start_block * BLOCK_SIZE + 0x200, 0); in identify_ramdisk_image()
135 start_block); in identify_ramdisk_image()
143 ksys_lseek(fd, (start_block+1) * BLOCK_SIZE, 0); in identify_ramdisk_image()
151 start_block); in identify_ramdisk_image()
[all …]
/Linux-v4.19/fs/squashfs/
Dfragment.c54 u64 start_block; in squashfs_frag_lookup() local
61 start_block = le64_to_cpu(msblk->fragment_index[block]); in squashfs_frag_lookup()
63 size = squashfs_read_metadata(sb, &fragment_entry, &start_block, in squashfs_frag_lookup()
68 *fragment_block = le64_to_cpu(fragment_entry.start_block); in squashfs_frag_lookup()
Dsquashfs_fs.h276 __le32 start_block; member
353 __le32 start_block; member
367 __le64 start_block; member
384 __le32 start_block; member
400 __le32 start_block; member
431 __le32 start_block; member
436 __le64 start_block; member
Did.c51 u64 start_block = le64_to_cpu(msblk->id_table[block]); in squashfs_get_id() local
55 err = squashfs_read_metadata(sb, &disk_id, &start_block, &offset, in squashfs_get_id()
Dxattr_id.c47 u64 start_block = le64_to_cpu(msblk->xattr_id_table[block]); in squashfs_xattr_lookup() local
51 err = squashfs_read_metadata(sb, &id, &start_block, &offset, in squashfs_xattr_lookup()
Dcache.c393 u64 start_block, int length) in squashfs_get_fragment() argument
397 return squashfs_cache_get(sb, msblk->fragment_cache, start_block, in squashfs_get_fragment()
408 u64 start_block, int length) in squashfs_get_datablock() argument
412 return squashfs_cache_get(sb, msblk->read_page, start_block, length); in squashfs_get_datablock()
Dnamei.c121 *next_block = le32_to_cpu(index->start_block) + in get_dir_index_using_name()
215 blk = le32_to_cpu(dirh.start_block); in squashfs_lookup()
Dinode.c175 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
222 squashfs_i(inode)->start = le64_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
245 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
270 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
Dfile.c174 u64 *start_block, int *offset) in read_indexes() argument
188 err = squashfs_read_metadata(sb, blist, start_block, in read_indexes()
192 *start_block, *offset); in read_indexes()
/Linux-v4.19/fs/hfsplus/
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()
192 hip->cached_start = be32_to_cpu(fd->key->ext.start_block); in __hfsplus_ext_cache_extent()
298 be32_to_cpu(extent[i].start_block), in hfsplus_dump_extent()
313 start = be32_to_cpu(extent->start_block); in hfsplus_add_extent()
318 extent->start_block = cpu_to_be32(alloc_block); in hfsplus_add_extent()
355 start = be32_to_cpu(extent->start_block); in hfsplus_free_extents()
[all …]
Dhfsplus_raw.h90 __be32 start_block; member
344 __be32 start_block; member
361 __be32 start_block; member
/Linux-v4.19/fs/xfs/
Dxfs_trans_extfree.c57 xfs_fsblock_t start_block, in xfs_trans_free_extent() argument
64 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, start_block); in xfs_trans_free_extent()
65 xfs_agblock_t agbno = XFS_FSB_TO_AGBNO(mp, start_block); in xfs_trans_free_extent()
71 error = __xfs_free_extent(tp, start_block, ext_len, in xfs_trans_free_extent()
86 extp->ext_start = start_block; in xfs_trans_free_extent()
Dxfs_log.h125 xfs_daddr_t start_block,
/Linux-v4.19/Documentation/media/uapi/v4l/
Dvidioc-g-edid.rst59 ``start_block``, ``blocks`` and ``edid`` fields, zero the ``reserved``
61 ``start_block`` and of size ``blocks`` will be placed in the memory
72 If ``start_block`` and ``blocks`` are both set to 0 when
84 ``pad``, ``blocks`` and ``edid`` fields, set ``start_block`` to 0 and
92 maximum that the hardware supports. If ``start_block`` is any value
117 - ``start_block``
/Linux-v4.19/fs/ext2/
Dballoc.c782 ext2_fsblk_t start_block, in find_next_reservable_window() argument
792 cur = start_block; in find_next_reservable_window()
905 ext2_fsblk_t group_first_block, group_end_block, start_block; in alloc_new_reservation() local
916 start_block = group_first_block; in alloc_new_reservation()
918 start_block = grp_goal + group_first_block; in alloc_new_reservation()
939 (start_block >= my_rsv->rsv_start)) in alloc_new_reservation()
961 search_head = search_reserve_window(fs_rsv_root, start_block); in alloc_new_reservation()
972 start_block, group_end_block); in alloc_new_reservation()
1007 start_block = first_free_block + group_first_block; in alloc_new_reservation()
1012 if (start_block >= my_rsv->rsv_start && start_block <= my_rsv->rsv_end) in alloc_new_reservation()
/Linux-v4.19/fs/nilfs2/
Dsufile.c1024 sector_t seg_start, seg_end, start_block, end_block; in nilfs_sufile_trim_fs() local
1039 start_block = (range->start + nilfs->ns_blocksize - 1) >> in nilfs_sufile_trim_fs()
1047 if (max_blocks - start_block < len) in nilfs_sufile_trim_fs()
1050 end_block = start_block + len - 1; in nilfs_sufile_trim_fs()
1052 segnum = nilfs_get_segnum_of_block(nilfs, start_block); in nilfs_sufile_trim_fs()
1095 if (start < start_block) { in nilfs_sufile_trim_fs()
1096 nblocks -= start_block - start; in nilfs_sufile_trim_fs()
1097 start = start_block; in nilfs_sufile_trim_fs()
1129 if (start < start_block) { in nilfs_sufile_trim_fs()
1130 nblocks -= start_block - start; in nilfs_sufile_trim_fs()
[all …]
/Linux-v4.19/drivers/media/i2c/adv748x/
Dadv748x-hdmi.c475 if (edid->start_block == 0 && edid->blocks == 0) { in adv748x_hdmi_get_edid()
480 if (edid->start_block >= hdmi->edid.blocks) in adv748x_hdmi_get_edid()
483 if (edid->start_block + edid->blocks > hdmi->edid.blocks) in adv748x_hdmi_get_edid()
484 edid->blocks = hdmi->edid.blocks - edid->start_block; in adv748x_hdmi_get_edid()
486 memcpy(edid->edid, hdmi->edid.edid + edid->start_block * 128, in adv748x_hdmi_get_edid()
524 if (edid->start_block != 0) in adv748x_hdmi_set_edid()
/Linux-v4.19/drivers/hwtracing/intel_th/
Dmsu.c75 int start_block; member
243 iter->start_block = -1; in msc_iter_init()
290 if (iter->start_block != -1) in msc_iter_block_start()
293 iter->start_block = msc_win_oldest_block(iter->win); in msc_iter_block_start()
294 iter->block = iter->start_block; in msc_iter_block_start()
317 iter->start_block = -1; in msc_iter_win_start()
327 iter->start_block = -1; in msc_iter_win_advance()
344 if (iter->wrap_count && iter->block == iter->start_block) { in msc_iter_block_advance()
361 if (!iter->wrap_count && iter->block == iter->start_block) in msc_iter_block_advance()
418 if (iter->block == iter->start_block && iter->wrap_count == 2) { in msc_buffer_iterate()
/Linux-v4.19/drivers/uwb/
Dallocator.c226 int block_count = 0, start_block = 0; in uwb_rsv_fill_column_info() local
244 if ((block_count > safe_mas_in_row[start_block]) && in uwb_rsv_fill_column_info()
249 start_block = mas; in uwb_rsv_fill_column_info()
/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-vid-common.c855 if (edid->start_block == 0 && edid->blocks == 0) { in vidioc_g_edid()
861 if (edid->start_block >= dev->edid_blocks) in vidioc_g_edid()
863 if (edid->blocks > dev->edid_blocks - edid->start_block) in vidioc_g_edid()
864 edid->blocks = dev->edid_blocks - edid->start_block; in vidioc_g_edid()
867 memcpy(edid->edid, dev->edid + edid->start_block * 128, edid->blocks * 128); in vidioc_g_edid()
/Linux-v4.19/include/uapi/linux/
Dv4l2-common.h102 __u32 start_block; member
/Linux-v4.19/block/partitions/
Dmac.h15 __be32 start_block; /* absolute starting block # of partition */ member
Dmac.c86 be32_to_cpu(part->start_block) * (secsize/512), in mac_partition()
/Linux-v4.19/mm/
Dswapfile.c139 sector_t start_block; in discard_swap() local
145 start_block = (se->start_block + 1) << (PAGE_SHIFT - 9); in discard_swap()
148 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
156 start_block = se->start_block << (PAGE_SHIFT - 9); in discard_swap()
159 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
183 sector_t start_block = se->start_block + offset; in discard_swap_cluster() local
194 start_block <<= PAGE_SHIFT - 9; in discard_swap_cluster()
196 if (blkdev_issue_discard(si->bdev, start_block, in discard_swap_cluster()
1687 if (se->start_block == offset) { in swap_type_of()
2281 return se->start_block + (offset - se->start_page); in map_swap_entry()
[all …]
/Linux-v4.19/drivers/s390/block/
Ddasd_diag.h63 sblocknum_t start_block; member

12