Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/dlm/lock.c _cancel_lock() -> do_cancel()
| 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_resource | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->lkb_resource->res_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | lkb->lkb_rsb_lookup.next | 4096-ptr_max |
| DATA_SOURCE | 0 | r | $0 |
| DATA_SOURCE | 1 | lkb | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | lkb->lkb_exflags | 0-u32max[c][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 |
fs/dlm/lock.c receive_cancel() -> do_cancel()
| 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 | ||
| 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 |
drivers/comedi/comedi_fops.c comedi_close() -> do_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 0 | r->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | r->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | r->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | r->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | r->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | r->n_subdevices | 1-s32max |
| PARAM_VALUE | 0 | r->subdevices | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->busy | 4096-ptr_max |
| CAPPED_DATA | 0 | &r->mutex | 1 |
| CAPPED_DATA | 1 | lkb->busy | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &r->mutex | |
| TYPE_LOCK | (struct comedi_device)->mutex |
drivers/comedi/comedi_fops.c comedi_device_cancel_all() -> do_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 0 | r->attach_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->attach_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | r->attach_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | r->attach_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | r->attach_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | r->attach_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | r->attach_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->attach_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | r->attach_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | r->attach_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | r->attached | 1 |
| PARAM_VALUE | 0 | r->driver->attach | 0,4096-ptr_max |
| PARAM_VALUE | 0 | r->driver->auto_attach | 0,4096-ptr_max |
| PARAM_VALUE | 0 | r->driver->board_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | r->driver->detach | 4096-ptr_max |
| PARAM_VALUE | 0 | r->driver->module | 0 |
| PARAM_VALUE | 0 | r->driver->num_names | 0-5,7-8,11,13-14,18,22 |
| PARAM_VALUE | 0 | r->driver->offset | 0,8,16,24,32,40,48 |
| PARAM_VALUE | 0 | r->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | r->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | r->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | r->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | r->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | r->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | r->n_subdevices | 1-s32max |
| PARAM_VALUE | 0 | r->subdevices | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->async | 1-u64max |
| DATA_SOURCE | 0 | r | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &r->attach_lock | |
| LOCK2 | 0 | &r->mutex | |
| TYPE_LOCK | (struct comedi_device)->attach_lock | ||
| TYPE_LOCK | (struct comedi_device)->mutex |
drivers/comedi/comedi_fops.c do_cancel_ioctl() -> do_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 0 | r->attached | 1 |
| PARAM_VALUE | 0 | r->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | r->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | r->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | r->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | r->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | r->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | r->n_subdevices | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | r->subdevices | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb | 4096-ptr_max |
| PARAM_VALUE | 1 | lkb->async | 1-u64max |
| PARAM_VALUE | 1 | lkb->busy | 4096-ptr_max |
| CAPPED_DATA | 1 | lkb->busy | 1 |
| DATA_SOURCE | 0 | r | $0 |
| LOCK2 | 0 | &r->mutex | |
| TYPE_LOCK | (struct comedi_device)->mutex |