Documented in 1 files:
Defined in 1 files as a member:
Defined in 7 files as a function:
- drivers/greybus/svc_watchdog.c, line 63 (as a function)
- drivers/infiniband/sw/rxe/rxe_task.c, line 189 (as a function)
- drivers/md/dm-era-target.c, line 1364 (as a function)
- drivers/md/dm-kcopyd.c, line 650 (as a function)
- drivers/mtd/ubi/wl.c, line 190 (as a function)
- sound/soc/codecs/tas5805m.c, line 325 (as a function)
- tools/perf/bench/numa.c, line 871 (as a function)
Referenced in 15 files:
- arch/x86/mm/pf_in.c
- drivers/greybus/svc_watchdog.c, line 121
- drivers/infiniband/hw/hfi1/driver.c
- drivers/infiniband/hw/hfi1/hfi.h
- drivers/infiniband/hw/mlx4/alias_GUID.c
- drivers/infiniband/sw/rxe/rxe_task.c, line 203
- drivers/md/dm-era-target.c, line 1546
- drivers/md/dm-kcopyd.c, line 936
- drivers/mtd/ubi/fastmap-wl.c
- drivers/mtd/ubi/wl.c
- drivers/scsi/storvsc_drv.c
- fs/xfs/xfs_icache.c
- sound/soc/codecs/tas5805m.c, line 542
- tools/perf/bench/numa.c
- tools/testing/selftests/mm/rmap.c
Smatch caller information:
drivers/mtd/ubi/wl.c produce_free_peb() -> do_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | work | 4096-ptr_max |
| PARAM_VALUE | 0 | work->fm_eba_sem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | work->fm_eba_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->fm_eba_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | work->fm_eba_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | work->fm_eba_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | work->fm_protect.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->fm_protect.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->free.rb_node | 0 |
| PARAM_VALUE | 0 | work->wl_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | work->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->works_count | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | executed | 0 |
| DATA_SOURCE | 0 | work | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &le->mutex |
drivers/mtd/ubi/wl.c ubi_thread() -> do_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | work | 4096-ptr_max |
| PARAM_VALUE | 0 | work->dbg.disable_bgt | 0 |
| PARAM_VALUE | 0 | work->ro_mode | 0 |
| PARAM_VALUE | 0 | work->thread_enabled | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | work->wl_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | work->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | executed | 0 |
| BUF_SIZE | 0 | work | 128 |
| BUF_SIZE | 0 | work | 128 |
| CAPPED_DATA | 0 | &work->works | 1 |
| DATA_SOURCE | 0 | work | $0 |
| PARAM_COMPARE | 0 | &work->works | != $0->works.next |
drivers/mtd/ubi/wl.c wait_free_pebs_for_pool() -> do_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | work | 4096-ptr_max |
| PARAM_VALUE | 0 | work->bgt_thread->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | work->bgt_thread->kcov->mode | 0-4294967295 |
| PARAM_VALUE | 0 | work->bgt_thread->kcov->remote | 0-1 |
| PARAM_VALUE | 0 | work->bgt_thread->kcov->remote_size | 0-4294967295 |
| PARAM_VALUE | 0 | work->bgt_thread->kcov_remote->mode | 0-4294967295 |
| PARAM_VALUE | 0 | work->bgt_thread->kcov_remote->remote | 0-1 |
| PARAM_VALUE | 0 | work->bgt_thread->kcov_remote->remote_size | 0-4294967295 |
| PARAM_VALUE | 0 | work->bgt_thread->ptracer_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | work->bgt_thread->ptracer_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | work->bgt_thread->ptracer_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | work->bgt_thread->ptracer_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | work->bgt_thread->ptracer_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | work->bgt_thread->ptracer_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | work->bgt_thread->ptracer_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | work->bgt_thread->ptracer_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | work->bgt_thread->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 0 | work->bgt_thread->sched_task_group->parent | 0-s64max |
| PARAM_VALUE | 0 | work->bgt_thread->thread_pid->attr->exit_code | s32min-s32max |
| PARAM_VALUE | 0 | work->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | work->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | work->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | work->dev.p->deferred_probe_reason | 0-s64max |
| PARAM_VALUE | 0 | work->fm_disabled | 0 |
| PARAM_VALUE | 0 | work->fm_eba_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->fm_eba_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->fm_protect.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->fm_protect.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->ro_mode | 0 |
| PARAM_VALUE | 0 | work->wl_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | work->work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | executed | 1962742938023301120 |
| DATA_SOURCE | 0 | work | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | work->bgt_thread->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | work->vid_hdr_aloffset | |
| HALF_LOCKED2 | &le->mutex | ||
| HALF_LOCKED2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | 0 | &work->device_mutex |
kernel/workqueue.c process_one_work() -> (struct worker)->current_func()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | work | 4096-ptr_max |
| PARAM_VALUE | 0 | work->entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | work->entry.prev->next | 4096-ptr_max |
| CAPPED_DATA | 0 | work | 1 |
| DATA_SOURCE | 0 | work | $1 |
| CONTAINER | 0 | -24+0 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |