Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/smb/client/smb2ops.c smb2_set_file_size() -> SMB2_set_eof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcon | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->ops->set_file_size | 316640071752409088,1980435854401937408 |
| DATA_SOURCE | 0 | xid | $0 |
| DATA_SOURCE | 1 | tcon | $1 |
| DATA_SOURCE | 5 | new_eof | $3 |
| NOSPEC | 5 | new_eof | |
| NOSPEC | 5 | new_eof | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 5 | new_eof | 0-s64max[c] |
fs/smb/client/smb2ops.c smb3_collapse_range() -> SMB2_set_eof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcon | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->ops->fallocate | 7926336135924965376 |
| DATA_SOURCE | 0 | xid | r _get_xid |
| DATA_SOURCE | 1 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_mapping->invalidate_lock | ||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/smb/client/smb2ops.c smb3_insert_range() -> SMB2_set_eof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcon | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->ops->fallocate | 7926336135924965376 |
| DATA_SOURCE | 0 | xid | r _get_xid |
| DATA_SOURCE | 1 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_mapping->invalidate_lock | ||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/smb/client/smb2ops.c smb3_punch_hole() -> SMB2_set_eof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcon | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->ops->fallocate | 7926336135924965376 |
| PARAM_VALUE | 1 | *tcon->ses->ip_addr | 0-255 |
| PARAM_VALUE | 1 | *tcon->ses->preauth_sha_hash | 0-255 |
| PARAM_VALUE | 1 | *tcon->ses->server->cryptkey | 0-255 |
| PARAM_VALUE | 5 | new_eof | s64min-(-1),1-s64max |
| CAPPED_DATA | 5 | new_eof | 1 |
| DATA_SOURCE | 0 | xid | r _get_xid |
| DATA_SOURCE | 1 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_mapping->invalidate_lock | ||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/smb/client/smb2ops.c smb3_simple_falloc() -> SMB2_set_eof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcon | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->chan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tcon->ses->server | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->_srv_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | tcon->ses->server->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->ops->fallocate | 7926336135924965376 |
| PARAM_VALUE | 1 | tcon->ses->server->sec_ntlmssp | 1 |
| PARAM_VALUE | 1 | tcon->ses->ses_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tcon->ses->session_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tcon->ses->session_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | tcon->ses->session_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | tcon->ses->session_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tcon->ses->session_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | tcon->ses->session_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | tcon->ses->session_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | tcon->ses->session_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | tcon->ses->session_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | *tcon->ses->ip_addr | 0-255 |
| PARAM_VALUE | 1 | *tcon->ses->preauth_sha_hash | 0-255 |
| PARAM_VALUE | 1 | *tcon->ses->server->cryptkey | 0-255 |
| PARAM_VALUE | 5 | new_eof | 0-s64max |
| CAPPED_DATA | 5 | new_eof | 1 |
| CAPPED_DATA | 5 | new_eof | 1 |
| DATA_SOURCE | 0 | xid | r _get_xid |
| DATA_SOURCE | 1 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/smb/client/smb2ops.c smb3_zero_range() -> SMB2_set_eof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcon | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->ops->fallocate | 7926336135924965376 |
| PARAM_VALUE | 1 | *tcon->ses->ip_addr | 0-255 |
| PARAM_VALUE | 1 | *tcon->ses->preauth_sha_hash | 0-255 |
| PARAM_VALUE | 1 | *tcon->ses->server->cryptkey | 0-255 |
| PARAM_VALUE | 5 | new_eof | s64min-(-1),1-s64max |
| DATA_SOURCE | 0 | xid | r _get_xid |
| DATA_SOURCE | 1 | tcon | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 5 | new_eof | 1-s64max[c] |
| LOCK2 | &inode->i_mapping->invalidate_lock | ||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |