Lines Matching refs:dn_mark
58 struct dnotify_mark *dn_mark = container_of(fsn_mark,
66 for (dn = dn_mark->dn; dn != NULL; dn = dn->dn_next)
90 struct dnotify_mark *dn_mark;
101 dn_mark = container_of(inode_mark, struct dnotify_mark, fsn_mark);
104 prev = &dn_mark->dn;
145 struct dnotify_mark *dn_mark = container_of(fsn_mark,
149 BUG_ON(dn_mark->dn);
151 kmem_cache_free(dnotify_mark_cache, dn_mark);
172 struct dnotify_mark *dn_mark;
184 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark);
189 prev = &dn_mark->dn;
203 if (dn_mark->dn == NULL)
240 static int attach_dn(struct dnotify_struct *dn, struct dnotify_mark *dn_mark,
245 odn = dn_mark->dn;
260 dn->dn_next = dn_mark->dn;
261 dn_mark->dn = dn;
273 struct dnotify_mark *new_dn_mark, *dn_mark;
334 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark);
340 dn_mark = new_dn_mark;
358 * we found a dn_mark already attached to the inode, just sod
361 if (dn_mark == new_dn_mark)
369 if (dn_mark == new_dn_mark)
374 error = attach_dn(dn, dn_mark, id, fd, filp, mask);
375 /* !error means that we attached the dn to the dn_mark, so don't free it */