Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/notify/mark.c __fsnotify_recalc_mask() -> fsnotify_calc_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 4096-ptr_max |
| PARAM_VALUE | 0 | mark->flags | 2-u32max |
| BIT_INFO | 0 | mark->flags | 0x2,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &group->mark_mutex | ||
| TYPE_LOCK | (struct fsnotify_mark_connector)->lock |
fs/notify/fanotify/fanotify_user.c fanotify_mark_remove_from_mask() -> fsnotify_calc_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 4096-ptr_max |
| PARAM_VALUE | 0 | mark->flags | 2-u32max |
| CAPPED_DATA | 0 | mark->group | 1 |
| DATA_SOURCE | 0 | mark | $0 |
| NS_CAPABLE | 0 | 21 | |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &group->mark_mutex | ||
| LOCK2 | 0 | &mark->lock | |
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex | ||
| TYPE_LOCK | (struct fsnotify_mark)->lock |
fs/notify/fanotify/fanotify_user.c fanotify_mark_remove_from_mask() -> fsnotify_calc_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mark | 4096-ptr_max |
| PARAM_VALUE | 0 | mark->flags | 2-u32max |
| CAPPED_DATA | 0 | mark->group | 1 |
| DATA_SOURCE | 0 | mark | $0 |
| NS_CAPABLE | 0 | 21 | |
| PREEMPT_ADD | <- disables preempt | ||
| USER_DATA | 0 | mark->ignore_mask | 0-u32max[c][u] |
| USER_DATA | 0 | mark->mask | 0-u32max[c][u] |
| LOCK2 | &group->mark_mutex | ||
| LOCK2 | 0 | &mark->lock | |
| TYPE_LOCK | (struct fsnotify_group)->mark_mutex | ||
| TYPE_LOCK | (struct fsnotify_mark)->lock |