Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

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

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

fs/jffs2/gc.c jffs2_garbage_collect_hole() -> frag_last()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->rb_node 1-u64max
RX_PATH
TASK_NOT_RUNNING
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_metadata() -> frag_last()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
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