/linux/init/ |
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() 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 …]
|
/linux/fs/squashfs/ |
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()
|
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
|
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()
|
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()
|
A D | cache.c | 380 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()
|
A D | inode.c | 162 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode() 209 squashfs_i(inode)->start = le64_to_cpu(sqsh_ino->start_block); in squashfs_read_inode() 232 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode() 257 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
|
A D | namei.c | 108 *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()
|
A D | file.c | 161 u64 *start_block, int *offset) in read_indexes() argument 175 err = squashfs_read_metadata(sb, blist, start_block, in read_indexes() 179 *start_block, *offset); in read_indexes()
|
/linux/fs/hfsplus/ |
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() 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 …]
|
A D | hfsplus_raw.h | 90 __be32 start_block; member 344 __be32 start_block; member 361 __be32 start_block; member
|
/linux/Documentation/userspace-api/media/v4l/ |
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/ |
A D | balloc.c | 755 ext2_fsblk_t start_block, in find_next_reservable_window() argument 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 = grp_goal + group_first_block; in alloc_new_reservation() 912 (start_block >= my_rsv->rsv_start)) in alloc_new_reservation() 934 search_head = search_reserve_window(fs_rsv_root, start_block); in alloc_new_reservation() 945 start_block, group_end_block); in alloc_new_reservation() 980 start_block = first_free_block + group_first_block; in alloc_new_reservation() 985 if (start_block >= my_rsv->rsv_start && start_block <= my_rsv->rsv_end) in alloc_new_reservation()
|
/linux/fs/nilfs2/ |
A D | sufile.c | 1021 sector_t seg_start, seg_end, start_block, end_block; in nilfs_sufile_trim_fs() local 1036 start_block = (range->start + nilfs->ns_blocksize - 1) >> in nilfs_sufile_trim_fs() 1044 if (max_blocks - start_block < len) in nilfs_sufile_trim_fs() 1047 end_block = start_block + len - 1; in nilfs_sufile_trim_fs() 1049 segnum = nilfs_get_segnum_of_block(nilfs, start_block); in nilfs_sufile_trim_fs() 1092 if (start < start_block) { in nilfs_sufile_trim_fs() 1093 nblocks -= start_block - start; in nilfs_sufile_trim_fs() 1094 start = start_block; in nilfs_sufile_trim_fs() 1126 if (start < start_block) { in nilfs_sufile_trim_fs() 1127 nblocks -= start_block - start; in nilfs_sufile_trim_fs() [all …]
|
/linux/drivers/media/i2c/adv748x/ |
A D | adv748x-hdmi.c | 472 if (edid->start_block == 0 && edid->blocks == 0) { in adv748x_hdmi_get_edid() 477 if (edid->start_block >= hdmi->edid.blocks) in adv748x_hdmi_get_edid() 480 if (edid->start_block + edid->blocks > hdmi->edid.blocks) in adv748x_hdmi_get_edid() 481 edid->blocks = hdmi->edid.blocks - edid->start_block; in adv748x_hdmi_get_edid() 483 memcpy(edid->edid, hdmi->edid.edid + edid->start_block * 128, in adv748x_hdmi_get_edid() 521 if (edid->start_block != 0) in adv748x_hdmi_set_edid()
|
/linux/fs/xfs/ |
A D | xfs_extfree_item.c | 359 xfs_fsblock_t start_block, in xfs_trans_free_extent() argument 367 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, start_block); in xfs_trans_free_extent() 369 start_block); in xfs_trans_free_extent() 374 error = __xfs_free_extent(tp, start_block, ext_len, in xfs_trans_free_extent() 389 extp->ext_start = start_block; in xfs_trans_free_extent()
|
A D | xfs_log_recover.c | 1518 int start_block, in xlog_write_log_records() argument 1527 int end_block = start_block + blocks; in xlog_write_log_records() 1551 balign = round_down(start_block, sectbb); in xlog_write_log_records() 1552 if (balign != start_block) { in xlog_write_log_records() 1557 j = start_block - balign; in xlog_write_log_records() 1560 for (i = start_block; i < end_block; i += bufblks) { in xlog_write_log_records() 1563 bcount = min(bufblks, end_block - start_block); in xlog_write_log_records() 1571 if (j == 0 && (start_block + endcount > ealign)) { in xlog_write_log_records() 1573 buffer + BBTOB(ealign - start_block)); in xlog_write_log_records() 1579 offset = buffer + xlog_align(log, start_block); in xlog_write_log_records() [all …]
|
/linux/mm/ |
A D | swapfile.c | 172 sector_t start_block; in discard_swap() local 178 start_block = (se->start_block + 1) << (PAGE_SHIFT - 9); in discard_swap() 181 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap() 189 start_block = se->start_block << (PAGE_SHIFT - 9); in discard_swap() 246 sector_t start_block = se->start_block + offset; in discard_swap_cluster() local 254 start_block <<= PAGE_SHIFT - 9; in discard_swap_cluster() 256 if (blkdev_issue_discard(si->bdev, start_block, in discard_swap_cluster() 1818 if (se->start_block == offset) { in swap_type_of() 2316 unsigned long nr_pages, sector_t start_block) in add_swap_extent() argument 2334 if (se->start_block + se->nr_pages == start_block) { in add_swap_extent() [all …]
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-vid-common.c | 1046 if (edid->start_block == 0 && edid->blocks == 0) { in vidioc_g_edid() 1052 if (edid->start_block >= dev->edid_blocks) in vidioc_g_edid() 1054 if (edid->blocks > dev->edid_blocks - edid->start_block) in vidioc_g_edid() 1055 edid->blocks = dev->edid_blocks - edid->start_block; in vidioc_g_edid() 1058 memcpy(edid->edid, dev->edid + edid->start_block * 128, edid->blocks * 128); in vidioc_g_edid()
|
/linux/include/uapi/linux/ |
A D | v4l2-common.h | 89 __u32 start_block; member
|
/linux/block/partitions/ |
A D | mac.h | 15 __be32 start_block; /* absolute starting block # of partition */ member
|
A D | mac.c | 86 be32_to_cpu(part->start_block) * (secsize/512), in mac_partition()
|
/linux/drivers/hwtracing/intel_th/ |
A D | msu.c | 98 struct scatterlist *start_block; member 482 if (iter->start_block) in msc_iter_block_start() 485 iter->start_block = msc_win_oldest_sg(iter->win); in msc_iter_block_start() 486 iter->block = iter->start_block; in msc_iter_block_start() 509 iter->start_block = NULL; in msc_iter_win_start() 519 iter->start_block = NULL; in msc_iter_win_advance() 536 if (iter->wrap_count && iter->block == iter->start_block) { in msc_iter_block_advance() 555 if (!iter->wrap_count && iter->block == iter->start_block) in msc_iter_block_advance() 612 if (iter->block == iter->start_block && iter->wrap_count == 2) { in msc_buffer_iterate()
|
/linux/drivers/s390/block/ |
A D | dasd_diag.h | 63 sblocknum_t start_block; member
|
/linux/drivers/media/i2c/ |
A D | ad9389b.c | 676 if (edid->start_block >= state->edid.segments * 2) in ad9389b_get_edid() 678 if (edid->blocks + edid->start_block >= state->edid.segments * 2) in ad9389b_get_edid() 679 edid->blocks = state->edid.segments * 2 - edid->start_block; in ad9389b_get_edid() 680 memcpy(edid->edid, &state->edid.data[edid->start_block * 128], in ad9389b_get_edid()
|