Lines Matching refs:mark
39 struct fsnotify_mark mark; /* fsnotify mark on the inode */ member
56 static void audit_fsnotify_free_mark(struct fsnotify_mark *mark) in audit_fsnotify_free_mark() argument
60 audit_mark = container_of(mark, struct audit_fsnotify_mark, mark); in audit_fsnotify_free_mark()
64 char *audit_mark_path(struct audit_fsnotify_mark *mark) in audit_mark_path() argument
66 return mark->path; in audit_mark_path()
69 int audit_mark_compare(struct audit_fsnotify_mark *mark, unsigned long ino, dev_t dev) in audit_mark_compare() argument
71 if (mark->ino == AUDIT_INO_UNSET) in audit_mark_compare()
73 return (mark->ino == ino) && (mark->dev == dev); in audit_mark_compare()
106 fsnotify_init_mark(&audit_mark->mark, audit_fsnotify_free_mark); in audit_alloc_mark()
107 audit_mark->mark.mask = AUDIT_FS_EVENTS; in audit_alloc_mark()
112 ret = fsnotify_add_mark(&audit_mark->mark, audit_fsnotify_group, inode, NULL, true); in audit_alloc_mark()
146 fsnotify_destroy_mark(&audit_mark->mark, audit_fsnotify_group); in audit_remove_mark()
147 fsnotify_put_mark(&audit_mark->mark); in audit_remove_mark()
152 struct audit_fsnotify_mark *mark = krule->exe; in audit_remove_mark_rule() local
154 audit_remove_mark(mark); in audit_remove_mark_rule()
177 audit_mark = container_of(inode_mark, struct audit_fsnotify_mark, mark); in audit_mark_handle_event()