Home
last modified time | relevance | path

Searched refs:private_data (Results 1 – 25 of 115) sorted by relevance

12345

/fs/9p/
Dvfs_dir.c73 struct p9_fid *fid = filp->private_data; in v9fs_alloc_rdir_buf()
97 fid = file->private_data; in v9fs_dir_readdir()
112 n = p9_client_read(file->private_data, ctx->pos, &to, in v9fs_dir_readdir()
157 fid = file->private_data; in v9fs_dir_readdir_dotl()
210 fid = filp->private_data; in v9fs_dir_release()
Dvfs_file.c60 fid = file->private_data; in v9fs_file_open()
76 file->private_data = fid; in v9fs_file_open()
101 p9_client_clunk(file->private_data); in v9fs_file_open()
102 file->private_data = NULL; in v9fs_file_open()
144 fid = filp->private_data; in v9fs_file_do_lock()
247 fid = filp->private_data; in v9fs_file_getlock()
385 struct p9_fid *fid = iocb->ki_filp->private_data; in v9fs_file_read_iter()
423 retval = p9_client_write(file->private_data, iocb->ki_pos, from, &err); in v9fs_file_write_iter()
463 fid = filp->private_data; in v9fs_file_fsync()
486 fid = filp->private_data; in v9fs_file_fsync_dotl()
[all …]
Dvfs_addr.c85 return v9fs_fid_readpage(filp->private_data, page); in v9fs_vfs_readpage()
112 filp->private_data); in v9fs_vfs_readpages()
242 n = p9_client_write(file->private_data, pos, iter, &err); in v9fs_direct_IO()
250 n = p9_client_read(file->private_data, pos, iter, &err); in v9fs_direct_IO()
/fs/orangefs/
Ddir.c285 struct orangefs_dir *od = file->private_data; in orangefs_dir_llseek()
314 od = file->private_data; in orangefs_dir_iterate()
373 file->private_data = kmalloc(sizeof(struct orangefs_dir), in orangefs_dir_open()
375 if (!file->private_data) in orangefs_dir_open()
377 od = file->private_data; in orangefs_dir_open()
387 struct orangefs_dir *od = file->private_data; in orangefs_dir_release()
/fs/
Deventfd.c125 struct eventfd_ctx *ctx = file->private_data; in eventfd_release()
134 struct eventfd_ctx *ctx = file->private_data; in eventfd_poll()
231 struct eventfd_ctx *ctx = file->private_data; in eventfd_read()
275 struct eventfd_ctx *ctx = file->private_data; in eventfd_write()
322 struct eventfd_ctx *ctx = f->private_data; in eventfd_show_fdinfo()
406 ctx = file->private_data; in eventfd_ctx_fileget()
Dlibfs.c81 file->private_data = d_alloc_cursor(file->f_path.dentry); in dcache_dir_open()
83 return file->private_data ? 0 : -ENOMEM; in dcache_dir_open()
89 dput(file->private_data); in dcache_dir_close()
151 struct dentry *cursor = file->private_data; in dcache_dir_lseek()
190 struct dentry *cursor = file->private_data; in dcache_readdir()
388 file->private_data = inode->i_private; in simple_open()
814 struct simple_transaction_argresp *ar = file->private_data; in simple_transaction_set()
842 if (file->private_data) { in simple_transaction_get()
848 file->private_data = ar; in simple_transaction_get()
861 struct simple_transaction_argresp *ar = file->private_data; in simple_transaction_read()
[all …]
Dseq_file.c61 WARN_ON(file->private_data); in seq_open()
67 file->private_data = p; in seq_open()
173 struct seq_file *m = iocb->ki_filp->private_data; in seq_read_iter()
310 struct seq_file *m = file->private_data; in seq_lseek()
354 struct seq_file *m = file->private_data; in seq_release()
574 ((struct seq_file *)file->private_data)->private = data; in single_open()
594 ((struct seq_file *)file->private_data)->buf = buf; in single_open_size()
595 ((struct seq_file *)file->private_data)->size = size; in single_open_size()
602 const struct seq_operations *op = ((struct seq_file *)file->private_data)->op; in single_release()
611 struct seq_file *seq = file->private_data; in seq_release_private()
[all …]
Dsignalfd.c47 kfree(file->private_data); in signalfd_release()
53 struct signalfd_ctx *ctx = file->private_data; in signalfd_poll()
205 struct signalfd_ctx *ctx = file->private_data; in signalfd_read()
234 struct signalfd_ctx *ctx = f->private_data; in signalfd_show_fdinfo()
286 ctx = f.file->private_data; in do_signalfd4()
Dtimerfd.c223 struct timerfd_ctx *ctx = file->private_data; in timerfd_release()
237 struct timerfd_ctx *ctx = file->private_data; in timerfd_poll()
254 struct timerfd_ctx *ctx = file->private_data; in timerfd_read()
309 struct timerfd_ctx *ctx = file->private_data; in timerfd_show()
338 struct timerfd_ctx *ctx = file->private_data; in timerfd_ioctl()
458 ctx = f.file->private_data; in do_timerfd_settime()
522 ctx = f.file->private_data; in do_timerfd_gettime()
Dnsfs.c110 void *private_data) in ns_get_path_cb() argument
115 struct ns_common *ns = ns_get_cb(private_data); in ns_get_path_cb()
129 static struct ns_common *ns_get_path_task(void *private_data) in ns_get_path_task() argument
131 struct ns_get_path_task_args *args = private_data; in ns_get_path_task()
Dpipe.c234 struct pipe_inode_info *pipe = filp->private_data; in pipe_read()
420 struct pipe_inode_info *pipe = filp->private_data; in pipe_write()
610 struct pipe_inode_info *pipe = filp->private_data; in pipe_ioctl()
653 struct pipe_inode_info *pipe = filp->private_data; in pipe_poll()
715 struct pipe_inode_info *pipe = file->private_data; in pipe_release()
739 struct pipe_inode_info *pipe = filp->private_data; in pipe_fasync()
936 f->private_data = inode->i_pipe; in create_pipe_files()
945 res[0]->private_data = inode->i_pipe; in create_pipe_files()
1121 filp->private_data = pipe; in fifo_open()
1374 struct pipe_inode_info *pipe = file->private_data; in get_pipe_info()
Dfsopen.c27 struct fs_context *fc = file->private_data; in fscontext_read()
69 struct fs_context *fc = file->private_data; in fscontext_release()
72 file->private_data = NULL; in fscontext_release()
371 fc = f.file->private_data; in SYSCALL_DEFINE5()
/fs/coda/
Dpsdev.c60 struct venus_comm *vcp = (struct venus_comm *) file->private_data; in coda_psdev_poll()
94 struct venus_comm *vcp = (struct venus_comm *) file->private_data; in coda_psdev_write()
212 struct venus_comm *vcp = (struct venus_comm *) file->private_data; in coda_psdev_read()
300 file->private_data = vcp; in coda_psdev_open()
311 struct venus_comm *vcp = (struct venus_comm *) file->private_data; in coda_psdev_release()
342 file->private_data = NULL; in coda_psdev_release()
Dfile.c229 BUG_ON(coda_file->private_data != NULL); in coda_open()
230 coda_file->private_data = cfi; in coda_open()
261 kfree(coda_file->private_data); in coda_release()
262 coda_file->private_data = NULL; in coda_release()
/fs/configfs/
Dfile.c104 struct configfs_buffer *buffer = file->private_data; in configfs_read_file()
147 struct configfs_buffer *buffer = file->private_data; in configfs_read_bin_file()
277 struct configfs_buffer *buffer = file->private_data; in configfs_write_file()
307 struct configfs_buffer *buffer = file->private_data; in configfs_write_bin_file()
432 file->private_data = buffer; in __configfs_open_file()
447 struct configfs_buffer *buffer = filp->private_data; in configfs_release()
469 struct configfs_buffer *buffer = file->private_data; in configfs_release_bin_file()
/fs/incfs/
Dpseudo_files.c41 struct pending_reads_state *pr_state = f->private_data; in pending_reads_read()
108 struct pending_reads_state *state = file->private_data; in pending_reads_poll()
128 file->private_data = state; in pending_reads_open()
134 kfree(file->private_data); in pending_reads_release()
167 fd = file->private_data; in ioctl_permit_fill()
1068 struct log_file_state *log_state = f->private_data; in log_read()
1140 struct log_file_state *log_state = file->private_data; in log_poll()
1163 file->private_data = log_state; in log_open()
1169 kfree(file->private_data); in log_release()
1196 struct blocks_written_file_state *state = f->private_data; in blocks_written_read()
[all …]
/fs/affs/
Ddir.c62 file->private_data = (void *)0; in affs_readdir()
83 ino = (u32)(long)file->private_data; in affs_readdir()
135 file->private_data = (void *)(long)ino; in affs_readdir()
/fs/ecryptfs/
Dmiscdev.c31 struct ecryptfs_daemon *daemon = file->private_data; in ecryptfs_miscdev_poll()
87 file->private_data = daemon; in ecryptfs_miscdev_open()
109 struct ecryptfs_daemon *daemon = file->private_data; in ecryptfs_miscdev_release()
213 struct ecryptfs_daemon *daemon = file->private_data; in ecryptfs_miscdev_read()
418 rc = ecryptfs_miscdev_response(file->private_data, in ecryptfs_miscdev_write()
/fs/cachefiles/
Ddaemon.c121 file->private_data = cache; in cachefiles_daemon_open()
131 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_release()
145 file->private_data = NULL; in cachefiles_daemon_release()
160 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_read()
217 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_write()
293 struct cachefiles_cache *cache = file->private_data; in cachefiles_daemon_poll()
/fs/ocfs2/cluster/
Dnetdebug.c180 struct seq_file *seq = file->private_data; in nst_fop_release()
405 struct seq_file *seq = file->private_data; in sc_fop_release()
462 file->private_data = buf; in nodes_fop_open()
469 kfree(file->private_data); in o2net_debug_release()
476 return simple_read_from_buffer(buf, nbytes, ppos, file->private_data, in o2net_debug_read()
/fs/vboxsf/
Dfile.c117 file->private_data = sf_handle; in vboxsf_file_open()
149 vboxsf_release_sf_handle(inode, file->private_data); in vboxsf_file_release()
230 struct vboxsf_handle *sf_handle = file->private_data; in vboxsf_readpage()
312 struct vboxsf_handle *sf_handle = file->private_data; in vboxsf_write_end()
Ddir.c41 file->private_data = sf_d; in vboxsf_dir_open()
53 if (file->private_data) in vboxsf_dir_release()
54 vboxsf_dir_info_free(file->private_data); in vboxsf_dir_release()
98 struct vboxsf_dir_info *sf_d = dir->private_data; in vboxsf_dir_emit()
349 file->private_data = sf_handle; in vboxsf_dir_atomic_open()
/fs/ocfs2/
Dstack_user.c176 struct ocfs2_control_private *p = file->private_data; in ocfs2_control_set_handshake_state()
182 struct ocfs2_control_private *p = file->private_data; in ocfs2_control_get_handshake_state()
304 struct ocfs2_control_private *p = file->private_data; in ocfs2_control_install_private()
365 struct ocfs2_control_private *p = file->private_data; in ocfs2_control_do_setnode_msg()
396 struct ocfs2_control_private *p = file->private_data; in ocfs2_control_do_setversion_msg()
563 struct ocfs2_control_private *p = file->private_data; in ocfs2_control_release()
591 file->private_data = NULL; in ocfs2_control_release()
610 file->private_data = p; in ocfs2_control_open()
/fs/ext4/
Ddir.c475 info = dir_file->private_data; in ext4_htree_store_dirent()
530 struct dir_private_info *info = file->private_data; in call_filldir()
556 struct dir_private_info *info = file->private_data; in ext4_dx_readdir()
565 file->private_data = info; in ext4_dx_readdir()
643 if (filp->private_data) in ext4_release_dir()
644 ext4_htree_free_dir_info(filp->private_data); in ext4_release_dir()
/fs/cifs/
Dreaddir.c50 cf = file->private_data; in dump_cifs_file_struct()
396 if (file->private_data == NULL) { in initiate_cifs_search()
407 file->private_data = cifsFile; in initiate_cifs_search()
411 cifsFile = file->private_data; in initiate_cifs_search()
714 struct cifsFileInfo *cfile = file->private_data; in find_cifs_entry()
840 struct cifsFileInfo *file_info = file->private_data; in cifs_filldir()
958 if (file->private_data == NULL) { in cifs_readdir()
973 cifsFile = file->private_data; in cifs_readdir()

12345