Lines Matching refs:filp
150 void dnotify_flush(struct file *filp, fl_owner_t id) in dnotify_flush() argument
159 inode = file_inode(filp); in dnotify_flush()
173 if ((dn->dn_owner == id) && (dn->dn_filp == filp)) { in dnotify_flush()
228 fl_owner_t id, int fd, struct file *filp, __u32 mask) in attach_dn() argument
235 if ((odn->dn_owner == id) && (odn->dn_filp == filp)) { in attach_dn()
245 dn->dn_filp = filp; in attach_dn()
258 int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg) in fcntl_dirnotify() argument
280 dnotify_flush(filp, id); in fcntl_dirnotify()
286 inode = file_inode(filp); in fcntl_dirnotify()
342 if (f != filp) { in fcntl_dirnotify()
354 __f_setown(filp, task_pid(current), PIDTYPE_PID, 0); in fcntl_dirnotify()
356 error = attach_dn(dn, dn_mark, id, fd, filp, mask); in fcntl_dirnotify()