Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/jffs2/debug.c
- fs/jffs2/gc.c
- fs/jffs2/nodemgmt.c, line 765
- fs/jffs2/read.c
- fs/jffs2/readinode.c
- fs/jffs2/scan.c, line 298
- fs/jffs2/xattr.c
Smatch caller information:
fs/jffs2/xattr.c do_load_xattr_datum() -> jffs2_flash_read()
| 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_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 | 1 | ofs | 32,36-4294967327 |
| PARAM_VALUE | 2 | len | 0-4000000 |
| PARAM_VALUE | 3 | retlen | 4355056160984117248 |
| PARAM_VALUE | 4 | buf | 16,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 |
| DATA_SOURCE | 0 | c | $0 |
| 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->xattr_sem | |
| HALF_LOCKED2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| TYPE_LOCK | (struct jffs2_sb_info)->xattr_sem |
fs/jffs2/xattr.c do_verify_xattr_datum() -> jffs2_flash_read()
| 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_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 | 1 | ofs | 0,4-u32max |
| PARAM_VALUE | 2 | len | 32 |
| PARAM_VALUE | 3 | retlen | 1018250170394820608 |
| PARAM_VALUE | 4 | buf | 5964854593166888960 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 4 | buf | 32 |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| BIT_INFO | 1 | ofs | 0x0,0xfffffffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &c->xattr_sem | |
| HALF_LOCKED2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| TYPE_LOCK | (struct jffs2_sb_info)->xattr_sem |
fs/jffs2/xattr.c verify_xattr_ref() -> jffs2_flash_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->bad_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->bad_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->bad_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->bad_used_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->bad_used_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->clean_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->clean_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->clean_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->dirty_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->dirty_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->dirty_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->dirty_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasable_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasable_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasable_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasable_pending_wbuf_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasable_pending_wbuf_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasable_pending_wbuf_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_checking_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_checking_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_checking_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_complete_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_complete_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_complete_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_completion_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->erase_pending_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_pending_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_pending_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasing_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasing_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasing_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->flags | 4-u32max |
| PARAM_VALUE | 0 | c->free_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->free_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->free_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->summary->sum_buf | 16,4096-ptr_max |
| PARAM_VALUE | 0 | c->summary->sum_list_head | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->summary->sum_list_tail | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->very_dirty_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->very_dirty_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->very_dirty_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->wbuf_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->wbuf_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->wbuf_sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | c->wbuf_sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | c->wbuf_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | c->xattr_dead_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->xattr_dead_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->xattr_dead_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->xattr_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->xattr_unchecked.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->xattr_unchecked.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->xattr_unchecked.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ofs | 0,4-u32max |
| PARAM_VALUE | 2 | len | 28 |
| PARAM_VALUE | 3 | retlen | 5793230267544412160 |
| PARAM_VALUE | 4 | buf | 2296271634077405184 |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 4 | buf | 28 |
| CAPPED_DATA | 0 | c->inocache_hashsize | 1 |
| DATA_SOURCE | 0 | c | $0 |
| BIT_INFO | 0 | c->flags | 0x4,0xffffffffffffffff |
| BIT_INFO | 1 | ofs | 0x0,0xfffffffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | c->inocache_hashsize | |
| NO_OVERFLOW_SIMPLE | 0 | c->oobavail | |
| UNITS | 0 | c | unit_byte |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/jffs2/readinode.c check_node_data() -> jffs2_flash_read()
| 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->inocache_list | 4096-ptr_max |
| PARAM_VALUE | 0 | c->mtd | 4096-ptr_max |
| 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 | 2 | len | 1-4000000 |
| PARAM_VALUE | 3 | retlen | 4609343396288229376 |
| PARAM_VALUE | 3 | *retlen | 0-4294967294 |
| 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 | 1-u32max |
| BUF_SIZE | 4 | buf | 1-u32max |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | c | $0 |
| 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 |
| BYTE_COUNT | 4 | ==buf2 | 8050 |
| LOCK2 | &f->sem | ||
| HALF_LOCKED2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| TYPE_LOCK | (struct jffs2_inode_info)->sem |
fs/jffs2/readinode.c jffs2_do_read_inode_internal() -> jffs2_flash_read()
| 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->inocache_list | 4096-ptr_max |
| PARAM_VALUE | 0 | c->inocache_lock.rlock.dep_map->name | 0-255 |
| 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 | 1 | ofs | 0,4-4294967295 |
| PARAM_VALUE | 2 | len | 68 |
| PARAM_VALUE | 3 | retlen | 7912044739496419328 |
| PARAM_VALUE | 4 | buf | 5043428360020201472,5601385691796021248 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 4 | buf | $2 |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| BIT_INFO | 1 | ofs | 0x0,0xfffffffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &f->sem | ||
| HALF_LOCKED2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| TYPE_LOCK | (struct jffs2_inode_info)->sem |
fs/jffs2/readinode.c jffs2_do_read_inode_internal() -> jffs2_flash_read()
| 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->inocache_list | 4096-ptr_max |
| PARAM_VALUE | 0 | c->inocache_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->mtd | 4096-ptr_max |
| 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 | 1 | ofs | 68,72-4294967363 |
| PARAM_VALUE | 2 | len | 0-254 |
| PARAM_VALUE | 3 | retlen | 7912044739496419328 |
| PARAM_VALUE | 3 | *retlen | 68 |
| PARAM_VALUE | 4 | buf | 4096-ptr_max |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 4 | buf | 1-255 |
| BUF_SIZE | 4 | buf | 1-255 |
| CAPPED_DATA | 0 | c->mtd | 1 |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 4 | buf | r _kmalloc_noprof |
| STR_LEN | 0 | c | (-1) |
| STR_LEN | 0 | c | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 1 | ofs | unit_byte |
| UNITS | 2 | len | unit_byte |
| ELEM_LAST | 4 | ==buf2 | 8052 |
| LOCK2 | &f->sem | ||
| TYPE_LOCK | (struct jffs2_inode_info)->sem |
fs/jffs2/readinode.c jffs2_get_inode_nodes() -> jffs2_flash_read()
| 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->inocache_list | 4096-ptr_max |
| PARAM_VALUE | 0 | c->inocache_lock.rlock.dep_map->name | 0-255 |
| 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 | 1 | ofs | 0,4-4294967295 |
| PARAM_VALUE | 2 | len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | retlen | 978124771345620992 |
| PARAM_VALUE | 4 | buf | 16,4096-ptr_max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 4 | buf | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 4 | buf | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 4 | buf | r _kmalloc_noprof |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| BIT_INFO | 1 | ofs | 0x0,0xfffffffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &f->sem | ||
| HALF_LOCKED2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| TYPE_LOCK | (struct jffs2_inode_info)->sem |
fs/jffs2/readinode.c read_direntry() -> jffs2_flash_read()
| 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->inocache_list | 4096-ptr_max |
| PARAM_VALUE | 0 | c->inocache_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->mtd | 4096-ptr_max |
| 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 | 1 | ofs | 0-4294967589 |
| PARAM_VALUE | 2 | len | 0-295,18446744073709551362-u64max |
| PARAM_VALUE | 3 | *retlen | 0-294 |
| PARAM_VALUE | 4 | buf | 4096-ptr_max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| CAPPED_DATA | 0 | c->mtd | 1 |
| 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 | &f->sem | ||
| HALF_LOCKED2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| TYPE_LOCK | (struct jffs2_inode_info)->sem |
fs/jffs2/readinode.c read_more() -> jffs2_flash_read()
| 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->inocache_list | 4096-ptr_max |
| PARAM_VALUE | 0 | c->inocache_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->mtd | 4096-ptr_max |
| 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 | 1 | ofs | 0-67 |
| PARAM_VALUE | 2 | len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | retlen | 8806661434106052608 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| CAPPED_DATA | 0 | c->mtd | 1 |
| 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 |
| UNITS | 4 | buf | unit_byte |
| LOCK2 | &f->sem | ||
| HALF_LOCKED2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| TYPE_LOCK | (struct jffs2_inode_info)->sem |
fs/jffs2/gc.c jffs2_garbage_collect_deletion_dirent() -> jffs2_flash_read()
| 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->alloc_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->erase_completion_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->erase_free_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->erase_free_sem.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_free_sem.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | c->erase_free_sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | c->erase_free_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->erase_free_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | c->erase_free_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | c->gcblock | 4096-ptr_max |
| PARAM_VALUE | 0 | c->inocache_lock.rlock.dep_map->name | 0-255 |
| 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 | 1 | ofs | 0,4-4294967295 |
| PARAM_VALUE | 2 | len | 0-4000000 |
| PARAM_VALUE | 3 | retlen | 6305179865516314624 |
| PARAM_VALUE | 4 | buf | 16,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 | 0 | c->gcblock | 1 |
| CAPPED_DATA | 0 | &c->erase_free_sem | 1 |
| 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 |
| BIT_INFO | 1 | ofs | 0x0,0xfffffffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| LOCK2 | &f->sem | ||
| LOCK2 | 0 | &c->alloc_sem | |
| LOCK2 | 0 | &c->erase_free_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| TYPE_LOCK | (struct jffs2_inode_info)->sem | ||
| TYPE_LOCK | (struct jffs2_sb_info)->alloc_sem | ||
| TYPE_LOCK | (struct jffs2_sb_info)->erase_free_sem |
fs/jffs2/gc.c jffs2_garbage_collect_hole() -> jffs2_flash_read()
| 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->alloc_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->erase_completion_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->inocache_lock.rlock.dep_map->name | 0-255 |
| 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 | 1 | ofs | 0,4-4294967295 |
| PARAM_VALUE | 2 | len | 68 |
| PARAM_VALUE | 3 | retlen | 7496517461494898688 |
| PARAM_VALUE | 4 | buf | 2696898556405522432 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 4 | buf | 68 |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| BIT_INFO | 1 | ofs | 0x0,0xfffffffc |
| MEM_ZERO | 4 | buf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &f->sem | ||
| LOCK2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| TYPE_LOCK | (struct jffs2_inode_info)->sem | ||
| TYPE_LOCK | (struct jffs2_sb_info)->alloc_sem |
fs/jffs2/gc.c jffs2_garbage_collect_pristine() -> jffs2_flash_read()
| 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->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 | 1 | ofs | 0,4-4294967295 |
| PARAM_VALUE | 2 | len | 0-4000000 |
| PARAM_VALUE | 3 | retlen | 7000331881820454912 |
| PARAM_VALUE | 4 | buf | 16,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 |
| BIT_INFO | 1 | ofs | 0x0,0xfffffffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 2 | len | unit_byte |
| BYTE_COUNT | 4 | ==buf2 | 8050 |
| LOCK2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | &f->sem | ||
| HALF_LOCKED2 | 0 | &c->wbuf_sem | |
| TYPE_LOCK | (struct jffs2_sb_info)->alloc_sem |
fs/jffs2/read.c jffs2_read_dnode() -> jffs2_flash_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | ofs | 0,4-4294967295 |
| PARAM_VALUE | 2 | len | 68 |
| PARAM_VALUE | 3 | retlen | 3379066382289354752 |
| PARAM_VALUE | 4 | buf | 1-u64max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 4 | buf | r jffs2_alloc_raw_inode |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| BIT_INFO | 1 | ofs | 0x0,0xfffffffc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &f->sem | ||
| HALF_LOCKED2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem |
fs/jffs2/read.c jffs2_read_dnode() -> jffs2_flash_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->mtd | 4096-ptr_max |
| 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 | 1 | ofs | 68,72-4294967363 |
| PARAM_VALUE | 2 | len | 0-u32max |
| PARAM_VALUE | 3 | retlen | 3379066382289354752 |
| PARAM_VALUE | 3 | *retlen | 68 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 4 | buf | 0-u32max,u64max |
| BUF_SIZE | 4 | buf | 0-u32max,u64max |
| CAPPED_DATA | 0 | c->mtd | 1 |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 1 | ofs | unit_byte |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &f->sem | ||
| HALF_LOCKED2 | 0 | &c->alloc_sem | |
| HALF_LOCKED2 | 0 | &c->wbuf_sem |
fs/jffs2/scan.c jffs2_fill_scan_buf() -> jffs2_flash_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->bad_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->bad_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->bad_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->bad_used_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->bad_used_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->blocks | 4096-ptr_max |
| PARAM_VALUE | 0 | c->clean_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->clean_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->clean_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->dirty_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->dirty_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->dirty_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasable_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasable_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasable_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasable_pending_wbuf_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasable_pending_wbuf_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasable_pending_wbuf_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_checking_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_checking_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_checking_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_complete_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_complete_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_complete_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_pending_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_pending_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_pending_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasing_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasing_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erasing_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->free_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->free_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->free_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->mtd | 4096-ptr_max |
| PARAM_VALUE | 0 | c->nr_blocks | 1-u32max |
| PARAM_VALUE | 0 | c->summary->sum_buf | 16,4096-ptr_max |
| PARAM_VALUE | 0 | c->very_dirty_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->very_dirty_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->very_dirty_list.prev->prev | 4096-ptr_max |
| 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_dead_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->xattr_dead_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->xattr_dead_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->xattr_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->xattr_unchecked.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->xattr_unchecked.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->xattr_unchecked.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | retlen | 5075556855695237120 |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c->inocache_list | (-1),1024-8192 |
| BUF_SIZE | 4 | buf | (-1)-s32max |
| CAPPED_DATA | 0 | c->mtd | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 1 | ofs | $2 |
| DATA_SOURCE | 2 | len | $3 |
| DATA_SOURCE | 4 | buf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | c->inocache_hashsize | |
| NO_OVERFLOW_SIMPLE | 0 | c->oobavail | |
| UNITS | 0 | c | unit_byte |
| UNITS | 1 | ofs | unit_byte |
| UNITS | 2 | len | unit_byte |
| UNITS | 4 | buf | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex |