Searched refs:dn_mark (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/fs/notify/dnotify/
H A Ddnotify.c57 struct dnotify_mark *dn_mark = container_of(fsn_mark, dnotify_recalc_inode_mask() local
65 for (dn = dn_mark->dn; dn != NULL; dn = dn->dn_next) dnotify_recalc_inode_mask()
91 struct dnotify_mark *dn_mark; dnotify_handle_event() local
103 dn_mark = container_of(inode_mark, struct dnotify_mark, fsn_mark); dnotify_handle_event()
106 prev = &dn_mark->dn; dnotify_handle_event()
130 struct dnotify_mark *dn_mark = container_of(fsn_mark, dnotify_free_mark() local
134 BUG_ON(dn_mark->dn); dnotify_free_mark()
136 kmem_cache_free(dnotify_mark_cache, dn_mark); dnotify_free_mark()
153 struct dnotify_mark *dn_mark; dnotify_flush() local
166 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark); dnotify_flush()
171 prev = &dn_mark->dn; dnotify_flush()
186 if (dn_mark->dn == NULL) { dnotify_flush()
227 static int attach_dn(struct dnotify_struct *dn, struct dnotify_mark *dn_mark, attach_dn() argument
232 odn = dn_mark->dn; attach_dn()
247 dn->dn_next = dn_mark->dn; attach_dn()
248 dn_mark->dn = dn; attach_dn()
260 struct dnotify_mark *new_dn_mark, *dn_mark; fcntl_dirnotify() local
321 dn_mark = container_of(fsn_mark, struct dnotify_mark, fsn_mark); fcntl_dirnotify()
328 dn_mark = new_dn_mark; fcntl_dirnotify()
346 * we found a dn_mark already attached to the inode, just sod fcntl_dirnotify()
349 if (dn_mark == new_dn_mark) fcntl_dirnotify()
356 error = attach_dn(dn, dn_mark, id, fd, filp, mask); fcntl_dirnotify()
357 /* !error means that we attached the dn to the dn_mark, so don't free it */ fcntl_dirnotify()

Completed in 129 milliseconds