Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/configfs/dir.c configfs_mkdir() -> new_fragment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock

fs/configfs/dir.c configfs_register_group() -> new_fragment()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

fs/configfs/dir.c configfs_register_subsystem() -> new_fragment()

Type Parameter Key Value

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

Type Parameter Key Value
PARAM_VALUE 0 fn 0,4096-ptr_max
PARAM_VALUE 0 fn->raw 4096-ptr_max
PARAM_VALUE 1 ofs 0-4294967294
RX_PATH
TASK_NOT_RUNNING
UNITS 1 ofs unit_byte
UNITS 2 size 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_add_full_dnode_to_inode() -> new_fragment()

Type Parameter Key Value
PARAM_VALUE 0 fn 4096-ptr_max
PARAM_VALUE 0 fn->size 1-u32max
PARAM_VALUE 2 size 1-u32max
DATA_SOURCE 0 fn $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 ofs unit_byte
UNITS 2 size unit_byte
LOCK2 &f->sem
HALF_LOCKED2 &c->alloc_sem
TYPE_LOCK (struct jffs2_inode_info)->sem

fs/jffs2/nodelist.c no_overlapping_node() -> new_fragment()

Type Parameter Key Value
PARAM_VALUE 0 fn 0
PARAM_VALUE 1 ofs 0-4294967294
PARAM_VALUE 2 size 1-u32max
CAPPED_DATA 1 ofs 1
DATA_SOURCE 1 ofs $4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 ofs unit_byte
UNITS 2 size unit_byte
LOCK2 &f->sem
HALF_LOCKED2 &c->alloc_sem
HALF_LOCKED2 &c->wbuf_sem
TYPE_LOCK (struct jffs2_inode_info)->sem