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

12

/linux-master/fs/squashfs/
H A Dfragment.c41 u64 start_block; local
48 start_block = le64_to_cpu(msblk->fragment_index[block]);
50 size = squashfs_read_metadata(sb, &fragment_entry, &start_block,
55 *fragment_block = le64_to_cpu(fragment_entry.start_block);
H A Did.c38 u64 start_block; local
45 start_block = le64_to_cpu(msblk->id_table[block]);
47 err = squashfs_read_metadata(sb, &disk_id, &start_block, &offset,
H A Dxattr_id.c34 u64 start_block; local
41 start_block = le64_to_cpu(msblk->xattr_id_table[block]);
43 err = squashfs_read_metadata(sb, &id, &start_block, &offset,
H A Dsquashfs_fs.h264 __le32 start_block; member in struct:squashfs_dir_index
341 __le32 start_block; member in struct:squashfs_reg_inode
355 __le64 start_block; member in struct:squashfs_lreg_inode
372 __le32 start_block; member in struct:squashfs_dir_inode
388 __le32 start_block; member in struct:squashfs_ldir_inode
419 __le32 start_block; member in struct:squashfs_dir_header
424 __le64 start_block; member in struct:squashfs_fragment_entry
H A Dnamei.c108 *next_block = le32_to_cpu(index->start_block) +
202 blk = le32_to_cpu(dirh.start_block);
H A Dcache.c376 * Look-up in the fragmment cache the fragment located at <start_block> in the
380 u64 start_block, int length)
384 return squashfs_cache_get(sb, msblk->fragment_cache, start_block,
390 * Read and decompress the datablock located at <start_block> in the
395 u64 start_block, int length)
399 return squashfs_cache_get(sb, msblk->read_page, start_block, length);
379 squashfs_get_fragment(struct super_block *sb, u64 start_block, int length) argument
394 squashfs_get_datablock(struct super_block *sb, u64 start_block, int length) argument
H A Dinode.c165 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block);
170 TRACE("File inode %x:%x, start_block %llx, block_list_start "
212 squashfs_i(inode)->start = le64_to_cpu(sqsh_ino->start_block);
217 TRACE("File inode %x:%x, start_block %llx, block_list_start "
235 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block);
240 TRACE("Directory inode %x:%x, start_block %llx, offset %x\n",
260 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block);
267 TRACE("Long directory inode %x:%x, start_block %llx, offset "
305 TRACE("Symbolic link inode %x:%x, start_block %llx, offset "
H A Ddir.c84 *next_block = le32_to_cpu(dir_index.start_block) +
/linux-master/init/
H A Ddo_mounts_rd.c70 int start_block = rd_image_start; local
85 pos = start_block * BLOCK_SIZE;
91 compress_name, start_block);
105 start_block);
113 start_block);
122 start_block);
131 pos = start_block * BLOCK_SIZE + 0x200;
137 start_block);
145 pos = (start_block + 1) * BLOCK_SIZE;
153 start_block);
[all...]
/linux-master/block/partitions/
H A Dmac.h15 __be32 start_block; /* absolute starting block # of partition */ member in struct:mac_partition
H A Dmac.c88 be32_to_cpu(part->start_block) * (secsize/512),
/linux-master/include/uapi/linux/
H A Dv4l2-common.h50 __u32 start_block; member in struct:v4l2_edid
/linux-master/fs/hfsplus/
H A Dextents.c34 k1s = k1->ext.start_block;
35 k2s = k2->ext.start_block;
46 key->ext.start_block = cpu_to_be32(block);
59 return be32_to_cpu(ext->start_block) + off;
84 return be32_to_cpu(ext->start_block) + be32_to_cpu(ext->block_count);
196 hip->cached_start = be32_to_cpu(fd->key->ext.start_block);
304 be32_to_cpu(extent[i].start_block),
319 start = be32_to_cpu(extent->start_block);
324 extent->start_block = cpu_to_be32(alloc_block);
361 start = be32_to_cpu(extent->start_block);
[all...]
H A Dhfsplus_raw.h90 __be32 start_block; member in struct:hfsplus_extent
348 __be32 start_block; member in struct:hfsplus_ext_key
365 __be32 start_block; member in struct:hfsplus_attr_key
/linux-master/drivers/md/dm-vdo/indexer/
H A Dindex-layout.c115 u64 start_block; member in struct:layout_region
325 return uds_make_buffered_reader(layout->factory, lr->start_block + offset,
340 return uds_make_buffered_writer(layout->factory, lr->start_block + offset,
381 encode_u64_le(buffer, &offset, sil->sub_index.start_block);
390 static void setup_sub_index(struct index_layout *layout, u64 start_block, argument
394 u64 next_block = start_block;
398 .start_block = start_block,
405 .start_block = next_block,
415 .start_block
1272 verify_region(struct layout_region *lr, u64 start_block, enum region_kind kind, unsigned int instance) argument
1291 verify_sub_index(struct index_layout *layout, u64 start_block, struct region_table *table) argument
[all...]
/linux-master/drivers/s390/block/
H A Ddasd_diag.h63 sblocknum_t start_block; member in struct:dasd_diag_init_io
/linux-master/fs/ext2/
H A Dballoc.c723 * @start_block: The first block we consider to start the real search from
731 * linked list, (start_block, last_block) to find a free region that is
735 * We have both head and @start_block to assist the search for the
737 * the place where start_block is, then start from there, when looking
752 ext2_fsblk_t start_block,
761 /* cur = *start_block & ~7;*/
762 cur = start_block;
868 ext2_fsblk_t group_first_block, group_end_block, start_block; local
879 start_block = group_first_block;
881 start_block
748 find_next_reservable_window( struct ext2_reserve_window_node *search_head, struct ext2_reserve_window_node *my_rsv, struct super_block * sb, ext2_fsblk_t start_block, ext2_fsblk_t last_block) argument
[all...]
/linux-master/fs/nilfs2/
H A Dsufile.c1071 sector_t seg_start, seg_end, start_block, end_block; local
1086 start_block = (range->start + nilfs->ns_blocksize - 1) >>
1094 if (max_blocks - start_block < len)
1097 end_block = start_block + len - 1;
1099 segnum = nilfs_get_segnum_of_block(nilfs, start_block);
1142 if (start < start_block) {
1143 nblocks -= start_block - start;
1144 start = start_block;
1176 if (start < start_block) {
1177 nblocks -= start_block
[all...]
/linux-master/drivers/media/i2c/adv748x/
H A Dadv748x-hdmi.c482 if (edid->start_block == 0 && edid->blocks == 0) {
487 if (edid->start_block >= hdmi->edid.blocks)
490 if (edid->start_block + edid->blocks > hdmi->edid.blocks)
491 edid->blocks = hdmi->edid.blocks - edid->start_block;
493 memcpy(edid->edid, hdmi->edid.edid + edid->start_block * 128,
531 if (edid->start_block != 0)
/linux-master/include/linux/
H A Dswap.h197 sector_t start_block; member in struct:swap_extent
431 unsigned long nr_pages, sector_t start_block);
584 unsigned long nr_pages, sector_t start_block)
582 add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, unsigned long nr_pages, sector_t start_block) argument
/linux-master/fs/xfs/
H A Dxfs_log.h135 xfs_daddr_t start_block,
H A Dxfs_log_recover.c1511 int start_block,
1520 int end_block = start_block + blocks;
1544 balign = round_down(start_block, sectbb);
1545 if (balign != start_block) {
1546 error = xlog_bread_noalign(log, start_block, 1, buffer);
1550 j = start_block - balign;
1553 for (i = start_block; i < end_block; i += bufblks) {
1556 bcount = min(bufblks, end_block - start_block);
1564 if (j == 0 && (start_block + endcount > ealign)) {
1566 buffer + BBTOB(ealign - start_block));
1508 xlog_write_log_records( struct xlog *log, int cycle, int start_block, int blocks, int tail_cycle, int tail_block) argument
[all...]
/linux-master/drivers/hwtracing/intel_th/
H A Dmsu.c86 * @start_block: oldest block in the window
98 struct scatterlist *start_block; member in struct:msc_iter
482 if (iter->start_block)
485 iter->start_block = msc_win_oldest_sg(iter->win);
486 iter->block = iter->start_block;
509 iter->start_block = NULL;
519 iter->start_block = NULL;
536 if (iter->wrap_count && iter->block == iter->start_block) {
555 if (!iter->wrap_count && iter->block == iter->start_block)
612 if (iter->block == iter->start_block
[all...]
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-vid-common.c1061 if (edid->start_block == 0 && edid->blocks == 0) {
1067 if (edid->start_block >= dev->edid_blocks)
1069 if (edid->blocks > dev->edid_blocks - edid->start_block)
1070 edid->blocks = dev->edid_blocks - edid->start_block;
1073 memcpy(edid->edid, dev->edid + edid->start_block * 128, edid->blocks * 128);
/linux-master/mm/
H A Dswapfile.c181 sector_t start_block; local
187 start_block = (se->start_block + 1) << (PAGE_SHIFT - 9);
190 err = blkdev_issue_discard(si->bdev, start_block,
198 start_block = se->start_block << (PAGE_SHIFT - 9);
201 err = blkdev_issue_discard(si->bdev, start_block,
240 sector = se->start_block + (offset - se->start_page);
255 sector_t start_block = se->start_block local
2208 add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, unsigned long nr_pages, sector_t start_block) argument
[all...]

Completed in 209 milliseconds

12