Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfd3/
Dxsk.c36 txbuf->real_len = pkt_len; in nfp_nfd3_xsk_tx_xdp()
307 if (unlikely(!txbuf->real_len)) in nfp_nfd3_xsk_complete()
310 done_bytes += txbuf->real_len; in nfp_nfd3_xsk_complete()
311 txbuf->real_len = 0; in nfp_nfd3_xsk_complete()
362 tx_ring->txbufs[wr_idx].real_len = desc[i].len; in nfp_nfd3_xsk_tx()
Ddp.c93 txbuf->real_len += hdrlen * (txbuf->pkt_cnt - 1); in nfp_nfd3_tx_tso()
294 txbuf->real_len = skb->len; in nfp_nfd3_tx()
358 if (__netdev_tx_sent_queue(nd_q, txbuf->real_len, netdev_xmit_more())) in nfp_nfd3_tx()
440 done_bytes += tx_buf->real_len; in nfp_nfd3_tx_complete()
509 done_bytes += tx_ring->txbufs[idx].real_len; in nfp_nfd3_xdp_complete()
841 txbuf->real_len = pkt_len; in nfp_nfd3_tx_xdp_buf()
1171 unsigned int real_len = skb->len, meta_len = 0; in nfp_nfd3_ctrl_tx_one() local
1222 txbuf->real_len = real_len; in nfp_nfd3_ctrl_tx_one()
Dnfd3.h84 u32 real_len; member
Drings.c20 txbuf->real_len = 0; in nfp_nfd3_xsk_tx_bufs_free()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfdk/
Dnfdk.h104 u32 real_len; member
Ddp.c67 txbuf->real_len = skb->len + hdrlen * (txbuf->pkt_cnt - 1); in nfp_nfdk_tx_tso()
240 unsigned int real_len, qidx; in nfp_nfdk_tx() local
365 real_len = skb->len; in nfp_nfdk_tx()
373 real_len = txbuf->real_len; in nfp_nfdk_tx()
398 if (__netdev_tx_sent_queue(nd_q, real_len, netdev_xmit_more())) in nfp_nfdk_tx()
505 done_bytes += txbuf->real_len; in nfp_nfdk_tx_complete()
/linux-6.1.9/tools/perf/util/
Dmap.c353 const size_t real_len = len - sizeof(DSO__DELETED); in map__load() local
356 strcmp(name + real_len + 1, DSO__DELETED) == 0) { in map__load()
359 (int)real_len, name); in map__load()
/linux-6.1.9/drivers/mtd/nand/raw/
Drenesas-nand-controller.c495 unsigned int real_len = round_up(req_offset + req_len - page_off, in rnandc_read_subpage_hw_ecc() local
498 unsigned int nchunks = real_len / chip->ecc.size; in rnandc_read_subpage_hw_ecc()
506 .len = real_len, in rnandc_read_subpage_hw_ecc()
526 real_len / 4); in rnandc_read_subpage_hw_ecc()
638 unsigned int real_len = round_up(req_offset + req_len - page_off, in rnandc_write_subpage_hw_ecc() local
648 .len = real_len, in rnandc_write_subpage_hw_ecc()
663 real_len / 4); in rnandc_write_subpage_hw_ecc()
Dqcom_nandc.c2527 int real_len = min_t(size_t, len, nandc->buf_count - nandc->buf_start); in qcom_nandc_read_buf() local
2529 memcpy(buf, nandc->data_buffer + nandc->buf_start, real_len); in qcom_nandc_read_buf()
2530 nandc->buf_start += real_len; in qcom_nandc_read_buf()
2537 int real_len = min_t(size_t, len, nandc->buf_count - nandc->buf_start); in qcom_nandc_write_buf() local
2539 memcpy(nandc->data_buffer + nandc->buf_start, buf, real_len); in qcom_nandc_write_buf()
2541 nandc->buf_start += real_len; in qcom_nandc_write_buf()
/linux-6.1.9/drivers/net/dsa/qca/
Dqca8k-8xxx.c159 unsigned int real_len; in qca8k_alloc_mdio_header() local
185 real_len = DIV_ROUND_UP(len, sizeof(u16)); in qca8k_alloc_mdio_header()
191 if (real_len % sizeof(u16) != 0) in qca8k_alloc_mdio_header()
192 real_len++; in qca8k_alloc_mdio_header()
195 if (real_len == 16) in qca8k_alloc_mdio_header()
196 real_len--; in qca8k_alloc_mdio_header()
210 command |= FIELD_PREP(QCA_HDR_MGMT_LENGTH, real_len); in qca8k_alloc_mdio_header()
/linux-6.1.9/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1629 u32 real_len; in atl1e_tso_csum() local
1641 real_len = (((unsigned char *)ip_hdr(skb) - skb->data) in atl1e_tso_csum()
1644 if (real_len < skb->len) in atl1e_tso_csum()
1645 pskb_trim(skb, real_len); in atl1e_tso_csum()
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c2092 u32 real_len; in atl1c_tso_csum() local
2104 real_len = (((unsigned char *)ip_hdr(skb) - skb->data) in atl1c_tso_csum()
2107 if (real_len < skb->len) in atl1c_tso_csum()
2108 pskb_trim(skb, real_len); in atl1c_tso_csum()
/linux-6.1.9/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()