Home
last modified time | relevance | path

Searched refs:file (Results 1 – 3 of 3) sorted by relevance

/ipc/
Dshm.c55 struct file *shm_file;
86 struct file *file; member
90 #define shm_file_data(file) (*((struct shm_file_data **)&(file)->private_data)) argument
280 struct file *file = vma->vm_file; in __shm_open() local
281 struct shm_file_data *sfd = shm_file_data(file); in __shm_open()
289 if (shp->shm_file != sfd->file) { in __shm_open()
324 struct file *shm_file; in shm_destroy()
367 struct file *file = vma->vm_file; in shm_close() local
368 struct shm_file_data *sfd = shm_file_data(file); in shm_close()
523 struct file *file = vmf->vma->vm_file; in shm_fault() local
[all …]
Dmqueue.c635 static ssize_t mqueue_read_file(struct file *filp, char __user *u_data, in mqueue_read_file()
663 static int mqueue_flush_file(struct file *filp, fl_owner_t id) in mqueue_flush_file()
675 static __poll_t mqueue_poll_file(struct file *filp, struct poll_table_struct *poll_tab) in mqueue_poll_file()
922 struct file *file = dentry_open(&path, oflag, current_cred()); in do_mq_open() local
923 if (!IS_ERR(file)) in do_mq_open()
924 fd_install(fd, file); in do_mq_open()
926 error = PTR_ERR(file); in do_mq_open()
1086 if (unlikely(!f.file)) { in do_mq_timedsend()
1091 inode = file_inode(f.file); in do_mq_timedsend()
1092 if (unlikely(f.file->f_op != &mqueue_file_operations)) { in do_mq_timedsend()
[all …]
Dutil.c863 static int sysvipc_proc_open(struct inode *inode, struct file *file) in sysvipc_proc_open() argument
867 iter = __seq_open_private(file, &sysvipc_proc_seqops, sizeof(*iter)); in sysvipc_proc_open()
878 static int sysvipc_proc_release(struct inode *inode, struct file *file) in sysvipc_proc_release() argument
880 struct seq_file *seq = file->private_data; in sysvipc_proc_release()
884 return seq_release_private(inode, file); in sysvipc_proc_release()