Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

kernel/audit_watch.c audit_get_parent() -> fsnotify_get_mark()

Type Parameter Key Value
PARAM_VALUE 0 mark 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_filter_mutex

fs/notify/inotify/inotify_user.c inotify_add_to_idr() -> fsnotify_get_mark()

Type Parameter Key Value
PARAM_VALUE 0 mark 4096-ptr_max
PARAM_VALUE 0 mark->flags 0,16,32,48
PARAM_VALUE 0 mark->group 4096-ptr_max
PARAM_VALUE 0 mark->mask 8192-12287,134225920-134230015
PARAM_VALUE 0 mark->refcnt.refs.counter 1
MEM_ZERO 0 mark
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
USER_DATA 0 mark->mask 8192-12287,134225920-134230015[c][u]
LOCK2 &group->mark_mutex
LOCK2 idr_lock
TYPE_LOCK (struct fsnotify_group)->mark_mutex

fs/notify/inotify/inotify_user.c inotify_idr_find_locked() -> fsnotify_get_mark()

Type Parameter Key Value
PARAM_VALUE 0 mark 1-u64max
BUF_SIZE 0 mark 136
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 idr_lock

kernel/audit_tree.c prune_tree_chunks() -> fsnotify_get_mark()

Type Parameter Key Value
PARAM_VALUE 0 mark 1-u64max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &audit_cmd_mutex.lock
LOCK2 global &hash_lock

fs/notify/mark.c fsnotify_add_mark_locked() -> fsnotify_get_mark()

Type Parameter Key Value
PARAM_VALUE 0 mark 4096-ptr_max
PARAM_VALUE 0 mark->connector 0
PARAM_VALUE 0 mark->flags 3,19,35,51,515,2051,2563,6147,6659
PARAM_VALUE 0 mark->g_list.next 0,4096-ptr_max
PARAM_VALUE 0 mark->g_list.prev 0,4096-ptr_max
PARAM_VALUE 0 mark->group 4096-ptr_max
PARAM_VALUE 0 mark->group->marks_list.next 4096-ptr_max
PARAM_VALUE 0 mark->group->marks_list.next->next 4096-ptr_max
PARAM_VALUE 0 mark->group->marks_list.next->prev 4096-ptr_max
PARAM_VALUE 0 mark->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mark->mask 0,1028,4032,8192-12287,32768,134217728-134217735,134218112-939525063
PARAM_VALUE 0 mark->obj_list.next 0
PARAM_VALUE 0 mark->obj_list.pprev 0
BUF_SIZE 0 mark (-1),136
BUF_SIZE 0 mark (-1),136
DATA_SOURCE 0 mark $0
BIT_INFO 0 mark->flags 0x3,0x1fff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 mark->mask 8192-12287,134225920-134230015[c][u]
LOCK2 0 &mark->lock
HALF_LOCKED2 &group->mark_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &audit_tree_group->mark_mutex
HALF_LOCKED2 global &dnotify_group->mark_mutex
TYPE_LOCK (struct fsnotify_group)->mark_mutex
TYPE_LOCK (struct fsnotify_mark)->lock

fs/notify/mark.c fsnotify_clear_marks_by_group() -> fsnotify_get_mark()

Type Parameter Key Value
PARAM_VALUE 0 mark 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &group->mark_mutex
TYPE_LOCK (struct fsnotify_group)->mark_mutex

fs/notify/mark.c fsnotify_destroy_marks() -> fsnotify_get_mark()

Type Parameter Key Value
PARAM_VALUE 0 mark 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(*connp)->lock
HALF_LOCKED2 &conn->lock

fs/notify/mark.c fsnotify_find_mark() -> fsnotify_get_mark()

Type Parameter Key Value
PARAM_VALUE 0 mark 4096-ptr_max
PARAM_VALUE 0 mark->flags 2-u32max
CAPPED_DATA 0 mark->group 1
BIT_INFO 0 mark->flags 0x2,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(*connp)->lock
HALF_LOCKED2 &group->mark_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &audit_filter_mutex
HALF_LOCKED2 global &audit_tree_group->mark_mutex