Searched refs:jdev (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/fs/jffs2/ |
D | nodelist.h | 316 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()
|
D | fs.c | 257 union jffs2_device_node jdev; in jffs2_iget() local 326 if (f->metadata->size != sizeof(jdev.old_id) && in jffs2_iget() 327 f->metadata->size != sizeof(jdev.new_id)) { in jffs2_iget() 333 ret = jffs2_read_dnode(c, f, f->metadata, (char *)&jdev, 0, f->metadata->size); in jffs2_iget() 340 if (f->metadata->size == sizeof(jdev.old_id)) in jffs2_iget() 341 rdev = old_decode_dev(je16_to_cpu(jdev.old_id)); in jffs2_iget() 343 rdev = new_decode_dev(je32_to_cpu(jdev.new_id)); in jffs2_iget()
|
/Linux-v5.10/drivers/md/ |
D | dm-raid.c | 1245 struct md_rdev *jdev; in parse_raid_params() local 1261 jdev = &rs->journal_dev.rdev; in parse_raid_params() 1262 md_rdev_init(jdev); in parse_raid_params() 1263 jdev->mddev = &rs->md; in parse_raid_params() 1264 jdev->bdev = rs->journal_dev.dev->bdev; in parse_raid_params() 1265 jdev->sectors = to_sector(i_size_read(jdev->bdev->bd_inode)); in parse_raid_params() 1266 if (jdev->sectors < MIN_RAID456_JOURNAL_SPACE) { in parse_raid_params() 1271 set_bit(Journal, &jdev->flags); in parse_raid_params()
|
/Linux-v5.10/fs/reiserfs/ |
D | journal.c | 2600 dev_t jdev; in journal_init_dev() local 2606 jdev = SB_ONDISK_JOURNAL_DEVICE(super) ? in journal_init_dev() 2614 if (jdev == super->s_dev) in journal_init_dev() 2616 journal->j_dev_bd = blkdev_get_by_dev(jdev, blkdev_mode, in journal_init_dev() 2624 MAJOR(jdev), MINOR(jdev), result); in journal_init_dev() 2626 } else if (jdev != super->s_dev) in journal_init_dev()
|