Home
last modified time | relevance | path

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

/Linux-v4.19/fs/f2fs/
Dsuper.c2461 static int init_blkz_info(struct f2fs_sb_info *sbi, int devi) in init_blkz_info() argument
2463 struct block_device *bdev = FDEV(devi).bdev; in init_blkz_info()
2482 FDEV(devi).nr_blkz = SECTOR_TO_BLOCK(nr_sectors) >> in init_blkz_info()
2485 FDEV(devi).nr_blkz++; in init_blkz_info()
2487 FDEV(devi).blkz_type = f2fs_kmalloc(sbi, FDEV(devi).nr_blkz, in init_blkz_info()
2489 if (!FDEV(devi).blkz_type) in init_blkz_info()
2516 FDEV(devi).blkz_type[n] = zones[i].type; in init_blkz_info()
Dsegment.c1274 int devi = f2fs_target_device_index(sbi, blkstart); in __queue_discard_cmd() local
1276 blkstart -= FDEV(devi).start_blk; in __queue_discard_cmd()
1620 int devi = 0; in __f2fs_issue_discard_zone() local
1623 devi = f2fs_target_device_index(sbi, blkstart); in __f2fs_issue_discard_zone()
1624 blkstart -= FDEV(devi).start_blk; in __f2fs_issue_discard_zone()
1647 devi, sbi->s_ndevs ? FDEV(devi).path: "", in __f2fs_issue_discard_zone()