Searched refs:devi (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/fs/f2fs/ |
D | super.c | 3660 static int init_blkz_info(struct f2fs_sb_info *sbi, int devi) in init_blkz_info() argument 3662 struct block_device *bdev = FDEV(devi).bdev; in init_blkz_info() 3685 FDEV(devi).nr_blkz = SECTOR_TO_BLOCK(nr_sectors) >> in init_blkz_info() 3688 FDEV(devi).nr_blkz++; in init_blkz_info() 3690 FDEV(devi).blkz_seq = f2fs_kvzalloc(sbi, in init_blkz_info() 3691 BITS_TO_LONGS(FDEV(devi).nr_blkz) in init_blkz_info() 3694 if (!FDEV(devi).blkz_seq) in init_blkz_info() 3698 FDEV(devi).zone_capacity_blocks = f2fs_kzalloc(sbi, in init_blkz_info() 3699 FDEV(devi).nr_blkz * sizeof(block_t), in init_blkz_info() 3701 if (!FDEV(devi).zone_capacity_blocks) in init_blkz_info() [all …]
|
D | segment.c | 1350 int devi = f2fs_target_device_index(sbi, blkstart); in __queue_discard_cmd() local 1352 blkstart -= FDEV(devi).start_blk; in __queue_discard_cmd() 1727 int devi = 0; in __f2fs_issue_discard_zone() local 1730 devi = f2fs_target_device_index(sbi, blkstart); in __f2fs_issue_discard_zone() 1731 if (blkstart < FDEV(devi).start_blk || in __f2fs_issue_discard_zone() 1732 blkstart > FDEV(devi).end_blk) { in __f2fs_issue_discard_zone() 1736 blkstart -= FDEV(devi).start_blk; in __f2fs_issue_discard_zone() 1740 if (f2fs_blkz_is_seq(sbi, devi, blkstart)) { in __f2fs_issue_discard_zone() 1747 devi, sbi->s_ndevs ? FDEV(devi).path : "", in __f2fs_issue_discard_zone()
|
D | f2fs.h | 4351 static inline bool f2fs_blkz_is_seq(struct f2fs_sb_info *sbi, int devi, in f2fs_blkz_is_seq() argument 4356 return test_bit(zno, FDEV(devi).blkz_seq); in f2fs_blkz_is_seq()
|