Home
last modified time | relevance | path

Searched refs:jdev (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/jffs2/
Dnodelist.h316 static inline int jffs2_encode_dev(union jffs2_device_node *jdev, dev_t rdev) in jffs2_encode_dev() argument
319 jdev->old_id = cpu_to_je16(old_encode_dev(rdev)); in jffs2_encode_dev()
320 return sizeof(jdev->old_id); in jffs2_encode_dev()
322 jdev->new_id = cpu_to_je32(new_encode_dev(rdev)); in jffs2_encode_dev()
323 return sizeof(jdev->new_id); in jffs2_encode_dev()
Dfs.c258 union jffs2_device_node jdev; in jffs2_iget() local
327 if (f->metadata->size != sizeof(jdev.old_id) && in jffs2_iget()
328 f->metadata->size != sizeof(jdev.new_id)) { in jffs2_iget()
334 ret = jffs2_read_dnode(c, f, f->metadata, (char *)&jdev, 0, f->metadata->size); in jffs2_iget()
341 if (f->metadata->size == sizeof(jdev.old_id)) in jffs2_iget()
342 rdev = old_decode_dev(je16_to_cpu(jdev.old_id)); in jffs2_iget()
344 rdev = new_decode_dev(je32_to_cpu(jdev.new_id)); in jffs2_iget()
/linux-6.1.9/drivers/md/
Ddm-raid.c1246 struct md_rdev *jdev; in parse_raid_params() local
1262 jdev = &rs->journal_dev.rdev; in parse_raid_params()
1263 md_rdev_init(jdev); in parse_raid_params()
1264 jdev->mddev = &rs->md; in parse_raid_params()
1265 jdev->bdev = rs->journal_dev.dev->bdev; in parse_raid_params()
1266 jdev->sectors = bdev_nr_sectors(jdev->bdev); in parse_raid_params()
1267 if (jdev->sectors < MIN_RAID456_JOURNAL_SPACE) { in parse_raid_params()
1272 set_bit(Journal, &jdev->flags); in parse_raid_params()
/linux-6.1.9/fs/reiserfs/
Djournal.c2602 dev_t jdev; in journal_init_dev() local
2608 jdev = SB_ONDISK_JOURNAL_DEVICE(super) ? in journal_init_dev()
2616 if (jdev == super->s_dev) in journal_init_dev()
2618 journal->j_dev_bd = blkdev_get_by_dev(jdev, blkdev_mode, in journal_init_dev()
2626 MAJOR(jdev), MINOR(jdev), result); in journal_init_dev()
2628 } else if (jdev != super->s_dev) in journal_init_dev()