Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/server/mgmt/share_config.c __ksmbd_share_config_put() -> kill_share()

Type Parameter Key Value
PARAM_VALUE 0 share 4096-ptr_max
PARAM_VALUE 0 share->hlist->next->pprev 1-u64max
PARAM_VALUE 0 share->hlist.next 0
PARAM_VALUE 0 share->hlist.pprev 0
BUF_SIZE 0 share (-1),96
BUF_SIZE 0 share (-1),96
DATA_SOURCE 0 share $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/smb/server/mgmt/share_config.c share_config_request() -> kill_share()

Type Parameter Key Value
PARAM_VALUE 0 share 4096-ptr_max
PARAM_VALUE 0 share->flags 1-u32max
PARAM_VALUE 0 share->name 0,4096-ptr_max
PARAM_VALUE 0 share->path 4096-ptr_max
PARAM_VALUE 0 share->path_sz 0-1010101
PARAM_VALUE 0 share->refcount.counter 1
PARAM_VALUE 0 share->veto_list.next 4096-ptr_max
PARAM_VALUE 0 share->veto_list.next->next 4096-ptr_max
PARAM_VALUE 0 share->veto_list.prev 4096-ptr_max
PARAM_VALUE 0 share->veto_list.prev->next 4096-ptr_max
PARAM_VALUE 0 share->veto_list.prev->prev 4096-ptr_max
BUF_SIZE 0 share 96
DATA_SOURCE 0 share r _kzalloc_noprof
FUZZY_MAX 0 share->path_sz 2
NOCHECK_CALL
LOCK2 &pool->lock

fs/smb/server/mgmt/share_config.c share_config_request() -> kill_share()

Type Parameter Key Value
PARAM_VALUE 0 share 4096-ptr_max
PARAM_VALUE 0 share->flags 1-u32max
PARAM_VALUE 0 share->name 0,4096-ptr_max
PARAM_VALUE 0 share->path 0,4096-ptr_max
PARAM_VALUE 0 share->path_sz 0-1010101
PARAM_VALUE 0 share->refcount.counter 1
PARAM_VALUE 0 share->veto_list.next 4096-ptr_max
PARAM_VALUE 0 share->veto_list.next->next 4096-ptr_max
PARAM_VALUE 0 share->veto_list.prev 4096-ptr_max
PARAM_VALUE 0 share->veto_list.prev->next 4096-ptr_max
PARAM_VALUE 0 share->veto_list.prev->prev 4096-ptr_max
BUF_SIZE 0 share 96
DATA_SOURCE 0 share r _kzalloc_noprof
NOCHECK_CALL
LOCK2 &pool->lock

fs/smb/server/mgmt/share_config.c share_config_request() -> kill_share()

Type Parameter Key Value
PARAM_VALUE 0 share 4096-ptr_max
PARAM_VALUE 0 share->flags 1-u32max
PARAM_VALUE 0 share->name 0,4096-ptr_max
PARAM_VALUE 0 share->refcount.counter 1
PARAM_VALUE 0 share->veto_list.next 4096-ptr_max
PARAM_VALUE 0 share->veto_list.next->next 4096-ptr_max
PARAM_VALUE 0 share->veto_list.prev 4096-ptr_max
PARAM_VALUE 0 share->veto_list.prev->next 4096-ptr_max
PARAM_VALUE 0 share->veto_list.prev->prev 4096-ptr_max
BUF_SIZE 0 share 96
DATA_SOURCE 0 share r _kzalloc_noprof
NOCHECK_CALL
LOCK2 &pool->lock
LOCK2 global &shares_table_lock