Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/lockd/clntlock.c nlmclnt_recovery() -> nlm_get_host()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->h_cred->process_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->h_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 host->h_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 host->h_cred->rcu.func 1-u64max
PARAM_VALUE 0 host->h_cred->rcu.next 0
PARAM_VALUE 0 host->h_cred->request_key_auth->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->h_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 host->h_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 host->h_cred->session_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->h_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 host->h_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 host->h_cred->thread_keyring->user->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->h_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 host->h_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 host->h_cred->ucounts->ns->work.entry.next 4096-ptr_max
PARAM_VALUE 0 host->h_cred->user->uidhash_node->next->pprev 1-u64max
PARAM_VALUE 0 host->h_cred->user->uidhash_node.next->pprev 1-u64max
PARAM_VALUE 0 host->h_cred->user_ns->work.entry.next 4096-ptr_max
PARAM_VALUE 0 host->h_cred->user_ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 host->h_hash->next->pprev 1-u64max
PARAM_VALUE 0 host->h_nsmhandle 4096-ptr_max
PARAM_VALUE 0 host->h_nsmhandle->sm_monitored 0
PARAM_VALUE 0 host->h_rpcclnt->cl_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 host->h_rpcclnt->cl_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 host->h_rpcclnt->cl_cred->rcu.func 1-u64max
PARAM_VALUE 0 host->h_rpcclnt->cl_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 host->h_rpcclnt->cl_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 host->h_rpcclnt->cl_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 host->h_rpcclnt->cl_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 host->h_rpcclnt->cl_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 host->h_rpcclnt->cl_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 host->h_rpcclnt->cl_cred->ucounts->ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 host->h_rpcclnt->cl_cred->user_ns->work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 host->h_rpcclnt->cl_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->h_rpcclnt->cl_shutdown 1
PARAM_VALUE 0 host->h_rpcclnt->cl_work.entry.next->prev 4096-ptr_max
CAPPED_DATA 0 host->h_nsmhandle 1
DATA_SOURCE 0 host $0
NOCHECK_CALL

fs/lockd/svclock.c nlmsvc_find_lockowner() -> nlm_get_host()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->h_hash->pprev 4096-ptr_max
PARAM_VALUE 0 host->h_hash.pprev 4096-ptr_max
PARAM_VALUE 0 host->h_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->h_nsmhandle 4096-ptr_max
PARAM_VALUE 0 host->h_version 0-4294967294
PARAM_VALUE 0 host->net 4096-ptr_max
BUF_SIZE 0 host (-1),976
BUF_SIZE 0 host (-1),976
CAPPED_DATA 0 host->h_version 1
DATA_SOURCE 0 host $0
PREEMPT_ADD <- disables preempt
LOCK2 0 &host->h_lock
TYPE_LOCK (struct nlm_host)->h_lock

fs/lockd/host.c next_host_state() -> nlm_get_host()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->h_nsmhandle 4096-ptr_max
CAPPED_DATA 0 host->h_nsmhandle 1
NOCHECK_CALL
LOCK2 global &nlm_host_mutex

fs/lockd/host.c nlmclnt_lookup_host() -> nlm_get_host()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->h_proto 6
PARAM_VALUE 0 host->h_version 1,4
PARAM_VALUE 0 host->net 4096-ptr_max
CAPPED_DATA 0 host->h_version 1
CAPPED_DATA 0 host->net 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &nlm_host_mutex

fs/lockd/host.c nlmsvc_lookup_host() -> nlm_get_host()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->h_hash->pprev 4096-ptr_max
PARAM_VALUE 0 host->h_hash.next 1-u64max
PARAM_VALUE 0 host->h_hash.pprev 4096-ptr_max
PARAM_VALUE 0 host->net 4096-ptr_max
CAPPED_DATA 0 host->h_proto 1
CAPPED_DATA 0 host->h_version 1
CAPPED_DATA 0 host->net 1
NOCHECK_CALL
LOCK2 global &nlm_host_mutex

fs/lockd/clntproc.c nlm_alloc_call() -> nlm_get_host()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->h_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 host->h_rwsem.first_waiter->type 0-1
BUF_SIZE 0 host (-1),976
BUF_SIZE 0 host (-1),976
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &file->f_mutex

fs/lockd/clntproc.c nlmclnt_find_lockowner() -> nlm_get_host()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->h_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->h_nlmclnt_ops 0,4096-ptr_max
PARAM_VALUE 0 host->h_nlmclnt_ops->nlmclnt_alloc_call 6530660542954348544
DATA_SOURCE 0 host $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &host->h_lock
TYPE_LOCK (struct nlm_host)->h_lock