Home
last modified time | relevance | path

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

/fs/jffs2/
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()
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()
/fs/reiserfs/
Djournal.c2600 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()