Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/smb/server/smb2pdu.c smb2_get_info_file() -> buffer_check_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | rsp | 4096-ptr_max |
| PARAM_VALUE | 2 | rsp->OutputBufferOffset | 72 |
| PARAM_VALUE | 2 | rsp->StructureSize | 9 |
| PARAM_VALUE | 2 | *rsp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 3 | rsp_org | 16,4096-ptr_max |
| BUF_SIZE | 3 | rsp_org | 448 |
| DATA_SOURCE | 2 | rsp | $2 |
| USER_DATA | 0 | reqOutputBufferLength | s32min-s32max |
| UNITS | 0 | reqOutputBufferLength | unit_byte |
| UNITS | 1 | fixed_len | unit_byte |
| LOCK2 | &pool->lock |
fs/smb/server/smb2pdu.c smb2_get_info_file_pipe() -> buffer_check_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fixed_len | 24 |
| PARAM_VALUE | 2 | rsp | 4096-ptr_max |
| PARAM_VALUE | 2 | rsp->Buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | rsp->Buffer->AllocationSize | 4096 |
| PARAM_VALUE | 2 | rsp->Buffer->DeletePending | 1 |
| PARAM_VALUE | 2 | rsp->Buffer->Directory | 0 |
| PARAM_VALUE | 2 | rsp->Buffer->EndOfFile | 0 |
| PARAM_VALUE | 2 | rsp->Buffer->NumberOfLinks | 1 |
| PARAM_VALUE | 2 | rsp->OutputBufferLength | 24 |
| PARAM_VALUE | 2 | rsp->OutputBufferOffset | 72 |
| PARAM_VALUE | 2 | rsp->StructureSize | 9 |
| PARAM_VALUE | 2 | *rsp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 3 | rsp_org | 16,4096-ptr_max |
| BUF_SIZE | 3 | rsp_org | 448 |
| BUF_SIZE | 3 | rsp_org | 448 |
| DATA_SOURCE | 2 | rsp | $2 |
| DATA_SOURCE | 3 | rsp_org | $3 |
| USER_DATA | 0 | reqOutputBufferLength | s32min-s32max |
| UNITS | 0 | reqOutputBufferLength | unit_byte |
| UNITS | 1 | fixed_len | unit_byte |
| LOCK2 | &pool->lock |
fs/smb/server/smb2pdu.c smb2_get_info_file_pipe() -> buffer_check_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fixed_len | 8 |
| PARAM_VALUE | 2 | rsp | 4096-ptr_max |
| PARAM_VALUE | 2 | rsp->Buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | rsp->OutputBufferLength | 8 |
| PARAM_VALUE | 2 | rsp->OutputBufferOffset | 72 |
| PARAM_VALUE | 2 | rsp->StructureSize | 9 |
| PARAM_VALUE | 2 | *rsp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 3 | rsp_org | 16,4096-ptr_max |
| BUF_SIZE | 3 | rsp_org | 448 |
| BUF_SIZE | 3 | rsp_org | 448 |
| DATA_SOURCE | 2 | rsp | $2 |
| DATA_SOURCE | 3 | rsp_org | $3 |
| USER_DATA | 0 | reqOutputBufferLength | s32min-s32max |
| USER_DATA | 2 | rsp->Buffer->IndexNumber | s64min-s64max |
| UNITS | 0 | reqOutputBufferLength | unit_byte |
| UNITS | 1 | fixed_len | unit_byte |
| LOCK2 | &pool->lock |
fs/smb/server/smb2pdu.c smb2_get_info_filesystem() -> buffer_check_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fixed_len | 8,16,24,28,32,48,56,64 |
| PARAM_VALUE | 2 | rsp | 4096-ptr_max |
| PARAM_VALUE | 2 | rsp->Buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | rsp->Buffer->BlockSize | 0 |
| PARAM_VALUE | 2 | rsp->Buffer->BlocksAvail | 0 |
| PARAM_VALUE | 2 | rsp->Buffer->FreeFileNodes | 0 |
| PARAM_VALUE | 2 | rsp->Buffer->OptimalTransferSize | 0 |
| PARAM_VALUE | 2 | rsp->Buffer->TotalBlocks | 0 |
| PARAM_VALUE | 2 | rsp->Buffer->TotalFileNodes | 0 |
| PARAM_VALUE | 2 | rsp->Buffer->UserBlocksAvail | 0 |
| PARAM_VALUE | 2 | rsp->OutputBufferLength | 8,12-2147483665 |
| PARAM_VALUE | 2 | rsp->OutputBufferOffset | 72 |
| PARAM_VALUE | 2 | rsp->StructureSize | 9 |
| PARAM_VALUE | 2 | *rsp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 3 | rsp_org | 16,4096-ptr_max |
| BUF_SIZE | 3 | rsp_org | 448 |
| DATA_SOURCE | 2 | rsp | $2 |
| FUZZY_MAX | 1 | fixed_len | 64 |
| FUZZY_MAX | 2 | rsp->OutputBufferLength | 64 |
| BIT_INFO | 1 | fixed_len | 0x0,0x7c |
| HARD_MAX | 1 | fixed_len | 64 |
| USER_DATA | 0 | reqOutputBufferLength | s32min-s32max |
| UNITS | 0 | reqOutputBufferLength | unit_byte |
| LOCK2 | &pool->lock |
fs/smb/server/smb2pdu.c smb2_get_info_sec() -> buffer_check_err()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | reqOutputBufferLength | 0-8388608 |
| PARAM_VALUE | 1 | fixed_len | 20-65699 |
| PARAM_VALUE | 2 | rsp | 4096-ptr_max |
| PARAM_VALUE | 2 | rsp->OutputBufferLength | 20-65699 |
| PARAM_VALUE | 2 | rsp->OutputBufferOffset | 72 |
| PARAM_VALUE | 2 | rsp->StructureSize | 9 |
| PARAM_VALUE | 2 | *rsp | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 3 | rsp_org | 16,4096-ptr_max |
| BUF_SIZE | 3 | rsp_org | 448 |
| CAPPED_DATA | 0 | reqOutputBufferLength | 1 |
| DATA_SOURCE | 2 | rsp | $2 |
| NOSPEC | 0 | reqOutputBufferLength | |
| NOSPEC | 0 | reqOutputBufferLength | |
| USER_DATA | 0 | reqOutputBufferLength | 1-8388608[c] |
| UNITS | 0 | reqOutputBufferLength | unit_byte |
| UNITS | 1 | fixed_len | unit_byte |
| LOCK2 | &pool->lock |