Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/server/smb2pdu.c smb2_query_dir() -> ksmbd_populate_dot_dotdot_entries()

Type Parameter Key Value
PARAM_VALUE 0 work 4096-ptr_max
PARAM_VALUE 0 work->conn 4096-ptr_max
PARAM_VALUE 0 work->conn->ops->get_cmd_val 4096-ptr_max
PARAM_VALUE 0 work->conn->session_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 work->conn->session_lock.first_waiter->type 0-1
PARAM_VALUE 0 work->conn->status s32min-1,4-s32max
PARAM_VALUE 0 work->conn->vals 4096-ptr_max
PARAM_VALUE 0 work->conn->vals->req_capabilities 0,4,6,8,12,14,16-416
PARAM_VALUE 0 work->response_buf 16,4096-ptr_max
PARAM_VALUE 0 work->sess 4096-ptr_max
PARAM_VALUE 0 work->sess->chann_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 work->sess->chann_lock.first_waiter->type 0-1
PARAM_VALUE 0 work->sess->file_table.lock.dep_map->name 0-255
PARAM_VALUE 0 work->sess->rpc_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 work->sess->rpc_lock.first_waiter->type 0-1
PARAM_VALUE 0 work->sess->tree_conns_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 work->sess->tree_conns_lock.first_waiter->type 0-1
PARAM_VALUE 0 work->sess->user 4096-ptr_max
PARAM_VALUE 0 work->tcon 4096-ptr_max
PARAM_VALUE 0 work->tcon->share_conf 4096-ptr_max
PARAM_VALUE 1 info_level 1-3,12,37-38,100
PARAM_VALUE 2 dir 4096-ptr_max
PARAM_VALUE 2 dir->daccess 1-u32max
PARAM_VALUE 2 dir->f_state 1
PARAM_VALUE 2 dir->filp 4096-ptr_max
PARAM_VALUE 2 dir->filp->f_path.mnt 4096-ptr_max
PARAM_VALUE 2 dir->readdir_lock.dep_map->name 0-255
PARAM_VALUE 2 dir->readdir_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 2 dir->readdir_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 dir->readdir_lock.osq.tail.counter 0-s32max
PARAM_VALUE 2 dir->readdir_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 2 dir->readdir_lock.wait_lock.owner (-1)
PARAM_VALUE 2 dir->readdir_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 dir->refcount.counter 0-s32max
PARAM_VALUE 3 d_info 6891993294715703296
PARAM_VALUE 3 d_info->flags 0-255
PARAM_VALUE 3 d_info->out_buf_len 0-8388608
PARAM_VALUE 4 search_pattern 16,4096-ptr_max
PARAM_VALUE 5 fn 4444105095052693504
BUF_SIZE 4 search_pattern s32min-s32max
CAPPED_DATA 0 work->sess->user->ngroups 1
CAPPED_DATA 0 work->tcon 1
CAPPED_DATA 2 dir->persistent_id 1
CAPPED_DATA 2 dir->tcon 1
CAPPED_DATA 2 &dir->readdir_lock 1
DATA_SOURCE 0 work $0
DATA_SOURCE 2 dir r ksmbd_lookup_fd_slow
DATA_SOURCE 4 search_pattern r smb_strndup_from_utf16
BIT_INFO 2 dir->daccess 0x1,0xffffffff
MEM_ZERO 3 d_info
USER_DATA 1 info_level 1-3,12,37-38,100
USER_DATA 3 d_info->flags 0-255
USER_DATA 3 d_info->out_buf_len 1-8388608[c]
USER_PTR 0 work->request_buf
LOCK2 2 &dir->readdir_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ksmbd_file)->readdir_lock