/linux-4.4.14/init/ |
D | do_mounts_rd.c | 67 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.4.14/fs/xfs/ |
D | xfs_trans_extfree.c | 63 xfs_fsblock_t start_block, in xfs_trans_log_efi_extent() argument 80 extp->ext_start = start_block; in xfs_trans_log_efi_extent() 120 xfs_fsblock_t start_block, in xfs_trans_free_extent() argument 127 error = xfs_free_extent(tp, start_block, ext_len); in xfs_trans_free_extent() 142 extp->ext_start = start_block; in xfs_trans_free_extent()
|
D | xfs_log_recover.c | 1225 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 …]
|
D | xfs_log.h | 147 xfs_daddr_t start_block,
|
/linux-4.4.14/fs/hfsplus/ |
D | extents.c | 33 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 …]
|
D | hfsplus_raw.h | 89 __be32 start_block; member 343 __be32 start_block; member 360 __be32 start_block; member
|
/linux-4.4.14/fs/squashfs/ |
D | fragment.c | 54 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()
|
D | squashfs_fs.h | 269 __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
|
D | id.c | 51 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()
|
D | xattr_id.c | 47 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()
|
D | cache.c | 390 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()
|
D | namei.c | 121 *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()
|
D | inode.c | 174 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()
|
D | file.c | 174 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()
|
D | dir.c | 97 *next_block = le32_to_cpu(dir_index.start_block) + in get_dir_index_using_offset()
|
/linux-4.4.14/fs/ext2/ |
D | balloc.c | 780 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.4.14/fs/nilfs2/ |
D | sufile.c | 1033 sector_t seg_start, seg_end, start_block, end_block; in nilfs_sufile_trim_fs() local 1048 start_block = (range->start + nilfs->ns_blocksize - 1) >> in nilfs_sufile_trim_fs() 1056 if (max_blocks - start_block < len) in nilfs_sufile_trim_fs() 1059 end_block = start_block + len - 1; in nilfs_sufile_trim_fs() 1061 segnum = nilfs_get_segnum_of_block(nilfs, start_block); in nilfs_sufile_trim_fs() 1104 if (start < start_block) { in nilfs_sufile_trim_fs() 1105 nblocks -= start_block - start; in nilfs_sufile_trim_fs() 1106 start = start_block; in nilfs_sufile_trim_fs() 1138 if (start < start_block) { in nilfs_sufile_trim_fs() 1139 nblocks -= start_block - start; in nilfs_sufile_trim_fs() [all …]
|
/linux-4.4.14/drivers/hwtracing/intel_th/ |
D | msu.c | 81 int start_block; member 250 iter->start_block = -1; in msc_iter_init() 283 if (iter->start_block != -1) in msc_iter_block_start() 286 iter->start_block = msc_win_oldest_block(iter->win); in msc_iter_block_start() 287 iter->block = iter->start_block; in msc_iter_block_start() 310 iter->start_block = -1; in msc_iter_win_start() 320 iter->start_block = -1; in msc_iter_win_advance() 337 if (iter->wrap_count && iter->block == iter->start_block) { in msc_iter_block_advance() 354 if (!iter->wrap_count && iter->block == iter->start_block) in msc_iter_block_advance() 411 if (iter->block == iter->start_block && iter->wrap_count) { in msc_buffer_iterate()
|
/linux-4.4.14/mm/ |
D | swapfile.c | 127 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() 1055 if (se->start_block == offset) { in swap_type_of() 1640 return se->start_block + (offset - se->start_page); in map_swap_entry() [all …]
|
/linux-4.4.14/include/uapi/linux/ |
D | v4l2-common.h | 77 __u32 start_block; member
|
/linux-4.4.14/drivers/uwb/ |
D | allocator.c | 226 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.4.14/block/partitions/ |
D | mac.h | 14 __be32 start_block; /* absolute starting block # of partition */ member
|
D | mac.c | 85 be32_to_cpu(part->start_block) * (secsize/512), in mac_partition()
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd_diag.h | 62 sblocknum_t start_block; member
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-vid-common.c | 889 if (edid->start_block == 0 && edid->blocks == 0) { in vidioc_g_edid() 895 if (edid->start_block >= dev->edid_blocks) in vidioc_g_edid() 897 if (edid->start_block + edid->blocks > dev->edid_blocks) in vidioc_g_edid() 898 edid->blocks = dev->edid_blocks - edid->start_block; in vidioc_g_edid()
|
D | vivid-vid-cap.c | 1711 if (dev->input_type[edid->pad] != HDMI || edid->start_block) in vidioc_s_edid()
|
/linux-4.4.14/include/linux/ |
D | swap.h | 132 sector_t start_block; member 390 unsigned long nr_pages, sector_t start_block);
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-compat-ioctl32.c | 785 __u32 start_block; member 797 get_user(kp->start_block, &up->start_block) || in get_v4l2_edid32() 812 put_user(kp->start_block, &up->start_block) || in put_v4l2_edid32()
|
D | v4l2-ioctl.c | 873 p->pad, p->start_block, p->blocks); in v4l_print_edid()
|
/linux-4.4.14/drivers/media/i2c/ |
D | tc358743.c | 1558 if (edid->start_block == 0 && edid->blocks == 0) { in tc358743_g_edid() 1566 if (edid->start_block >= state->edid_blocks_written || in tc358743_g_edid() 1570 if (edid->start_block + edid->blocks > state->edid_blocks_written) in tc358743_g_edid() 1571 edid->blocks = state->edid_blocks_written - edid->start_block; in tc358743_g_edid() 1573 i2c_rd(sd, EDID_RAM + (edid->start_block * EDID_BLOCK_SIZE), edid->edid, in tc358743_g_edid() 1586 __func__, edid->pad, edid->start_block, edid->blocks); in tc358743_s_edid() 1591 if (edid->start_block != 0) in tc358743_s_edid()
|
D | ad9389b.c | 689 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()
|
D | adv7511.c | 901 if (edid->start_block == 0 && edid->blocks == 0) { in adv7511_get_edid() 909 if (edid->start_block >= state->edid.segments * 2) in adv7511_get_edid() 912 if (edid->start_block + edid->blocks > state->edid.segments * 2) in adv7511_get_edid() 913 edid->blocks = state->edid.segments * 2 - edid->start_block; in adv7511_get_edid() 915 memcpy(edid->edid, &state->edid.data[edid->start_block * 128], in adv7511_get_edid()
|
D | adv7604.c | 1992 if (edid->start_block == 0 && edid->blocks == 0) { in adv76xx_get_edid() 2000 if (edid->start_block >= state->edid.blocks) in adv76xx_get_edid() 2003 if (edid->start_block + edid->blocks > state->edid.blocks) in adv76xx_get_edid() 2004 edid->blocks = state->edid.blocks - edid->start_block; in adv76xx_get_edid() 2006 memcpy(edid->edid, data + edid->start_block * 128, edid->blocks * 128); in adv76xx_get_edid() 2051 if (edid->start_block != 0) in adv76xx_set_edid()
|
D | adv7842.c | 2262 if (edid->start_block == 0 && edid->blocks == 0) { in adv7842_get_edid() 2270 if (edid->start_block >= 2) in adv7842_get_edid() 2273 if (edid->start_block + edid->blocks > 2) in adv7842_get_edid() 2274 edid->blocks = 2 - edid->start_block; in adv7842_get_edid() 2276 memcpy(edid->edid, data + edid->start_block * 128, edid->blocks * 128); in adv7842_get_edid() 2290 if (e->start_block != 0) in adv7842_set_edid()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | mad.c | 736 u32 start_block = am & 0x7ff; in __subn_get_opa_pkeytable() local 746 port, start_block, n_blocks_req); in __subn_get_opa_pkeytable() 755 if (start_block + n_blocks_req > n_blocks_avail || in __subn_get_opa_pkeytable() 759 start_block, n_blocks_req, n_blocks_avail, in __subn_get_opa_pkeytable() 768 if (start_block == 0) { in __subn_get_opa_pkeytable() 1403 u32 start_block = am & 0x7ff; in __subn_set_opa_pkeytable() local 1412 port, start_block, n_blocks_sent); in __subn_set_opa_pkeytable() 1419 if (start_block + n_blocks_sent > n_blocks_avail || in __subn_set_opa_pkeytable() 1422 start_block, n_blocks_sent, n_blocks_avail, in __subn_set_opa_pkeytable() 1431 if (start_block == 0 && set_pkeys(dd, port, p) != 0) { in __subn_set_opa_pkeytable() [all …]
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
D | cobalt-driver.c | 522 .start_block = 0, in cobalt_subdevs_init() 616 .start_block = 0, in cobalt_subdevs_hsma_init()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | vio.h | 178 u64 start_block; member
|
/linux-4.4.14/drivers/input/mouse/ |
D | cyapa_gen3.c | 741 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.4.14/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 743 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.4.14/fs/udf/ |
D | super.c | 1189 int type1_index, sector_t start_block) in udf_find_vat_block() argument 1202 for (vat_block = start_block; in udf_find_vat_block() 1204 vat_block >= start_block - 3; vat_block--) { in udf_find_vat_block()
|
/linux-4.4.14/fs/ocfs2/cluster/ |
D | heartbeat.c | 1863 CONFIGFS_ATTR(o2hb_region_, start_block);
|