Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/jffs2/readinode.c jffs2_do_clear_inode() -> jffs2_set_inocache_state()
| 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 | ic | 4096-ptr_max |
| PARAM_VALUE | 1 | ic->state | 0,2-u16max |
| PARAM_VALUE | 2 | state | 6 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | c | 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_clear_inode() -> jffs2_set_inocache_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 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 | ic | 4096-ptr_max |
| PARAM_VALUE | 1 | ic->state | 6 |
| PARAM_VALUE | 2 | state | 3 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | c | 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_set_inocache_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| 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 | ic | 4096-ptr_max |
| PARAM_VALUE | 1 | ic->state | 5 |
| PARAM_VALUE | 2 | state | 3 |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c | (-1) |
| STR_LEN | 0 | c | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | ic->ino | 0-u32max[c] |
| UNITS | 0 | c | unit_byte |
| LOCK2 | &f->sem | ||
| TYPE_LOCK | (struct jffs2_inode_info)->sem |
fs/jffs2/readinode.c jffs2_do_read_inode_internal() -> jffs2_set_inocache_state()
| 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 | ic | 4096-ptr_max |
| PARAM_VALUE | 1 | ic->nodes | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ic->state | 5 |
| PARAM_VALUE | 2 | state | 3 |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c | (-1) |
| STR_LEN | 0 | c | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | ic->ino | 0-u32max[c] |
| UNITS | 0 | c | unit_byte |
| LOCK2 | &f->sem | ||
| TYPE_LOCK | (struct jffs2_inode_info)->sem |
fs/jffs2/readinode.c jffs2_do_read_inode_internal() -> jffs2_set_inocache_state()
| 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 | ic | 4096-ptr_max |
| PARAM_VALUE | 1 | ic->ino | 0,2-u32max |
| PARAM_VALUE | 1 | ic->nodes | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ic->state | 5 |
| PARAM_VALUE | 2 | state | 3 |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c | (-1) |
| STR_LEN | 0 | c | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | ic->ino | 0,2-u32max[c] |
| UNITS | 0 | c | unit_byte |
| LOCK2 | &f->sem | ||
| TYPE_LOCK | (struct jffs2_inode_info)->sem |
fs/jffs2/readinode.c jffs2_do_read_inode_internal() -> jffs2_set_inocache_state()
| 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 | ic | 4096-ptr_max |
| PARAM_VALUE | 1 | ic->nodes | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ic->state | 5 |
| PARAM_VALUE | 2 | state | 2 |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c | (-1) |
| STR_LEN | 0 | c | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | ic->ino | 0,2-u32max[c] |
| UNITS | 0 | c | unit_byte |
| LOCK2 | &f->sem | ||
| TYPE_LOCK | (struct jffs2_inode_info)->sem |
fs/jffs2/readinode.c jffs2_do_read_inode_internal() -> jffs2_set_inocache_state()
| 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 | ic | 4096-ptr_max |
| PARAM_VALUE | 1 | ic->nodes | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ic->state | 5 |
| PARAM_VALUE | 2 | state | 2 |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| CAPPED_DATA | 0 | c->mtd | 1 |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c | (-1) |
| STR_LEN | 0 | c | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | ic->ino | 0-u32max[c] |
| UNITS | 0 | c | unit_byte |
| LOCK2 | &f->sem | ||
| TYPE_LOCK | (struct jffs2_inode_info)->sem |
fs/jffs2/gc.c jffs2_garbage_collect_pass() -> jffs2_set_inocache_state()
| 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 | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | c->alloc_sem.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | c->alloc_sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | c->alloc_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->alloc_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | c->alloc_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | c->erase_completion_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->inocache_hashsize | (-2147483647)-s32max |
| 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 | ic | 4096-ptr_max |
| PARAM_VALUE | 1 | ic->pino_nlink | 1-u32max |
| PARAM_VALUE | 1 | ic->state | 1 |
| PARAM_VALUE | 2 | state | 3 |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| CAPPED_DATA | 0 | &c->alloc_sem | 1 |
| DATA_SOURCE | 0 | c | $0 |
| STR_LEN | 0 | c | (-1)-254 |
| STR_LEN | 0 | c | (-1)-254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | c | unit_byte |
| LOCK2 | 0 | &c->alloc_sem | |
| TYPE_LOCK | (struct jffs2_sb_info)->alloc_sem |