Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/dlm/lock.c receive_lvb() -> dlm_allocate_lvb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_callback_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_callback_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_requestqueue_lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | ls | (-1),128 |
| BUF_SIZE | 0 | ls | (-1),128 |
| DATA_SOURCE | 0 | ls | $0 |
| PREEMPT_ADD | |||
| NO_OVERFLOW_SIMPLE | 0 | ls->ls_slots_size | |
| LOCK2 | &r->res_lock | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &ls->ls_requestqueue_lock | |
| HALF_LOCKED2 | 0 | &ls->ls_recoverd_active | |
| HALF_LOCKED2 | 0 | &ls->ls_recv_active | |
| TYPE_LOCK | (struct dlm_ls)->ls_requestqueue_lock | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/lock.c receive_rcom_lock_args() -> dlm_allocate_lvb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_lkbxa.xa_flags | 4-u32max |
| PARAM_VALUE | 0 | ls->ls_lkbxa.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.owner | (-1) |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | ls->ls_lvblen | 0-s32max |
| PARAM_VALUE | 0 | ls->ls_recover_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_recover_status | 4-u32max |
| PARAM_VALUE | 0 | ls->ls_recv_active.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_rsbtbl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_scan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_scan_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_scan_timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slow_active.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slow_active.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_slow_active.next->prev | 4096-ptr_max |
| CAPPED_DATA | 0 | ls->ls_global_id | 1 |
| DATA_SOURCE | 0 | ls | $0 |
| PREEMPT_ADD | |||
| LOCK2 | &r->res_lock | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &ls->ls_recv_active | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &nodes_srcu | ||
| TYPE_LOCK | (struct dlm_ls)->ls_recv_active | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/lock.c receive_request_args() -> dlm_allocate_lvb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PARAM_VALUE | 0 | ls->ls_callback_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_callback_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ls->ls_lkbxa.xa_flags | 4-u32max |
| PARAM_VALUE | 0 | ls->ls_lkbxa.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.owner | (-1) |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | ls->ls_lkbxa_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | ls->ls_requestqueue_lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | ls | (-1),128 |
| BUF_SIZE | 0 | ls | (-1),128 |
| DATA_SOURCE | 0 | ls | $0 |
| NO_OVERFLOW_SIMPLE | 0 | ls->ls_slots_size | |
| LOCK2 | bh | ||
| LOCK2 | 0 | &ls->ls_requestqueue_lock | |
| HALF_LOCKED2 | 0 | &ls->ls_recoverd_active | |
| HALF_LOCKED2 | 0 | &ls->ls_recv_active | |
| TYPE_LOCK | (struct dlm_ls)->ls_requestqueue_lock |
fs/dlm/lock.c set_lvb_lock() -> dlm_allocate_lvb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ls | unit_array_size |
| LOCK2 | &r->res_lock | ||
| HALF_LOCKED2 | &ls->ls_recoverd_active | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct dlm_rsb)->res_lock |
fs/dlm/lock.c set_lvb_unlock() -> dlm_allocate_lvb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ls | unit_array_size |
| LOCK2 | &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/recover.c recover_lvb() -> dlm_allocate_lvb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ls | 4096-ptr_max |
| 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 |