Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/namei.c reserve_stack() -> nd_alloc_stack()

Type Parameter Key Value
PARAM_VALUE 0 nd 4096-ptr_max
PARAM_VALUE 0 nd->depth 2
PARAM_VALUE 0 nd->path.dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 nd->path.dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 nd->total_link_count s32min-40
BUF_SIZE 0 nd->last.name s32min,(-1),1-s32max
CAPPED_DATA 0 nd->internal 1
CAPPED_DATA 0 nd->stack 1
DATA_SOURCE 0 nd $0
PARAM_COMPARE 0 nd->internal == $0->stack
BIT_INFO 0 nd->flags 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 nd->dfd s32min-s32max
USER_DATA 0 nd->last->name 0-255
USER_DATA 0 nd->last.hash 0-u32max[c]
USER_DATA 0 nd->path.dentry->__d_name.hash 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 nd->path.dentry->d_inode->i_size

fs/namei.c reserve_stack() -> nd_alloc_stack()

Type Parameter Key Value
PARAM_VALUE 0 nd 4096-ptr_max
PARAM_VALUE 0 nd->depth 2
PARAM_VALUE 0 nd->flags 0-4294967039
PARAM_VALUE 0 nd->next_seq 0
PARAM_VALUE 0 nd->path.dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 nd->path.dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 nd->path.dentry->d_lockref.count 1-s32max
PARAM_VALUE 0 nd->root.dentry->d_lockref.count 1-s32max
PARAM_VALUE 0 nd->seq 0
PARAM_VALUE 0 nd->state 0,2-u32max
PARAM_VALUE 0 nd->total_link_count s32min-40
BUF_SIZE 0 nd->last.name s32min,(-1),1-s32max
CAPPED_DATA 0 nd->inode 1
CAPPED_DATA 0 nd->internal 1
CAPPED_DATA 0 nd->m_seq 1
CAPPED_DATA 0 nd->path.dentry->d_inode 1
CAPPED_DATA 0 nd->stack 1
DATA_SOURCE 0 nd $0
PARAM_COMPARE 0 nd->inode == $0->path.dentry->d_inode
PARAM_COMPARE 0 nd->internal == $0->stack
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 nd->dfd s32min-s32max
USER_DATA 0 nd->last->name 0-255
USER_DATA 0 nd->last.hash 0-u32max[c]
USER_DATA 0 nd->path.dentry->__d_name.hash 0-u32max[c]
NO_OVERFLOW_SIMPLE 0 nd->path.dentry->d_inode->i_size