Home
last modified time | relevance | path

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

/linux-4.1.27/init/
Ddo_mounts_rd.c67 identify_ramdisk_image(int fd, int start_block, decompress_fn *decompressor) in identify_ramdisk_image() argument
92 sys_lseek(fd, start_block * BLOCK_SIZE, 0); in identify_ramdisk_image()
98 compress_name, start_block); in identify_ramdisk_image()
112 start_block); in identify_ramdisk_image()
120 start_block); in identify_ramdisk_image()
129 start_block); in identify_ramdisk_image()
138 sys_lseek(fd, start_block * BLOCK_SIZE + 0x200, 0); in identify_ramdisk_image()
144 start_block); in identify_ramdisk_image()
152 sys_lseek(fd, (start_block+1) * BLOCK_SIZE, 0); in identify_ramdisk_image()
160 start_block); in identify_ramdisk_image()
[all …]
/linux-4.1.27/fs/xfs/
Dxfs_trans_extfree.c62 xfs_fsblock_t start_block, in xfs_trans_log_efi_extent() argument
79 extp->ext_start = start_block; in xfs_trans_log_efi_extent()
118 xfs_fsblock_t start_block, in xfs_trans_log_efd_extent() argument
130 extp->ext_start = start_block; in xfs_trans_log_efd_extent()
Dxfs_log_recover.c1225 int start_block, in xlog_write_log_records() argument
1234 int end_block = start_block + blocks; in xlog_write_log_records()
1258 balign = round_down(start_block, sectbb); in xlog_write_log_records()
1259 if (balign != start_block) { in xlog_write_log_records()
1260 error = xlog_bread_noalign(log, start_block, 1, bp); in xlog_write_log_records()
1264 j = start_block - balign; in xlog_write_log_records()
1267 for (i = start_block; i < end_block; i += bufblks) { in xlog_write_log_records()
1270 bcount = min(bufblks, end_block - start_block); in xlog_write_log_records()
1278 if (j == 0 && (start_block + endcount > ealign)) { in xlog_write_log_records()
1279 offset = bp->b_addr + BBTOB(ealign - start_block); in xlog_write_log_records()
[all …]
Dxfs_log.h156 xfs_daddr_t start_block,
/linux-4.1.27/fs/hfsplus/
Dextents.c33 k1s = k1->ext.start_block; in hfsplus_ext_cmp_key()
34 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
45 key->ext.start_block = cpu_to_be32(block); in hfsplus_ext_build_key()
58 return be32_to_cpu(ext->start_block) + off; in hfsplus_ext_find_block()
83 return be32_to_cpu(ext->start_block) + be32_to_cpu(ext->block_count); in hfsplus_ext_lastblock()
191 hip->cached_start = be32_to_cpu(fd->key->ext.start_block); in __hfsplus_ext_cache_extent()
297 be32_to_cpu(extent[i].start_block), in hfsplus_dump_extent()
312 start = be32_to_cpu(extent->start_block); in hfsplus_add_extent()
317 extent->start_block = cpu_to_be32(alloc_block); in hfsplus_add_extent()
351 start = be32_to_cpu(extent->start_block); in hfsplus_free_extents()
[all …]
Dhfsplus_raw.h89 __be32 start_block; member
343 __be32 start_block; member
360 __be32 start_block; member
/linux-4.1.27/fs/squashfs/
Dfragment.c54 u64 start_block = le64_to_cpu(msblk->fragment_index[block]); in squashfs_frag_lookup() local
58 size = squashfs_read_metadata(sb, &fragment_entry, &start_block, in squashfs_frag_lookup()
63 *fragment_block = le64_to_cpu(fragment_entry.start_block); in squashfs_frag_lookup()
Dsquashfs_fs.h269 __le32 start_block; member
346 __le32 start_block; member
360 __le64 start_block; member
377 __le32 start_block; member
393 __le32 start_block; member
424 __le32 start_block; member
429 __le64 start_block; member
Did.c51 u64 start_block = le64_to_cpu(msblk->id_table[block]); in squashfs_get_id() local
55 err = squashfs_read_metadata(sb, &disk_id, &start_block, &offset, in squashfs_get_id()
Dxattr_id.c47 u64 start_block = le64_to_cpu(msblk->xattr_id_table[block]); in squashfs_xattr_lookup() local
51 err = squashfs_read_metadata(sb, &id, &start_block, &offset, in squashfs_xattr_lookup()
Dcache.c390 u64 start_block, int length) in squashfs_get_fragment() argument
394 return squashfs_cache_get(sb, msblk->fragment_cache, start_block, in squashfs_get_fragment()
405 u64 start_block, int length) in squashfs_get_datablock() argument
409 return squashfs_cache_get(sb, msblk->read_page, start_block, length); in squashfs_get_datablock()
Dnamei.c121 *next_block = le32_to_cpu(index->start_block) + in get_dir_index_using_name()
215 blk = le32_to_cpu(dirh.start_block); in squashfs_lookup()
Dinode.c174 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
221 squashfs_i(inode)->start = le64_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
244 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
269 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
Dfile.c174 u64 *start_block, int *offset) in read_indexes() argument
188 err = squashfs_read_metadata(sb, blist, start_block, in read_indexes()
192 *start_block, *offset); in read_indexes()
Ddir.c97 *next_block = le32_to_cpu(dir_index.start_block) + in get_dir_index_using_offset()
/linux-4.1.27/fs/ext2/
Dballoc.c780 ext2_fsblk_t start_block, in find_next_reservable_window() argument
790 cur = start_block; in find_next_reservable_window()
903 ext2_fsblk_t group_first_block, group_end_block, start_block; in alloc_new_reservation() local
914 start_block = group_first_block; in alloc_new_reservation()
916 start_block = grp_goal + group_first_block; in alloc_new_reservation()
937 (start_block >= my_rsv->rsv_start)) in alloc_new_reservation()
959 search_head = search_reserve_window(fs_rsv_root, start_block); in alloc_new_reservation()
970 start_block, group_end_block); in alloc_new_reservation()
1005 start_block = first_free_block + group_first_block; in alloc_new_reservation()
1010 if (start_block >= my_rsv->rsv_start && start_block <= my_rsv->rsv_end) in alloc_new_reservation()
/linux-4.1.27/fs/nilfs2/
Dsufile.c1026 sector_t seg_start, seg_end, start_block, end_block; in nilfs_sufile_trim_fs() local
1041 start_block = (range->start + nilfs->ns_blocksize - 1) >> in nilfs_sufile_trim_fs()
1049 if (max_blocks - start_block < len) in nilfs_sufile_trim_fs()
1052 end_block = start_block + len - 1; in nilfs_sufile_trim_fs()
1054 segnum = nilfs_get_segnum_of_block(nilfs, start_block); in nilfs_sufile_trim_fs()
1097 if (start < start_block) { in nilfs_sufile_trim_fs()
1098 nblocks -= start_block - start; in nilfs_sufile_trim_fs()
1099 start = start_block; in nilfs_sufile_trim_fs()
1131 if (start < start_block) { in nilfs_sufile_trim_fs()
1132 nblocks -= start_block - start; in nilfs_sufile_trim_fs()
[all …]
/linux-4.1.27/fs/ext3/
Dballoc.c994 ext3_fsblk_t start_block, in find_next_reservable_window() argument
1004 cur = start_block; in find_next_reservable_window()
1117 ext3_fsblk_t group_first_block, group_end_block, start_block; in alloc_new_reservation() local
1128 start_block = group_first_block; in alloc_new_reservation()
1130 start_block = grp_goal + group_first_block; in alloc_new_reservation()
1132 trace_ext3_alloc_new_reservation(sb, start_block); in alloc_new_reservation()
1152 (start_block >= my_rsv->rsv_start)) in alloc_new_reservation()
1174 search_head = search_reserve_window(fs_rsv_root, start_block); in alloc_new_reservation()
1185 start_block, group_end_block); in alloc_new_reservation()
1222 start_block = first_free_block + group_first_block; in alloc_new_reservation()
[all …]
/linux-4.1.27/mm/
Dswapfile.c127 sector_t start_block; in discard_swap() local
133 start_block = (se->start_block + 1) << (PAGE_SHIFT - 9); in discard_swap()
136 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
144 start_block = se->start_block << (PAGE_SHIFT - 9); in discard_swap()
147 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
173 sector_t start_block = se->start_block + offset; in discard_swap_cluster() local
184 start_block <<= PAGE_SHIFT - 9; in discard_swap_cluster()
186 if (blkdev_issue_discard(si->bdev, start_block, in discard_swap_cluster()
1013 if (se->start_block == offset) { in swap_type_of()
1598 return se->start_block + (offset - se->start_page); in map_swap_entry()
[all …]
/linux-4.1.27/include/uapi/linux/
Dv4l2-common.h77 __u32 start_block; member
/linux-4.1.27/drivers/uwb/
Dallocator.c226 int block_count = 0, start_block = 0; in uwb_rsv_fill_column_info() local
244 if ((block_count > safe_mas_in_row[start_block]) && in uwb_rsv_fill_column_info()
249 start_block = mas; in uwb_rsv_fill_column_info()
/linux-4.1.27/block/partitions/
Dmac.h14 __be32 start_block; /* absolute starting block # of partition */ member
Dmac.c81 be32_to_cpu(part->start_block) * (secsize/512), in mac_partition()
/linux-4.1.27/drivers/s390/block/
Ddasd_diag.h62 sblocknum_t start_block; member
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-vid-common.c865 if (edid->start_block == 0 && edid->blocks == 0) { in vidioc_g_edid()
871 if (edid->start_block >= dev->edid_blocks) in vidioc_g_edid()
873 if (edid->start_block + edid->blocks > dev->edid_blocks) in vidioc_g_edid()
874 edid->blocks = dev->edid_blocks - edid->start_block; in vidioc_g_edid()
Dvivid-vid-cap.c1698 if (dev->input_type[edid->pad] != HDMI || edid->start_block) in vidioc_s_edid()
/linux-4.1.27/include/linux/
Dswap.h132 sector_t start_block; member
383 unsigned long nr_pages, sector_t start_block);
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c762 __u32 start_block; member
774 get_user(kp->start_block, &up->start_block) || in get_v4l2_edid32()
789 put_user(kp->start_block, &up->start_block) || in put_v4l2_edid32()
Dv4l2-ioctl.c870 p->pad, p->start_block, p->blocks); in v4l_print_edid()
/linux-4.1.27/drivers/media/i2c/
Dadv7511.c792 if (edid->start_block == 0 && edid->blocks == 0) { in adv7511_get_edid()
800 if (edid->start_block >= state->edid.segments * 2) in adv7511_get_edid()
803 if (edid->start_block + edid->blocks > state->edid.segments * 2) in adv7511_get_edid()
804 edid->blocks = state->edid.segments * 2 - edid->start_block; in adv7511_get_edid()
806 memcpy(edid->edid, &state->edid.data[edid->start_block * 128], in adv7511_get_edid()
Dad9389b.c689 if (edid->start_block >= state->edid.segments * 2) in ad9389b_get_edid()
691 if (edid->blocks + edid->start_block >= state->edid.segments * 2) in ad9389b_get_edid()
692 edid->blocks = state->edid.segments * 2 - edid->start_block; in ad9389b_get_edid()
693 memcpy(edid->edid, &state->edid.data[edid->start_block * 128], in ad9389b_get_edid()
Dadv7842.c2039 if (edid->start_block == 0 && edid->blocks == 0) { in adv7842_get_edid()
2047 if (edid->start_block >= 2) in adv7842_get_edid()
2050 if (edid->start_block + edid->blocks > 2) in adv7842_get_edid()
2051 edid->blocks = 2 - edid->start_block; in adv7842_get_edid()
2053 memcpy(edid->edid, data + edid->start_block * 128, edid->blocks * 128); in adv7842_get_edid()
2067 if (e->start_block != 0) in adv7842_set_edid()
Dadv7604.c1943 if (edid->start_block == 0 && edid->blocks == 0) { in adv76xx_get_edid()
1951 if (edid->start_block >= state->edid.blocks) in adv76xx_get_edid()
1954 if (edid->start_block + edid->blocks > state->edid.blocks) in adv76xx_get_edid()
1955 edid->blocks = state->edid.blocks - edid->start_block; in adv76xx_get_edid()
1957 memcpy(edid->edid, data + edid->start_block * 128, edid->blocks * 128); in adv76xx_get_edid()
2002 if (edid->start_block != 0) in adv76xx_set_edid()
/linux-4.1.27/arch/sparc/include/asm/
Dvio.h178 u64 start_block; member
/linux-4.1.27/drivers/input/mouse/
Dcyapa_gen3.c741 size_t start_block, size_t block_count, in cyapa_gen3_write_blocks() argument
748 size_t block = start_block + i; in cyapa_gen3_write_blocks()
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_inode_fork.c743 xfs_fsblock_t start_block; in xfs_iextents_copy() local
762 start_block = xfs_bmbt_get_startblock(ep); in xfs_iextents_copy()
763 if (isnullstartblock(start_block)) { in xfs_iextents_copy()
/linux-4.1.27/fs/udf/
Dsuper.c1183 int type1_index, sector_t start_block) in udf_find_vat_block() argument
1196 for (vat_block = start_block; in udf_find_vat_block()
1198 vat_block >= start_block - 3; vat_block--) { in udf_find_vat_block()