/linux/init/ |
H A D | do_mounts_rd.c | 70 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 D | fragment.c | 41 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 D | squashfs_fs.h | 264 __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 D | id.c | 38 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 D | xattr_id.c | 34 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 D | cache.c | 380 * Look-up in the fragmment cache the fragment located at <start_block> in the in squashfs_get_fragment() argument 384 u64 start_block, int length) in squashfs_get_fragment() 388 return squashfs_cache_get(sb, msblk->fragment_cache, start_block, 394 * Read and decompress the datablock located at <start_block> in the in squashfs_get_datablock() 399 u64 start_block, int length) in squashfs_get_datablock() 403 return squashfs_cache_get(sb, msblk->read_page, start_block, length); 395 squashfs_get_datablock(struct super_block * sb,u64 start_block,int length) squashfs_get_datablock() argument
|
H A D | inode.c | 165 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 D | file.c | 159 * metadata block <start_block, offset>. 162 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 D | dir.c | 84 *next_block = le32_to_cpu(dir_index.start_block) + in get_dir_index_using_offset()
|
/linux/fs/hfsplus/ |
H A D | extents.c | 34 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 D | hfsplus_raw.h | 90 __be32 start_block; member 348 __be32 start_block; member 365 __be32 start_block; member
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-edid.rst | 60 ``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 D | balloc.c | 759 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/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-common.c | 1105 if (edid->start_block == 0 && edid->blocks == 0) { in vidioc_g_edid() 1111 if (edid->start_block >= dev_rx->edid_blocks) in vidioc_g_edid() 1113 if (edid->blocks > dev_rx->edid_blocks - edid->start_block) in vidioc_g_edid() 1114 edid->blocks = dev_rx->edid_blocks - edid->start_block; in vidioc_g_edid() 1116 memcpy(edid->edid, dev_rx->edid + edid->start_block * 128, edid->blocks * 128); in vidioc_g_edid() 1121 loc >= edid->start_block * 128 && in vidioc_g_edid() 1122 loc < (edid->start_block + edid->blocks) * 128) { in vidioc_g_edid() 1126 loc -= edid->start_block * 128; in vidioc_g_edid()
|
/linux/drivers/media/i2c/adv748x/ |
H A D | adv748x-hdmi.c | 479 if (edid->start_block == 0 && edid->blocks == 0) { in adv748x_hdmi_get_edid() 484 if (edid->start_block >= hdmi->edid.blocks) in adv748x_hdmi_get_edid() 487 if (edid->start_block + edid->blocks > hdmi->edid.blocks) in adv748x_hdmi_get_edid() 488 edid->blocks = hdmi->edid.blocks - edid->start_block; in adv748x_hdmi_get_edid() 490 memcpy(edid->edid, hdmi->edid.edid + edid->start_block * 128, in adv748x_hdmi_get_edid() 528 if (edid->start_block != 0) in adv748x_hdmi_set_edid()
|
/linux/mm/ |
H A D | swapfile.c | 295 sector_t start_block; in discard_swap() local 301 start_block = (se->start_block + 1) << (PAGE_SHIFT - 9); in discard_swap() 304 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap() 312 start_block = se->start_block << (PAGE_SHIFT - 9); in discard_swap() 315 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap() 354 sector = se->start_block + (offset - se->start_page); in swap_folio_sector() 369 sector_t start_block = se->start_block + offset; in discard_swap_cluster() local 377 start_block <<= PAGE_SHIFT - 9; in discard_swap_cluster() 379 if (blkdev_issue_discard(si->bdev, start_block, in discard_swap_cluster() 1890 if (se->start_block == offset) { in swap_type_of() [all …]
|
/linux/include/uapi/linux/ |
H A D | v4l2-common.h | 50 __u32 start_block; member
|
/linux/block/partitions/ |
H A D | mac.h | 15 __be32 start_block; /* absolute starting block # of partition */ member
|
H A D | mac.c | 100 be32_to_cpu(part->start_block) * (secsize/512), in mac_partition()
|
/linux/fs/xfs/ |
H A D | xfs_log_recover.c | 1507 int start_block, in xlog_write_log_records() argument 1516 int end_block = start_block + blocks; in xlog_write_log_records() 1540 balign = round_down(start_block, sectbb); in xlog_write_log_records() 1541 if (balign != start_block) { in xlog_write_log_records() 1542 error = xlog_bread_noalign(log, start_block, 1, buffer); in xlog_write_log_records() 1546 j = start_block - balign; in xlog_write_log_records() 1549 for (i = start_block; i < end_block; i += bufblks) { in xlog_write_log_records() 1552 bcount = min(bufblks, end_block - start_block); in xlog_write_log_records() 1560 if (j == 0 && (start_block + endcount > ealign)) { in xlog_write_log_records() 1562 buffer + BBTOB(ealign - start_block)); in xlog_write_log_records() [all …]
|
H A D | xfs_log.h | 135 xfs_daddr_t start_block,
|
/linux/drivers/hwtracing/intel_th/ |
H A D | msu.c | 99 struct scatterlist *start_block; member 491 if (iter->start_block) in msc_iter_block_start() 494 iter->start_block = msc_win_oldest_sg(iter->win); in msc_iter_block_start() 495 iter->block = iter->start_block; in msc_iter_block_start() 518 iter->start_block = NULL; in msc_iter_win_start() 528 iter->start_block = NULL; in msc_iter_win_advance() 545 if (iter->wrap_count && iter->block == iter->start_block) { in msc_iter_block_advance() 564 if (!iter->wrap_count && iter->block == iter->start_block) in msc_iter_block_advance() 621 if (iter->block == iter->start_block && iter->wrap_count == 2) { in msc_buffer_iterate()
|
/linux/drivers/s390/block/ |
H A D | dasd_diag.h | 63 sblocknum_t start_block; member
|
/linux/drivers/md/dm-vdo/ |
H A D | encodings.h | 89 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()
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 985 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 …]
|