fuse_i.h (45714d65618407bce1fd0271bc58303ce14b0785) | fuse_i.h (1d3d752b471d2a3a1d5e4fe177e5e7d52abb4e4c) |
---|---|
1/* 2 FUSE: Filesystem in Userspace 3 Copyright (C) 2001-2005 Miklos Szeredi <miklos@szeredi.hu> 4 5 This program can be distributed under the terms of the GNU GPL. 6 See the file COPYING. 7*/ 8 --- 7 unchanged lines hidden (view full) --- 16#include <asm/semaphore.h> 17 18/** Max number of pages that can be used in a single read request */ 19#define FUSE_MAX_PAGES_PER_REQ 32 20 21/** If more requests are outstanding, then the operation will block */ 22#define FUSE_MAX_OUTSTANDING 10 23 | 1/* 2 FUSE: Filesystem in Userspace 3 Copyright (C) 2001-2005 Miklos Szeredi <miklos@szeredi.hu> 4 5 This program can be distributed under the terms of the GNU GPL. 6 See the file COPYING. 7*/ 8 --- 7 unchanged lines hidden (view full) --- 16#include <asm/semaphore.h> 17 18/** Max number of pages that can be used in a single read request */ 19#define FUSE_MAX_PAGES_PER_REQ 32 20 21/** If more requests are outstanding, then the operation will block */ 22#define FUSE_MAX_OUTSTANDING 10 23 |
24/** Maximum size of data in a write request */ 25#define FUSE_MAX_WRITE 4096 26 27/** It could be as large as PATH_MAX, but would that have any uses? */ 28#define FUSE_NAME_MAX 1024 29 |
|
24/** If the FUSE_DEFAULT_PERMISSIONS flag is given, the filesystem 25 module will check permissions based on the file mode. Otherwise no 26 permission checking is done in the kernel */ 27#define FUSE_DEFAULT_PERMISSIONS (1 << 0) 28 29/** If the FUSE_ALLOW_OTHER flag is given, then not only the user 30 doing the mount will be allowed to access the filesystem */ 31#define FUSE_ALLOW_OTHER (1 << 1) --- 71 unchanged lines hidden (view full) --- 103 104 /** Number or arguments */ 105 unsigned numargs; 106 107 /** Array of arguments */ 108 struct fuse_arg args[3]; 109}; 110 | 30/** If the FUSE_DEFAULT_PERMISSIONS flag is given, the filesystem 31 module will check permissions based on the file mode. Otherwise no 32 permission checking is done in the kernel */ 33#define FUSE_DEFAULT_PERMISSIONS (1 << 0) 34 35/** If the FUSE_ALLOW_OTHER flag is given, then not only the user 36 doing the mount will be allowed to access the filesystem */ 37#define FUSE_ALLOW_OTHER (1 << 1) --- 71 unchanged lines hidden (view full) --- 109 110 /** Number or arguments */ 111 unsigned numargs; 112 113 /** Array of arguments */ 114 struct fuse_arg args[3]; 115}; 116 |
111struct fuse_req; 112struct fuse_conn; 113 | |
114/** 115 * A request to the client 116 */ 117struct fuse_req { 118 /** This can be on either unused_list, pending or processing 119 lists in fuse_conn */ 120 struct list_head list; 121 --- 350 unchanged lines hidden --- | 117/** 118 * A request to the client 119 */ 120struct fuse_req { 121 /** This can be on either unused_list, pending or processing 122 lists in fuse_conn */ 123 struct list_head list; 124 --- 350 unchanged lines hidden --- |