Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- fs/lockd/mon.c, line 481
- fs/nfs/blocklayout/extent_tree.c, line 509
- fs/nfs/flexfilelayout/flexfilelayoutdev.c
- fs/nfs/nfs42xdr.c
- fs/nfs/nfs4xdr.c
- fs/nfsd/flexfilelayoutxdr.c, line 67
- fs/nfsd/nfs4callback.c
- fs/nfsd/nfs4state.c, line 4190
- fs/nfsd/nfs4xdr.c
- include/linux/sunrpc/xdr.h, line 570
- net/sunrpc/xdr.c
Smatch caller information:
fs/nfsd/nfs4callback.c encode_offload_info4() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | ptr | 0-u32max |
| PARAM_VALUE | 2 | nbytes | 8 |
| BUF_SIZE | 1 | ptr | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
fs/nfsd/nfs4callback.c encode_referring_call_list4() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 0-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 16 |
| CAPPED_DATA | 0 | p | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | rcu_read |
fs/nfsd/nfs4callback.c encode_sessionid4() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 0-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 16 |
| CAPPED_DATA | 0 | p | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | rcu_read |
fs/nfsd/nfs4callback.c encode_stateid4() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | ptr | 4096-ptr_max |
| PARAM_VALUE | 2 | nbytes | 12 |
| BUF_SIZE | 1 | ptr | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
fs/nfsd/nfs4callback.c encode_stateowner() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 0-ptr_max |
| PARAM_VALUE | 1 | ptr | 4096-ptr_max |
| PARAM_VALUE | 2 | nbytes | 8 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 8 |
| CAPPED_DATA | 0 | p | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
fs/nfsd/nfs4state.c nfsd4_replay_cache_entry() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | p | 1 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | nbytes | unit_byte |
| LOCK2 | &nn->client_lock | ||
| TYPE_LOCK | (struct nfsd_net)->client_lock |
fs/lockd/nlm4xdr_gen.c xdr_stream_encode_opaque_fixed() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 16 |
| BUF_SIZE | 1 | ptr | 16 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 1 | ptr | $1 |
| DATA_SOURCE | 2 | nbytes | $2 |
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | nbytes | unit_byte |
fs/nfs/flexfilelayout/flexfilelayout.c xdr_stream_encode_opaque_fixed() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 16 |
| BUF_SIZE | 1 | ptr | 16 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 1 | ptr | $1 |
| DATA_SOURCE | 2 | nbytes | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | nbytes | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/lockd/mon.c encode_priv() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 0-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 16 |
| CAPPED_DATA | 0 | p | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
fs/nfsd/flexfilelayoutxdr.c nfsd4_ff_encode_layoutget() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4101-18446744073709547521 |
| PARAM_VALUE | 1 | ptr | 4096-ptr_max |
| PARAM_VALUE | 2 | nbytes | 12 |
| BUF_SIZE | 1 | ptr | 12 |
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | nbytes | unit_byte |
| HALF_LOCKED2 | &nn->client_lock |
fs/nfs/flexfilelayout/flexfilelayoutdev.c ff_layout_encode_ds_ioerr() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ptr | 4096-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 1 | ptr | 20 |
| DATA_SOURCE | 0 | p | r xdr_encode_hyper |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
fs/nfs/flexfilelayout/flexfilelayoutdev.c ff_layout_encode_ds_ioerr() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4097-u64max |
| PARAM_VALUE | 1 | ptr | 4096-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 1 | ptr | 16 |
| PARAM_COMPARE | 0 | p | > $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
fs/nfs/blocklayout/extent_tree.c encode_block_extent() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-18446744073709547521 |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 1 | ptr | 16 |
| DATA_SOURCE | 0 | p | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bl->bl_ext_lock | ||
| TYPE_LOCK | (struct pnfs_block_layout)->bl_ext_lock |
fs/nfs/nfs4xdr.c encode_attrs() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4099-18446744073709547521 |
| BUF_SIZE | 1 | ptr | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | nbytes | unit_byte |
fs/nfs/nfs4xdr.c encode_device_error() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 16 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 0 | p | r reserve_space |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/nfs4xdr.c encode_getdeviceinfo() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 16 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 0 | p | r reserve_space |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/nfs4xdr.c encode_layoutstats() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 1 | ptr | 16 |
| DATA_SOURCE | 0 | p | r xdr_encode_hyper |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/nfs4xdr.c encode_lockowner() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | ptr | 2023257707119235072 |
| PARAM_VALUE | 1 | *ptr | 0-255 |
| PARAM_VALUE | 2 | nbytes | 8 |
| BUF_SIZE | 1 | ptr | 9 |
| STR_LEN | 0 | p | 8 |
| TERMINATED | 1 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/nfs4xdr.c encode_openhdr() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | ptr | 8283249611997769728 |
| PARAM_VALUE | 1 | *ptr | 0-255 |
| PARAM_VALUE | 2 | nbytes | 8 |
| BUF_SIZE | 1 | ptr | 9 |
| STR_LEN | 0 | p | 8 |
| TERMINATED | 1 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/nfs4xdr.c encode_sequence() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 16 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 0 | p | r reserve_space |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/nfs4xdr.c xdr_stream_encode_opaque_fixed() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 2 | nbytes | 8,16 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 8,16 |
| BUF_SIZE | 1 | ptr | 8,16 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 1 | ptr | $1 |
| DATA_SOURCE | 2 | nbytes | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | nbytes | unit_byte |
net/sunrpc/xdr.c xdr_encode_opaque() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4097-18446744073709547521 |
| BUF_SIZE | 1 | ptr | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | p | $0 [m] |
| DATA_SOURCE | 1 | ptr | $1 |
| DATA_SOURCE | 2 | nbytes | $2 |
| STR_LEN | 0 | p | (-1) |
| STR_LEN | 0 | p | (-1) |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | nbytes | unit_byte |
| HALF_LOCKED2 | &nn->bl_mutex |
fs/nfsd/nfs4xdr_gen.c xdr_stream_encode_opaque_fixed() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 2 | nbytes | 8,12 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 8,12 |
| BUF_SIZE | 1 | ptr | 8,12 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 1 | ptr | $1 |
| DATA_SOURCE | 2 | nbytes | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | nbytes | unit_byte |
fs/lockd/nlm3xdr_gen.c xdr_stream_encode_opaque_fixed() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 16 |
| BUF_SIZE | 1 | ptr | 16 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 1 | ptr | $1 |
| DATA_SOURCE | 2 | nbytes | $2 |
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | nbytes | unit_byte |
fs/nfsd/nfs4xdr.c nfsd4_encode_fattr4_fsid() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 16 |
| CAPPED_DATA | 0 | p | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| LOCK2 | &pool->lock |
fs/nfsd/nfs4xdr.c nfsd4_vbuf_to_stream() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 1 | ptr | 0 |
| PARAM_VALUE | 2 | nbytes | 1-4095 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| CAPPED_DATA | 2 | nbytes | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | nbytes | unit_byte |
| HALF_LOCKED2 | &nn->client_lock |
fs/nfsd/nfs4xdr.c xdr_stream_encode_opaque_fixed() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 2 | nbytes | 0-4000000,2147483648-u32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 112-s32max |
| BUF_SIZE | 1 | ptr | 112-s32max |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 1 | ptr | $1 |
| DATA_SOURCE | 2 | nbytes | $2 |
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | nbytes | unit_byte |
fs/nfs/localio.c xdr_stream_encode_opaque_fixed() -> xdr_encode_opaque_fixed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| PARAM_VALUE | 2 | nbytes | 16 |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ptr | 2-4097 |
| BUF_SIZE | 1 | ptr | 2-4097 |
| CAPPED_DATA | 0 | p | 1 |
| DATA_SOURCE | 1 | ptr | $1 |
| DATA_SOURCE | 2 | nbytes | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | nbytes | unit_byte |