Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/dlm/recover.c dlm_recover_master_reply() -> set_new_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| DATA_SOURCE | 0 | r | r recover_xa_find |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_recv_active | ||
| LOCK2 | &pool->lock | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &r->res_lock | |
| HALF_LOCKED2 | global &nodes_srcu | ||
| TYPE_LOCK | (struct dlm_ls)->ls_recv_active | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/recover.c recover_master() -> set_new_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| CAPPED_DATA | 0 | r->res_nodeid | 1 |
| DATA_SOURCE | 0 | r | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_in_recovery | ||
| 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_recoverd_active | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/recover.c recover_master_static() -> set_new_master()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| DATA_SOURCE | 0 | r | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_in_recovery | ||
| 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_recoverd_active | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |