Lines Matching refs:filp
141 void dnotify_flush(struct file *filp, fl_owner_t id) in dnotify_flush() argument
150 inode = file_inode(filp); in dnotify_flush()
164 if ((dn->dn_owner == id) && (dn->dn_filp == filp)) { in dnotify_flush()
219 fl_owner_t id, int fd, struct file *filp, __u32 mask) in attach_dn() argument
226 if ((odn->dn_owner == id) && (odn->dn_filp == filp)) { in attach_dn()
236 dn->dn_filp = filp; in attach_dn()
249 int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg) in fcntl_dirnotify() argument
271 dnotify_flush(filp, id); in fcntl_dirnotify()
277 inode = file_inode(filp); in fcntl_dirnotify()
289 error = security_path_notify(&filp->f_path, mask, in fcntl_dirnotify()
344 if (f != filp) { in fcntl_dirnotify()
357 __f_setown(filp, task_pid(current), PIDTYPE_TGID, 0); in fcntl_dirnotify()
359 error = attach_dn(dn, dn_mark, id, fd, filp, mask); in fcntl_dirnotify()