Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ceph/caps.c ceph_get_caps() -> __ceph_get_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | need | 256,2048,4096 |
| PARAM_VALUE | 3 | want | 0,256,1024,8192,32768,33792,40960 |
| PARAM_VALUE | 5 | got | 4096-ptr_max |
| PARAM_VALUE | 5 | *got | 0,256,512-45056 |
| BUF_SIZE | 1 | fi | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | fi | s32min-(-2),1-s32max |
| DATA_SOURCE | 2 | need | $1 |
| DATA_SOURCE | 3 | want | $2 |
| DATA_SOURCE | 4 | endoff | $3 |
| DATA_SOURCE | 5 | got | $4 |
| FUZZY_MAX | 3 | want | 40960 |
| BIT_INFO | 3 | want | 0x0,0xa500 |
| HARD_MAX | 2 | need | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | endoff | s64min-9223372036854775805 |
| UNITS | 4 | endoff | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ceph/inode.c fill_fscrypt_truncate() -> __ceph_get_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | fi | 0 |
| PARAM_VALUE | 2 | need | 2048 |
| PARAM_VALUE | 3 | want | 0 |
| PARAM_VALUE | 4 | endoff | (-1) |
| PARAM_VALUE | 5 | got | 5181189810107760640 |
| DATA_SOURCE | 0 | inode | $0 |