Lines Matching defs:file
6 See the file COPYING.
23 static struct fuse_conn *fuse_ctl_file_conn_get(struct file *file)
27 fc = file_inode(file)->i_private;
34 static ssize_t fuse_conn_abort_write(struct file *file, const char __user *buf,
37 struct fuse_conn *fc = fuse_ctl_file_conn_get(file);
47 static ssize_t fuse_conn_waiting_read(struct file *file, char __user *buf,
55 struct fuse_conn *fc = fuse_ctl_file_conn_get(file);
60 file->private_data = (void *)value;
63 size = sprintf(tmp, "%ld\n", (long)file->private_data);
67 static ssize_t fuse_conn_limit_read(struct file *file, char __user *buf,
76 static ssize_t fuse_conn_limit_write(struct file *file, const char __user *buf,
102 static ssize_t fuse_conn_max_background_read(struct file *file,
109 fc = fuse_ctl_file_conn_get(file);
116 return fuse_conn_limit_read(file, buf, len, ppos, val);
119 static ssize_t fuse_conn_max_background_write(struct file *file,
126 ret = fuse_conn_limit_write(file, buf, count, ppos, &val,
129 struct fuse_conn *fc = fuse_ctl_file_conn_get(file);
144 static ssize_t fuse_conn_congestion_threshold_read(struct file *file,
151 fc = fuse_ctl_file_conn_get(file);
158 return fuse_conn_limit_read(file, buf, len, ppos, val);
161 static ssize_t fuse_conn_congestion_threshold_write(struct file *file,
169 ret = fuse_conn_limit_write(file, buf, count, ppos, &val,
173 fc = fuse_ctl_file_conn_get(file);