Defined in 3 files as a function:
- include/linux/byteorder/generic.h, line 160 (as a function)
- scripts/mod/sumversion.c, line 74 (as a function)
- tools/perf/util/blake2s.c, line 18 (as a function)
Referenced in 11 files:
- crypto/md4.c
- drivers/mtd/spi-nor/sfdp.c
- drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c, line 1228
- drivers/usb/gadget/function/f_midi2.c, line 699
- fs/smb/common/cifs_md4.c
- lib/crypto/blake2s.c, line 53
- lib/crypto/md5.c, line 41
- lib/crypto/tests/nh_kunit.c, line 15
- scripts/mod/sumversion.c
- sound/usb/midi2.c, line 200
- tools/perf/util/blake2s.c, line 59
Smatch caller information:
drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c qed_dmae_to_grc() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5949623376080060416,8895574908623183872 |
| PARAM_VALUE | 0 | *buf | 0,576,608,524864,1074266688,3221750336,u32max |
| PARAM_VALUE | 1 | words | 2 |
| DATA_SOURCE | 0 | buf | $2 |
| DATA_SOURCE | 1 | words | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &edev->arfs->arfs_list_lock | ||
| HALF_LOCKED2 | &edev->qede_lock | ||
| HALF_LOCKED2 | bh |
fs/smb/common/cifs_md4.c cifs_md4_final() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | words | 14 |
| BUF_SIZE | 0 | buf | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ses->server->_srv_mutex | ||
| LOCK2 | &ses->session_mutex | ||
| TYPE_LOCK | (struct TCP_Server_Info)->_srv_mutex | ||
| TYPE_LOCK | (struct cifs_ses)->session_mutex |
fs/smb/common/cifs_md4.c md4_transform_helper() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | words | 16 |
| BUF_SIZE | 0 | buf | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | words | unit_array_size |
| LOCK2 | &ses->server->_srv_mutex | ||
| LOCK2 | &ses->session_mutex | ||
| TYPE_LOCK | (struct TCP_Server_Info)->_srv_mutex | ||
| TYPE_LOCK | (struct cifs_ses)->session_mutex |
lib/crypto/blake2s.c blake2s_compress_generic() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3083354447699427328 |
| PARAM_VALUE | 1 | words | 16 |
| BUF_SIZE | 0 | buf | 64 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *buf | 0-u32max |
| USER_DATA | 0 | *buf | 0-u32max |
| UNITS | 1 | words | unit_array_size |
| USER_PTR | 0 | buf | |
| HALF_LOCKED2 | &checker->secret_lock | ||
| HALF_LOCKED2 | &wg->device_update_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
crypto/md4.c md4_final() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | words | 14 |
| BUF_SIZE | 0 | buf | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
crypto/md4.c md4_transform_helper() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | words | 16 |
| BUF_SIZE | 0 | buf | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | *buf | 0-u32max[u] |
| UNITS | 1 | words | unit_array_size |
| USER_PTR | 0 | buf |
drivers/mtd/spi-nor/sfdp.c spi_nor_parse_4bait() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 0-255 |
| PARAM_VALUE | 1 | words | 2 |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 0 | buf | 8 |
| DATA_SOURCE | 0 | buf | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *buf | 0-255 |
drivers/mtd/spi-nor/sfdp.c spi_nor_parse_bfpt() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 0 |
| PARAM_VALUE | 1 | words | 20 |
| BUF_SIZE | 0 | buf | 80 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/mtd/spi-nor/sfdp.c spi_nor_parse_profile1() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 0-255 |
| BUF_SIZE | 0 | buf | 0-u64max |
| DATA_SOURCE | 0 | buf | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *buf | 0-255 |
| UNITS | 1 | words | unit_array_size |
| ELEM_COUNT | 0 | ==buf1 | 8051 |
drivers/mtd/spi-nor/sfdp.c spi_nor_parse_sccr() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 0-255 |
| BUF_SIZE | 0 | buf | 0-u64max |
| DATA_SOURCE | 0 | buf | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *buf | 0-255 |
| UNITS | 1 | words | unit_array_size |
| ELEM_COUNT | 0 | ==buf1 | 8051 |
drivers/mtd/spi-nor/sfdp.c spi_nor_parse_sccr_mc() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 0-255 |
| BUF_SIZE | 0 | buf | 0-u64max |
| DATA_SOURCE | 0 | buf | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *buf | 0-255 |
| UNITS | 1 | words | unit_array_size |
| ELEM_COUNT | 0 | ==buf1 | 8051 |
drivers/mtd/spi-nor/sfdp.c spi_nor_parse_smpt() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 0-255 |
| BUF_SIZE | 0 | buf | 0-u64max |
| DATA_SOURCE | 0 | buf | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | *buf | 0-255 |
| UNITS | 1 | words | unit_array_size |
| ELEM_COUNT | 0 | ==buf1 | 8051 |
lib/crypto/md5.c md5_block() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5365198173414469632 |
| PARAM_VALUE | 1 | words | 16 |
| BUF_SIZE | 0 | buf | 64 |
| NOSPEC | 0 | *buf | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | *buf | 0-u32max |
| UNITS | 1 | words | unit_array_size |
| USER_PTR | 0 | buf |
lib/crypto/tests/nh_kunit.c test_nh() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | words | 268 |
| DATA_SOURCE | 0 | buf | r memdup_buf |
| NOCHECK_CALL |
sound/usb/midi2.c input_urb_complete() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | words | 0-536870911 |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | words | 1-536870911[c] |
| UNITS | 0 | buf | unit_byte |
| LOCK2 | &ep->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct snd_usb_midi2_endpoint)->lock |
drivers/usb/gadget/function/f_midi2.c f_midi2_ep_out_complete() -> le32_to_cpu_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | words | 0-1073741823 |
| BUF_SIZE | 0 | buf | (-1)-1000000000,2147479552 |
| BUF_SIZE | 0 | buf | (-1)-1000000000,2147479552 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | words | 0-1073741823[c] |
| USER_DATA | 0 | *buf | 0-u32max |
| USER_DATA | 1 | words | 0-16[c] |
| UNITS | 0 | buf | unit_byte |
| USER_PTR | 0 | buf | |
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags |