Searched refs:dev_fs (Results 1 – 2 of 2) sorted by relevance
297 struct kdev_s *dev_fs = NULL, *dev_journal; in ext2fs_get_journal() local310 retval = ext2fs_get_memzero(2 * sizeof(struct kdev_s), &dev_fs); in ext2fs_get_journal()313 dev_journal = dev_fs+1; in ext2fs_get_journal()315 dev_fs->k_fs = dev_journal->k_fs = fs; in ext2fs_get_journal()316 dev_fs->k_dev = K_DEV_FS; in ext2fs_get_journal()320 journal->j_fs_dev = dev_fs; in ext2fs_get_journal()516 if (dev_fs) in ext2fs_get_journal()517 ext2fs_free_mem(&dev_fs); in ext2fs_get_journal()
955 struct kdev_s *dev_fs = NULL, *dev_journal; in e2fsck_get_journal() local972 dev_fs = e2fsck_allocate_memory(ctx, 2*sizeof(struct kdev_s), "kdev"); in e2fsck_get_journal()973 if (!dev_fs) { in e2fsck_get_journal()977 dev_journal = dev_fs+1; in e2fsck_get_journal()979 dev_fs->k_ctx = dev_journal->k_ctx = ctx; in e2fsck_get_journal()980 dev_fs->k_dev = K_DEV_FS; in e2fsck_get_journal()984 journal->j_fs_dev = dev_fs; in e2fsck_get_journal()1199 if (dev_fs) in e2fsck_get_journal()1200 ext2fs_free_mem(&dev_fs); in e2fsck_get_journal()