The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/servers/fs/type.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* Declaration of the V1 inode as it is on the disk (not in core). */
    2 typedef struct {                /* V1.x disk inode */
    3   mode_t d1_mode;               /* file type, protection, etc. */
    4   uid_t d1_uid;                 /* user id of the file's owner */
    5   off_t d1_size;                /* current file size in bytes */
    6   time_t d1_mtime;              /* when was file data last changed */
    7   u8_t d1_gid;                  /* group number */
    8   u8_t d1_nlinks;               /* how many links to this file */
    9   u16_t d1_zone[V1_NR_TZONES];  /* block nums for direct, ind, and dbl ind */
   10 } d1_inode;
   11 
   12 /* Declaration of the V2 inode as it is on the disk (not in core). */
   13 typedef struct {                /* V2.x disk inode */
   14   mode_t d2_mode;               /* file type, protection, etc. */
   15   u16_t d2_nlinks;              /* how many links to this file. HACK! */
   16   uid_t d2_uid;                 /* user id of the file's owner. */
   17   u16_t d2_gid;                 /* group number HACK! */
   18   off_t d2_size;                /* current file size in bytes */
   19   time_t d2_atime;              /* when was file data last accessed */
   20   time_t d2_mtime;              /* when was file data last changed */
   21   time_t d2_ctime;              /* when was inode data last changed */
   22   zone_t d2_zone[V2_NR_TZONES]; /* block nums for direct, ind, and dbl ind */
   23 } d2_inode;

Cache object: e268cdbc22da69261dcb5965892fdc10


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.