~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/fs/devpts/devpts_i.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* -*- linux-c -*- --------------------------------------------------------- *
  2  *
  3  * linux/fs/devpts/devpts_i.h
  4  *
  5  *  Copyright 1998 H. Peter Anvin -- All Rights Reserved
  6  *
  7  * This file is part of the Linux kernel and is made available under
  8  * the terms of the GNU General Public License, version 2, or at your
  9  * option, any later version, incorporated herein by reference.
 10  *
 11  * ------------------------------------------------------------------------- */
 12 
 13 #include <linux/fs.h>
 14 #include <linux/tty.h>
 15 #include <linux/types.h>
 16 
 17 #define BUILDING_DEVPTS 1
 18 #include <linux/devpts_fs.h>
 19 
 20 struct devpts_sb_info {
 21         u32 magic;
 22         int setuid;
 23         int setgid;
 24         uid_t   uid;
 25         gid_t   gid;
 26         umode_t mode;
 27 
 28         unsigned int max_ptys;
 29         struct inode **inodes;
 30 };
 31 
 32 #define DEVPTS_SUPER_MAGIC 0x1cd1
 33 #define DEVPTS_SBI_MAGIC   0x01da1d02
 34 
 35 extern inline struct devpts_sb_info *SBI(struct super_block *sb)
 36 {
 37         return (struct devpts_sb_info *)(sb->u.generic_sbp);
 38 }
 39 
 40 extern struct inode_operations devpts_root_inode_operations;
 41 extern struct file_operations devpts_root_operations;
 42 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.