Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/jffs2/wbuf.c jffs2_incore_replace_raw() -> jffs2_lookup_node_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragtree 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
LOCK2 &c->erase_completion_lock
LOCK2 &c->wbuf_sem
HALF_LOCKED2 &c->alloc_sem
HALF_LOCKED2 &c->xattr_sem
TYPE_LOCK (struct jffs2_sb_info)->erase_completion_lock
TYPE_LOCK (struct jffs2_sb_info)->wbuf_sem

fs/jffs2/nodelist.c jffs2_add_frag_to_fragtree() -> jffs2_lookup_node_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragtree 4096-ptr_max
DATA_SOURCE 0 fragtree $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
LOCK2 &f->sem
HALF_LOCKED2 &c->alloc_sem
HALF_LOCKED2 &c->wbuf_sem
TYPE_LOCK (struct jffs2_inode_info)->sem

fs/jffs2/nodelist.c jffs2_truncate_fragtree() -> jffs2_lookup_node_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragtree 4096-ptr_max
DATA_SOURCE 0 fragtree $1
DATA_SOURCE 1 offset $2
NOSPEC 1 offset
NOSPEC 1 offset
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 offset 0-u32max[c]
UNITS 1 offset unit_byte
LOCK2 &f->sem
HALF_LOCKED2 &c->alloc_sem
TYPE_LOCK (struct jffs2_inode_info)->sem

fs/jffs2/gc.c jffs2_garbage_collect_dnode() -> jffs2_lookup_node_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragtree 4096-ptr_max
PARAM_VALUE 0 fragtree->rb_node 1-u64max
DATA_SOURCE 1 offset $4
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
LOCK2 &c->alloc_sem
LOCK2 &f->sem
HALF_LOCKED2 &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_dnode() -> jffs2_lookup_node_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragtree 4096-ptr_max
PARAM_VALUE 0 fragtree->rb_node 1-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
LOCK2 &c->alloc_sem
LOCK2 &f->sem
HALF_LOCKED2 &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_hole() -> jffs2_lookup_node_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragtree 4096-ptr_max
PARAM_VALUE 0 fragtree->rb_node 1-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
LOCK2 &c->alloc_sem
LOCK2 &f->sem
HALF_LOCKED2 &c->wbuf_sem
TYPE_LOCK (struct jffs2_inode_info)->sem
TYPE_LOCK (struct jffs2_sb_info)->alloc_sem

fs/jffs2/read.c jffs2_read_inode_range() -> jffs2_lookup_node_frag()

Type Parameter Key Value
PARAM_VALUE 0 fragtree 4096-ptr_max
DATA_SOURCE 1 offset $3
BIT_INFO 1 offset 0x0,0xfffff000
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
HALF_LOCKED2 &c->alloc_sem
HALF_LOCKED2 &f->sem