/openbmc/linux/arch/mips/kernel/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/ |
H 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()
|
H 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()
|
H A D | nfd3.h | 84 u32 real_len; member
|
H A D | rings.c | 20 txbuf->real_len = 0; in nfp_nfd3_xsk_tx_bufs_free()
|
/openbmc/linux/arch/sparc/kernel/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfdk/ |
H A D | nfdk.h | 104 u32 real_len; member
|
H 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()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H 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()
|
/openbmc/linux/tools/perf/util/ |
H A D | map.c | 368 const size_t real_len = len - sizeof(DSO__DELETED); in map__load() local 371 strcmp(name + real_len + 1, DSO__DELETED) == 0) { in map__load() 374 (int)real_len, name); in map__load()
|
/openbmc/qemu/linux-user/ |
H A D | mmap.c | 923 size_t real_len = len + offset - host_offset; in target_mmap__locked() local 926 start = mmap_find_vma(real_start, real_len, align); in target_mmap__locked() 1021 abi_ulong real_len; in mmap_reserve_or_unmap() local 1068 real_len = real_last - real_start + 1; in mmap_reserve_or_unmap() 1071 return do_munmap(host_start, real_len); in mmap_reserve_or_unmap()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | pxa3xx_nand.c | 1377 int real_len = min_t(size_t, len, info->buf_count - info->buf_start); in pxa3xx_nand_read_buf() local 1379 memcpy(buf, info->data_buff + info->buf_start, real_len); in pxa3xx_nand_read_buf() 1380 info->buf_start += real_len; in pxa3xx_nand_read_buf() 1389 int real_len = min_t(size_t, len, info->buf_count - info->buf_start); in pxa3xx_nand_write_buf() local 1391 memcpy(info->data_buff + info->buf_start, buf, real_len); in pxa3xx_nand_write_buf() 1392 info->buf_start += real_len; in pxa3xx_nand_write_buf()
|
/openbmc/linux/drivers/net/dsa/qca/ |
H A D | qca8k-8xxx.c | 222 unsigned int real_len; in qca8k_alloc_mdio_header() local 248 real_len = DIV_ROUND_UP(len, sizeof(u16)); in qca8k_alloc_mdio_header() 254 if (real_len % sizeof(u16) != 0) in qca8k_alloc_mdio_header() 255 real_len++; in qca8k_alloc_mdio_header() 258 if (real_len == 16) in qca8k_alloc_mdio_header() 259 real_len--; in qca8k_alloc_mdio_header() 273 command |= FIELD_PREP(QCA_HDR_MGMT_LENGTH, real_len); in qca8k_alloc_mdio_header()
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 1632 u32 real_len; in atl1e_tso_csum() local 1644 real_len = (((unsigned char *)ip_hdr(skb) - skb->data) in atl1e_tso_csum() 1647 if (real_len < skb->len) { in atl1e_tso_csum() 1648 err = pskb_trim(skb, real_len); in atl1e_tso_csum()
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 2047 u32 real_len; in atl1c_tso_csum() local 2059 real_len = (((unsigned char *)ip_hdr(skb) - skb->data) in atl1c_tso_csum() 2062 if (real_len < skb->len) { in atl1c_tso_csum() 2063 err = pskb_trim(skb, real_len); in atl1c_tso_csum()
|
/openbmc/linux/drivers/net/ethernet/atheros/atlx/ |
H 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 err = pskb_trim(skb, real_len); in atl1_tso()
|