/linux-6.3-rc2/arch/mips/kernel/ |
A D | mips-mt-fpaff.c | 160 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.3-rc2/drivers/net/ethernet/netronome/nfp/nfd3/ |
A D | xsk.c | 36 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()
|
A D | dp.c | 94 txbuf->real_len += hdrlen * (txbuf->pkt_cnt - 1); in nfp_nfd3_tx_tso() 312 txbuf->real_len = skb->len; in nfp_nfd3_tx() 379 if (__netdev_tx_sent_queue(nd_q, txbuf->real_len, netdev_xmit_more())) in nfp_nfd3_tx() 461 done_bytes += tx_buf->real_len; in nfp_nfd3_tx_complete() 530 done_bytes += tx_ring->txbufs[idx].real_len; in nfp_nfd3_xdp_complete() 871 txbuf->real_len = pkt_len; in nfp_nfd3_tx_xdp_buf() 1207 unsigned int real_len = skb->len, meta_len = 0; in nfp_nfd3_ctrl_tx_one() local 1258 txbuf->real_len = real_len; in nfp_nfd3_ctrl_tx_one()
|
A D | nfd3.h | 84 u32 real_len; member
|
A D | rings.c | 20 txbuf->real_len = 0; in nfp_nfd3_xsk_tx_bufs_free()
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | mdesc.c | 503 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.3-rc2/tools/perf/util/ |
A D | map.c | 353 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.3-rc2/drivers/net/ethernet/netronome/nfp/nfdk/ |
A D | nfdk.h | 104 u32 real_len; member
|
A D | dp.c | 68 txbuf->real_len = skb->len + hdrlen * (txbuf->pkt_cnt - 1); in nfp_nfdk_tx_tso() 259 unsigned int real_len, qidx; in nfp_nfdk_tx() local 388 real_len = skb->len; in nfp_nfdk_tx() 397 real_len = txbuf->real_len; in nfp_nfdk_tx() 423 if (__netdev_tx_sent_queue(nd_q, real_len, netdev_xmit_more())) in nfp_nfdk_tx() 530 done_bytes += txbuf->real_len; in nfp_nfdk_tx_complete()
|
/linux-6.3-rc2/drivers/mtd/nand/raw/ |
A D | renesas-nand-controller.c | 495 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()
|
A D | qcom_nandc.c | 2527 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.3-rc2/drivers/net/dsa/qca/ |
A D | qca8k-8xxx.c | 221 unsigned int real_len; in qca8k_alloc_mdio_header() local 247 real_len = DIV_ROUND_UP(len, sizeof(u16)); in qca8k_alloc_mdio_header() 253 if (real_len % sizeof(u16) != 0) in qca8k_alloc_mdio_header() 254 real_len++; in qca8k_alloc_mdio_header() 257 if (real_len == 16) in qca8k_alloc_mdio_header() 258 real_len--; in qca8k_alloc_mdio_header() 272 command |= FIELD_PREP(QCA_HDR_MGMT_LENGTH, real_len); in qca8k_alloc_mdio_header()
|
/linux-6.3-rc2/drivers/net/ethernet/atheros/atl1e/ |
A D | atl1e_main.c | 1629 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.3-rc2/drivers/net/ethernet/atheros/atl1c/ |
A D | atl1c_main.c | 2092 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.3-rc2/drivers/net/ethernet/atheros/atlx/ |
A D | atl1.c | 2102 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()
|