Home
last modified time | relevance | path

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

12

/linux/init/
H A Ddo_mounts_rd.c64 int start_block = rd_image_start; in identify_ramdisk_image()
79 pos = start_block * BLOCK_SIZE; in identify_ramdisk_image()
85 compress_name, start_block); in identify_ramdisk_image()
99 start_block); in identify_ramdisk_image()
107 start_block); in identify_ramdisk_image()
116 start_block); in identify_ramdisk_image()
125 pos = start_block * BLOCK_SIZE + 0x200; in identify_ramdisk_image()
131 start_block); in identify_ramdisk_image()
139 pos = (start_block + 1) * BLOCK_SIZE; in identify_ramdisk_image()
147 start_block); in identify_ramdisk_image()
70 int start_block = rd_image_start; identify_ramdisk_image() local
[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.c163 u64 *start_block, int *offset) in read_indexes() argument
177 err = squashfs_read_metadata(sb, blist, start_block, in read_indexes()
181 *start_block, *offset); in read_indexes()
/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/hfs/
H A Dbtree.c28 sector_t start_block; in hfs_btree_open() local
89 start_block = HFS_SB(sb)->fs_start + (dblock * HFS_SB(sb)->fs_div); in hfs_btree_open()
96 bh = sb_bread(sb, start_block); in hfs_btree_open()
107 start_block++; in hfs_btree_open()
/linux/mm/
H A Dswapfile.c285 sector_t start_block; in discard_swap() local
291 start_block = (se->start_block + 1) << (PAGE_SHIFT - 9); in discard_swap()
294 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
302 start_block = se->start_block << (PAGE_SHIFT - 9); in discard_swap()
305 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
344 sector = se->start_block + (offset - se->start_page); in swap_folio_sector()
359 sector_t start_block = se->start_block + offset; in discard_swap_cluster() local
367 start_block <<= PAGE_SHIFT - 9; in discard_swap_cluster()
369 if (blkdev_issue_discard(si->bdev, start_block, in discard_swap_cluster()
2000 if (se->start_block == offset) { in swap_type_of()
[all …]
/linux/include/linux/
H A Dswap.h195 sector_t start_block; member
425 unsigned long nr_pages, sector_t start_block);
556 unsigned long nr_pages, sector_t start_block) in folio_alloc_swap()
566 add_swap_extent(struct swap_info_struct * sis,unsigned long start_page,unsigned long nr_pages,sector_t start_block) 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/fs/xfs/
H A Dxfs_log_recover.c1507 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 …]
/linux/drivers/hwtracing/intel_th/
H A Dmsu.c99 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 Ddasd_diag.h63 sblocknum_t start_block; member
/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/md/
H A Ddm-zoned-metadata.c2694 sector_t start_block = *chunk_block; in dmz_first_valid_block() local
2697 ret = dmz_to_next_set_block(zmd, zone, start_block, in dmz_first_valid_block()
2698 zmd->zone_nr_blocks - start_block, 1); in dmz_first_valid_block()
2702 start_block += ret; in dmz_first_valid_block()
2703 *chunk_block = start_block; in dmz_first_valid_block()
2705 return dmz_to_next_set_block(zmd, zone, start_block, in dmz_first_valid_block()
2706 zmd->zone_nr_blocks - start_block, 0); in dmz_first_valid_block()
/linux/drivers/media/cec/usb/extron-da-hd-4k-plus/
H A Dextron-da-hd-4k-plus.c1272 if (edid->start_block == 0 && edid->blocks == 0) { in extron_g_edid()
1276 if (edid->start_block >= port->edid_blocks) in extron_g_edid()
1278 if (edid->blocks > port->edid_blocks - edid->start_block) in extron_g_edid()
1279 edid->blocks = port->edid_blocks - edid->start_block; in extron_g_edid()
1280 memcpy(edid->edid, port->edid + edid->start_block * 128, edid->blocks * 128); in extron_g_edid()
/linux/drivers/media/pci/cobalt/
H A Dcobalt-driver.c501 .start_block = 0, in cobalt_subdevs_init()
594 .start_block = 0, in cobalt_subdevs_hsma_init()

12