Home
last modified time | relevance | path

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

/fs/f2fs/
Dsuper.c3717 static int init_blkz_info(struct f2fs_sb_info *sbi, int devi) in init_blkz_info() argument
3719 struct block_device *bdev = FDEV(devi).bdev; in init_blkz_info()
3735 FDEV(devi).nr_blkz = SECTOR_TO_BLOCK(nr_sectors) >> in init_blkz_info()
3738 FDEV(devi).nr_blkz++; in init_blkz_info()
3740 FDEV(devi).blkz_seq = f2fs_kvzalloc(sbi, in init_blkz_info()
3741 BITS_TO_LONGS(FDEV(devi).nr_blkz) in init_blkz_info()
3744 if (!FDEV(devi).blkz_seq) in init_blkz_info()
3748 rep_zone_arg.dev = &FDEV(devi); in init_blkz_info()
Dsegment.c1478 int devi = f2fs_target_device_index(sbi, blkstart); in __queue_discard_cmd() local
1480 blkstart -= FDEV(devi).start_blk; in __queue_discard_cmd()
1856 int devi = 0; in __f2fs_issue_discard_zone() local
1859 devi = f2fs_target_device_index(sbi, blkstart); in __f2fs_issue_discard_zone()
1860 if (blkstart < FDEV(devi).start_blk || in __f2fs_issue_discard_zone()
1861 blkstart > FDEV(devi).end_blk) { in __f2fs_issue_discard_zone()
1865 blkstart -= FDEV(devi).start_blk; in __f2fs_issue_discard_zone()
1869 if (f2fs_blkz_is_seq(sbi, devi, blkstart)) { in __f2fs_issue_discard_zone()
1876 devi, sbi->s_ndevs ? FDEV(devi).path : "", in __f2fs_issue_discard_zone()
Df2fs.h4395 static inline bool f2fs_blkz_is_seq(struct f2fs_sb_info *sbi, int devi, in f2fs_blkz_is_seq() argument
4400 return test_bit(zno, FDEV(devi).blkz_seq); in f2fs_blkz_is_seq()