Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/dlm/lock.c dlm_recover_grant() -> confirm_master()

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_nodeid 0
PARAM_VALUE 1 error 0
DATA_SOURCE 0 r r find_grant_rsb
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &ls->ls_recoverd_active
LOCK2 bh
LOCK2 0 &r->res_lock
TYPE_LOCK (struct dlm_ls)->ls_recoverd_active
TYPE_LOCK (struct dlm_rsb)->res_lock

fs/dlm/lock.c dlm_recover_waiters_post() -> confirm_master()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.next 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.next->next 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.next->prev 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.prev 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.prev->next 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 r->res_grantqueue.prev 4096-ptr_max
PARAM_VALUE 0 r->res_grantqueue.prev->next 4096-ptr_max
PARAM_VALUE 0 r->res_grantqueue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 r->res_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 r->res_nodeid 0
PARAM_VALUE 0 r->res_waitqueue.next 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.next->next 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.next->prev 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.prev 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.prev->next 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.prev->next->next 4096-ptr_max
PARAM_VALUE 1 error 0
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 receive_request_reply() -> confirm_master()

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 error (-11)
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() -> confirm_master()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.next 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.next->next 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.next->prev 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.prev 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.prev->next 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 r->res_grantqueue.prev 4096-ptr_max
PARAM_VALUE 0 r->res_grantqueue.prev->next 4096-ptr_max
PARAM_VALUE 0 r->res_grantqueue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 r->res_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 r->res_waitqueue.next 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.next->next 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.next->prev 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.prev 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.prev->next 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.prev->next->next 4096-ptr_max
PARAM_VALUE 1 error (-115),0
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() -> confirm_master()

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 error (-53),(-15)
BIT_INFO 1 error 0x0,0x7fffffff
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() -> confirm_master()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.next 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.next->next 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.next->prev 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.prev 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.prev->next 4096-ptr_max
PARAM_VALUE 0 r->res_convertqueue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 r->res_grantqueue.prev 4096-ptr_max
PARAM_VALUE 0 r->res_grantqueue.prev->next 4096-ptr_max
PARAM_VALUE 0 r->res_grantqueue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 r->res_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 r->res_lookup.prev 4096-ptr_max
PARAM_VALUE 0 r->res_lookup.prev->next 4096-ptr_max
PARAM_VALUE 0 r->res_lookup.prev->next->next 4096-ptr_max
PARAM_VALUE 0 r->res_lvbptr 0,16,4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.next 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.next->next 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.next->prev 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.prev 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.prev->next 4096-ptr_max
PARAM_VALUE 0 r->res_waitqueue.prev->next->next 4096-ptr_max
PARAM_VALUE 1 error 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