Home
last modified time | relevance | path

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

/Linux-v5.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()
/Linux-v5.10/arch/sparc/kernel/
Dmdesc.c502 unsigned long len, real_len, status; in mdesc_update() local
516 status = sun4v_mach_desc(__pa(&hp->mdesc), len, &real_len); in mdesc_update()
517 if (status != HV_EOK || real_len > len) { in mdesc_update()
1327 unsigned long len, real_len, status; in sun4v_mdesc_init() local
1339 status = sun4v_mach_desc(__pa(&hp->mdesc), len, &real_len); in sun4v_mdesc_init()
1340 if (status != HV_EOK || real_len > len) { in sun4v_mdesc_init()
1343 status, len, real_len); in sun4v_mdesc_init()
/Linux-v5.10/tools/perf/util/
Dmap.c344 const size_t real_len = len - sizeof(DSO__DELETED); in map__load() local
347 strcmp(name + real_len + 1, DSO__DELETED) == 0) { in map__load()
350 (int)real_len, name); in map__load()
/Linux-v5.10/drivers/mtd/nand/raw/
Dqcom_nandc.c2300 int real_len = min_t(size_t, len, nandc->buf_count - nandc->buf_start); in qcom_nandc_read_buf() local
2302 memcpy(buf, nandc->data_buffer + nandc->buf_start, real_len); in qcom_nandc_read_buf()
2303 nandc->buf_start += real_len; in qcom_nandc_read_buf()
2310 int real_len = min_t(size_t, len, nandc->buf_count - nandc->buf_start); in qcom_nandc_write_buf() local
2312 memcpy(nandc->data_buffer + nandc->buf_start, buf, real_len); in qcom_nandc_write_buf()
2314 nandc->buf_start += real_len; in qcom_nandc_write_buf()
/Linux-v5.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
/Linux-v5.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()
/Linux-v5.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()
/Linux-v5.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()
/Linux-v5.10/net/bluetooth/
Dhci_event.c5398 u8 *ptr, real_len; in process_adv_report() local
5429 real_len = ptr - data; in process_adv_report()
5432 if (len != real_len) { in process_adv_report()
5434 len, real_len); in process_adv_report()
5435 len = real_len; in process_adv_report()