Home
last modified time | relevance | path

Searched refs:real_len (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/kernel/
Dmips-mt-fpaff.c160 unsigned int real_len; in mipsmt_sys_sched_getaffinity() local
165 real_len = sizeof(mask); in mipsmt_sys_sched_getaffinity()
166 if (len < real_len) in mipsmt_sys_sched_getaffinity()
188 if (copy_to_user(user_mask_ptr, &mask, real_len)) in mipsmt_sys_sched_getaffinity()
190 return real_len; in mipsmt_sys_sched_getaffinity()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dmdesc.c503 unsigned long len, real_len, status; in mdesc_update() local
517 status = sun4v_mach_desc(__pa(&hp->mdesc), len, &real_len); in mdesc_update()
518 if (status != HV_EOK || real_len > len) { in mdesc_update()
1328 unsigned long len, real_len, status; in sun4v_mdesc_init() local
1340 status = sun4v_mach_desc(__pa(&hp->mdesc), len, &real_len); in sun4v_mdesc_init()
1341 if (status != HV_EOK || real_len > len) { in sun4v_mdesc_init()
1344 status, len, real_len); in sun4v_mdesc_init()
/kernel/linux/linux-5.10/tools/perf/util/
Dmap.c343 const size_t real_len = len - sizeof(DSO__DELETED); in map__load() local
346 strcmp(name + real_len + 1, DSO__DELETED) == 0) { in map__load()
349 (int)real_len, name); in map__load()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dqcom_nandc.c2301 int real_len = min_t(size_t, len, nandc->buf_count - nandc->buf_start); in qcom_nandc_read_buf() local
2303 memcpy(buf, nandc->data_buffer + nandc->buf_start, real_len); in qcom_nandc_read_buf()
2304 nandc->buf_start += real_len; in qcom_nandc_read_buf()
2311 int real_len = min_t(size_t, len, nandc->buf_count - nandc->buf_start); in qcom_nandc_write_buf() local
2313 memcpy(nandc->data_buffer + nandc->buf_start, buf, real_len); in qcom_nandc_write_buf()
2315 nandc->buf_start += real_len; in qcom_nandc_write_buf()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c749 txbuf->real_len += hdrlen * (txbuf->pkt_cnt - 1); in nfp_net_tx_tso()
1036 txbuf->real_len = skb->len; in nfp_net_tx()
1100 if (__netdev_tx_sent_queue(nd_q, txbuf->real_len, netdev_xmit_more())) in nfp_net_tx()
1182 done_bytes += tx_buf->real_len; in nfp_net_tx_complete()
1250 done_bytes += tx_ring->txbufs[idx].real_len; in nfp_net_xdp_complete()
1777 txbuf->real_len = pkt_len; in nfp_net_tx_xdp_buf()
2076 unsigned int real_len = skb->len, meta_len = 0; in nfp_ctrl_tx_one() local
2127 txbuf->real_len = real_len; in nfp_ctrl_tx_one()
Dnfp_net.h188 u32 real_len; member
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1630 u32 real_len; in atl1e_tso_csum() local
1642 real_len = (((unsigned char *)ip_hdr(skb) - skb->data) in atl1e_tso_csum()
1645 if (real_len < skb->len) in atl1e_tso_csum()
1646 pskb_trim(skb, real_len); in atl1e_tso_csum()
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c1975 u32 real_len; in atl1c_tso_csum() local
1987 real_len = (((unsigned char *)ip_hdr(skb) - skb->data) in atl1c_tso_csum()
1990 if (real_len < skb->len) in atl1c_tso_csum()
1991 pskb_trim(skb, real_len); in atl1c_tso_csum()
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/
Datl1.c2102 u32 real_len; in atl1_tso() local
2114 real_len = (((unsigned char *)iph - skb->data) + in atl1_tso()
2116 if (real_len < skb->len) in atl1_tso()
2117 pskb_trim(skb, real_len); in atl1_tso()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0016_linux_drivers_crypto.patch2692 + dev_dbg(dev, " key_mod: %p (%zu), black_key: %p (%zu) real_len: %zu]\n",
4058 + int real_len;
4063 + real_len = rng->read(rng, buf, len, wait);
4064 + dev_info(dev, "wanted %zu bytes, got %d\n", len, real_len);
4065 + if (real_len < 0)
4067 + else if (real_len == 0 && wait)
4069 + if (real_len > 0)
4071 + 4, buf, real_len, 1);