Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/jffs2/writev.c jffs2_flash_direct_write() -> jffs2_sum_add_kvec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->alloc_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->alloc_sem.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | c->alloc_sem.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | c->erase_completion_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | c->nextblock | 4096-ptr_max |
| PARAM_VALUE | 0 | c->nextblock->allocated_refs | 1 |
| PARAM_VALUE | 0 | c->wbuf | 0 |
| PARAM_VALUE | 0 | c->wbuf_dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | c->wbuf_dwork.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | c->wbuf_dwork.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | c->wbuf_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->wbuf_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | c->xattr_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->xattr_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *c->summary->sum_list_head->d.name | 0-255 |
| PARAM_VALUE | 1 | invecs | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 3 | ofs | $1 |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 3 | ofs | unit_byte |
| LOCK2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| HALF_LOCKED2 | 0 | &c->xattr_sem | |
| TYPE_LOCK | (struct jffs2_sb_info)->alloc_sem |
fs/jffs2/writev.c jffs2_flash_direct_writev() -> jffs2_sum_add_kvec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_completion_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->wbuf | 0 |
| PARAM_VALUE | 0 | c->wbuf_dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | c->wbuf_dwork.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | c->wbuf_dwork.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | c->wbuf_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->wbuf_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | c->xattr_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->xattr_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *c->summary->sum_list_head->d.name | 0-255 |
| PARAM_VALUE | 1 | invecs | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1-2 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 1 | invecs | (-1),32 |
| BUF_SIZE | 1 | invecs | (-1),32 |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 1 | invecs | $1 |
| DATA_SOURCE | 2 | count | $2 |
| DATA_SOURCE | 3 | ofs | $3 |
| FUZZY_MAX | 2 | count | 2 |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| HARD_MAX | 2 | count | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 3 | ofs | unit_byte |
| HALF_LOCKED2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| HALF_LOCKED2 | 0 | &c->xattr_sem |