Go to the documentation of this file.
64 #ifdef CONFIG_NET_9P_DEBUG
65 extern unsigned int p9_debug_level;
69 #define p9_debug(level, fmt, ...) \
70 _p9_debug(level, __func__, fmt, ##__VA_ARGS__)
72 #define p9_debug(level, fmt, ...) \
73 no_printk(fmt, ##__VA_ARGS__)
275 #define P9_DOTL_RDONLY 00000000
276 #define P9_DOTL_WRONLY 00000001
277 #define P9_DOTL_RDWR 00000002
278 #define P9_DOTL_NOACCESS 00000003
279 #define P9_DOTL_CREATE 00000100
280 #define P9_DOTL_EXCL 00000200
281 #define P9_DOTL_NOCTTY 00000400
282 #define P9_DOTL_TRUNC 00001000
283 #define P9_DOTL_APPEND 00002000
284 #define P9_DOTL_NONBLOCK 00004000
285 #define P9_DOTL_DSYNC 00010000
286 #define P9_DOTL_FASYNC 00020000
287 #define P9_DOTL_DIRECT 00040000
288 #define P9_DOTL_LARGEFILE 00100000
289 #define P9_DOTL_DIRECTORY 00200000
290 #define P9_DOTL_NOFOLLOW 00400000
291 #define P9_DOTL_NOATIME 01000000
292 #define P9_DOTL_CLOEXEC 02000000
293 #define P9_DOTL_SYNC 04000000
296 #define P9_DOTL_AT_REMOVEDIR 0x200
299 #define P9_LOCK_TYPE_RDLCK 0
300 #define P9_LOCK_TYPE_WRLCK 1
301 #define P9_LOCK_TYPE_UNLCK 2
335 #define P9_NOTAG (u16)(~0)
336 #define P9_NOFID (u32)(~0)
337 #define P9_MAXWELEM 16
340 #define P9_IOHDRSZ 24
343 #define P9_READDIRHDRSZ 24
346 #define P9_ZC_HDR_SZ 4096
438 #define P9_STATS_MODE 0x00000001ULL
439 #define P9_STATS_NLINK 0x00000002ULL
440 #define P9_STATS_UID 0x00000004ULL
441 #define P9_STATS_GID 0x00000008ULL
442 #define P9_STATS_RDEV 0x00000010ULL
443 #define P9_STATS_ATIME 0x00000020ULL
444 #define P9_STATS_MTIME 0x00000040ULL
445 #define P9_STATS_CTIME 0x00000080ULL
446 #define P9_STATS_INO 0x00000100ULL
447 #define P9_STATS_SIZE 0x00000200ULL
448 #define P9_STATS_BLOCKS 0x00000400ULL
450 #define P9_STATS_BTIME 0x00000800ULL
451 #define P9_STATS_GEN 0x00001000ULL
452 #define P9_STATS_DATA_VERSION 0x00002000ULL
454 #define P9_STATS_BASIC 0x000007ffULL
455 #define P9_STATS_ALL 0x00003fffULL
483 #define P9_LOCK_SUCCESS 0
484 #define P9_LOCK_BLOCKED 1
485 #define P9_LOCK_ERROR 2
486 #define P9_LOCK_GRACE 3
488 #define P9_LOCK_FLAGS_BLOCK 1
489 #define P9_LOCK_FLAGS_RECLAIM 2