Home
last modified time | relevance | path

Searched refs:ptype (Results 1 – 25 of 86) sorted by relevance

1234

/linux/net/core/
H A Dgso.c17 struct packet_offload *ptype; in skb_eth_gso_segment() local
20 list_for_each_entry_rcu(ptype, &net_hotdata.offload_base, list) { in skb_eth_gso_segment()
21 if (ptype->type == type && ptype->callbacks.gso_segment) { in skb_eth_gso_segment()
22 segs = ptype->callbacks.gso_segment(skb, features); in skb_eth_gso_segment()
41 struct packet_offload *ptype; in skb_mac_gso_segment() local
51 list_for_each_entry_rcu(ptype, &net_hotdata.offload_base, list) { in skb_mac_gso_segment()
52 if (ptype->type == type && ptype->callbacks.gso_segment) { in skb_mac_gso_segment()
53 segs = ptype->callbacks.gso_segment(skb, features); in skb_mac_gso_segment()
H A Dgro.c257 struct packet_offload *ptype; in gro_complete() local
269 list_for_each_entry_rcu(ptype, head, list) { in gro_complete()
270 if (ptype->type != type || !ptype->callbacks.gro_complete) in gro_complete()
273 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in gro_complete()
281 WARN_ON(&ptype->list == head); in gro_complete()
468 struct packet_offload *ptype; in dev_gro_receive() local
480 list_for_each_entry_rcu(ptype, head, list) { in dev_gro_receive()
481 if (ptype->type == type && ptype->callbacks.gro_receive) in dev_gro_receive()
515 pp = INDIRECT_CALL_INET(ptype->callbacks.gro_receive, in dev_gro_receive()
573 struct packet_offload *ptype; in gro_find_receive_by_type() local
[all …]
/linux/drivers/cxl/
H A Dsecurity.c13 enum nvdimm_passphrase_type ptype) in cxl_pmem_get_security_flags() argument
41 if (ptype == NVDIMM_MASTER) { in cxl_pmem_get_security_flags()
70 enum nvdimm_passphrase_type ptype) in cxl_pmem_security_change_key() argument
79 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in cxl_pmem_security_change_key()
96 enum nvdimm_passphrase_type ptype) in __cxl_pmem_security_disable() argument
105 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in __cxl_pmem_security_disable()
169 enum nvdimm_passphrase_type ptype) in cxl_pmem_security_passphrase_erase() argument
179 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : in cxl_pmem_security_passphrase_erase()
/linux/include/net/tc_act/
H A Dtc_skbedit.h22 u16 ptype; member
73 u16 ptype; in tcf_skbedit_ptype() local
76 ptype = rcu_dereference(to_skbedit(a)->params)->ptype; in tcf_skbedit_ptype()
79 return ptype; in tcf_skbedit_ptype()
/linux/kernel/trace/
H A Dtrace_probe.h190 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, str, _fmttype) \ argument
195 .print = PRINT_TYPE_FUNC_NAME(ptype), \
196 .fmt = PRINT_TYPE_FMT_NAME(ptype), \
201 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
202 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, 0, #_fmttype)
203 #define ASSIGN_FETCH_TYPE(ptype, ftype, sign) \ argument
204 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, ptype)
207 #define ASSIGN_FETCH_TYPE_ALIAS(ptype, atype, ftype, sign) \ argument
208 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, atype)
467 extern int traceprobe_set_print_fmt(struct trace_probe *tp, enum probe_print_type ptype);
/linux/net/ipv4/
H A Dgre_offload.c131 struct packet_offload *ptype; in gre_gro_receive() local
164 ptype = gro_find_receive_by_type(type); in gre_gro_receive()
165 if (!ptype) in gre_gro_receive()
227 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in gre_gro_receive()
239 struct packet_offload *ptype; in gre_gro_complete() local
254 ptype = gro_find_complete_by_type(type); in gre_gro_complete()
255 if (ptype) in gre_gro_complete()
256 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen); in gre_gro_complete()
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_cmds.c391 void *cookie, u32 ptype) in pkt_session_get_property_1x() argument
393 switch (ptype) { in pkt_session_get_property_1x()
405 pkt->data = ptype; in pkt_session_get_property_1x()
411 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_1x() argument
425 pkt->data[0] = ptype; in pkt_session_set_property_1x()
427 switch (ptype) { in pkt_session_set_property_1x()
1099 void *cookie, u32 ptype) in pkt_session_get_property_3xx() argument
1111 switch (ptype) { in pkt_session_get_property_3xx()
1116 ret = pkt_session_get_property_1x(pkt, cookie, ptype); in pkt_session_get_property_3xx()
1125 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_3xx() argument
[all …]
/linux/fs/affs/
H A Damigaffs.h51 __be32 ptype; member
78 __be32 ptype; member
108 __be32 ptype; member
117 __be32 ptype; member
/linux/arch/powerpc/perf/
H A Dpower6-pmu.c139 int pmc, psel, ptype; in power6_marked_instr_event() local
150 ptype = direct_event_is_marked[psel]; in power6_marked_instr_event()
151 if (pmc == 0 || !(ptype & (1 << (pmc - 1)))) in power6_marked_instr_event()
153 ptype >>= 4; in power6_marked_instr_event()
154 if (ptype == 0) in power6_marked_instr_event()
156 if (ptype == 1) in power6_marked_instr_event()
159 bit = ptype ^ (pmc - 1); in power6_marked_instr_event()
/linux/net/sched/
H A Dact_skbedit.c85 skb->pkt_type = params->ptype; in tcf_skbedit_act()
128 u16 *queue_mapping = NULL, *ptype = NULL; in tcf_skbedit_init() local
161 ptype = nla_data(tb[TCA_SKBEDIT_PTYPE]); in tcf_skbedit_init()
162 if (!skb_pkt_type_ok(*ptype)) in tcf_skbedit_init()
257 params_new->ptype = *ptype; in tcf_skbedit_init()
313 nla_put_u16(skb, TCA_SKBEDIT_PTYPE, params->ptype)) in tcf_skbedit_dump()
378 entry->ptype = tcf_skbedit_ptype(act); in tcf_skbedit_offload_act_setup()
H A Dact_gact.c90 if (p_parm->ptype >= MAX_RAND) in tcf_gact_init()
135 gact->tcfg_ptype = p_parm->ptype; in tcf_gact_init()
158 u32 ptype = READ_ONCE(gact->tcfg_ptype); in tcf_gact_act() local
160 if (ptype) in tcf_gact_act()
161 action = gact_rand[ptype](gact); in tcf_gact_act()
206 .ptype = gact->tcfg_ptype, in tcf_gact_dump()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.c203 u8 *ptype) in ixgbe_dcb_unpack_prio() argument
209 ptype[tc] = tc_config[tc].path[direction].prio_type; in ixgbe_dcb_unpack_prio()
254 u8 ptype[MAX_TRAFFIC_CLASS]; in ixgbe_dcb_hw_config() local
265 ixgbe_dcb_unpack_prio(dcb_config, DCB_TX_CONFIG, ptype); in ixgbe_dcb_hw_config()
271 bwgid, ptype); in ixgbe_dcb_hw_config()
278 bwgid, ptype, prio_tc); in ixgbe_dcb_hw_config()
/linux/net/8021q/
H A Dvlan_core.c467 const struct packet_offload *ptype; in vlan_gro_receive() local
485 ptype = gro_find_receive_by_type(type); in vlan_gro_receive()
486 if (!ptype) in vlan_gro_receive()
505 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, in vlan_gro_receive()
519 struct packet_offload *ptype; in vlan_gro_complete() local
522 ptype = gro_find_complete_by_type(type); in vlan_gro_complete()
523 if (ptype) in vlan_gro_complete()
524 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in vlan_gro_complete()
/linux/net/nfc/
H A Dllcp_core.c780 u8 ptype = nfc_llcp_ptype(skb); in nfc_llcp_tx_work() local
787 if (ptype == LLCP_PDU_I) in nfc_llcp_tx_work()
803 if (ptype == LLCP_PDU_I && copy_skb) in nfc_llcp_tx_work()
1071 u8 dsap, ssap, ptype, ns, nr; in nfc_llcp_recv_hdlc() local
1073 ptype = nfc_llcp_ptype(skb); in nfc_llcp_recv_hdlc()
1095 if (ptype == LLCP_PDU_I) { in nfc_llcp_recv_hdlc()
1141 if (ptype == LLCP_PDU_RR) in nfc_llcp_recv_hdlc()
1143 else if (ptype == LLCP_PDU_RNR) in nfc_llcp_recv_hdlc()
1146 if (nfc_llcp_queue_i_frames(llcp_sock) == 0 && ptype == LLCP_PDU_I) in nfc_llcp_recv_hdlc()
1410 u8 ptype; in nfc_llcp_recv_agf() local
[all …]
/linux/rust/macros/
H A Dmodule.rs114 let ops = param_ops_path(&param.ptype); in emit_params()
118 self.emit_param("parmtype", &param.name, &param.ptype); in emit_params()
162 param_type = param.ptype, in emit_params()
215 ptype: String, field
246 ptype: param_type, in expect_params()
/linux/include/linux/
H A Dbpf-netns.h33 int netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype);
50 enum bpf_prog_type ptype) in netns_bpf_prog_detach() argument
/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx_dqo.c405 struct gve_ptype ptype) in gve_rx_skb_csum() argument
413 if (ptype.l3_type == GVE_L3_TYPE_IPV4) { in gve_rx_skb_csum()
416 } else if (ptype.l3_type == GVE_L3_TYPE_IPV6) { in gve_rx_skb_csum()
425 switch (ptype.l4_type) { in gve_rx_skb_csum()
439 struct gve_ptype ptype) in gve_rx_skb_hash() argument
443 if (ptype.l4_type != GVE_L4_TYPE_UNKNOWN) in gve_rx_skb_hash()
445 else if (ptype.l3_type != GVE_L3_TYPE_UNKNOWN) in gve_rx_skb_hash()
945 struct gve_ptype ptype) in gve_rx_complete_rsc() argument
950 if (ptype.l4_type != GVE_L4_TYPE_TCP) in gve_rx_complete_rsc()
953 switch (ptype.l3_type) { in gve_rx_complete_rsc()
[all …]
/linux/net/ethtool/
H A Dphy.c79 enum phy_upstream ptype; ethnl_phy_fill_reply() local
/linux/drivers/acpi/nfit/
H A Dintel.c54 enum nvdimm_passphrase_type ptype) in intel_security_flags() argument
80 if (nvdimm_in_overwrite(nvdimm) && ptype == NVDIMM_USER) in intel_security_flags()
91 if (ptype == NVDIMM_MASTER) { in intel_security_flags()
148 enum nvdimm_passphrase_type ptype) in intel_security_change_key() argument
151 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_change_key()
269 enum nvdimm_passphrase_type ptype) in intel_security_erase() argument
273 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_erase()
/linux/include/net/
H A Darp.h62 void arp_send(int type, int ptype, __be32 dest_ip,
70 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
/linux/drivers/usb/host/
H A Duhci-debug.c106 char *ptype; in uhci_show_urbp() local
119 case PIPE_ISOCHRONOUS: ptype = "ISO"; break; in uhci_show_urbp()
120 case PIPE_INTERRUPT: ptype = "INT"; break; in uhci_show_urbp()
121 case PIPE_BULK: ptype = "BLK"; break; in uhci_show_urbp()
123 case PIPE_CONTROL: ptype = "CTL"; break; in uhci_show_urbp()
126 out += sprintf(out, "%s%s", ptype, (urbp->fsbr ? " FSBR" : "")); in uhci_show_urbp()
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.c78 enum nfp_port_type ptype) in nfp_abm_spawn_repr() argument
88 if (ptype == NFP_PORT_PHYS_PORT) { in nfp_abm_spawn_repr()
102 port = nfp_port_alloc(app, ptype, netdev); in nfp_abm_spawn_repr()
108 if (ptype == NFP_PORT_PHYS_PORT) { in nfp_abm_spawn_repr()
135 ptype == NFP_PORT_PF_PORT ? "PCIe" : "Phys", in nfp_abm_spawn_repr()
/linux/kernel/rcu/
H A Drcuscale.c149 int ptype; member
193 .ptype = RCU_FLAVOR,
255 .ptype = SRCU_FLAVOR,
284 .ptype = SRCU_FLAVOR,
321 .ptype = RCU_TASKS_FLAVOR,
365 .ptype = RCU_TASKS_RUDE_FLAVOR,
409 .ptype = RCU_TASKS_FLAVOR,
/linux/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c94 bool ice_hw_ptype_ena(struct ice_hw *hw, u16 ptype) in ice_hw_ptype_ena() argument
96 return ptype < ICE_FLOW_PTYPE_MAX && in ice_hw_ptype_ena()
97 test_bit(ptype, hw->hw_ptype); in ice_hw_ptype_ena()
659 ice_ptg_find_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 *ptg) in ice_ptg_find_ptype() argument
661 if (ptype >= ICE_XLT1_CNT || !ptg) in ice_ptg_find_ptype()
664 *ptg = hw->blk[blk].xlt1.ptypes[ptype].ptg; in ice_ptg_find_ptype()
693 ice_ptg_remove_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg) in ice_ptg_remove_ptype() argument
698 if (ptype > ICE_XLT1_CNT - 1) in ice_ptg_remove_ptype()
712 if (ptype == (p - hw->blk[blk].xlt1.ptypes)) { in ice_ptg_remove_ptype()
721 hw->blk[blk].xlt1.ptypes[ptype].ptg = ICE_DEFAULT_PTG; in ice_ptg_remove_ptype()
[all …]
/linux/drivers/media/usb/dvb-usb/
H A Dusb-urb.c18 int ptype = usb_pipetype(urb->pipe); in usb_urb_complete() local
23 ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", in usb_urb_complete()
41 switch (ptype) { in usb_urb_complete()

1234