Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ocfs2/slot_map.c ocfs2_find_slot() -> __ocfs2_node_num_to_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->si_num_slots | 0-s32max |
| PARAM_VALUE | 1 | node_num | 0-s32max |
| CAPPED_DATA | 0 | si->si_blocks | 1 |
| CAPPED_DATA | 0 | si->si_num_slots | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &osb->osb_lock | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| TYPE_LOCK | (struct ocfs2_super)->osb_lock |
fs/ocfs2/slot_map.c ocfs2_node_num_to_slot() -> __ocfs2_node_num_to_slot()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | si->si_blocks | 1 |
| CAPPED_DATA | 0 | si->si_num_slots | 1 |
| DATA_SOURCE | 1 | node_num | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &osb->osb_lock | ||
| TYPE_LOCK | (struct ocfs2_super)->osb_lock |