Home
last modified time | relevance | path

Searched refs:devi (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/fs/f2fs/
Dsuper.c3704 static int init_blkz_info(struct f2fs_sb_info *sbi, int devi) in init_blkz_info() argument
3706 struct block_device *bdev = FDEV(devi).bdev; in init_blkz_info()
3729 FDEV(devi).nr_blkz = SECTOR_TO_BLOCK(nr_sectors) >> in init_blkz_info()
3732 FDEV(devi).nr_blkz++; in init_blkz_info()
3734 FDEV(devi).blkz_seq = f2fs_kvzalloc(sbi, in init_blkz_info()
3735 BITS_TO_LONGS(FDEV(devi).nr_blkz) in init_blkz_info()
3738 if (!FDEV(devi).blkz_seq) in init_blkz_info()
3742 rep_zone_arg.dev = &FDEV(devi); in init_blkz_info()
Dsegment.c1356 int devi = f2fs_target_device_index(sbi, blkstart); in __queue_discard_cmd() local
1358 blkstart -= FDEV(devi).start_blk; in __queue_discard_cmd()
1733 int devi = 0; in __f2fs_issue_discard_zone() local
1736 devi = f2fs_target_device_index(sbi, blkstart); in __f2fs_issue_discard_zone()
1737 if (blkstart < FDEV(devi).start_blk || in __f2fs_issue_discard_zone()
1738 blkstart > FDEV(devi).end_blk) { in __f2fs_issue_discard_zone()
1742 blkstart -= FDEV(devi).start_blk; in __f2fs_issue_discard_zone()
1746 if (f2fs_blkz_is_seq(sbi, devi, blkstart)) { in __f2fs_issue_discard_zone()
1753 devi, sbi->s_ndevs ? FDEV(devi).path : "", in __f2fs_issue_discard_zone()
Df2fs.h4415 static inline bool f2fs_blkz_is_seq(struct f2fs_sb_info *sbi, int devi, in f2fs_blkz_is_seq() argument
4420 return test_bit(zno, FDEV(devi).blkz_seq); in f2fs_blkz_is_seq()