1147476Sdumbbell/* 2147476Sdumbbell * Copyright 2000 Hans Reiser 3147476Sdumbbell * See README for licensing and copyright details 4147476Sdumbbell * 5147476Sdumbbell * Ported to FreeBSD by Jean-S�bastien P�dron <jspedron@club-internet.fr> 6147476Sdumbbell * 7147476Sdumbbell * $FreeBSD$ 8147476Sdumbbell */ 9147476Sdumbbell 10147476Sdumbbell#ifndef _GNU_REISERFS_REISERFS_MOUNT_H 11147476Sdumbbell#define _GNU_REISERFS_REISERFS_MOUNT_H 12147476Sdumbbell 13147476Sdumbbell#if defined(_KERNEL) 14147476Sdumbbell 15147476Sdumbbell#ifdef MALLOC_DECLARE 16147476SdumbbellMALLOC_DECLARE(M_REISERFSMNT); 17147476SdumbbellMALLOC_DECLARE(M_REISERFSPATH); 18147476SdumbbellMALLOC_DECLARE(M_REISERFSNODE); 19147476SdumbbellMALLOC_DECLARE(M_REISERFSCOOKIES); 20147476Sdumbbell#endif 21147476Sdumbbell 22147476Sdumbbell/* This structure describes the ReiserFS specific mount structure data. */ 23147476Sdumbbellstruct reiserfs_mount { 24147476Sdumbbell struct mount *rm_mountp; 25147476Sdumbbell struct cdev *rm_dev; 26147476Sdumbbell struct vnode *rm_devvp; 27147476Sdumbbell 28147476Sdumbbell struct reiserfs_sb_info *rm_reiserfs; 29147476Sdumbbell 30147476Sdumbbell struct g_consumer *rm_cp; 31147476Sdumbbell struct bufobj *rm_bo; 32147476Sdumbbell}; 33147476Sdumbbell 34147476Sdumbbell/* Convert mount ptr to reiserfs_mount ptr. */ 35147476Sdumbbell#define VFSTOREISERFS(mp) ((struct reiserfs_mount *)((mp)->mnt_data)) 36147476Sdumbbell 37147476Sdumbbell#endif /* defined(_KERNEL) */ 38147476Sdumbbell 39147476Sdumbbell/* Arguments to mount ReiserFS filesystems. */ 40147476Sdumbbellstruct reiserfs_args { 41147476Sdumbbell char *fspec; /* blocks special holding the fs to mount */ 42213664Skib struct oexport_args export; /* network export information */ 43147476Sdumbbell}; 44147476Sdumbbell 45147476Sdumbbell#endif /* !defined _GNU_REISERFS_REISERFS_MOUNT_H */ 46