Lines Matching refs:mark
30 struct fsnotify_mark mark; /* fsnotify mark on the inode */ member
47 static void audit_fsnotify_free_mark(struct fsnotify_mark *mark) in audit_fsnotify_free_mark() argument
51 audit_mark = container_of(mark, struct audit_fsnotify_mark, mark); in audit_fsnotify_free_mark()
55 char *audit_mark_path(struct audit_fsnotify_mark *mark) in audit_mark_path() argument
57 return mark->path; in audit_mark_path()
60 int audit_mark_compare(struct audit_fsnotify_mark *mark, unsigned long ino, dev_t dev) in audit_mark_compare() argument
62 if (mark->ino == AUDIT_INO_UNSET) in audit_mark_compare()
64 return (mark->ino == ino) && (mark->dev == dev); in audit_mark_compare()
97 fsnotify_init_mark(&audit_mark->mark, audit_fsnotify_group); in audit_alloc_mark()
98 audit_mark->mark.mask = AUDIT_FS_EVENTS; in audit_alloc_mark()
103 ret = fsnotify_add_inode_mark(&audit_mark->mark, inode, 0); in audit_alloc_mark()
106 fsnotify_put_mark(&audit_mark->mark); in audit_alloc_mark()
135 fsnotify_destroy_mark(&audit_mark->mark, audit_fsnotify_group); in audit_remove_mark()
136 fsnotify_put_mark(&audit_mark->mark); in audit_remove_mark()
141 struct audit_fsnotify_mark *mark = krule->exe; in audit_remove_mark_rule() local
143 audit_remove_mark(mark); in audit_remove_mark_rule()
162 audit_mark = container_of(inode_mark, struct audit_fsnotify_mark, mark); in audit_mark_handle_event()