Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/dlm/lock.c grant_pending_convert() -> queue_bast()
| 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_exflags | 256-u32max |
| PARAM_VALUE | 1 | lkb->lkb_highbast | (-128)-126 |
| PARAM_VALUE | 1 | lkb->lkb_rqmode | (-127)-127 |
| PARAM_VALUE | 2 | rqmode | (-127)-127 |
| CAPPED_DATA | 0 | &r->res_convertqueue | 1 |
| CAPPED_DATA | 1 | lkb | 1 |
| CAPPED_DATA | 1 | lkb->lkb_highbast | 1 |
| CAPPED_DATA | 1 | &lkb->lkb_statequeue | 1 |
| DATA_SOURCE | 0 | r | $0 |
| BIT_INFO | 1 | lkb->lkb_exflags | 0x100,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 grant_pending_locks() -> queue_bast()
| 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 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_bastfn | 1-u64max |
| PARAM_VALUE | 1 | lkb->lkb_grmode | 3 |
| PARAM_VALUE | 1 | lkb->lkb_highbast | (-128)-126 |
| PARAM_VALUE | 2 | rqmode | 2 |
| CAPPED_DATA | 0 | &r->res_grantqueue | 1 |
| CAPPED_DATA | 1 | &lkb->lkb_statequeue | 1 |
| DATA_SOURCE | 0 | r | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 grant_pending_locks() -> queue_bast()
| 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 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_bastfn | 1-u64max |
| PARAM_VALUE | 1 | lkb->lkb_highbast | (-128)-126 |
| PARAM_VALUE | 2 | rqmode | 0-127 |
| CAPPED_DATA | 0 | &r->res_grantqueue | 1 |
| CAPPED_DATA | 1 | &lkb->lkb_statequeue | 1 |
| CAPPED_DATA | 2 | rqmode | 1 |
| DATA_SOURCE | 0 | r | $0 |
| DATA_SOURCE | 2 | rqmode | r grant_pending_wait |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 receive_bast() -> queue_bast()
| 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_nodeid | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | lkb->lkb_resource | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_lock.rlock.dep_map->name | 0-255 |
| 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 send_bast_queue() -> queue_bast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 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 | 1 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_bastfn | 1-u64max |
| PARAM_VALUE | 1 | lkb->lkb_highbast | (-128)-126 |
| PARAM_VALUE | 2 | rqmode | (-127)-127 |
| CAPPED_DATA | 1 | &lkb->lkb_statequeue | 1 |
| DATA_SOURCE | 0 | r | $0 |
| STR_LEN | 0 | r | (-1) |
| STR_LEN | 1 | lkb->lkb_highbast | (-1) |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | r->res_hash | 0-u32max |
| USER_DATA | 0 | r->res_length | 0-64[c][u] |
| USER_DATA | 1 | lkb->lkb_resource->res_hash | 0-u32max |
| USER_DATA | 1 | lkb->lkb_resource->res_length | 0-64[c] |
| USER_DATA | 2 | rqmode | 0-5[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 |