Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/dlm/lock.c send_bast() -> create_message()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lkb 0
PARAM_VALUE 3 mstype 10
PARAM_VALUE 4 ms_ret 405720354882961408
PARAM_VALUE 5 mh_ret 1772170190685736960
DATA_SOURCE 0 r $0
STR_LEN 0 r (-1)
STR_LEN 0 r (-1)
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 r->res_hash 0-u32max
USER_DATA 0 r->res_length 0-64[c]
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 send_common() -> create_message()

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_ls 4096-ptr_max
PARAM_VALUE 1 lkb->lkb_resource->res_ls->ls_waiters.next 4096-ptr_max
PARAM_VALUE 1 lkb->lkb_resource->res_ls->ls_waiters.next->next 4096-ptr_max
PARAM_VALUE 1 lkb->lkb_resource->res_ls->ls_waiters.next->prev 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 4096-ptr_max
PARAM_VALUE 1 lkb->lkb_wait_reply.prev 4096-ptr_max
PARAM_VALUE 3 mstype 1-4
PARAM_VALUE 4 ms_ret 3800889688024477696
PARAM_VALUE 5 mh_ret 5828482837617246208
CAPPED_DATA 1 lkb 1
DATA_SOURCE 0 r $0
DATA_SOURCE 1 lkb $1
DATA_SOURCE 3 mstype $2
STR_LEN 1 lkb->lkb_rqmode (-1)
HARD_MAX 3 mstype 4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 r->res_hash 0-u32max
USER_DATA 0 r->res_length 0-64[c][u]
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][u]
USER_DATA 1 lkb->lkb_rqmode 0-5[u]
LOCK2 0 &r->res_lock
HALF_LOCKED2 bh
TYPE_LOCK (struct dlm_rsb)->res_lock

fs/dlm/lock.c send_common_reply() -> create_message()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lkb 4096-ptr_max
PARAM_VALUE 3 mstype 5-8
PARAM_VALUE 4 ms_ret 8179192987446370304
PARAM_VALUE 5 mh_ret 5326402451337699328
CAPPED_DATA 1 lkb 1
DATA_SOURCE 0 r $0
DATA_SOURCE 1 lkb $1
DATA_SOURCE 3 mstype $2
HARD_MAX 3 mstype 8
PREEMPT_ADD
LOCK2 &ls->ls_requestqueue_lock
HALF_LOCKED2 &ls->ls_recoverd_active
HALF_LOCKED2 &ls->ls_recv_active
HALF_LOCKED2 bh
HALF_LOCKED2 0 &r->res_lock
TYPE_LOCK (struct dlm_ls)->ls_requestqueue_lock

fs/dlm/lock.c send_grant() -> create_message()

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_ls 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 lkb 4096-ptr_max
PARAM_VALUE 1 lkb->lkb_highbast 0
PARAM_VALUE 1 lkb->lkb_rqmode (-1)
PARAM_VALUE 1 lkb->lkb_status 2
PARAM_VALUE 3 mstype 9
PARAM_VALUE 4 ms_ret 1588218577745698816
PARAM_VALUE 5 mh_ret 3101993352071704576
CAPPED_DATA 1 lkb 1
DATA_SOURCE 0 r $0
DATA_SOURCE 1 lkb $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &r->res_lock
HALF_LOCKED2 &ls->ls_recoverd_active
HALF_LOCKED2 bh
TYPE_LOCK (struct dlm_rsb)->res_lock

fs/dlm/lock.c send_lookup() -> create_message()

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_master_nodeid 0
PARAM_VALUE 1 lkb 0
PARAM_VALUE 3 mstype 11
PARAM_VALUE 4 ms_ret 4734795255994974208
PARAM_VALUE 5 mh_ret 2338777735967318016
DATA_SOURCE 0 r $0
PARAM_COMPARE 0 r->res_dir_nodeid == $2
PARAM_COMPARE 2 to_nodeid == $0->res_dir_nodeid
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 r->res_hash 0-u32max
USER_DATA 0 r->res_length 0-64[c][u]
LOCK2 0 &r->res_lock
HALF_LOCKED2 &ls->ls_in_recovery
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 send_lookup_reply() -> create_message()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lkb 0
PARAM_VALUE 3 mstype 13
PARAM_VALUE 4 ms_ret 577086592050024448
PARAM_VALUE 5 mh_ret 4042012208733601792
BUF_SIZE 0 r 400
CAPPED_DATA 2 to_nodeid 1
LOCK2 &ls->ls_requestqueue_lock
LOCK2 bh
HALF_LOCKED2 &ls->ls_recoverd_active
HALF_LOCKED2 &ls->ls_recv_active
TYPE_LOCK (struct dlm_ls)->ls_requestqueue_lock

fs/dlm/lock.c send_remove() -> create_message()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lkb 0
PARAM_VALUE 3 mstype 12
PARAM_VALUE 4 ms_ret 2093057387293773824
PARAM_VALUE 5 mh_ret 4806116326955458560
CAPPED_DATA 0 r->res_master_nodeid 1
DATA_SOURCE 0 r $0
PARAM_COMPARE 0 r->res_dir_nodeid == $2
PARAM_COMPARE 2 to_nodeid == $0->res_dir_nodeid
RX_PATH
TASK_NOT_RUNNING