Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nfsd/nfs4state.c lookup_clientid() -> find_confirmed_client()

Type Parameter Key Value
PARAM_VALUE 0 clid 4096-ptr_max
PARAM_VALUE 2 nn 4096-ptr_max
PARAM_VALUE 2 nn->client_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 clid (-1),8
BUF_SIZE 0 clid (-1),8
DATA_SOURCE 0 clid $0
DATA_SOURCE 1 sessions $1
DATA_SOURCE 2 nn $2
PREEMPT_ADD <- disables preempt
LOCK2 2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock

fs/nfsd/nfs4state.c nfsd4_create_session() -> find_confirmed_client()

Type Parameter Key Value
PARAM_VALUE 0 clid 4096-ptr_max
PARAM_VALUE 1 sessions 1
PARAM_VALUE 2 nn 4096-ptr_max
PARAM_VALUE 2 nn->client_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 nn->nfsd_info.serv 4096-ptr_max
PARAM_VALUE 2 nn->unconf_id_hashtbl 4096-ptr_max
DATA_SOURCE 2 nn r net_generic
PREEMPT_ADD <- disables preempt
LOCK2 2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock

fs/nfsd/nfs4state.c nfsd4_destroy_clientid() -> find_confirmed_client()

Type Parameter Key Value
PARAM_VALUE 1 sessions 1
PARAM_VALUE 2 nn 4096-ptr_max
PARAM_VALUE 2 nn->client_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 nn->unconf_id_hashtbl 4096-ptr_max
DATA_SOURCE 2 nn r net_generic
PREEMPT_ADD <- disables preempt
LOCK2 2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock

fs/nfsd/nfs4state.c nfsd4_setclientid_confirm() -> find_confirmed_client()

Type Parameter Key Value
PARAM_VALUE 0 clid 4096-ptr_max
PARAM_VALUE 1 sessions 0
PARAM_VALUE 2 nn 4096-ptr_max
PARAM_VALUE 2 nn->client_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 clid 8
CAPPED_DATA 0 clid->cl_boot 1
CAPPED_DATA 2 nn->boot_time 1
DATA_SOURCE 2 nn r net_generic
PARAM_COMPARE 0 clid->cl_boot == $2->boot_time
PREEMPT_ADD <- disables preempt
LOCK2 2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock