Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- crypto/krb5/krb5_api.c, line 81
- crypto/krb5/selftest.c
- fs/afs/cm_security.c, line 241
- net/rxrpc/rxgk.c
Smatch caller information:
net/rxrpc/rxgk.c rxgk_alloc_txbuf() -> crypto_krb5_how_much_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 0-1 |
| PARAM_VALUE | 2 | data_size | 0-1000000024,s32max,2147483671 |
| PARAM_VALUE | 3 | _offset | 1207501156917514240 |
| PARAM_VALUE | 3 | *_offset | 0-u16max |
| CAPPED_DATA | 2 | data_size | 1 |
| FUZZY_MAX | 1 | mode | 1 |
| HARD_MAX | 1 | mode | 1 |
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | data_size | 0-1000000024[c] |
| UNITS | 2 | data_size | unit_byte |
| HALF_LOCKED2 | &call->user_mutex |
net/rxrpc/rxgk.c rxgk_construct_response() -> crypto_krb5_how_much_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 1 |
| PARAM_VALUE | 2 | data_size | 0-u32max |
| PARAM_VALUE | 3 | _offset | 7852866525697048576 |
| TASK_NOT_RUNNING | |||
| UNITS | 2 | data_size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
crypto/krb5/selftest.c krb5_test_one_enc() -> crypto_krb5_how_much_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | krb5 | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 1 |
| PARAM_VALUE | 2 | data_size | 0-1010100 |
| PARAM_VALUE | 3 | _offset | 5025043427815190528 |
| CAPPED_DATA | 0 | krb5->conf_len | 1 |
| CAPPED_DATA | 0 | krb5->etype | 1 |
| DATA_SOURCE | 0 | krb5 | r crypto_krb5_find_enctype |
| UNITS | 2 | data_size | unit_byte |
crypto/krb5/selftest.c krb5_test_one_mic() -> crypto_krb5_how_much_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | krb5 | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 0 |
| PARAM_VALUE | 2 | data_size | 0-1010100 |
| PARAM_VALUE | 3 | _offset | 7488871944844247040 |
| CAPPED_DATA | 0 | krb5->etype | 1 |
| DATA_SOURCE | 0 | krb5 | r crypto_krb5_find_enctype |
| UNITS | 2 | data_size | unit_byte |
fs/afs/cm_security.c afs_create_yfs_cm_token() -> crypto_krb5_how_much_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 1 |
| PARAM_VALUE | 2 | data_size | 67-65602 |
| PARAM_VALUE | 3 | _offset | 6311956793796898816 |
| PARAM_VALUE | 3 | *_offset | 0 |
| BUF_SIZE | 0 | krb5 | 1-s32max |
| BUF_SIZE | 0 | krb5 | 1-s32max |
| LOCK2 | &server->cm_token_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct afs_server)->cm_token_lock |