Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/notify/dnotify/dnotify.c fcntl_dirnotify() -> fsnotify_add_inode_mark_locked()

Type Parameter Key Value
PARAM_VALUE 0 mark 4096-ptr_max
PARAM_VALUE 0 mark->connector 0
PARAM_VALUE 0 mark->flags 0
PARAM_VALUE 0 mark->g_list.next 0
PARAM_VALUE 0 mark->g_list.prev 0
PARAM_VALUE 0 mark->group 4096-ptr_max
PARAM_VALUE 0 mark->ignore_mask 0
PARAM_VALUE 0 mark->mask 134217728-134217735,134218112-939525063
PARAM_VALUE 0 mark->obj_list.next 0
PARAM_VALUE 0 mark->obj_list.pprev 0
PARAM_VALUE 0 mark->refcnt.refs.counter 1
PARAM_VALUE 1 inode 4096-ptr_max
PARAM_VALUE 2 add_flags 0
BUF_SIZE 0 mark 136
MEM_ZERO 0 mark
LOCK2 global &dnotify_group->mark_mutex
TYPE_LOCK (struct fsnotify_group)->mark_mutex

fs/notify/inotify/inotify_user.c inotify_new_watch() -> fsnotify_add_inode_mark_locked()

Type Parameter Key Value
PARAM_VALUE 0 mark 1-u64max
PARAM_VALUE 0 mark->connector 0
PARAM_VALUE 0 mark->flags 0,16,32,48
PARAM_VALUE 0 mark->g_list.next 0
PARAM_VALUE 0 mark->g_list.prev 0
PARAM_VALUE 0 mark->group 4096-ptr_max
PARAM_VALUE 0 mark->mask 8192-12287,134225920-134230015
PARAM_VALUE 0 mark->obj_list.next 0
PARAM_VALUE 0 mark->obj_list.pprev 0
PARAM_VALUE 1 inode 4096-ptr_max
PARAM_VALUE 2 add_flags 0
DATA_SOURCE 1 inode $1
MEM_ZERO 0 mark
USER_DATA 0 mark->mask 8192-12287,134225920-134230015[c][u]
LOCK2 &group->mark_mutex
TYPE_LOCK (struct fsnotify_group)->mark_mutex

kernel/audit_tree.c create_chunk() -> fsnotify_add_inode_mark_locked()

Type Parameter Key Value
PARAM_VALUE 0 mark 1-u64max
PARAM_VALUE 0 mark->connector 0
PARAM_VALUE 0 mark->flags 0
PARAM_VALUE 0 mark->g_list.next 0
PARAM_VALUE 0 mark->g_list.prev 0
PARAM_VALUE 0 mark->group 4096-ptr_max
PARAM_VALUE 0 mark->ignore_mask 0
PARAM_VALUE 0 mark->mask 32768
PARAM_VALUE 0 mark->obj_list.next 0
PARAM_VALUE 0 mark->obj_list.pprev 0
PARAM_VALUE 0 mark->refcnt.refs.counter 1
PARAM_VALUE 2 add_flags 0
BUF_SIZE 0 mark 136
DATA_SOURCE 0 mark r alloc_mark
DATA_SOURCE 1 inode $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &audit_cmd_mutex.lock
LOCK2 global &audit_tree_group->mark_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct fsnotify_group)->mark_mutex