Home
last modified time | relevance | path

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

12345

/Linux-v6.1/net/core/
Dgro.c105 struct packet_offload *ptype; in skb_eth_gso_segment() local
108 list_for_each_entry_rcu(ptype, &offload_base, list) { in skb_eth_gso_segment()
109 if (ptype->type == type && ptype->callbacks.gso_segment) { in skb_eth_gso_segment()
110 segs = ptype->callbacks.gso_segment(skb, features); in skb_eth_gso_segment()
129 struct packet_offload *ptype; in skb_mac_gso_segment() local
139 list_for_each_entry_rcu(ptype, &offload_base, list) { in skb_mac_gso_segment()
140 if (ptype->type == type && ptype->callbacks.gso_segment) { in skb_mac_gso_segment()
141 segs = ptype->callbacks.gso_segment(skb, features); in skb_mac_gso_segment()
286 struct packet_offload *ptype; in napi_gro_complete() local
299 list_for_each_entry_rcu(ptype, head, list) { in napi_gro_complete()
[all …]
/Linux-v6.1/kernel/trace/
Dtrace_probe.h180 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
184 .print = PRINT_TYPE_FUNC_NAME(ptype), \
185 .fmt = PRINT_TYPE_FMT_NAME(ptype), \
188 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
189 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, #_fmttype)
190 #define ASSIGN_FETCH_TYPE(ptype, ftype, sign) \ argument
191 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, ptype)
194 #define ASSIGN_FETCH_TYPE_ALIAS(ptype, atype, ftype, sign) \ argument
195 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, atype)
374 extern int traceprobe_set_print_fmt(struct trace_probe *tp, enum probe_print_type ptype);
/Linux-v6.1/include/net/tc_act/
Dtc_skbedit.h21 u16 ptype; member
72 u16 ptype; in tcf_skbedit_ptype() local
75 ptype = rcu_dereference(to_skbedit(a)->params)->ptype; in tcf_skbedit_ptype()
78 return ptype; in tcf_skbedit_ptype()
/Linux-v6.1/drivers/media/platform/qcom/venus/
Dvenc.c623 u32 ptype, rate_control, bitrate; in venc_set_properties() local
631 ptype = HFI_PROPERTY_CONFIG_FRAME_RATE; in venc_set_properties()
635 ret = hfi_session_set_property(inst, ptype, &frate); in venc_set_properties()
645 ptype = HFI_PROPERTY_PARAM_VENC_H264_VUI_TIMING_INFO; in venc_set_properties()
650 ret = hfi_session_set_property(inst, ptype, &info); in venc_set_properties()
654 ptype = HFI_PROPERTY_PARAM_VENC_H264_ENTROPY_CONTROL; in venc_set_properties()
660 ret = hfi_session_set_property(inst, ptype, &entropy); in venc_set_properties()
664 ptype = HFI_PROPERTY_PARAM_VENC_H264_DEBLOCK_CONTROL; in venc_set_properties()
671 ret = hfi_session_set_property(inst, ptype, &deblock); in venc_set_properties()
675 ptype = HFI_PROPERTY_PARAM_VENC_H264_TRANSFORM_8X8; in venc_set_properties()
[all …]
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[0] = 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()
1098 void *cookie, u32 ptype) in pkt_session_get_property_3xx() argument
1110 switch (ptype) { in pkt_session_get_property_3xx()
1115 ret = pkt_session_get_property_1x(pkt, cookie, ptype); in pkt_session_get_property_3xx()
1124 void *cookie, u32 ptype, void *pdata) in pkt_session_set_property_3xx() argument
[all …]
Dvenc_ctrls.c79 u32 ptype; in venc_op_s_ctrl() local
90 ptype = HFI_PROPERTY_CONFIG_VENC_TARGET_BITRATE; in venc_op_s_ctrl()
94 ret = hfi_session_set_property(inst, ptype, &brate); in venc_op_s_ctrl()
221 ptype = HFI_PROPERTY_CONFIG_VENC_SYNC_FRAME_SEQUENCE_HEADER; in venc_op_s_ctrl()
222 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl()
258 ptype = HFI_PROPERTY_CONFIG_VENC_REQUEST_SYNC_FRAME; in venc_op_s_ctrl()
259 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl()
289 ptype = HFI_PROPERTY_CONFIG_VENC_MARKLTRFRAME; in venc_op_s_ctrl()
291 ret = hfi_session_set_property(inst, ptype, &ltr_mark); in venc_op_s_ctrl()
302 ptype = HFI_PROPERTY_CONFIG_VENC_USELTRFRAME; in venc_op_s_ctrl()
[all …]
Dhelpers.c669 u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; in venus_helper_get_bufreq() local
686 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_bufreq()
918 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in venus_helper_get_profile_level() local
922 ret = hfi_session_get_property(inst, ptype, &hprop); in venus_helper_get_profile_level()
934 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; in venus_helper_set_profile_level() local
939 return hfi_session_set_property(inst, ptype, &pl); in venus_helper_set_profile_level()
1124 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_input_resolution() local
1131 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_input_resolution()
1139 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; in venus_helper_set_output_resolution() local
1146 return hfi_session_set_property(inst, ptype, &fs); in venus_helper_set_output_resolution()
[all …]
Dhfi.h134 int (*session_set_property)(struct venus_inst *inst, u32 ptype,
136 int (*session_get_property)(struct venus_inst *inst, u32 ptype);
171 int hfi_session_get_property(struct venus_inst *inst, u32 ptype,
173 int hfi_session_set_property(struct venus_inst *inst, u32 ptype, void *pdata);
/Linux-v6.1/drivers/acpi/dptf/
Ddptf_power.c123 unsigned long long ptype; in dptf_participant_type() local
126 status = acpi_evaluate_integer(handle, "PTYP", NULL, &ptype); in dptf_participant_type()
130 return ptype; in dptf_participant_type()
176 unsigned long long ptype; in dptf_power_add() local
183 ptype = dptf_participant_type(acpi_dev->handle); in dptf_power_add()
184 if (ptype == 0x11) in dptf_power_add()
186 else if (ptype == 0x0C) in dptf_power_add()
Ddptf_pch_fivr.c122 unsigned long long ptype; in pch_fivr_add() local
130 status = acpi_evaluate_integer(acpi_dev->handle, "PTYP", NULL, &ptype); in pch_fivr_add()
131 if (ACPI_FAILURE(status) || ptype != 0x05) in pch_fivr_add()
/Linux-v6.1/net/ipv4/
Dgre_offload.c130 struct packet_offload *ptype; in gre_gro_receive() local
163 ptype = gro_find_receive_by_type(type); in gre_gro_receive()
164 if (!ptype) in gre_gro_receive()
226 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); in gre_gro_receive()
238 struct packet_offload *ptype; in gre_gro_complete() local
253 ptype = gro_find_complete_by_type(type); in gre_gro_complete()
254 if (ptype) in gre_gro_complete()
255 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen); in gre_gro_complete()
/Linux-v6.1/fs/affs/
Damigaffs.h51 __be32 ptype; member
77 __be32 ptype; member
107 __be32 ptype; member
116 __be32 ptype; member
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c49 static enum pkt_hash_types ice_ptype_to_htype(u16 ptype) in ice_ptype_to_htype() argument
51 struct ice_rx_ptype_decoded decoded = ice_decode_rx_desc_ptype(ptype); in ice_ptype_to_htype()
101 union ice_32b_rx_flex_desc *rx_desc, u16 ptype) in ice_rx_csum() argument
110 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_csum()
187 struct sk_buff *skb, u16 ptype) in ice_process_skb_fields() argument
189 ice_rx_hash(rx_ring, rx_desc, skb, ptype); in ice_process_skb_fields()
194 ice_rx_csum(rx_ring, skb, rx_desc, ptype); in ice_process_skb_fields()
/Linux-v6.1/drivers/net/ethernet/google/gve/
Dgve_rx_dqo.c422 struct gve_ptype ptype) in gve_rx_skb_csum() argument
430 if (ptype.l3_type == GVE_L3_TYPE_IPV4) { in gve_rx_skb_csum()
433 } else if (ptype.l3_type == GVE_L3_TYPE_IPV6) { in gve_rx_skb_csum()
442 switch (ptype.l4_type) { in gve_rx_skb_csum()
456 struct gve_ptype ptype) in gve_rx_skb_hash() argument
460 if (ptype.l4_type != GVE_L4_TYPE_UNKNOWN) in gve_rx_skb_hash()
462 else if (ptype.l3_type != GVE_L3_TYPE_UNKNOWN) in gve_rx_skb_hash()
606 struct gve_ptype ptype) in gve_rx_complete_rsc() argument
611 if (ptype.l4_type != GVE_L4_TYPE_TCP) in gve_rx_complete_rsc()
614 switch (ptype.l3_type) { in gve_rx_complete_rsc()
[all …]
/Linux-v6.1/net/ethernet/
Deth.c407 const struct packet_offload *ptype; in eth_gro_receive() local
436 ptype = gro_find_receive_by_type(type); in eth_gro_receive()
437 if (ptype == NULL) { in eth_gro_receive()
445 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, in eth_gro_receive()
460 struct packet_offload *ptype; in eth_gro_complete() local
466 ptype = gro_find_complete_by_type(type); in eth_gro_complete()
467 if (ptype != NULL) in eth_gro_complete()
468 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in eth_gro_complete()
/Linux-v6.1/arch/powerpc/perf/
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-v6.1/drivers/net/ethernet/intel/ixgbe/
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-v6.1/net/sched/
Dact_gact.c89 if (p_parm->ptype >= MAX_RAND) in tcf_gact_init()
134 gact->tcfg_ptype = p_parm->ptype; in tcf_gact_init()
156 u32 ptype = READ_ONCE(gact->tcfg_ptype); in tcf_gact_act() local
158 if (ptype) in tcf_gact_act()
159 action = gact_rand[ptype](gact); in tcf_gact_act()
204 .ptype = gact->tcfg_ptype, in tcf_gact_dump()
Dact_skbedit.c85 skb->pkt_type = params->ptype; in tcf_skbedit_act()
128 u16 *queue_mapping = NULL, *ptype = NULL; in tcf_skbedit_init() local
156 ptype = nla_data(tb[TCA_SKBEDIT_PTYPE]); in tcf_skbedit_init()
157 if (!skb_pkt_type_ok(*ptype)) in tcf_skbedit_init()
252 params_new->ptype = *ptype; in tcf_skbedit_init()
308 nla_put_u16(skb, TCA_SKBEDIT_PTYPE, params->ptype)) in tcf_skbedit_dump()
373 entry->ptype = tcf_skbedit_ptype(act); in tcf_skbedit_offload_act_setup()
/Linux-v6.1/net/8021q/
Dvlan_core.c460 const struct packet_offload *ptype; in vlan_gro_receive() local
476 ptype = gro_find_receive_by_type(type); in vlan_gro_receive()
477 if (!ptype) in vlan_gro_receive()
496 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, in vlan_gro_receive()
510 struct packet_offload *ptype; in vlan_gro_complete() local
513 ptype = gro_find_complete_by_type(type); in vlan_gro_complete()
514 if (ptype) in vlan_gro_complete()
515 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, in vlan_gro_complete()
/Linux-v6.1/net/nfc/
Dllcp_core.c733 u8 ptype = nfc_llcp_ptype(skb); in nfc_llcp_tx_work() local
740 if (ptype == LLCP_PDU_I) in nfc_llcp_tx_work()
756 if (ptype == LLCP_PDU_I && copy_skb) in nfc_llcp_tx_work()
1024 u8 dsap, ssap, ptype, ns, nr; in nfc_llcp_recv_hdlc() local
1026 ptype = nfc_llcp_ptype(skb); in nfc_llcp_recv_hdlc()
1048 if (ptype == LLCP_PDU_I) { in nfc_llcp_recv_hdlc()
1094 if (ptype == LLCP_PDU_RR) in nfc_llcp_recv_hdlc()
1096 else if (ptype == LLCP_PDU_RNR) in nfc_llcp_recv_hdlc()
1099 if (nfc_llcp_queue_i_frames(llcp_sock) == 0 && ptype == LLCP_PDU_I) in nfc_llcp_recv_hdlc()
1360 u8 ptype; in nfc_llcp_recv_agf() local
[all …]
/Linux-v6.1/include/linux/
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-v6.1/scripts/kconfig/
Dgconf.c705 enum prop_type ptype; in on_back_clicked() local
708 ptype = current->prompt ? current->prompt->type : P_UNKNOWN; in on_back_clicked()
709 if (ptype != P_MENU) in on_back_clicked()
905 enum prop_type ptype; in on_treeview2_button_press_event() local
906 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in on_treeview2_button_press_event()
908 if (ptype == P_MENU && view_mode != FULL_VIEW && col == COL_OPTION) { in on_treeview2_button_press_event()
1040 enum prop_type ptype; in fill_row() local
1047 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in fill_row()
1051 ptype == P_COMMENT ? "***" : "", in fill_row()
1053 ptype == P_COMMENT ? "***" : "", in fill_row()
[all …]
/Linux-v6.1/drivers/acpi/nfit/
Dintel.c53 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()
149 enum nvdimm_passphrase_type ptype) in intel_security_change_key() argument
152 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_change_key()
278 enum nvdimm_passphrase_type ptype) in intel_security_erase() argument
282 unsigned int cmd = ptype == NVDIMM_MASTER ? in intel_security_erase()
/Linux-v6.1/drivers/net/ethernet/intel/iavf/
Diavf_prototype.h56 static inline struct iavf_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype) in decode_rx_desc_ptype() argument
58 return iavf_ptype_lookup[ptype]; in decode_rx_desc_ptype()

12345