Home
last modified time | relevance | path

Searched refs:tp_len (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dif_packet.h98 __u32 tp_len; member
124 unsigned int tp_len; member
136 __u32 tp_len; member
157 __u32 tp_len; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dif_packet.h98 __u32 tp_len; member
124 unsigned int tp_len; member
136 __u32 tp_len; member
157 __u32 tp_len; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dif_packet.h84 __u32 tp_len; member
110 unsigned int tp_len; member
122 __u32 tp_len; member
143 __u32 tp_len; member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dif_packet.h99 __u32 tp_len; member
134 unsigned int tp_len; member
148 __u32 tp_len; member
171 __u32 tp_len; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dif_packet.h101 __u32 tp_len; member
137 unsigned int tp_len; member
151 __u32 tp_len; member
174 __u32 tp_len; member
/kernel/linux/linux-5.10/net/packet/
H A Daf_packet.c2374 h.h1->tp_len = skb->len; in tpacket_rcv()
2383 h.h2->tp_len = skb->len; in tpacket_rcv()
2405 h.h3->tp_len = skb->len; in tpacket_rcv()
2527 void *frame, struct net_device *dev, void *data, int tp_len, in tpacket_fill_skb()
2550 to_write = tp_len; in tpacket_fill_skb()
2554 NULL, tp_len); in tpacket_fill_skb()
2558 int hdrlen = min_t(int, copylen, tp_len); in tpacket_fill_skb()
2603 return tp_len; in tpacket_fill_skb()
2610 int tp_len, off; in tpacket_parse_header() local
2620 tp_len in tpacket_parse_header()
2526 tpacket_fill_skb(struct packet_sock *po, struct sk_buff *skb, void *frame, struct net_device *dev, void *data, int tp_len, __be16 proto, unsigned char *addr, int hlen, int copylen, const struct sockcm_cookie *sockc) tpacket_fill_skb() argument
2686 int tp_len, size_max; tpacket_snd() local
[all...]
/kernel/linux/linux-6.6/net/packet/
H A Daf_packet.c2415 h.h1->tp_len = skb->len; in tpacket_rcv()
2424 h.h2->tp_len = skb->len; in tpacket_rcv()
2446 h.h3->tp_len = skb->len; in tpacket_rcv()
2578 void *frame, struct net_device *dev, void *data, int tp_len, in tpacket_fill_skb()
2601 to_write = tp_len; in tpacket_fill_skb()
2605 NULL, tp_len); in tpacket_fill_skb()
2609 int hdrlen = min_t(int, copylen, tp_len); in tpacket_fill_skb()
2654 return tp_len; in tpacket_fill_skb()
2661 int tp_len, off; in tpacket_parse_header() local
2671 tp_len in tpacket_parse_header()
2577 tpacket_fill_skb(struct packet_sock *po, struct sk_buff *skb, void *frame, struct net_device *dev, void *data, int tp_len, __be16 proto, unsigned char *addr, int hlen, int copylen, const struct sockcm_cookie *sockc) tpacket_fill_skb() argument
2738 int tp_len, size_max; tpacket_snd() local
[all...]
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dkprobes.h85 int tp_len; member
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dkprobes.h82 int tp_len; member
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dtxring_overwrite.c132 header->tp_len = cfg_frame_size; in send_pkt()
H A Dpsock_tpacket.c428 ppd.v1->tp_h.tp_len = packet_len; in walk_tx()
438 ppd.v2->tp_h.tp_len = packet_len; in walk_tx()
449 tx->tp_len = packet_len; in walk_tx()
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dtxring_overwrite.c132 header->tp_len = cfg_frame_size; in send_pkt()
H A Dpsock_tpacket.c428 ppd.v1->tp_h.tp_len = packet_len; in walk_tx()
438 ppd.v2->tp_h.tp_len = packet_len; in walk_tx()
449 tx->tp_len = packet_len; in walk_tx()
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c685 u32 pkt_len, pkt_offset, tp_len; in wilc_wlan_handle_rx_buff() local
695 tp_len = FIELD_GET(WILC_PKT_HDR_TOTAL_LEN_FIELD, header); in wilc_wlan_handle_rx_buff()
698 if (pkt_len == 0 || tp_len == 0) in wilc_wlan_handle_rx_buff()
724 offset += tp_len; in wilc_wlan_handle_rx_buff()
/kernel/linux/linux-5.10/arch/x86/kernel/kprobes/
H A Dcore.c724 p->ainsn.tp_len = len; in arch_copy_kprobe()
782 p->ainsn.tp_len, NULL, 0); in arch_remove_kprobe()
/kernel/linux/linux-6.6/arch/x86/kernel/kprobes/
H A Dcore.c733 p->ainsn.tp_len = len; in arch_copy_kprobe()
791 p->ainsn.tp_len, NULL, 0); in arch_remove_kprobe()
/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Dapplespi.c1503 size_t tp_len; in applespi_got_data() local
1506 tp_len = struct_size(tp, fingers, tp->number_of_fingers); in applespi_got_data()
1508 if (le16_to_cpu(message->length) + 2 != tp_len) { in applespi_got_data()
1512 tp->number_of_fingers, tp_len); in applespi_got_data()
/kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c953 u32 pkt_len, pkt_offset, tp_len; in wilc_wlan_handle_rx_buff() local
963 tp_len = FIELD_GET(WILC_PKT_HDR_TOTAL_LEN_FIELD, header); in wilc_wlan_handle_rx_buff()
966 if (pkt_len == 0 || tp_len == 0) in wilc_wlan_handle_rx_buff()
993 offset += tp_len; in wilc_wlan_handle_rx_buff()
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Dapplespi.c1518 size_t tp_len; in applespi_got_data() local
1521 tp_len = struct_size(tp, fingers, tp->number_of_fingers); in applespi_got_data()
1523 if (le16_to_cpu(message->length) + 2 != tp_len) { in applespi_got_data()
1527 tp->number_of_fingers, tp_len); in applespi_got_data()
/kernel/linux/linux-5.10/kernel/bpf/
H A Dsyscall.c2791 size_t tp_len = strlen(tp_name); in bpf_raw_tp_link_fill_link_info() local
2796 info->raw_tracepoint.tp_name_len = tp_len + 1; in bpf_raw_tp_link_fill_link_info()
2801 if (ulen >= tp_len + 1) { in bpf_raw_tp_link_fill_link_info()
2802 if (copy_to_user(ubuf, tp_name, tp_len + 1)) in bpf_raw_tp_link_fill_link_info()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dsyscall.c3369 size_t tp_len = strlen(tp_name); in bpf_raw_tp_link_fill_link_info() local
3374 info->raw_tracepoint.tp_name_len = tp_len + 1; in bpf_raw_tp_link_fill_link_info()
3379 return bpf_copy_to_user(ubuf, tp_name, ulen, tp_len); in bpf_raw_tp_link_fill_link_info()

Completed in 40 milliseconds