Home
last modified time | relevance | path

Searched refs:start_blk (Results 1 – 22 of 22) sorted by relevance

/linux-4.1.27/fs/ext4/
Dblock_validity.c24 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 …]
Dresize.c249 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 …]
Dextents.c5146 ext4_lblk_t start_blk; in ext4_fiemap() local
5179 start_blk = start >> inode->i_sb->s_blocksize_bits; in ext4_fiemap()
5183 len_blks = ((ext4_lblk_t) last_blk) - start_blk + 1; in ext4_fiemap()
5189 error = ext4_fill_fiemap_extents(inode, start_blk, in ext4_fiemap()
Dext4.h2895 ext4_fsblk_t start_blk,
/linux-4.1.27/fs/
Dioctl.c255 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.1.27/fs/f2fs/
Dcheckpoint.c467 block_t start_blk, orphan_blocks, i, j; in recover_orphan_inodes() local
474 start_blk = __start_cp_addr(sbi) + 1 + __cp_payload(sbi); in recover_orphan_inodes()
477 ra_meta_pages(sbi, start_blk, orphan_blocks, META_CP); in recover_orphan_inodes()
480 struct page *page = get_meta_page(sbi, start_blk + i); in recover_orphan_inodes()
496 static void write_orphan_inodes(struct f2fs_sb_info *sbi, block_t start_blk) in write_orphan_inodes() argument
510 grab_meta_page(sbi, start_blk + index); in write_orphan_inodes()
519 page = find_get_page(META_MAPPING(sbi), start_blk++); in write_orphan_inodes()
881 block_t start_blk; in do_checkpoint() local
979 start_blk = __start_cp_addr(sbi); in do_checkpoint()
982 cp_page = grab_meta_page(sbi, start_blk++); in do_checkpoint()
[all …]
Dsegment.c1572 void write_data_summaries(struct f2fs_sb_info *sbi, block_t start_blk) in write_data_summaries() argument
1575 write_compacted_summaries(sbi, start_blk); in write_data_summaries()
1577 write_normal_summaries(sbi, start_blk, CURSEG_HOT_DATA); in write_data_summaries()
1580 void write_node_summaries(struct f2fs_sb_info *sbi, block_t start_blk) in write_node_summaries() argument
1582 write_normal_summaries(sbi, start_blk, CURSEG_HOT_NODE); in write_node_summaries()
1966 unsigned int readed, start_blk = 0; in build_sit_entries() local
1970 readed = ra_meta_pages(sbi, start_blk, nrpages, META_SIT); in build_sit_entries()
1972 start = start_blk * sit_i->sents_per_block; in build_sit_entries()
1973 end = (start_blk + readed) * sit_i->sents_per_block; in build_sit_entries()
2004 start_blk += readed; in build_sit_entries()
[all …]
/linux-4.1.27/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c1316 u64 start_blk = io_info->pdBlock; in megasas_set_pd_lba() local
1336 cdb[12] = (u8)((start_blk >> 56) & 0xff); in megasas_set_pd_lba()
1337 cdb[13] = (u8)((start_blk >> 48) & 0xff); in megasas_set_pd_lba()
1338 cdb[14] = (u8)((start_blk >> 40) & 0xff); in megasas_set_pd_lba()
1339 cdb[15] = (u8)((start_blk >> 32) & 0xff); in megasas_set_pd_lba()
1340 cdb[16] = (u8)((start_blk >> 24) & 0xff); in megasas_set_pd_lba()
1341 cdb[17] = (u8)((start_blk >> 16) & 0xff); in megasas_set_pd_lba()
1342 cdb[18] = (u8)((start_blk >> 8) & 0xff); in megasas_set_pd_lba()
1343 cdb[19] = (u8)(start_blk & 0xff); in megasas_set_pd_lba()
1375 (start_blk <= 0xffffffff)) { in megasas_set_pd_lba()
[all …]
Dmbox_defs.h605 uint32_t start_blk; member
617 uint32_t start_blk; member
/linux-4.1.27/fs/xfs/
Dxfs_log_recover.c437 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.1.27/fs/ocfs2/
Dsuballoc.h148 u64 start_blk,
153 u64 start_blk,
Dalloc.h99 u64 start_blk,
188 u64 start_blk,
Docfs2_trace.h739 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,
Dsuballoc.c2550 u64 start_blk, in _ocfs2_free_clusters() argument
2565 …BUG_ON(start_blk != ocfs2_clusters_to_blocks(bitmap_inode->i_sb, ocfs2_blocks_to_clusters(bitmap_i… in _ocfs2_free_clusters()
2569 ocfs2_block_to_cluster_group(bitmap_inode, start_blk, &bg_blkno, in _ocfs2_free_clusters()
2573 (unsigned long long)start_blk, in _ocfs2_free_clusters()
2596 u64 start_blk, in ocfs2_free_clusters() argument
2600 start_blk, num_clusters, in ocfs2_free_clusters()
2611 u64 start_blk, in ocfs2_release_clusters() argument
2615 start_blk, num_clusters, in ocfs2_release_clusters()
Dalloc.c4665 u64 start_blk, in ocfs2_insert_extent() argument
4682 rec.e_blkno = cpu_to_le64(start_blk); in ocfs2_insert_extent()
5807 u64 start_blk, in ocfs2_truncate_log_append() argument
5819 start_cluster = ocfs2_blocks_to_clusters(osb->sb, start_blk); in ocfs2_truncate_log_append()
5889 u64 start_blk; in ocfs2_replay_truncate_records() local
5924 start_blk = ocfs2_clusters_to_blocks(data_alloc_inode->i_sb, in ocfs2_replay_truncate_records()
5930 if (start_blk) { in ocfs2_replay_truncate_records()
5936 data_alloc_bh, start_blk, in ocfs2_replay_truncate_records()
6178 u64 start_blk; in ocfs2_complete_truncate_log_recovery() local
6213 start_blk = ocfs2_clusters_to_blocks(osb->sb, start_cluster); in ocfs2_complete_truncate_log_recovery()
[all …]
Ddir.c2415 int num_dx_leaves, u64 start_blk) in ocfs2_dx_dir_format_cluster() argument
2422 bh = sb_getblk(osb->sb, start_blk + i); in ocfs2_dx_dir_format_cluster()
/linux-4.1.27/block/partitions/
Dacorn.c168 unsigned int start_blk = 0; in adfspart_check_CUMANA() local
192 data = read_part_sector(state, start_blk * 2 + 6, &sect); in adfspart_check_CUMANA()
214 start_blk += nr_sects >> (BLOCK_SIZE_BITS - 9); in adfspart_check_CUMANA()
/linux-4.1.27/drivers/s390/char/
Dsclp_sdias.c164 int sclp_sdias_copy(void *dest, int start_blk, int nr_blks) in sclp_sdias_copy() argument
185 sccb.evbuf.fbn = start_blk; in sclp_sdias_copy()
/linux-4.1.27/fs/nilfs2/
Dpage.h63 sector_t start_blk,
Dpage.c512 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.1.27/drivers/scsi/
Dmegaraid.h400 u32 start_blk; /* starting block */ member
406 u32 start_blk; /* starting block */ member
/linux-4.1.27/drivers/block/
Dcciss.c3289 sector_t start_blk; in do_cciss_request() local
3336 start_blk = blk_rq_pos(creq); in do_cciss_request()
3392 c->Request.CDB[2] = (start_blk >> 24) & 0xff; /* MSB */ in do_cciss_request()
3393 c->Request.CDB[3] = (start_blk >> 16) & 0xff; in do_cciss_request()
3394 c->Request.CDB[4] = (start_blk >> 8) & 0xff; in do_cciss_request()
3395 c->Request.CDB[5] = start_blk & 0xff; in do_cciss_request()
3401 u32 upper32 = upper_32_bits(start_blk); in do_cciss_request()
3409 c->Request.CDB[6]= (start_blk >> 24) & 0xff; in do_cciss_request()
3410 c->Request.CDB[7]= (start_blk >> 16) & 0xff; in do_cciss_request()
3411 c->Request.CDB[8]= (start_blk >> 8) & 0xff; in do_cciss_request()
[all …]