Defined in 3 files as a function:
- drivers/infiniband/hw/hfi1/chip.c, line 5229 (as a function)
- drivers/platform/chrome/cros_usbpd_logger.c, line 52 (as a function)
- tools/testing/selftests/bpf/test_sockmap.c, line 1258 (as a function)
Referenced in 3 files:
- drivers/infiniband/hw/hfi1/chip.c
- drivers/platform/chrome/cros_usbpd_logger.c
- tools/testing/selftests/bpf/test_sockmap.c
Smatch caller information:
drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7331710336263110656 |
| PARAM_VALUE | 1 | curp | 0 |
| PARAM_VALUE | 2 | lenp | 7272835991346987008 |
| BUF_SIZE | 0 | buf | 81 |
| BUF_SIZE | 2 | lenp | 10 |
| STR_LEN | 0 | buf | 9 |
| TERMINATED | 2 | lenp | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7331710336263110656 |
| PARAM_VALUE | 2 | lenp | 3352009403177250816 |
| BUF_SIZE | 0 | buf | 81 |
| BUF_SIZE | 2 | lenp | 18 |
| STR_LEN | 0 | buf | 17 |
| TERMINATED | 2 | lenp | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7331710336263110656 |
| PARAM_VALUE | 2 | lenp | 8347350738675638272 |
| BUF_SIZE | 0 | buf | 81 |
| BUF_SIZE | 2 | lenp | 3 |
| STR_LEN | 0 | buf | 2 |
| STR_LEN | 1 | curp | (-1) |
| STR_LEN | 3 | s | (-1) |
| TERMINATED | 2 | lenp | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7331710336263110656 |
| PARAM_VALUE | 2 | lenp | 1753463087293005824 |
| PARAM_VALUE | 4 | $ | 1395690272813338624,2093696885336551424 |
| BUF_SIZE | 0 | buf | 81 |
| BUF_SIZE | 2 | lenp | 30 |
| BUF_SIZE | 3 | s | (-1),8 |
| BUF_SIZE | 3 | s | (-1),8 |
| BUF_SIZE | 4 | $ | 4,8 |
| BUF_SIZE | 5 | $ | (-1),4 |
| BUF_SIZE | 5 | $ | (-1),4 |
| STR_LEN | 0 | buf | 29 |
| STR_LEN | 1 | curp | (-1),7 |
| STR_LEN | 2 | lenp | 3,7 |
| STR_LEN | 3 | s | (-1),3 |
| STR_LEN | 3 | s | (-1),7 |
| STR_LEN | 5 | $ | (-1),3 |
| BIT_INFO | 4 | $ | 0x110e4c280d819000,0x1f5e7ef9efd3f000 |
| TERMINATED | 2 | lenp | 1 |
| TERMINATED | 4 | $ | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7331710336263110656 |
| PARAM_VALUE | 1 | curp | 0 |
| PARAM_VALUE | 2 | lenp | 1612501989188227072 |
| BUF_SIZE | 0 | buf | 81 |
| BUF_SIZE | 2 | lenp | 26 |
| STR_LEN | 0 | buf | 25 |
| TERMINATED | 2 | lenp | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7331710336263110656 |
| PARAM_VALUE | 1 | curp | 0 |
| PARAM_VALUE | 2 | lenp | 3878659091085488128 |
| BUF_SIZE | 0 | buf | 81 |
| BUF_SIZE | 2 | lenp | 23 |
| BUF_SIZE | 3 | s | (-1),4 |
| BUF_SIZE | 3 | s | (-1),4 |
| STR_LEN | 0 | buf | 22 |
| STR_LEN | 1 | curp | (-1),3 |
| STR_LEN | 3 | s | (-1),3 |
| TERMINATED | 2 | lenp | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7331710336263110656 |
| PARAM_VALUE | 1 | curp | 0 |
| PARAM_VALUE | 2 | lenp | 2363455619612680192 |
| PARAM_VALUE | 3 | s | 232804293897158656,3698163723416629248 |
| BUF_SIZE | 0 | buf | 81 |
| BUF_SIZE | 2 | lenp | 11 |
| BUF_SIZE | 3 | s | 8-9 |
| STR_LEN | 0 | buf | 10 |
| TERMINATED | 2 | lenp | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7331710336263110656 |
| PARAM_VALUE | 1 | curp | 0 |
| PARAM_VALUE | 2 | lenp | 8832091560887750656 |
| PARAM_VALUE | 3 | s | 0-u16max |
| PARAM_VALUE | 4 | $ | 0-u16max |
| BUF_SIZE | 0 | buf | 81 |
| BUF_SIZE | 2 | lenp | 36 |
| STR_LEN | 0 | buf | 35 |
| BIT_INFO | 3 | s | 0x0,0xff |
| BIT_INFO | 4 | $ | 0x0,0xff |
| TERMINATED | 2 | lenp | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7331710336263110656 |
| PARAM_VALUE | 2 | lenp | 4366189704999452672 |
| BUF_SIZE | 0 | buf | 81 |
| BUF_SIZE | 2 | lenp | 26 |
| STR_LEN | 0 | buf | 25 |
| TERMINATED | 2 | lenp | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7331710336263110656 |
| PARAM_VALUE | 1 | curp | 0 |
| PARAM_VALUE | 2 | lenp | 7450598459240067072 |
| PARAM_VALUE | 3 | s | 1-31,33-63,65-95,98-254 |
| BUF_SIZE | 0 | buf | 81 |
| BUF_SIZE | 2 | lenp | 20 |
| STR_LEN | 0 | buf | 19 |
| TERMINATED | 2 | lenp | 1 |
| UNITS | 4 | $ | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7331710336263110656 |
| PARAM_VALUE | 2 | lenp | 3888382214063812608 |
| BUF_SIZE | 0 | buf | 81 |
| BUF_SIZE | 2 | lenp | 6 |
| STR_LEN | 0 | buf | 5 |
| TERMINATED | 2 | lenp | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7331710336263110656 |
| PARAM_VALUE | 2 | lenp | 7160735043521191936 |
| BUF_SIZE | 0 | buf | 81 |
| BUF_SIZE | 2 | lenp | 2 |
| STR_LEN | 0 | buf | 1 |
| TERMINATED | 2 | lenp | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/hfi1/chip.c flag_string() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | curp | 139174943120146432 |
| PARAM_VALUE | 1 | *curp | 4096-u64max |
| PARAM_VALUE | 2 | lenp | 3211212904259256320 |
| BUF_SIZE | 0 | buf | 96 |
| BUF_SIZE | 0 | buf | 96 |
| DATA_SOURCE | 0 | buf | $0 |
| STR_LEN | 0 | buf | (-1),95 |
| STR_LEN | 0 | buf | (-1),95 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dd->sc_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq_flags |
drivers/infiniband/hw/hfi1/chip.c flag_string() -> append_str()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | curp | 139174943120146432 |
| PARAM_VALUE | 1 | *curp | 4096-u64max |
| PARAM_VALUE | 2 | lenp | 3211212904259256320 |
| PARAM_VALUE | 3 | s | 1445204409075499008 |
| BUF_SIZE | 0 | buf | 96 |
| BUF_SIZE | 0 | buf | 96 |
| BUF_SIZE | 3 | s | 32 |
| DATA_SOURCE | 0 | buf | $0 |
| STR_LEN | 0 | buf | (-1),95 |
| STR_LEN | 0 | buf | (-1),95 |
| STR_LEN | 1 | curp | 31 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dd->sc_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq_flags |