Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/dlm/lock.c confirm_master() -> _request_lock()
| 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 | 1 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_rsb_lookup.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_rsb_lookup.prev->next | 4096-ptr_max |
| CAPPED_DATA | 0 | &r->res_lookup | 1 |
| DATA_SOURCE | 0 | r | $0 |
| PARAM_COMPARE | 0 | &r->res_lookup | != $0->res_lookup.next |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_requestqueue_lock | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &r->res_lock | |
| HALF_LOCKED2 | &ls->ls_recoverd_active | ||
| HALF_LOCKED2 | &ls->ls_recv_active | ||
| TYPE_LOCK | (struct dlm_ls)->ls_requestqueue_lock | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/lock.c dlm_recover_waiters_post() -> _request_lock()
| 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 | 1 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_wait_count | 0 |
| PARAM_VALUE | 1 | lkb->lkb_wait_type | 0 |
| DATA_SOURCE | 1 | lkb | r find_resend_waiter |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_recoverd_active | ||
| LOCK2 | 0 | &r->res_lock | |
| TYPE_LOCK | (struct dlm_ls)->ls_recoverd_active | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/lock.c process_lookup_list() -> _request_lock()
| 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 | 1 | lkb | 4096-ptr_max |
| CAPPED_DATA | 0 | &r->res_lookup | 1 |
| CAPPED_DATA | 1 | &lkb->lkb_rsb_lookup | 1 |
| DATA_SOURCE | 0 | r | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &r->res_lock | |
| HALF_LOCKED2 | &ls->ls_recoverd_active | ||
| HALF_LOCKED2 | &ls->ls_requestqueue_lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/lock.c receive_lookup_reply() -> _request_lock()
| 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 | 1 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_waiters_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_wait_reply.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_wait_reply.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_wait_type | 0 |
| CAPPED_DATA | 0 | r->res_master_nodeid | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_requestqueue_lock | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &r->res_lock | |
| HALF_LOCKED2 | &ls->ls_recoverd_active | ||
| HALF_LOCKED2 | &ls->ls_recv_active | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ls)->ls_requestqueue_lock | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/lock.c receive_request_reply() -> _request_lock()
| 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 | 1 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_ls->ls_waiters_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_wait_reply.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_wait_reply.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_wait_type | 0 |
| CAPPED_DATA | 1 | lkb->lkb_nodeid | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ls->ls_requestqueue_lock | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &r->res_lock | |
| HALF_LOCKED2 | &ls->ls_recoverd_active | ||
| HALF_LOCKED2 | &ls->ls_recv_active | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dlm_ls)->ls_requestqueue_lock | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/lock.c request_lock() -> _request_lock()
| 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 | 1 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_astfn | 1-u64max |
| PARAM_VALUE | 1 | lkb->lkb_astparam | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_grmode | (-1) |
| PARAM_VALUE | 1 | lkb->lkb_last_bast_cb_mode | (-1) |
| PARAM_VALUE | 1 | lkb->lkb_last_cast_cb_mode | (-1) |
| PARAM_VALUE | 1 | lkb->lkb_last_cb_mode | (-1) |
| PARAM_VALUE | 1 | lkb->lkb_lksb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_nodeid | (-1) |
| PARAM_VALUE | 1 | lkb->lkb_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | lkb->lkb_resource | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_rqmode | 0-5 |
| PARAM_VALUE | 1 | lkb->lkb_ua | 4096-ptr_max |
| DATA_SOURCE | 1 | lkb | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | r->res_hash | 0-4294967295 |
| USER_DATA | 0 | r->res_length | 0-64[c] |
| USER_DATA | 1 | lkb->lkb_exflags | 0-u32max[u] |
| USER_DATA | 1 | lkb->lkb_resource->res_hash | 0-u32max |
| USER_DATA | 1 | lkb->lkb_resource->res_length | 0-64[c] |
| USER_DATA | 1 | lkb->lkb_rqmode | 0-5[u] |
| LOCK2 | &ls->ls_in_recovery | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &r->res_lock | |
| TYPE_LOCK | (struct dlm_ls)->ls_in_recovery | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |