Home
last modified time | relevance | path

Searched defs:pkt (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/Linux-v5.15/net/caif/
Dcfpkt_skbuff.c17 #define PKT_ERROR(pkt, errmsg) \ argument
45 static inline struct cfpkt_priv_data *cfpkt_priv(struct cfpkt *pkt) in cfpkt_priv()
50 static inline bool is_erronous(struct cfpkt *pkt) in is_erronous()
55 static inline struct sk_buff *pkt_to_skb(struct cfpkt *pkt) in pkt_to_skb()
67 struct cfpkt *pkt = skb_to_pkt(nativepkt); in cfpkt_fromnative() local
73 void *cfpkt_tonative(struct cfpkt *pkt) in cfpkt_tonative()
96 void cfpkt_destroy(struct cfpkt *pkt) in cfpkt_destroy()
102 inline bool cfpkt_more(struct cfpkt *pkt) in cfpkt_more()
108 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len) in cfpkt_peek_head()
119 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len) in cfpkt_extr_head()
[all …]
/Linux-v5.15/drivers/media/platform/qcom/venus/
Dhfi_msgs.c23 struct hfi_msg_event_notify_pkt *pkt) in event_seq_changed()
125 struct hfi_msg_event_notify_pkt *pkt) in event_release_buffer_ref()
143 struct hfi_msg_event_notify_pkt *pkt) in event_sys_error()
156 struct hfi_msg_event_notify_pkt *pkt) in event_session_error()
188 struct hfi_msg_event_notify_pkt *pkt = packet; in hfi_event_notify() local
216 struct hfi_msg_sys_init_done_pkt *pkt = packet; in hfi_sys_init_done() local
245 struct hfi_msg_sys_property_info_pkt *pkt) in sys_get_prop_image_version()
272 struct hfi_msg_sys_property_info_pkt *pkt = packet; in hfi_sys_property_info() local
294 struct hfi_msg_sys_release_resource_done_pkt *pkt = packet; in hfi_sys_rel_resource_done() local
303 struct hfi_msg_sys_ping_ack_pkt *pkt = packet; in hfi_sys_ping_done() local
[all …]
Dhfi_cmds.c14 void pkt_sys_init(struct hfi_sys_init_pkt *pkt, u32 arch_type) in pkt_sys_init()
21 void pkt_sys_pc_prep(struct hfi_sys_pc_prep_pkt *pkt) in pkt_sys_pc_prep()
27 void pkt_sys_idle_indicator(struct hfi_sys_set_property_pkt *pkt, u32 enable) in pkt_sys_idle_indicator()
38 void pkt_sys_debug_config(struct hfi_sys_set_property_pkt *pkt, u32 mode, in pkt_sys_debug_config()
52 void pkt_sys_coverage_config(struct hfi_sys_set_property_pkt *pkt, u32 mode) in pkt_sys_coverage_config()
61 int pkt_sys_set_resource(struct hfi_sys_set_resource_pkt *pkt, u32 id, u32 size, in pkt_sys_set_resource()
88 int pkt_sys_unset_resource(struct hfi_sys_release_resource_pkt *pkt, u32 id, in pkt_sys_unset_resource()
109 void pkt_sys_ping(struct hfi_sys_ping_pkt *pkt, u32 cookie) in pkt_sys_ping()
116 void pkt_sys_power_control(struct hfi_sys_set_property_pkt *pkt, u32 enable) in pkt_sys_power_control()
127 int pkt_sys_ssr_cmd(struct hfi_sys_test_ssr_pkt *pkt, u32 trigger_type) in pkt_sys_ssr_cmd()
[all …]
Dhfi_venus.c233 struct iface_queue *queue, void *pkt, u32 *tx_req) in venus_read_queue()
373 void *pkt, bool sync) in venus_iface_cmdq_write_nolock()
412 static int venus_iface_cmdq_write(struct venus_hfi_device *hdev, void *pkt, bool sync) in venus_iface_cmdq_write()
427 struct hfi_sys_set_resource_pkt *pkt; in venus_hfi_core_set_resource() local
663 void *pkt) in venus_iface_msgq_read_nolock()
684 static int venus_iface_msgq_read(struct venus_hfi_device *hdev, void *pkt) in venus_iface_msgq_read()
696 void *pkt) in venus_iface_dbgq_read_nolock()
718 static int venus_iface_dbgq_read(struct venus_hfi_device *hdev, void *pkt) in venus_iface_dbgq_read()
832 struct hfi_sys_set_property_pkt *pkt; in venus_sys_set_debug() local
849 struct hfi_sys_set_property_pkt *pkt; in venus_sys_set_coverage() local
[all …]
/Linux-v5.15/drivers/infiniband/sw/rxe/
Drxe_hdr.h34 static inline struct sk_buff *PKT_TO_SKB(struct rxe_pkt_info *pkt) in PKT_TO_SKB()
280 static inline u8 bth_opcode(struct rxe_pkt_info *pkt) in bth_opcode()
285 static inline void bth_set_opcode(struct rxe_pkt_info *pkt, u8 opcode) in bth_set_opcode()
290 static inline u8 bth_se(struct rxe_pkt_info *pkt) in bth_se()
295 static inline void bth_set_se(struct rxe_pkt_info *pkt, int se) in bth_set_se()
300 static inline u8 bth_mig(struct rxe_pkt_info *pkt) in bth_mig()
305 static inline void bth_set_mig(struct rxe_pkt_info *pkt, u8 mig) in bth_set_mig()
310 static inline u8 bth_pad(struct rxe_pkt_info *pkt) in bth_pad()
315 static inline void bth_set_pad(struct rxe_pkt_info *pkt, u8 pad) in bth_set_pad()
320 static inline u8 bth_tver(struct rxe_pkt_info *pkt) in bth_tver()
[all …]
Drxe_resp.c85 struct rxe_pkt_info *pkt = SKB_TO_PKT(skb); in rxe_resp_queue_pkt() local
121 struct rxe_pkt_info *pkt) in check_psn()
165 struct rxe_pkt_info *pkt) in check_op_seq()
255 struct rxe_pkt_info *pkt) in check_op_valid()
351 struct rxe_pkt_info *pkt) in check_resource()
405 struct rxe_pkt_info *pkt) in check_length()
420 struct rxe_pkt_info *pkt) in check_rkey()
548 struct rxe_pkt_info *pkt) in write_data_in()
572 struct rxe_pkt_info *pkt) in process_atomic()
611 struct rxe_pkt_info *pkt, in prepare_ack_packet()
[all …]
Drxe_recv.c13 static int check_type_state(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_type_state()
79 static int check_keys(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_keys()
110 static int check_addr(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_addr()
170 static int hdr_check(struct rxe_pkt_info *pkt) in hdr_check()
225 static inline void rxe_rcv_pkt(struct rxe_pkt_info *pkt, struct sk_buff *skb) in rxe_rcv_pkt()
235 struct rxe_pkt_info *pkt = SKB_TO_PKT(skb); in rxe_rcv_mcast_pkt() local
329 struct rxe_pkt_info *pkt = SKB_TO_PKT(skb); in rxe_chk_dgid() local
362 struct rxe_pkt_info *pkt = SKB_TO_PKT(skb); in rxe_rcv() local
Drxe_comp.c137 struct rxe_pkt_info *pkt, in get_wqe()
175 struct rxe_pkt_info *pkt, in check_psn()
214 struct rxe_pkt_info *pkt, in check_ack()
345 struct rxe_pkt_info *pkt, in do_read()
365 struct rxe_pkt_info *pkt, in do_atomic()
459 struct rxe_pkt_info *pkt, in complete_ack()
505 struct rxe_pkt_info *pkt, in complete_wqe()
547 static void free_pkt(struct rxe_pkt_info *pkt) in free_pkt()
564 struct rxe_pkt_info *pkt = NULL; in rxe_completer() local
/Linux-v5.15/drivers/soc/mediatek/
Dmtk-cmdq-helper.c109 struct cmdq_pkt *pkt; in cmdq_pkt_create() local
140 void cmdq_pkt_destroy(struct cmdq_pkt *pkt) in cmdq_pkt_destroy()
151 static int cmdq_pkt_append_command(struct cmdq_pkt *pkt, in cmdq_pkt_append_command()
178 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) in cmdq_pkt_write()
191 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, in cmdq_pkt_write_mask()
213 int cmdq_pkt_read_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, u16 addr_low, in cmdq_pkt_read_s()
228 int cmdq_pkt_write_s(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, in cmdq_pkt_write_s()
243 int cmdq_pkt_write_s_mask(struct cmdq_pkt *pkt, u16 high_addr_reg_idx, in cmdq_pkt_write_s_mask()
266 int cmdq_pkt_write_s_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx, in cmdq_pkt_write_s_value()
280 int cmdq_pkt_write_s_mask_value(struct cmdq_pkt *pkt, u8 high_addr_reg_idx, in cmdq_pkt_write_s_mask_value()
[all …]
/Linux-v5.15/arch/sparc/kernel/
Dviohs.c50 struct vio_ver_info pkt; in send_version() local
163 struct vio_msg_tag *pkt = arg; in process_unknown() local
180 struct vio_dring_register pkt; in send_dreg() member
220 struct vio_rdx pkt; in send_rdx() local
256 struct vio_ver_info *pkt) in process_ver_info()
312 struct vio_ver_info *pkt) in process_ver_ack()
345 struct vio_ver_info *pkt) in process_ver_nack()
364 static int process_ver(struct vio_driver_state *vio, struct vio_ver_info *pkt) in process_ver()
381 static int process_attr(struct vio_driver_state *vio, void *pkt) in process_attr()
428 struct vio_dring_register *pkt) in process_dreg_info()
[all …]
/Linux-v5.15/drivers/usb/renesas_usbhs/
Dfifo.c22 void usbhs_pkt_init(struct usbhs_pkt *pkt) in usbhs_pkt_init()
30 static int usbhsf_null_handle(struct usbhs_pkt *pkt, int *is_done) in usbhsf_null_handle()
45 void usbhs_pkt_push(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt, in usbhs_pkt_push()
47 struct usbhs_pkt *pkt), in usbhs_pkt_push()
87 static void __usbhsf_pkt_del(struct usbhs_pkt *pkt) in __usbhsf_pkt_del()
106 struct usbhs_pkt *usbhs_pkt_pop(struct usbhs_pipe *pipe, struct usbhs_pkt *pkt) in usbhs_pkt_pop()
159 struct usbhs_pkt *pkt; in usbhsf_pkt_handler() local
357 static int usbhs_dcp_dir_switch_to_write(struct usbhs_pkt *pkt, int *is_done) in usbhs_dcp_dir_switch_to_write()
386 static int usbhs_dcp_dir_switch_to_read(struct usbhs_pkt *pkt, int *is_done) in usbhs_dcp_dir_switch_to_read()
414 static int usbhs_dcp_dir_switch_done(struct usbhs_pkt *pkt, int *is_done) in usbhs_dcp_dir_switch_done()
[all …]
/Linux-v5.15/net/vmw_vsock/
Dvirtio_transport_common.c48 struct virtio_vsock_pkt *pkt; in virtio_transport_alloc_pkt() local
106 struct virtio_vsock_pkt *pkt = opaque; in virtio_transport_build_skb() local
166 void virtio_transport_deliver_tap_pkt(struct virtio_vsock_pkt *pkt) in virtio_transport_deliver_tap_pkt()
195 struct virtio_vsock_pkt *pkt; in virtio_transport_send_pkt_info() local
241 struct virtio_vsock_pkt *pkt) in virtio_transport_inc_rx_pkt()
251 struct virtio_vsock_pkt *pkt) in virtio_transport_dec_rx_pkt()
257 void virtio_transport_inc_tx_pkt(struct virtio_vsock_sock *vvs, struct virtio_vsock_pkt *pkt) in virtio_transport_inc_tx_pkt()
306 struct virtio_vsock_pkt *pkt; in virtio_transport_stream_do_peek() local
355 struct virtio_vsock_pkt *pkt; in virtio_transport_stream_do_dequeue() local
417 struct virtio_vsock_pkt *pkt; in virtio_transport_seqpacket_do_dequeue() local
[all …]
Dvsock_loopback.c30 static int vsock_loopback_send_pkt(struct virtio_vsock_pkt *pkt) in vsock_loopback_send_pkt()
47 struct virtio_vsock_pkt *pkt, *n; in vsock_loopback_cancel_pkt() local
131 struct virtio_vsock_pkt *pkt; in vsock_loopback_work() local
169 struct virtio_vsock_pkt *pkt; in vsock_loopback_exit() local
Dvmci_transport.c65 struct vmci_transport_packet pkt; member
110 vmci_transport_packet_init(struct vmci_transport_packet *pkt, in vmci_transport_packet_init()
174 vmci_transport_packet_get_addresses(struct vmci_transport_packet *pkt, in vmci_transport_packet_get_addresses()
183 __vmci_transport_send_control_pkt(struct vmci_transport_packet *pkt, in __vmci_transport_send_control_pkt()
206 vmci_transport_reply_control_pkt_fast(struct vmci_transport_packet *pkt, in vmci_transport_reply_control_pkt_fast()
242 static struct vmci_transport_packet pkt; in vmci_transport_send_control_pkt_bh() local
260 struct vmci_transport_packet *pkt; in vmci_transport_alloc_send_control_pkt() local
302 struct vmci_transport_packet *pkt) in vmci_transport_send_reset_bh()
313 struct vmci_transport_packet *pkt) in vmci_transport_send_reset()
378 static int vmci_transport_reply_reset(struct vmci_transport_packet *pkt) in vmci_transport_reply_reset()
[all …]
/Linux-v5.15/include/net/netfilter/
Dnf_tables_ipv4.h8 static inline void nft_set_pktinfo_ipv4(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv4()
19 static inline int __nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt) in __nft_set_pktinfo_ipv4_validate()
47 static inline void nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv4_validate()
53 static inline int nft_set_pktinfo_ipv4_ingress(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv4_ingress()
Dnf_tables_ipv6.h9 static inline void nft_set_pktinfo_ipv6(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv6()
27 static inline int __nft_set_pktinfo_ipv6_validate(struct nft_pktinfo *pkt) in __nft_set_pktinfo_ipv6_validate()
64 static inline void nft_set_pktinfo_ipv6_validate(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv6_validate()
70 static inline int nft_set_pktinfo_ipv6_ingress(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv6_ingress()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/dvm/
Drx.c38 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_reply_error() local
51 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_csa() local
80 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_spectrum_measure_notif() local
97 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_pm_sleep_notif() local
107 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_pm_debug_statistics_notif() local
117 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_beacon_notif() local
353 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_statistics() local
453 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_reply_statistics() local
476 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_card_state_notif() local
527 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_missed_beacon_notif() local
[all …]
/Linux-v5.15/drivers/misc/habanalabs/common/
Dhwmon.c314 struct cpucp_packet pkt; in hl_get_temperature() local
343 struct cpucp_packet pkt; in hl_set_temperature() local
368 struct cpucp_packet pkt; in hl_get_voltage() local
397 struct cpucp_packet pkt; in hl_get_current() local
426 struct cpucp_packet pkt; in hl_get_fan_speed() local
455 struct cpucp_packet pkt; in hl_get_pwm_info() local
484 struct cpucp_packet pkt; in hl_set_pwm_info() local
507 struct cpucp_packet pkt; in hl_set_voltage() local
532 struct cpucp_packet pkt; in hl_set_current() local
/Linux-v5.15/drivers/input/touchscreen/
Dusbtouchscreen.c264 static int e2i_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in e2i_read_data()
332 static int egalax_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in egalax_read_data()
376 static int etouch_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in etouch_read_data()
411 static int panjit_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in panjit_read_data()
433 static int mtouch_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in mtouch_read_data()
582 static int itm_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in itm_read_data()
619 static int eturbo_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in eturbo_read_data()
650 static int gunze_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in gunze_read_data()
736 static int dmc_tsc10_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in dmc_tsc10_read_data()
751 static int irtouch_read_data(struct usbtouch_usb *dev, unsigned char *pkt) in irtouch_read_data()
[all …]
/Linux-v5.15/include/net/caif/
Dcfpkt.h35 static inline u8 cfpkt_extr_head_u8(struct cfpkt *pkt) in cfpkt_extr_head_u8()
44 static inline u16 cfpkt_extr_head_u16(struct cfpkt *pkt) in cfpkt_extr_head_u16()
53 static inline u32 cfpkt_extr_head_u32(struct cfpkt *pkt) in cfpkt_extr_head_u32()
/Linux-v5.15/net/netfilter/
Dnft_meta.c81 nft_meta_get_eval_pkttype_lo(const struct nft_pktinfo *pkt, in nft_meta_get_eval_pkttype_lo()
133 const struct nft_pktinfo *pkt) in nft_meta_get_eval_skugid()
167 nft_meta_get_eval_cgroup(u32 *dest, const struct nft_pktinfo *pkt) in nft_meta_get_eval_cgroup()
181 const struct nft_pktinfo *pkt) in nft_meta_get_eval_kind()
232 const struct nft_pktinfo *pkt) in nft_meta_get_eval_ifname()
291 static noinline u32 nft_meta_get_eval_sdif(const struct nft_pktinfo *pkt) in nft_meta_get_eval_sdif()
304 nft_meta_get_eval_sdifname(u32 *dest, const struct nft_pktinfo *pkt) in nft_meta_get_eval_sdifname()
315 const struct nft_pktinfo *pkt) in nft_meta_get_eval()
424 const struct nft_pktinfo *pkt) in nft_meta_set_eval()
831 const struct nft_pktinfo *pkt) in nft_secmark_obj_eval()
/Linux-v5.15/drivers/net/arcnet/
Drfc1051.c89 struct archdr *pkt = (struct archdr *)skb->data; in type_trans() local
126 struct archdr *pkt = pkthdr; in rx() local
165 struct archdr *pkt = skb_push(skb, hdr_size); in build_header() local
207 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length, in prepare_tx()
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_fdir.c777 static void ice_pkt_insert_ipv6_addr(u8 *pkt, int offset, __be32 *addr) in ice_pkt_insert_ipv6_addr()
794 static void ice_pkt_insert_u6_qfi(u8 *pkt, int offset, u8 data) in ice_pkt_insert_u6_qfi()
808 static void ice_pkt_insert_u8(u8 *pkt, int offset, u8 data) in ice_pkt_insert_u8()
824 static void ice_pkt_insert_u8_tc(u8 *pkt, int offset, u8 data) in ice_pkt_insert_u8_tc()
841 static void ice_pkt_insert_u16(u8 *pkt, int offset, __be16 data) in ice_pkt_insert_u16()
852 static void ice_pkt_insert_u32(u8 *pkt, int offset, __be32 data) in ice_pkt_insert_u32()
862 static void ice_pkt_insert_mac_addr(u8 *pkt, u8 *addr) in ice_pkt_insert_mac_addr()
877 u8 *pkt, bool frag, bool tun) in ice_fdir_get_gen_prgm_pkt()
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect.c213 static __always_inline struct iphdr *pkt_parse_ipv4(buf_t *pkt, struct iphdr *scratch) in pkt_parse_ipv4()
232 static INLINING bool pkt_parse_icmp_l4_ports(buf_t *pkt, flow_ports_t *ports) in pkt_parse_icmp_l4_ports()
279 bool pkt_skip_ipv6_extension_headers(buf_t *pkt, in pkt_skip_ipv6_extension_headers()
348 pkt_parse_ipv6(buf_t *pkt, struct ipv6hdr *scratch, uint8_t *proto, in pkt_parse_ipv6()
502 buf_t pkt = { in forward_with_gre() local
563 static INLINING ret_t skip_next_hops(buf_t *pkt, int n) in skip_next_hops()
583 static INLINING ret_t get_next_hop(buf_t *pkt, encap_headers_t *encap, in get_next_hop()
715 static INLINING verdict_t process_icmpv4(buf_t *pkt, metrics_t *metrics) in process_icmpv4()
762 static INLINING verdict_t process_icmpv6(buf_t *pkt, metrics_t *metrics) in process_icmpv6()
814 static INLINING verdict_t process_tcp(buf_t *pkt, void *iph, uint64_t iphlen, in process_tcp()
[all …]
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/
Dsmem.c12 struct iwl_rx_packet *pkt) in iwl_parse_shared_mem_22000()
47 struct iwl_rx_packet *pkt) in iwl_parse_shared_mem()
87 struct iwl_rx_packet *pkt; in iwl_get_shared_mem_conf() local

12345678910>>...14