Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/server/mgmt/user_session.c destroy_previous_session() -> ksmbd_destroy_file_table()

Type Parameter Key Value
PARAM_VALUE 0 sess 4096-ptr_max
PARAM_VALUE 0 sess->id 1-u64max
PARAM_VALUE 0 sess->state s32min-(-1),1-s32max
PARAM_VALUE 0 sess->user 4096-ptr_max
PARAM_VALUE 0 sess->user->passkey_sz 0-u16max
CAPPED_DATA 0 sess->id 1
DATA_SOURCE 0 sess r __session_lookup
NOSPEC 0 sess->id
NOCHECK_CALL
USER_DATA 0 sess->id 1-u64max[c]
LOCK2 &conn->session_lock
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
LOCK2 global &sessions_table_lock
TYPE_LOCK (struct ksmbd_conn)->session_lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/mgmt/user_session.c ksmbd_session_destroy() -> ksmbd_destroy_file_table()

Type Parameter Key Value
PARAM_VALUE 0 sess 4096-ptr_max
PARAM_VALUE 0 sess->chann_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sess->chann_lock.first_waiter->type 0-1
PARAM_VALUE 0 sess->proc_entry 0,4096-ptr_max
PARAM_VALUE 0 sess->proc_entry->parent->nlink 0-4294967295
PARAM_VALUE 0 sess->rpc_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sess->rpc_lock.first_waiter->type 0-1
PARAM_VALUE 0 sess->tree_conns.xa_head 0
PARAM_VALUE 0 sess->tree_conns.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sess->tree_conns_lock.dep_map->name 0-255
PARAM_VALUE 0 sess->tree_conns_lock.first_waiter->handoff_set 1
PARAM_VALUE 0 sess->tree_conns_lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 sess->tree_conns_lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 sess->tree_conns_lock.first_waiter->type 0-1
PARAM_VALUE 0 sess->tree_conns_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 *sess->proc_entry->name 0-255
BUF_SIZE 0 sess s32min-(-1),1-s32max
BUF_SIZE 0 sess s32min-(-1),1-s32max
CAPPED_DATA 0 sess 1
DATA_SOURCE 0 sess $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sess unit_array_size
HALF_LOCKED2 &conn->session_lock
HALF_LOCKED2 &conn->srv_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &sessions_table_lock
HALF_LOCKED2 0 &sess->chann_lock