Home
last modified time | relevance | path

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

/fs/jffs2/
Dfs.c257 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()
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.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()