Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/dlm/lock.c __dlm_master_lookup() -> dlm_is_removed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 1 | nodeid | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| DATA_SOURCE | 0 | ls | $0 |
| PREEMPT_ADD | |||
| NO_OVERFLOW_SIMPLE | 0 | ls->ls_slots_size | |
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &r->res_lock | ||
| HALF_LOCKED2 | 0 | &ls->ls_in_recovery | |
| HALF_LOCKED2 | 0 | &ls->ls_recoverd_active | |
| HALF_LOCKED2 | 0 | &ls->ls_recv_active | |
| HALF_LOCKED2 | 0 | &ls->ls_requestqueue_lock | |
| HALF_LOCKED2 | 0 | &ls->ls_rsbtbl_lock |
fs/dlm/lock.c purge_dead_list() -> dlm_is_removed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes_gone.next | 4096-ptr_max |
| BUF_SIZE | 0 | ls | 128 |
| BUF_SIZE | 0 | ls | 128 |
| DATA_SOURCE | 0 | ls | $0 |
| PREEMPT_ADD | |||
| LOCK2 | &r->res_lock | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &ls->ls_in_recovery | |
| LOCK2 | 0 | &ls->ls_recoverd_active | |
| 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/lock.c waiter_needs_recovery() -> dlm_is_removed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_nodes_gone.next | 4096-ptr_max |
| BUF_SIZE | 0 | ls | 128 |
| BUF_SIZE | 0 | ls | 128 |
| DATA_SOURCE | 0 | ls | $0 |
| LOCK2 | 0 | &ls->ls_in_recovery | |
| LOCK2 | 0 | &ls->ls_recoverd_active | |
| TYPE_LOCK | (struct dlm_ls)->ls_in_recovery | ||
| TYPE_LOCK | (struct dlm_ls)->ls_recoverd_active |
fs/dlm/recover.c recover_master() -> dlm_is_removed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nodeid | s32min-(-2),1-s32max |
| PREEMPT_ADD | |||
| UNITS | 0 | ls | unit_array_size |
| LOCK2 | &ls->ls_in_recovery | ||
| LOCK2 | &ls->ls_recoverd_active | ||
| LOCK2 | &r->res_lock | ||
| LOCK2 | bh | ||
| 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/requestqueue.c purge_request() -> dlm_is_removed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| BUF_SIZE | 0 | ls | (-1),8,128,1560 |
| DATA_SOURCE | 0 | ls | $0 |
| DATA_SOURCE | 1 | nodeid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &ls->ls_requestqueue_lock | |
| HALF_LOCKED2 | global &ls_lock | ||
| HALF_LOCKED2 | 0 | &ls->ls_in_recovery | |
| HALF_LOCKED2 | 0 | &ls->ls_recoverd_active | |
| TYPE_LOCK | (struct dlm_ls)->ls_requestqueue_lock |