| /linux/drivers/char/tpm/ |
| H A D | tpm-dev-common.c | 134 ssize_t ret_size = 0; in tpm_common_read() local 142 ret_size = min_t(ssize_t, size, priv->response_length); in tpm_common_read() 143 if (ret_size <= 0) { in tpm_common_read() 148 rc = copy_to_user(buf, priv->data_buffer + *off, ret_size); in tpm_common_read() 152 ret_size = -EFAULT; in tpm_common_read() 154 memset(priv->data_buffer + *off, 0, ret_size); in tpm_common_read() 155 priv->response_length -= ret_size; in tpm_common_read() 156 *off += ret_size; in tpm_common_read() 167 return ret_size; in tpm_common_read()
|
| /linux/arch/powerpc/boot/ |
| H A D | devtree.c | 243 u64 ret_addr, ret_size; in dt_xlate() local 263 ret_size = be32_to_cpu(prop_buf[offset + naddr]); in dt_xlate() 265 ret_size <<= 32; in dt_xlate() 266 ret_size |= be32_to_cpu(prop_buf[offset + naddr + 1]); in dt_xlate() 308 (ret_addr >= 0x100000000ULL || ret_size > 0x100000000ULL || in dt_xlate() 309 ret_addr + ret_size > 0x100000000ULL)) in dt_xlate() 314 *size = ret_size; in dt_xlate()
|
| /linux/drivers/hid/i2c-hid/ |
| H A D | i2c-hid-core.c | 527 u16 ret_size; in i2c_hid_get_input() local 544 ret_size = le16_to_cpup((__le16 *)ihid->inbuf); in i2c_hid_get_input() 545 if (!ret_size) { in i2c_hid_get_input() 552 if ((ihid->quirks & I2C_HID_QUIRK_BOGUS_IRQ) && ret_size == 0xffff) { in i2c_hid_get_input() 559 if (ret_size > size || ret_size < sizeof(__le16)) { in i2c_hid_get_input() 562 ret_size = size; in i2c_hid_get_input() 566 __func__, size, ret_size); in i2c_hid_get_input() 571 i2c_hid_dbg(ihid, "input: %*ph\n", ret_size, ihid->inbuf); in i2c_hid_get_input() 579 ret_size - sizeof(__le16), 1); in i2c_hid_get_input()
|
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A D | wlan.c | 1477 int ret_size; in wilc_wlan_cfg_set() local 1486 ret_size = wilc_wlan_cfg_set_wid(wilc->cfg_frame.frame, offset, in wilc_wlan_cfg_set() 1488 offset += ret_size; in wilc_wlan_cfg_set() 1493 return ret_size; in wilc_wlan_cfg_set() 1499 ret_size = 0; in wilc_wlan_cfg_set() 1504 ret_size = 0; in wilc_wlan_cfg_set() 1511 return ret_size; in wilc_wlan_cfg_set() 1518 int ret_size; in wilc_wlan_cfg_get() local 1527 ret_size = wilc_wlan_cfg_get_wid(wilc->cfg_frame.frame, offset, wid); in wilc_wlan_cfg_get() 1528 offset += ret_size; in wilc_wlan_cfg_get() [all …]
|
| /linux/drivers/net/phy/ |
| H A D | as21xxx.c | 460 unsigned int ret_size; in aeon_ipc_send_msg() local 499 ret_size = FIELD_GET(AEON_IPC_STS_SIZE, ret_sts); in aeon_ipc_send_msg() 500 if (ret_size > AEON_IPC_DATA_MAX) { in aeon_ipc_send_msg() 506 for (i = 0; i < DIV_ROUND_UP(ret_size, sizeof(u16)); i++) { in aeon_ipc_send_msg() 514 ret = ret_size; in aeon_ipc_send_msg()
|
| /linux/drivers/fpga/ |
| H A D | fpga-mgr.c | 214 struct sg_table *sgt, size_t *ret_size) in fpga_mgr_parse_header_sg() argument 256 *ret_size = header_size; in fpga_mgr_parse_header_sg()
|
| /linux/sound/hda/codecs/ |
| H A D | ca0132.c | 2350 unsigned int ret_bytes, send_size, ret_size; in dspio_scp() local 2399 ret_size = (ret_bytes - sizeof(scp_reply.hdr)) in dspio_scp() 2402 if (*reply_len < ret_size*sizeof(unsigned int)) { in dspio_scp() 2405 } else if (ret_size != reply_data_size) { in dspio_scp() 2412 *reply_len = ret_size*sizeof(unsigned int); in dspio_scp()
|
| /linux/kernel/bpf/ |
| H A D | btf.c | 2179 u32 *type_id, u32 *ret_size) in btf_type_id_size() argument 2215 if (ret_size) in btf_type_id_size() 2216 *ret_size = size; in btf_type_id_size() 7539 m->ret_size = 8; in btf_distill_func_proto() 7559 m->ret_size = ret; in btf_distill_func_proto()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf.c | 6501 unsigned int *ret_size) in patch_name_tbd() 6512 *ret_size = 0; in patch_name_tbd() 6534 *ret_size = raw_u32_size; in test_get_finfo() 6486 patch_name_tbd(const __u32 * raw_u32,const char * str,__u32 str_off,unsigned int str_sec_size,unsigned int * ret_size) patch_name_tbd() argument
|
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 1265 ret = sign_extend(RV_REG_A0, regmap[BPF_REG_0], m->ret_size, in __arch_prepare_bpf_trampoline()
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 2070 m->ret_size, m->ret_flags & BTF_FMODEL_SIGNED_ARG); in __arch_prepare_bpf_trampoline()
|
| /linux/include/linux/ |
| H A D | bpf.h | 1169 u8 ret_size; member
|