Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 cr1 4096-ptr_max
PARAM_VALUE 1 cr2 4096-ptr_max
PREEMPT_ADD <- disables preempt
LOCK2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock

fs/nfsd/nfs4state.c nfsd4_exchange_id() -> same_creds()

Type Parameter Key Value
PARAM_VALUE 0 cr1 4096-ptr_max
PARAM_VALUE 1 cr2 4096-ptr_max
PARAM_VALUE 1 cr2->cr_group_info 4096-ptr_max
PREEMPT_ADD <- disables preempt
LOCK2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock

fs/nfsd/nfs4state.c nfsd4_setclientid() -> same_creds()

Type Parameter Key Value
PARAM_VALUE 0 cr1 4096-ptr_max
PARAM_VALUE 1 cr2 4096-ptr_max
PARAM_VALUE 1 cr2->cr_group_info 4096-ptr_max
PREEMPT_ADD <- disables preempt
LOCK2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock

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

Type Parameter Key Value
PARAM_VALUE 0 cr1 4096-ptr_max
PARAM_VALUE 1 cr2 4096-ptr_max
PREEMPT_ADD <- disables preempt
LOCK2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock

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

Type Parameter Key Value
PARAM_VALUE 0 cr1 4096-ptr_max
PARAM_VALUE 1 cr2 4096-ptr_max
PREEMPT_ADD <- disables preempt
LOCK2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock

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

Type Parameter Key Value
PARAM_VALUE 0 cr1 4096-ptr_max
PARAM_VALUE 1 cr2 4096-ptr_max
PREEMPT_ADD <- disables preempt
LOCK2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock

fs/nfsd/nfs4state.c replay_matches_cache() -> same_creds()

Type Parameter Key Value
PARAM_VALUE 0 cr1 4096-ptr_max
PARAM_VALUE 1 cr2 4096-ptr_max
PREEMPT_ADD
LOCK2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock