Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nfsd/nfs4state.c nfs4_seqid_op_checks() -> check_stateid_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ref | 4096-ptr_max |
| CAPPED_DATA | 0 | in->si_opaque.so_clid.cl_boot | 1 |
| CAPPED_DATA | 0 | in->si_opaque.so_clid.cl_id | 1 |
| DATA_SOURCE | 0 | in | $1 |
| LOCK2 | &stp->st_mutex | ||
| TYPE_LOCK | (struct nfs4_ol_stateid)->st_mutex |
fs/nfsd/nfs4state.c nfsd4_free_lock_stateid() -> check_stateid_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | in | 4096-ptr_max |
| PARAM_VALUE | 1 | ref | 4096-ptr_max |
| PARAM_VALUE | 2 | has_session | 1 |
| BUF_SIZE | 0 | in | 16 |
| DATA_SOURCE | 0 | in | $0 |
| LOCK2 | &stp->st_mutex | ||
| TYPE_LOCK | (struct nfs4_ol_stateid)->st_mutex |
fs/nfsd/nfs4state.c nfsd4_free_stateid() -> check_stateid_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | in | 4096-ptr_max |
| PARAM_VALUE | 1 | ref | 4096-ptr_max |
| PARAM_VALUE | 2 | has_session | 1 |
| BUF_SIZE | 0 | in | 16 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &cl->cl_lock | ||
| LOCK2 | &s->sc_lock | ||
| TYPE_LOCK | (struct nfs4_client)->cl_lock | ||
| TYPE_LOCK | (struct nfs4_stid)->sc_lock |
fs/nfsd/nfs4state.c nfsd4_stid_check_stateid_generation() -> check_stateid_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ref | 4096-ptr_max |
| BUF_SIZE | 0 | in | (-1),16 |
| BUF_SIZE | 0 | in | (-1),16 |
| DATA_SOURCE | 0 | in | $0 |
| DATA_SOURCE | 2 | has_session | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &s->sc_lock | ||
| HALF_LOCKED2 | &cl->cl_lock | ||
| TYPE_LOCK | (struct nfs4_stid)->sc_lock |