/linux-4.4.14/fs/ext4/ |
D | block_validity.c | 24 ext4_fsblk_t start_blk; member 46 if ((entry1->start_blk + entry1->count) == entry2->start_blk) in can_merge() 57 ext4_fsblk_t start_blk, in add_system_zone() argument 67 if (start_blk < entry->start_blk) in add_system_zone() 69 else if (start_blk >= (entry->start_blk + entry->count)) in add_system_zone() 72 if (start_blk + count > (entry->start_blk + in add_system_zone() 74 entry->count = (start_blk + count - in add_system_zone() 75 entry->start_blk); in add_system_zone() 88 new_entry->start_blk = start_blk; in add_system_zone() 101 new_entry->start_blk = entry->start_blk; in add_system_zone() [all …]
|
D | resize.c | 249 ext4_fsblk_t start_blk; in ext4_alloc_group_tables() local 271 start_blk = ext4_group_first_block_no(sb, src_group); in ext4_alloc_group_tables() 272 last_blk = start_blk + group_data[src_group - group].blocks_count; in ext4_alloc_group_tables() 276 start_blk += overhead; in ext4_alloc_group_tables() 290 if (start_blk >= last_blk) in ext4_alloc_group_tables() 292 group_data[bb_index].block_bitmap = start_blk++; in ext4_alloc_group_tables() 293 group = ext4_get_group_number(sb, start_blk - 1); in ext4_alloc_group_tables() 301 if (start_blk >= last_blk) in ext4_alloc_group_tables() 303 group_data[ib_index].inode_bitmap = start_blk++; in ext4_alloc_group_tables() 304 group = ext4_get_group_number(sb, start_blk - 1); in ext4_alloc_group_tables() [all …]
|
D | extents.c | 5174 ext4_lblk_t start_blk; in ext4_fiemap() local 5207 start_blk = start >> inode->i_sb->s_blocksize_bits; in ext4_fiemap() 5211 len_blks = ((ext4_lblk_t) last_blk) - start_blk + 1; in ext4_fiemap() 5217 error = ext4_fill_fiemap_extents(inode, start_blk, in ext4_fiemap()
|
D | ext4.h | 3121 ext4_fsblk_t start_blk,
|
/linux-4.4.14/fs/ |
D | ioctl.c | 255 sector_t start_blk, last_blk; in __generic_block_fiemap() local 283 start_blk = logical_to_blk(inode, start); in __generic_block_fiemap() 294 ret = get_block(inode, start_blk, &map_bh, 0); in __generic_block_fiemap() 300 start_blk++; in __generic_block_fiemap() 310 blk_to_logical(inode, start_blk) >= isize) in __generic_block_fiemap() 329 if (start_blk > last_blk || past_eof || ret) in __generic_block_fiemap() 347 if (start_blk > last_blk && !whole_file) { in __generic_block_fiemap() 366 logical = blk_to_logical(inode, start_blk); in __generic_block_fiemap() 371 start_blk += logical_to_blk(inode, size); in __generic_block_fiemap()
|
/linux-4.4.14/fs/f2fs/ |
D | checkpoint.c | 516 block_t start_blk, orphan_blocks, i, j; in recover_orphan_inodes() local 522 start_blk = __start_cp_addr(sbi) + 1 + __cp_payload(sbi); in recover_orphan_inodes() 525 ra_meta_pages(sbi, start_blk, orphan_blocks, META_CP, true); in recover_orphan_inodes() 528 struct page *page = get_meta_page(sbi, start_blk + i); in recover_orphan_inodes() 547 static void write_orphan_inodes(struct f2fs_sb_info *sbi, block_t start_blk) in write_orphan_inodes() argument 570 page = grab_meta_page(sbi, start_blk++); in write_orphan_inodes() 929 block_t start_blk; in do_checkpoint() local 1028 start_blk = __start_cp_addr(sbi); in do_checkpoint() 1036 update_meta_page(sbi, ckpt, start_blk++); in do_checkpoint() 1040 start_blk++); in do_checkpoint() [all …]
|
D | data.c | 763 sector_t start_blk, last_blk; in f2fs_fiemap() local 790 start_blk = logical_to_blk(inode, start); in f2fs_fiemap() 796 ret = get_data_block(inode, start_blk, &map_bh, 0, in f2fs_fiemap() 803 start_blk++; in f2fs_fiemap() 805 if (!past_eof && blk_to_logical(inode, start_blk) >= isize) in f2fs_fiemap() 819 if (start_blk > last_blk || past_eof || ret) in f2fs_fiemap() 822 if (start_blk > last_blk && !whole_file) { in f2fs_fiemap() 839 logical = blk_to_logical(inode, start_blk); in f2fs_fiemap() 846 start_blk += logical_to_blk(inode, size); in f2fs_fiemap()
|
D | segment.c | 1729 void write_data_summaries(struct f2fs_sb_info *sbi, block_t start_blk) in write_data_summaries() argument 1732 write_compacted_summaries(sbi, start_blk); in write_data_summaries() 1734 write_normal_summaries(sbi, start_blk, CURSEG_HOT_DATA); in write_data_summaries() 1737 void write_node_summaries(struct f2fs_sb_info *sbi, block_t start_blk) in write_node_summaries() argument 1739 write_normal_summaries(sbi, start_blk, CURSEG_HOT_NODE); in write_node_summaries() 2127 unsigned int readed, start_blk = 0; in build_sit_entries() local 2131 readed = ra_meta_pages(sbi, start_blk, nrpages, META_SIT, true); in build_sit_entries() 2133 start = start_blk * sit_i->sents_per_block; in build_sit_entries() 2134 end = (start_blk + readed) * sit_i->sents_per_block; in build_sit_entries() 2170 start_blk += readed; in build_sit_entries() [all …]
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 1379 u64 start_blk = io_info->pdBlock; in megasas_set_pd_lba() local 1399 cdb[12] = (u8)((start_blk >> 56) & 0xff); in megasas_set_pd_lba() 1400 cdb[13] = (u8)((start_blk >> 48) & 0xff); in megasas_set_pd_lba() 1401 cdb[14] = (u8)((start_blk >> 40) & 0xff); in megasas_set_pd_lba() 1402 cdb[15] = (u8)((start_blk >> 32) & 0xff); in megasas_set_pd_lba() 1403 cdb[16] = (u8)((start_blk >> 24) & 0xff); in megasas_set_pd_lba() 1404 cdb[17] = (u8)((start_blk >> 16) & 0xff); in megasas_set_pd_lba() 1405 cdb[18] = (u8)((start_blk >> 8) & 0xff); in megasas_set_pd_lba() 1406 cdb[19] = (u8)(start_blk & 0xff); in megasas_set_pd_lba() 1438 (start_blk <= 0xffffffff)) { in megasas_set_pd_lba() [all …]
|
D | mbox_defs.h | 605 uint32_t start_blk; member 617 uint32_t start_blk; member
|
/linux-4.4.14/fs/xfs/ |
D | xfs_log_recover.c | 437 xfs_daddr_t start_blk, in xlog_find_verify_cycle() argument 464 for (i = start_blk; i < start_blk + nbblks; i += bufblks) { in xlog_find_verify_cycle() 467 bcount = min(bufblks, (start_blk + nbblks - i)); in xlog_find_verify_cycle() 506 xfs_daddr_t start_blk, in xlog_find_verify_log_record() argument 516 int num_blks = *last_blk - start_blk; in xlog_find_verify_log_record() 519 ASSERT(start_blk != 0 || *last_blk != start_blk); in xlog_find_verify_log_record() 526 error = xlog_bread(log, start_blk, num_blks, bp, &offset); in xlog_find_verify_log_record() 533 if (i < start_blk) { in xlog_find_verify_log_record() 620 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local 747 start_blk = head_blk - num_scan_bblks; in xlog_find_head() [all …]
|
/linux-4.4.14/fs/ocfs2/ |
D | suballoc.h | 148 u64 start_blk, 153 u64 start_blk,
|
D | alloc.h | 99 u64 start_blk, 188 u64 start_blk,
|
D | ocfs2_trace.h | 739 TP_PROTO(int count, int bit, unsigned long long start_blk, 741 TP_ARGS(count, bit, start_blk, blkno), 745 __field(unsigned long long, start_blk) 751 __entry->start_blk = start_blk; 755 __entry->count, __entry->bit, __entry->start_blk, 854 TP_PROTO(unsigned long long bg_blkno, unsigned long long start_blk, 856 TP_ARGS(bg_blkno, start_blk, start_bit, count), 859 __field(unsigned long long, start_blk) 865 __entry->start_blk = start_blk; 869 TP_printk("%llu %llu %u %u", __entry->bg_blkno, __entry->start_blk,
|
D | suballoc.c | 2533 u64 start_blk, in _ocfs2_free_clusters() argument 2548 …BUG_ON(start_blk != ocfs2_clusters_to_blocks(bitmap_inode->i_sb, ocfs2_blocks_to_clusters(bitmap_i… in _ocfs2_free_clusters() 2552 ocfs2_block_to_cluster_group(bitmap_inode, start_blk, &bg_blkno, in _ocfs2_free_clusters() 2556 (unsigned long long)start_blk, in _ocfs2_free_clusters() 2579 u64 start_blk, in ocfs2_free_clusters() argument 2583 start_blk, num_clusters, in ocfs2_free_clusters() 2594 u64 start_blk, in ocfs2_release_clusters() argument 2598 start_blk, num_clusters, in ocfs2_release_clusters()
|
D | alloc.c | 4684 u64 start_blk, in ocfs2_insert_extent() argument 4701 rec.e_blkno = cpu_to_le64(start_blk); in ocfs2_insert_extent() 5825 u64 start_blk, in ocfs2_truncate_log_append() argument 5837 start_cluster = ocfs2_blocks_to_clusters(osb->sb, start_blk); in ocfs2_truncate_log_append() 5907 u64 start_blk; in ocfs2_replay_truncate_records() local 5942 start_blk = ocfs2_clusters_to_blocks(data_alloc_inode->i_sb, in ocfs2_replay_truncate_records() 5948 if (start_blk) { in ocfs2_replay_truncate_records() 5954 data_alloc_bh, start_blk, in ocfs2_replay_truncate_records() 6196 u64 start_blk; in ocfs2_complete_truncate_log_recovery() local 6231 start_blk = ocfs2_clusters_to_blocks(osb->sb, start_cluster); in ocfs2_complete_truncate_log_recovery() [all …]
|
D | dir.c | 2405 int num_dx_leaves, u64 start_blk) in ocfs2_dx_dir_format_cluster() argument 2412 bh = sb_getblk(osb->sb, start_blk + i); in ocfs2_dx_dir_format_cluster()
|
/linux-4.4.14/block/partitions/ |
D | acorn.c | 168 unsigned int start_blk = 0; in adfspart_check_CUMANA() local 192 data = read_part_sector(state, start_blk * 2 + 6, §); in adfspart_check_CUMANA() 214 start_blk += nr_sects >> (BLOCK_SIZE_BITS - 9); in adfspart_check_CUMANA()
|
/linux-4.4.14/drivers/s390/char/ |
D | sclp_sdias.c | 163 int sclp_sdias_copy(void *dest, int start_blk, int nr_blks) in sclp_sdias_copy() argument 184 sccb.evbuf.fbn = start_blk; in sclp_sdias_copy()
|
/linux-4.4.14/fs/nilfs2/ |
D | page.h | 63 sector_t start_blk,
|
D | page.c | 512 sector_t start_blk, in nilfs_find_uncommitted_extent() argument 526 index = start_blk >> (PAGE_CACHE_SHIFT - inode->i_blkbits); in nilfs_find_uncommitted_extent() 551 if (b < start_blk) in nilfs_find_uncommitted_extent()
|
/linux-4.4.14/drivers/scsi/ |
D | megaraid.h | 400 u32 start_blk; /* starting block */ member 406 u32 start_blk; /* starting block */ member
|
/linux-4.4.14/drivers/block/ |
D | cciss.c | 3305 sector_t start_blk; in do_cciss_request() local 3352 start_blk = blk_rq_pos(creq); in do_cciss_request() 3408 c->Request.CDB[2] = (start_blk >> 24) & 0xff; /* MSB */ in do_cciss_request() 3409 c->Request.CDB[3] = (start_blk >> 16) & 0xff; in do_cciss_request() 3410 c->Request.CDB[4] = (start_blk >> 8) & 0xff; in do_cciss_request() 3411 c->Request.CDB[5] = start_blk & 0xff; in do_cciss_request() 3417 u32 upper32 = upper_32_bits(start_blk); in do_cciss_request() 3425 c->Request.CDB[6]= (start_blk >> 24) & 0xff; in do_cciss_request() 3426 c->Request.CDB[7]= (start_blk >> 16) & 0xff; in do_cciss_request() 3427 c->Request.CDB[8]= (start_blk >> 8) & 0xff; in do_cciss_request() [all …]
|