Searched refs:file (Results 1 – 3 of 3) sorted by relevance
/ipc/ |
D | shm.c | 55 struct file *shm_file; 77 struct file *file; member 81 #define shm_file_data(file) (*((struct shm_file_data **)&(file)->private_data)) argument 237 struct file *file = vma->vm_file; in __shm_open() local 238 struct shm_file_data *sfd = shm_file_data(file); in __shm_open() 246 if (shp->shm_file != sfd->file) { in __shm_open() 281 struct file *shm_file; in shm_destroy() 324 struct file *file = vma->vm_file; in shm_close() local 325 struct shm_file_data *sfd = shm_file_data(file); in shm_close() 431 struct file *file = vmf->vma->vm_file; in shm_fault() local [all …]
|
D | mqueue.c | 561 static ssize_t mqueue_read_file(struct file *filp, char __user *u_data, in mqueue_read_file() 589 static int mqueue_flush_file(struct file *filp, fl_owner_t id) in mqueue_flush_file() 601 static __poll_t mqueue_poll_file(struct file *filp, struct poll_table_struct *poll_tab) in mqueue_poll_file() 827 struct file *file = dentry_open(&path, oflag, current_cred()); in do_mq_open() local 828 if (!IS_ERR(file)) in do_mq_open() 829 fd_install(fd, file); in do_mq_open() 831 error = PTR_ERR(file); in do_mq_open() 989 if (unlikely(!f.file)) { in do_mq_timedsend() 994 inode = file_inode(f.file); in do_mq_timedsend() 995 if (unlikely(f.file->f_op != &mqueue_file_operations)) { in do_mq_timedsend() [all …]
|
D | util.c | 863 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()
|