Lines Matching defs:file
6 See the file COPYING.
24 static struct fuse_conn *fuse_ctl_file_conn_get(struct file *file)
28 fc = file_inode(file)->i_private;
35 static ssize_t fuse_conn_abort_write(struct file *file, const char __user *buf,
38 struct fuse_conn *fc = fuse_ctl_file_conn_get(file);
48 static ssize_t fuse_conn_waiting_read(struct file *file, char __user *buf,
56 struct fuse_conn *fc = fuse_ctl_file_conn_get(file);
61 file->private_data = (void *)value;
64 size = sprintf(tmp, "%ld\n", (long)file->private_data);
68 static ssize_t fuse_conn_limit_read(struct file *file, char __user *buf,
77 static ssize_t fuse_conn_limit_write(struct file *file, const char __user *buf,
103 static ssize_t fuse_conn_max_background_read(struct file *file,
110 fc = fuse_ctl_file_conn_get(file);
117 return fuse_conn_limit_read(file, buf, len, ppos, val);
120 static ssize_t fuse_conn_max_background_write(struct file *file,
127 ret = fuse_conn_limit_write(file, buf, count, ppos, &val,
130 struct fuse_conn *fc = fuse_ctl_file_conn_get(file);
145 static ssize_t fuse_conn_congestion_threshold_read(struct file *file,
152 fc = fuse_ctl_file_conn_get(file);
159 return fuse_conn_limit_read(file, buf, len, ppos, val);
162 static ssize_t fuse_conn_congestion_threshold_write(struct file *file,
170 ret = fuse_conn_limit_write(file, buf, count, ppos, &val,
174 fc = fuse_ctl_file_conn_get(file);