Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/accessibility/speakup/devsynth.c, line 32
- drivers/accessibility/speakup/kobjects.c, line 429
Smatch caller information:
drivers/accessibility/speakup/devsynth.c speakup_file_write() -> synth_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _buf | 4702637437810036736 |
| PARAM_VALUE | 1 | count | 1-256 |
| BUF_SIZE | 0 | _buf | 256 |
| CAPPED_DATA | 1 | count | 1 |
| CAPPED_DATA | 1 | count | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| USER_DATA | 0 | *_buf | 0-255 |
| USER_DATA | 1 | count | 1-255[c] |
| UNITS | 1 | count | unit_byte |
| USER_PTR | 0 | _buf | |
| LOCK2 | flags | ||
| LOCK2 | global &speakup_info.spinlock | ||
| TYPE_LOCK | (struct speakup_info_t)->spinlock |
drivers/accessibility/speakup/kobjects.c synth_direct_store() -> synth_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | _buf | 4096-ptr_max |
| PARAM_VALUE | 1 | count | 0-1010101 |
| DATA_SOURCE | 0 | _buf | r kstrdup |
| STR_LEN | 0 | _buf | 0-1010101 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | global &speakup_info.spinlock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct speakup_info_t)->spinlock |