Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/jffs2/readinode.c jffs2_do_read_inode() -> jffs2_add_ino_cache()
| 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 | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->ino | 1 |
| PARAM_VALUE | 1 | new->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | new->pino_nlink | 1 |
| PARAM_VALUE | 1 | new->state | 5 |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 1 | new | r jffs2_alloc_inode_cache |
| MEM_ZERO | 1 | new | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | c | unit_byte |
| LOCK2 | &f->sem | ||
| TYPE_LOCK | (struct jffs2_inode_info)->sem |
fs/jffs2/scan.c jffs2_scan_make_ino_cache() -> jffs2_add_ino_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->inocache_list | 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 | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->nodes | 4096-ptr_max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c | (-1),1-s32max |
| BUF_SIZE | 0 | c->inocache_list | (-1),1024-8192 |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 1 | new | r jffs2_alloc_inode_cache |
| MEM_ZERO | 1 | new | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | c->inocache_hashsize | |
| NO_OVERFLOW_SIMPLE | 0 | c->oobavail | |
| UNITS | 0 | c | unit_byte |
fs/jffs2/write.c jffs2_do_new_inode() -> jffs2_add_ino_cache()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->nodes | 4096-ptr_max |
| PARAM_VALUE | 1 | new->pino_nlink | 1 |
| PARAM_VALUE | 1 | new->state | 2 |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| DATA_SOURCE | 0 | c | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | c | unit_byte |
| LOCK2 | &f->sem | ||
| HALF_LOCKED2 | &c->alloc_sem | ||
| TYPE_LOCK | (struct jffs2_inode_info)->sem |