Lines Matching defs:po
273 static int packet_xmit(const struct packet_sock *po, struct sk_buff *skb) in packet_xmit()
288 static struct net_device *packet_cached_dev_get(struct packet_sock *po) in packet_cached_dev_get()
300 static void packet_cached_dev_assign(struct packet_sock *po, in packet_cached_dev_assign()
306 static void packet_cached_dev_reset(struct packet_sock *po) in packet_cached_dev_reset()
338 struct packet_sock *po = pkt_sk(sk); in __register_prot_hook() local
365 struct packet_sock *po = pkt_sk(sk); in __unregister_prot_hook() local
387 struct packet_sock *po = pkt_sk(sk); in unregister_prot_hook() local
400 static void __packet_set_status(struct packet_sock *po, void *frame, int status) in __packet_set_status()
428 static int __packet_get_status(const struct packet_sock *po, void *frame) in __packet_get_status()
471 static __u32 __packet_set_timestamp(struct packet_sock *po, void *frame, in __packet_set_timestamp()
514 static void *packet_lookup_frame(const struct packet_sock *po, in packet_lookup_frame()
534 static void *packet_current_frame(struct packet_sock *po, in packet_current_frame()
601 static void prb_shutdown_retire_blk_timer(struct packet_sock *po, in prb_shutdown_retire_blk_timer()
615 static void prb_setup_retire_blk_timer(struct packet_sock *po) in prb_setup_retire_blk_timer()
625 static int prb_calc_retire_blk_tmo(struct packet_sock *po, in prb_calc_retire_blk_tmo()
668 static void init_prb_bdqc(struct packet_sock *po, in init_prb_bdqc()
738 struct packet_sock *po = in prb_retire_rx_blk_timer_expired() local
854 struct packet_sock *po, unsigned int stat) in prb_close_block()
967 struct packet_sock *po) in prb_freeze_queue()
982 struct packet_sock *po) in prb_dispatch_next_block()
1007 struct packet_sock *po, unsigned int status) in prb_retire_current_block()
1065 struct packet_sock *po = container_of(pkc, struct packet_sock, rx_ring.prb_bdqc); in prb_fill_vlan_info() local
1113 static void *__packet_lookup_frame_in_block(struct packet_sock *po, in __packet_lookup_frame_in_block()
1174 static void *packet_current_rx_frame(struct packet_sock *po, in packet_current_rx_frame()
1194 static void *prb_lookup_block(const struct packet_sock *po, in prb_lookup_block()
1218 static void *__prb_previous_block(struct packet_sock *po, in __prb_previous_block()
1226 static void *packet_previous_rx_frame(struct packet_sock *po, in packet_previous_rx_frame()
1236 static void packet_increment_rx_head(struct packet_sock *po, in packet_increment_rx_head()
1251 static void *packet_previous_frame(struct packet_sock *po, in packet_previous_frame()
1289 static int packet_alloc_pending(struct packet_sock *po) in packet_alloc_pending()
1300 static void packet_free_pending(struct packet_sock *po) in packet_free_pending()
1310 static bool __tpacket_has_room(const struct packet_sock *po, int pow_off) in __tpacket_has_room()
1323 static bool __tpacket_v3_has_room(const struct packet_sock *po, int pow_off) in __tpacket_v3_has_room()
1336 static int __packet_rcv_has_room(const struct packet_sock *po, in __packet_rcv_has_room()
1370 static int packet_rcv_has_room(struct packet_sock *po, struct sk_buff *skb) in packet_rcv_has_room()
1384 static void packet_rcv_try_clear_pressure(struct packet_sock *po) in packet_rcv_try_clear_pressure()
1404 static bool fanout_flow_is_huge(struct packet_sock *po, struct sk_buff *skb) in fanout_flow_is_huge()
1459 struct packet_sock *po, *po_next, *po_skip = NULL; in fanout_demux_rollover() local
1528 struct packet_sock *po; in packet_rcv_fanout() local
1579 static void __fanout_link(struct sock *sk, struct packet_sock *po) in __fanout_link()
1592 static void __fanout_unlink(struct sock *sk, struct packet_sock *po) in __fanout_unlink()
1649 static int fanout_set_data_cbpf(struct packet_sock *po, sockptr_t data, in fanout_set_data_cbpf()
1671 static int fanout_set_data_ebpf(struct packet_sock *po, sockptr_t data, in fanout_set_data_ebpf()
1692 static int fanout_set_data(struct packet_sock *po, sockptr_t data, in fanout_set_data()
1747 struct packet_sock *po = pkt_sk(sk); in fanout_add() local
1887 struct packet_sock *po = pkt_sk(sk); in fanout_release() local
2187 struct packet_sock *po; in packet_rcv() local
2299 struct packet_sock *po; in tpacket_rcv() local
2578 struct packet_sock *po = pkt_sk(skb->sk); in tpacket_destruct_skb() local
2635 static int tpacket_fill_skb(struct packet_sock *po, struct sk_buff *skb, in tpacket_fill_skb()
2715 static int tpacket_parse_header(struct packet_sock *po, void *frame, in tpacket_parse_header()
2783 static int tpacket_snd(struct packet_sock *po, struct msghdr *msg) in tpacket_snd()
3019 struct packet_sock *po = pkt_sk(sk); in packet_snd() local
3169 struct packet_sock *po = pkt_sk(sk); in packet_sendmsg() local
3188 struct packet_sock *po; in packet_release() local
3260 struct packet_sock *po = pkt_sk(sk); in packet_do_bind() local
3403 struct packet_sock *po; in packet_create() local
3667 struct packet_sock *po = pkt_sk(sk); in packet_getname() local
3746 struct packet_sock *po = pkt_sk(sk); in packet_mc_add() local
3827 struct packet_sock *po = pkt_sk(sk); in packet_flush_mclist() local
3851 struct packet_sock *po = pkt_sk(sk); in packet_setsockopt() local
4125 struct packet_sock *po = pkt_sk(sk); in packet_getsockopt() local
4256 struct packet_sock *po = pkt_sk(sk); in packet_notifier() local
4350 struct packet_sock *po = pkt_sk(sk); in packet_poll() local
4472 struct packet_sock *po = pkt_sk(sk); in packet_set_ring() local
4639 struct packet_sock *po = pkt_sk(sk); in packet_mmap() local
4778 const struct packet_sock *po = pkt_sk(s); in packet_seq_show() local