Home
last modified time | relevance | path

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

12

/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()
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 …]
/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 Dsquashfs_fs.h265 __le32 start_block; member
342 __le32 start_block; member
356 __le64 start_block; member
373 __le32 start_block; member
389 __le32 start_block; member
420 __le32 start_block; member
425 __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.c384 u64 start_block, int length) in squashfs_get_fragment() argument
388 return squashfs_cache_get(sb, msblk->fragment_cache, start_block, in squashfs_get_fragment()
399 u64 start_block, int length) in squashfs_get_datablock() argument
403 return squashfs_cache_get(sb, msblk->read_page, start_block, length); in squashfs_get_datablock()
H A Dinode.c177 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
237 squashfs_i(inode)->start = le64_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
261 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
286 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
H A Dfile.c162 u64 *start_block, int *offset) in read_indexes() argument
176 err = squashfs_read_metadata(sb, blist, start_block, in read_indexes()
180 *start_block, *offset); in read_indexes()
H A Ddir.c84 *next_block = le32_to_cpu(dir_index.start_block) + in get_dir_index_using_offset()
/linux/drivers/md/dm-vdo/indexer/
H A Dindex-layout.c116 u64 start_block; member
300 return uds_make_buffered_reader(layout->factory, lr->start_block + offset, in open_layout_reader()
315 return uds_make_buffered_writer(layout->factory, lr->start_block + offset, in open_layout_writer()
356 encode_u64_le(buffer, &offset, sil->sub_index.start_block); in define_sub_index_nonce()
365 static void setup_sub_index(struct index_layout *layout, u64 start_block, in setup_sub_index() argument
369 u64 next_block = start_block; in setup_sub_index()
373 .start_block = start_block, in setup_sub_index()
380 .start_block = next_block, in setup_sub_index()
390 .start_block = next_block, in setup_sub_index()
409 .start_block = next_block++, in initialize_layout()
[all …]
/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()
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()
358 start = be32_to_cpu(extent->start_block); in hfsplus_free_extents()
[all …]
/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``
/linux/fs/ext2/
H A Dballoc.c759 ext2_fsblk_t start_block, in find_next_reservable_window() argument
769 cur = start_block; in find_next_reservable_window()
875 ext2_fsblk_t group_first_block, group_end_block, start_block; in alloc_new_reservation() local
886 start_block = group_first_block; in alloc_new_reservation()
888 start_block = grp_goal + group_first_block; in alloc_new_reservation()
909 (start_block >= my_rsv->rsv_start)) in alloc_new_reservation()
931 search_head = search_reserve_window(fs_rsv_root, start_block); in alloc_new_reservation()
942 start_block, group_end_block); in alloc_new_reservation()
977 start_block = first_free_block + group_first_block; in alloc_new_reservation()
982 if (start_block >= my_rsv->rsv_start && start_block <= my_rsv->rsv_end) in alloc_new_reservation()
/linux/fs/nilfs2/
H A Dsufile.c1068 sector_t seg_start, seg_end, start_block, end_block; in nilfs_sufile_trim_fs() local
1083 start_block = (range->start + nilfs->ns_blocksize - 1) >> in nilfs_sufile_trim_fs()
1091 if (max_blocks - start_block < len) in nilfs_sufile_trim_fs()
1094 end_block = start_block + len - 1; in nilfs_sufile_trim_fs()
1096 segnum = nilfs_get_segnum_of_block(nilfs, start_block); in nilfs_sufile_trim_fs()
1139 if (start < start_block) { in nilfs_sufile_trim_fs()
1140 nblocks -= start_block - start; in nilfs_sufile_trim_fs()
1141 start = start_block; in nilfs_sufile_trim_fs()
1174 if (start < start_block) { in nilfs_sufile_trim_fs()
1175 nblocks -= start_block - start; in nilfs_sufile_trim_fs()
[all …]
/linux/mm/
H A Dswapfile.c304 sector_t start_block; in discard_swap() local
310 start_block = (se->start_block + 1) << (PAGE_SHIFT - 9); in discard_swap()
313 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
321 start_block = se->start_block << (PAGE_SHIFT - 9); in discard_swap()
324 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
363 sector = se->start_block + (offset - se->start_page); in swap_folio_sector()
378 sector_t start_block = se->start_block + offset; in discard_swap_cluster() local
386 start_block <<= PAGE_SHIFT - 9; in discard_swap_cluster()
388 if (blkdev_issue_discard(si->bdev, start_block, in discard_swap_cluster()
2061 if (se->start_block == offset) { in swap_type_of()
[all …]
/linux/include/linux/
H A Dswap.h195 sector_t start_block; member
427 unsigned long nr_pages, sector_t start_block);
566 unsigned long nr_pages, sector_t start_block) in add_swap_extent() argument
/linux/include/uapi/linux/
H A Dv4l2-common.h50 __u32 start_block; member
/linux/block/partitions/
H A Dmac.h15 __be32 start_block; /* absolute starting block # of partition */ member
H A Dmac.c100 be32_to_cpu(part->start_block) * (secsize/512), in mac_partition()
/linux/drivers/s390/block/
H A Ddasd_diag.h63 sblocknum_t start_block; member
/linux/fs/xfs/
H A Dxfs_log.h166 xfs_daddr_t start_block,
/linux/drivers/md/dm-vdo/
H A Dencodings.h89 physical_block_number_t start_block; member
803 return geometry.regions[VDO_INDEX_REGION].start_block; in vdo_get_index_region_start()
815 return geometry.regions[VDO_DATA_REGION].start_block; in vdo_get_data_region_start()
H A Dencodings.c272 physical_block_number_t start_block; in decode_volume_geometry() local
276 decode_u64_le(buffer, offset, &start_block); in decode_volume_geometry()
280 .start_block = start_block, in decode_volume_geometry()
/linux/drivers/infiniband/hw/hfi1/
H A Dmad.c985 u32 start_block = am & 0x7ff; in __subn_get_opa_pkeytable() local
995 port, start_block, n_blocks_req); in __subn_get_opa_pkeytable()
1009 if (start_block + n_blocks_req > n_blocks_avail || in __subn_get_opa_pkeytable()
1013 start_block, n_blocks_req, n_blocks_avail, in __subn_get_opa_pkeytable()
1022 if (start_block == 0) { in __subn_get_opa_pkeytable()
1684 u32 start_block = am & 0x7ff; in __subn_set_opa_pkeytable() local
1694 port, start_block, n_blocks_sent); in __subn_set_opa_pkeytable()
1708 if (start_block + n_blocks_sent > n_blocks_avail || in __subn_set_opa_pkeytable()
1711 start_block, n_blocks_sent, n_blocks_avail, in __subn_set_opa_pkeytable()
1720 if (start_block == 0 && set_pkeys(dd, port, p) != 0) { in __subn_set_opa_pkeytable()
[all …]
/linux/drivers/input/mouse/
H A Dcyapa_gen3.c699 size_t start_block, size_t block_count, in cyapa_gen3_write_blocks() argument
706 size_t block = start_block + i; in cyapa_gen3_write_blocks()

12