OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [include/] [linux/] [mount.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/*
2
 *
3
 * Definitions for mount interface. This describes the in the kernel build
4
 * linkedlist with mounted filesystems.
5
 *
6
 * Author:  Marco van Wieringen <mvw@mcs.ow.nl> <mvw@tnix.net> <mvw@cistron.nl>
7
 *
8
 * Version: $Id: mount.h,v 1.1.1.1 2001-09-10 07:43:49 simons Exp $
9
 *
10
 */
11
#ifndef _LINUX_MOUNT_H
12
#define _LINUX_MOUNT_H
13
 
14
struct vfsmount
15
{
16
   kdev_t mnt_dev;                     /* Device this applies to */
17
   char *mnt_devname;                  /* Name of device e.g. /dev/dsk/hda1 */
18
   char *mnt_dirname;                  /* Name of directory mounted on */
19
   unsigned int mnt_flags;             /* Flags of this device */
20
   struct semaphore mnt_sem;           /* lock device while I/O in progress */
21
   struct super_block *mnt_sb;         /* pointer to superblock */
22
   struct file *mnt_quotas[MAXQUOTAS]; /* fp's to quotafiles */
23
   time_t mnt_iexp[MAXQUOTAS];         /* expiretime for inodes */
24
   time_t mnt_bexp[MAXQUOTAS];         /* expiretime for blocks */
25
   struct vfsmount *mnt_next;          /* pointer to next in linkedlist */
26
};
27
 
28
struct vfsmount *lookup_vfsmnt(kdev_t dev);
29
 
30
#endif /* _LINUX_MOUNT_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.