Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/dlm/recover.c recover_list_add() -> dlm_hold_rsb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->res_ls | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_ls->ls_recover_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_ls->ls_recover_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_ls->ls_recover_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_ls->ls_recover_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->res_nodeid | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | r->res_recover_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_recover_locks_count | 1-s32max |
| CAPPED_DATA | 0 | &r->res_recover_list | 1 |
| DATA_SOURCE | 0 | r | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_in_recovery | ||
| LOCK2 | &ls->ls_recover_list_lock | ||
| LOCK2 | &ls->ls_recoverd_active | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &r->res_lock | |
| TYPE_LOCK | (struct dlm_ls)->ls_in_recovery | ||
| TYPE_LOCK | (struct dlm_ls)->ls_recover_list_lock | ||
| TYPE_LOCK | (struct dlm_ls)->ls_recoverd_active | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/recover.c recover_xa_add() -> dlm_hold_rsb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_id | 0-u32max |
| PARAM_VALUE | 0 | r->res_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->res_ls | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_ls->ls_recover_xa.xa_flags | 4-u32max |
| PARAM_VALUE | 0 | r->res_ls->ls_recover_xa.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->res_ls->ls_recover_xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->res_nodeid | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | r | 1 |
| CAPPED_DATA | 0 | r->res_nodeid | 1 |
| DATA_SOURCE | 0 | r | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_in_recovery | ||
| LOCK2 | &ls->ls_recover_xa_lock | ||
| LOCK2 | &ls->ls_recoverd_active | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &r->res_lock | |
| TYPE_LOCK | (struct dlm_ls)->ls_in_recovery | ||
| TYPE_LOCK | (struct dlm_ls)->ls_recover_xa_lock | ||
| TYPE_LOCK | (struct dlm_ls)->ls_recoverd_active | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/recoverd.c dlm_create_masters_list() -> dlm_hold_rsb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 0 | r->res_nodeid | 0 |
| CAPPED_DATA | 0 | &r->res_slow_list | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_in_recovery | ||
| LOCK2 | &ls->ls_masters_lock | ||
| LOCK2 | &ls->ls_recoverd_active | ||
| LOCK2 | &ls->ls_rsbtbl_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct dlm_ls)->ls_in_recovery | ||
| TYPE_LOCK | (struct dlm_ls)->ls_masters_lock | ||
| TYPE_LOCK | (struct dlm_ls)->ls_recoverd_active | ||
| TYPE_LOCK | (struct dlm_ls)->ls_rsbtbl_lock |
fs/dlm/recoverd.c dlm_create_root_list() -> dlm_hold_rsb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| CAPPED_DATA | 0 | &r->res_slow_list | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_in_recovery | ||
| LOCK2 | &ls->ls_recoverd_active | ||
| LOCK2 | &ls->ls_rsbtbl_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct dlm_ls)->ls_in_recovery | ||
| TYPE_LOCK | (struct dlm_ls)->ls_recoverd_active | ||
| TYPE_LOCK | (struct dlm_ls)->ls_rsbtbl_lock |