Lines Matching refs:filp
150 void dnotify_flush(struct file *filp, fl_owner_t id) in dnotify_flush() argument
158 inode = file_inode(filp); in dnotify_flush()
172 if ((dn->dn_owner == id) && (dn->dn_filp == filp)) { in dnotify_flush()
223 fl_owner_t id, int fd, struct file *filp, __u32 mask) in attach_dn() argument
230 if ((odn->dn_owner == id) && (odn->dn_filp == filp)) { in attach_dn()
240 dn->dn_filp = filp; in attach_dn()
253 int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg) in fcntl_dirnotify() argument
275 dnotify_flush(filp, id); in fcntl_dirnotify()
281 inode = file_inode(filp); in fcntl_dirnotify()
337 if (f != filp) { in fcntl_dirnotify()
349 __f_setown(filp, task_pid(current), PIDTYPE_PID, 0); in fcntl_dirnotify()
351 error = attach_dn(dn, dn_mark, id, fd, filp, mask); in fcntl_dirnotify()