Home
last modified time | relevance | path

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

/openbmc/linux/fs/f2fs/
H A Dsegment.h978 int devi; in first_zoned_segno() local
980 for (devi = 0; devi < sbi->s_ndevs; devi++) in first_zoned_segno()
981 if (bdev_is_zoned(FDEV(devi).bdev)) in first_zoned_segno()
982 return GET_SEGNO(sbi, FDEV(devi).start_blk); in first_zoned_segno()
H A Dsegment.c1272 int devi = f2fs_bdev_index(sbi, bdev); in __submit_discard_cmd() local
1274 if (devi < 0) in __submit_discard_cmd()
1277 if (f2fs_blkz_is_seq(sbi, devi, dc->di.start)) { in __submit_discard_cmd()
1562 int devi = f2fs_target_device_index(sbi, blkstart); in __queue_discard_cmd() local
1564 blkstart -= FDEV(devi).start_blk; in __queue_discard_cmd()
1816 int devi = f2fs_bdev_index(sbi, dc->bdev); in f2fs_wait_discard_bio() local
1818 if (devi < 0) { in f2fs_wait_discard_bio()
1823 if (f2fs_blkz_is_seq(sbi, devi, dc->di.start)) { in f2fs_wait_discard_bio()
1963 int devi = 0; in __f2fs_issue_discard_zone() local
1967 devi = f2fs_target_device_index(sbi, blkstart); in __f2fs_issue_discard_zone()
[all …]
H A Ddata.c928 int devi = 0; in is_end_zone_blkaddr() local
931 devi = f2fs_target_device_index(sbi, blkaddr); in is_end_zone_blkaddr()
932 if (blkaddr < FDEV(devi).start_blk || in is_end_zone_blkaddr()
933 blkaddr > FDEV(devi).end_blk) { in is_end_zone_blkaddr()
937 blkaddr -= FDEV(devi).start_blk; in is_end_zone_blkaddr()
938 bdev = FDEV(devi).bdev; in is_end_zone_blkaddr()
941 f2fs_blkz_is_seq(sbi, devi, blkaddr) && in is_end_zone_blkaddr()
H A Dsuper.c3869 static int init_blkz_info(struct f2fs_sb_info *sbi, int devi) in init_blkz_info() argument
3871 struct block_device *bdev = FDEV(devi).bdev; in init_blkz_info()
3885 FDEV(devi).nr_blkz = div_u64(SECTOR_TO_BLOCK(nr_sectors), in init_blkz_info()
3888 FDEV(devi).nr_blkz++; in init_blkz_info()
3890 FDEV(devi).blkz_seq = f2fs_kvzalloc(sbi, in init_blkz_info()
3891 BITS_TO_LONGS(FDEV(devi).nr_blkz) in init_blkz_info()
3894 if (!FDEV(devi).blkz_seq) in init_blkz_info()
3898 rep_zone_arg.dev = &FDEV(devi); in init_blkz_info()
H A Df2fs.h4471 static inline bool f2fs_blkz_is_seq(struct f2fs_sb_info *sbi, int devi, in f2fs_blkz_is_seq() argument
4476 return test_bit(zno, FDEV(devi).blkz_seq); in f2fs_blkz_is_seq()
4552 int devi = f2fs_target_device_index(sbi, blkaddr); in f2fs_valid_pinned_area() local
4554 return !bdev_is_zoned(FDEV(devi).bdev); in f2fs_valid_pinned_area()
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0014-do-not-disable-buffer-in-writing-files.patch498 @@ -408,7 +408,7 @@ static int nvme_subsystem_add(const char *node, int consumed_fd, sd_device *devi
507 …-423,11 +423,11 @@ static int nvme_subsystem_add(const char *node, int consumed_fd, sd_device *devi