Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/jffs2/xattr.c save_xattr_ref() -> jffs2_flash_write()
| 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->nextblock | 4096-ptr_max |
| PARAM_VALUE | 0 | c->nextblock->allocated_refs | 1 |
| 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_inodes->ino | 0-4294967295 |
| 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->xattr_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *c->summary->sum_list_head->d.name | 0-255 |
| PARAM_VALUE | 2 | len | 28 |
| PARAM_VALUE | 3 | retlen | 7768099563753406464 |
| PARAM_VALUE | 4 | buf | 8083370672798638080 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 4 | buf | 28 |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 1 | ofs | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &c->alloc_sem | |
| LOCK2 | 0 | &c->xattr_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| TYPE_LOCK | (struct jffs2_sb_info)->alloc_sem | ||
| TYPE_LOCK | (struct jffs2_sb_info)->xattr_sem |
fs/jffs2/gc.c jffs2_garbage_collect_pristine() -> jffs2_flash_write()
| 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.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->erase_checking_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_checking_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_completion_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->erase_free_sem->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | c->erase_free_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->erase_free_sem.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | c->nextblock | 4096-ptr_max |
| PARAM_VALUE | 0 | c->nextblock->allocated_refs | 1 |
| 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 | 2 | len | 0-4000000 |
| PARAM_VALUE | 3 | retlen | 7000331881820454912 |
| PARAM_VALUE | 4 | buf | 4096-ptr_max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 4 | buf | 0-u32max |
| BUF_SIZE | 4 | buf | 0-u32max |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 2 | len | r __jffs2_ref_totlen |
| DATA_SOURCE | 4 | buf | r _kmalloc_noprof |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 1 | ofs | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | &f->sem | ||
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| TYPE_LOCK | (struct jffs2_sb_info)->alloc_sem |