/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 | 508 u16 ret_size; in i2c_hid_get_input() local 525 ret_size = le16_to_cpup((__le16 *)ihid->inbuf); in i2c_hid_get_input() 526 if (!ret_size) { in i2c_hid_get_input() 533 if ((ihid->quirks & I2C_HID_QUIRK_BOGUS_IRQ) && ret_size == 0xffff) { in i2c_hid_get_input() 540 if (ret_size > size || ret_size < sizeof(__le16)) { in i2c_hid_get_input() 543 ret_size = size; in i2c_hid_get_input() 547 __func__, size, ret_size); in i2c_hid_get_input() 552 i2c_hid_dbg(ihid, "input: %*ph\n", ret_size, ihid->inbuf); in i2c_hid_get_input() 560 ret_size - sizeof(__le16), 1); in i2c_hid_get_input()
|
/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan.c | 1291 int ret_size; in wilc_wlan_cfg_set() local 1302 offset += ret_size; in wilc_wlan_cfg_set() 1307 return ret_size; in wilc_wlan_cfg_set() 1313 ret_size = 0; in wilc_wlan_cfg_set() 1318 ret_size = 0; in wilc_wlan_cfg_set() 1325 return ret_size; in wilc_wlan_cfg_set() 1332 int ret_size; in wilc_wlan_cfg_get() local 1347 return ret_size; in wilc_wlan_cfg_get() 1351 ret_size = 0; in wilc_wlan_cfg_get() 1356 ret_size = 0; in wilc_wlan_cfg_get() [all …]
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_pci.c | 386 u32 ret_size; in prestera_fw_cmd_send() local 417 ret_size = prestera_fw_read(fw, PRESTERA_CMDQ_RCV_LEN_REG(qid)); in prestera_fw_cmd_send() 418 if (ret_size > out_size) { in prestera_fw_cmd_send() 420 ret_size, out_size); in prestera_fw_cmd_send() 426 prestera_fw_cmdq_buf(fw, qid) + in_size, ret_size); in prestera_fw_cmd_send()
|
/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/arch/x86/net/ |
H A D | bpf_jit_comp32.c | 1624 if (fm->ret_size > sizeof(u32)) in emit_kfunc_call() 1628 if (fm->ret_size) in emit_kfunc_call() 1640 if (fm->ret_size) in emit_kfunc_call() 1645 if (fm->ret_size > sizeof(u32)) in emit_kfunc_call()
|
/linux/drivers/gpu/drm/bridge/ |
H A D | ite-it6505.c | 1078 int i, ret_size, ret = 0, request_size; in it6505_aux_do_transfer() local 1083 ret_size = it6505_aux_operation(it6505, cmd, address + i, in it6505_aux_do_transfer() 1086 if (ret_size < 0) { in it6505_aux_do_transfer() 1087 ret = ret_size; in it6505_aux_do_transfer() 1091 ret += ret_size; in it6505_aux_do_transfer()
|
/linux/include/linux/ |
H A D | btf.h | 172 u32 *ret_size);
|
H A D | bpf.h | 1053 u8 ret_size; member
|
/linux/kernel/bpf/ |
H A D | bpf_struct_ops.c | 557 if (model->ret_size > 0) in bpf_struct_ops_prepare_trampoline()
|
H A D | btf.c | 2039 u32 *type_id, u32 *ret_size) in btf_type_id_size() argument 2075 if (ret_size) in btf_type_id_size() 2076 *ret_size = size; in btf_type_id_size() 7066 m->ret_size = 8; in btf_distill_func_proto() 7086 m->ret_size = ret; in btf_distill_func_proto()
|
/linux/sound/pci/hda/ |
H A D | patch_ca0132.c | 2363 unsigned int ret_bytes, send_size, ret_size; in dspio_scp() local 2412 ret_size = (ret_bytes - sizeof(scp_reply.hdr)) in dspio_scp() 2415 if (*reply_len < ret_size*sizeof(unsigned int)) { in dspio_scp() 2418 } else if (ret_size != reply_data_size) { in dspio_scp() 2425 *reply_len = ret_size*sizeof(unsigned int); in dspio_scp()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 6486 unsigned int *ret_size) in patch_name_tbd() argument 6497 *ret_size = 0; in patch_name_tbd() 6519 *ret_size = raw_u32_size; in patch_name_tbd()
|
/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 2521 if (sign_extend(jit, REG_2, m->ret_size, m->ret_flags)) in invoke_bpf_prog()
|