Lines Matching refs:parent
105 * parent cares. Thus when an event happens on a child it can quickly tell if
106 * if there is a need to find a parent and send the event to the parent.
126 * d_flags to indicate parental interest (their parent is the
145 /* Are inode/sb/mount interested in parent and name info with this event? */
151 /* We only send parent/name to inode/sb/mount for events on non-dir */
157 * parent/name info to inode/sb/mount. Otherwise, a watching parent
162 /* Did either inode/sb/mount subscribe for events with parent/name? */
168 /* Did they subscribe for this event with parent/name info? */
173 * Notify this dentry's parent about a child's events with child name info
174 * if parent is watching or if inode/sb/mount are interested in events with
175 * parent and name info.
177 * Notify only the child without name info if parent is not watching and
178 * inode/sb/mount are not interested in events with parent and name info.
186 struct dentry *parent;
196 * Do inode/sb/mount care about parent and name info on non-dir?
203 parent = NULL;
208 /* Does parent inode care about events on children? */
209 parent = dget_parent(dentry);
210 p_inode = parent->d_inode;
216 * Include parent/name in notification either if some notification
217 * groups require parent info or the parent is interested in this event.
221 /* When notifying parent, child should be passed as data */
224 /* Notify both parent and child with child name info */
236 dput(parent);
281 * parent_mark indicates that the parent inode is watching
298 * Some events can be sent on both parent dir and child marks
299 * (e.g. FS_ATTRIB). If both parent dir and child are
300 * watching, report the event once to parent dir with name (if
469 struct inode *parent = NULL;
484 parent = dir;
498 (!parent || !parent->i_fsnotify_marks))
506 if (parent)
507 marks_mask |= parent->i_fsnotify_mask;
530 if (parent) {
532 fsnotify_first_mark(&parent->i_fsnotify_marks);