Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ntfs3/frecord.c ni_rename() -> ni_add_name()

Type Parameter Key Value
PARAM_VALUE 0 dir_ni 4096-ptr_max
PARAM_VALUE 1 ni 4096-ptr_max
PARAM_VALUE 1 ni->base 4096-ptr_max
PARAM_VALUE 1 ni->base->ni_lock.dep_map->name 0-255
PARAM_VALUE 1 ni->base->ni_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 ni->base->ni_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 ni->base->ni_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 ni->ni_bad 0
PARAM_VALUE 2 de->flags 0
PARAM_VALUE 2 de->res 0
BUF_SIZE 2 de 2048,4096
BUF_SIZE 2 de 2048,4096
CAPPED_DATA 0 dir_ni 1
CAPPED_DATA 1 ni 1
CAPPED_DATA 1 ni->base 1
DATA_SOURCE 0 dir_ni $1
DATA_SOURCE 1 ni $2
DATA_SOURCE 2 de $4
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dir_ni->base->ni_lock
LOCK2 1 &ni->base->ni_lock
HALF_LOCKED2 &new_dentry->d_lockref.lock
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem
HALF_LOCKED2 0 &dir_ni->base->ni_lock
TYPE_LOCK (struct ntfs_inode)->ni_lock

fs/ntfs3/inode.c ntfs_link_inode() -> ni_add_name()

Type Parameter Key Value
PARAM_VALUE 0 dir_ni 4096-ptr_max
PARAM_VALUE 1 ni 4096-ptr_max
PARAM_VALUE 2 de 4096-ptr_max
PARAM_VALUE 2 de->flags 0
PARAM_VALUE 2 de->res 0
BUF_SIZE 2 de 4096
BUF_SIZE 2 de 4096
DATA_SOURCE 1 ni r ntfs_i
DATA_SOURCE 2 de r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &ni->base->ni_lock
TYPE_LOCK (struct inode)->i_rwsem