/* * NFSv3 protocol definitions */ #ifndef _LINUX_NFS3_H #define _LINUX_NFS3_H #define NFS3_PORT 2049 #define NFS3_MAXDATA 32768 #define NFS3_MAXPATHLEN PATH_MAX #define NFS3_MAXNAMLEN NAME_MAX #define NFS3_MAXGROUPS 16 #define NFS3_FHSIZE 64 #define NFS3_COOKIESIZE 4 #define NFS3_FIFO_DEV (-1) #define NFS3MODE_FMT 0170000 #define NFS3MODE_DIR 0040000 #define NFS3MODE_CHR 0020000 #define NFS3MODE_BLK 0060000 #define NFS3MODE_REG 0100000 #define NFS3MODE_LNK 0120000 #define NFS3MODE_SOCK 0140000 #define NFS3MODE_FIFO 0010000 /* Flags for access() call */ #define NFS3_ACCESS_READ 0x0001 #define NFS3_ACCESS_LOOKUP 0x0002 #define NFS3_ACCESS_MODIFY 0x0004 #define NFS3_ACCESS_EXTEND 0x0008 #define NFS3_ACCESS_DELETE 0x0010 #define NFS3_ACCESS_EXECUTE 0x0020 #define NFS3_ACCESS_FULL 0x003f /* Flags for create mode */ enum nfs3_createmode { NFS3_CREATE_UNCHECKED = 0, NFS3_CREATE_GUARDED = 1, NFS3_CREATE_EXCLUSIVE = 2 }; /* NFSv3 file system properties */ #define NFS3_FSF_LINK 0x0001 #define NFS3_FSF_SYMLINK 0x0002 #define NFS3_FSF_HOMOGENEOUS 0x0008 #define NFS3_FSF_CANSETTIME 0x0010 /* Some shorthands. See fs/nfsd/nfs3proc.c */ #define NFS3_FSF_DEFAULT 0x001B #define NFS3_FSF_BILLYBOY 0x0018 #define NFS3_FSF_READONLY 0x0008 enum nfs3_ftype { NF3NON = 0, NF3REG = 1, NF3DIR = 2, NF3BLK = 3, NF3CHR = 4, NF3LNK = 5, NF3SOCK = 6, NF3FIFO = 7, /* changed from NFSv2 (was 8) */ NF3BAD = 8 }; struct nfs3_fh { unsigned short size; unsigned char data[NFS3_FHSIZE]; }; #define NFS3_VERSION 3 #define NFS3PROC_NULL 0 #define NFS3PROC_GETATTR 1 #define NFS3PROC_SETATTR 2 #define NFS3PROC_LOOKUP 3 #define NFS3PROC_ACCESS 4 #define NFS3PROC_READLINK 5 #define NFS3PROC_READ 6 #define NFS3PROC_WRITE 7 #define NFS3PROC_CREATE 8 #define NFS3PROC_MKDIR 9 #define NFS3PROC_SYMLINK 10 #define NFS3PROC_MKNOD 11 #define NFS3PROC_REMOVE 12 #define NFS3PROC_RMDIR 13 #define NFS3PROC_RENAME 14 #define NFS3PROC_LINK 15 #define NFS3PROC_READDIR 16 #define NFS3PROC_READDIRPLUS 17 #define NFS3PROC_FSSTAT 18 #define NFS3PROC_FSINFO 19 #define NFS3PROC_PATHCONF 20 #define NFS3PROC_COMMIT 21 #define NFS_MNT3_VERSION 3 #if defined(__KERNEL__) /* Number of 32bit words in post_op_attr */ #define NFS3_POST_OP_ATTR_WORDS 22 #endif /* __KERNEL__ */ #endif /* _LINUX_NFS3_H */ Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/meter
AgeCommit message (Expand)Author
2017-05-14staging: iio: meter: Fix the identations for proper alignments.Harinath Nampally
2017-05-01iio: ade7854: Convert symbolic permissions to octalQuentin Swain
2017-05-01iio: ade7758: Convert symbolic permissions to octalQuentin Swain
2017-05-01iio: ade7754: Convert symbolic permissions to octalQuentin Swain
2017-05-01iio: ade7753 Convert: symbolic permissions to octalQuentin Swain
2017-04-14iio:meter:ade7759: Removing use of deprecated macros (S_IRUGO, S_IWUSR)Chen Guanqiao
2017-04-14iio:meter:ade7759: Removing use of deprecated macros (S_IRUGO, S_IWUSR, S_IXUGO)Chen Guanqiao
2017-03-30staging: iio: update locking method during frequency writesGargi Sharma
2017-03-23staging: iio: ade7753: Remove trailing whitespacessimran singhal
2017-03-23staging: ade7754: Clean up #includessimran singhal
2017-03-13staging: iio: ade7754: Move contents of header file to source filesayli karnik
2017-03-11Staging: iio: return expression instead of return retBo Yu
2017-03-11staging: iio: ade7759: Move contents of header file to source filesayli karnik
2017-03-04staging: iio: meter: ade7753: Clean up includesKatie Dunne
2017-03-04staging: iio: meter: ade7753: Move header content to implementation fileKatie Dunne
2017-02-18staging: iio: compress return logicGargi Sharma
2017-02-11Staging: iio: meter: meter.h - style fixDerek Robson
2017-01-10iio:kfifo_buf header include push down.Jonathan Cameron
2016-12-03IIO: Change msleep to usleep_range for small msecsAniroop Mathur
2016-10-11Staging: iio: meter: ade7758_core: implement IIO_CHAN_INFO_SAMP_FREQSandhya Bankar
2016-09-20staging: iio: meter: ade7754: Match alignment with open parenthesisGeorgiana Rodica Chelu
2016-09-20staging: iio: meter: ade7758_ring: Match alignment with open parenthesisGeorgiana Rodica Chelu
2016-08-21staging: iio: ade7854: checkpatch fixes (alignment of parameters)Johanna Abrahamsson
2016-04-04Merge tag 'iio-for-4.7a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic...Greg Kroah-Hartman
2016-03-28staging: iio: use kernel preferred block commenting styleAlison Schofield
2016-03-28Staging: iio: ade7758: Fix open parentheses alignment issues.Sandhya Bankar
2016-03-28Staging: iio: ade7758: Use a blank line after function/struct declarations.Sandhya Bankar
2016-03-28Staging: iio: ade7758_core: Remove unnecessary blank line.Sandhya Bankar
2016-03-28Staging: iio: ade7758_core: Fix open parentheses alignment issues.Sandhya Bankar
2016-03-28staging: iio: meter: remove fixme comment on device removeAlison Schofield
2016-03-28staging: iio: convert bare unsigned usage to unsigned intAlison Schofield
2016-03-11Staging: iio: ade7854: Remove unnecessary goto.Sandhya Bankar
2016-03-11Staging: iio: ade7758_core: Remove unnecessary goto.Sandhya Bankar
2016-03-11Staging: iio: ade7754: Remove unnecessary goto.Sandhya Bankar
2016-03-11staging: iio: ade7854: use devm_iio_device_registerAlison Schofield