/linux-master/include/uapi/linux/tc_act/ |
H A D | tc_gact.h | 18 __u16 ptype; member in struct:tc_gact_p
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | ptype.c | 15 if (act->ptype != PACKET_HOST) { 16 NL_SET_ERR_MSG_MOD(extack, "skbedit ptype is only supported with type host");
|
/linux-master/net/core/ |
H A D | gso.c | 17 struct packet_offload *ptype; local 20 list_for_each_entry_rcu(ptype, &net_hotdata.offload_base, list) { 21 if (ptype->type == type && ptype->callbacks.gso_segment) { 22 segs = ptype->callbacks.gso_segment(skb, features); 41 struct packet_offload *ptype; local 51 list_for_each_entry_rcu(ptype, &net_hotdata.offload_base, list) { 52 if (ptype->type == type && ptype->callbacks.gso_segment) { 53 segs = ptype [all...] |
H A D | gro.c | 237 struct packet_offload *ptype; local 249 list_for_each_entry_rcu(ptype, head, list) { 250 if (ptype->type != type || !ptype->callbacks.gro_complete) 253 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete, 261 WARN_ON(&ptype->list == head); 446 struct packet_offload *ptype; local 458 list_for_each_entry_rcu(ptype, head, list) { 459 if (ptype->type == type && ptype 552 struct packet_offload *ptype; local 566 struct packet_offload *ptype; local [all...] |
/linux-master/include/linux/ |
H A D | bpf-netns.h | 33 int netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype); 50 enum bpf_prog_type ptype) 49 netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype) argument
|
/linux-master/include/net/tc_act/ |
H A D | tc_skbedit.h | 21 u16 ptype; member in struct:tcf_skbedit_params 64 /* Return true iff action is ptype */ 72 u16 ptype; local 75 ptype = rcu_dereference(to_skbedit(a)->params)->ptype; 78 return ptype;
|
/linux-master/fs/affs/ |
H A D | amigaffs.h | 51 __be32 ptype; member in struct:affs_root_head 77 __be32 ptype; member in struct:affs_head 107 __be32 ptype; member in struct:slink_front 116 __be32 ptype; member in struct:affs_data_head
|
/linux-master/drivers/cxl/ |
H A D | security.c | 13 enum nvdimm_passphrase_type ptype) 40 if (ptype == NVDIMM_MASTER) { 69 enum nvdimm_passphrase_type ptype) 78 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : 95 enum nvdimm_passphrase_type ptype) 104 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : 168 enum nvdimm_passphrase_type ptype) 178 .type = ptype == NVDIMM_MASTER ? CXL_PMEM_SEC_PASS_MASTER : 12 cxl_pmem_get_security_flags(struct nvdimm *nvdimm, enum nvdimm_passphrase_type ptype) argument 66 cxl_pmem_security_change_key(struct nvdimm *nvdimm, const struct nvdimm_key_data *old_data, const struct nvdimm_key_data *new_data, enum nvdimm_passphrase_type ptype) argument 93 __cxl_pmem_security_disable(struct nvdimm *nvdimm, const struct nvdimm_key_data *key_data, enum nvdimm_passphrase_type ptype) argument 166 cxl_pmem_security_passphrase_erase(struct nvdimm *nvdimm, const struct nvdimm_key_data *key, enum nvdimm_passphrase_type ptype) argument
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_prototype.h | 50 static inline struct iavf_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype) argument 52 return iavf_ptype_lookup[ptype];
|
/linux-master/net/ipv4/ |
H A D | gre_offload.c | 131 struct packet_offload *ptype; local 164 ptype = gro_find_receive_by_type(type); 165 if (!ptype) 227 pp = call_gro_receive(ptype->callbacks.gro_receive, head, skb); 239 struct packet_offload *ptype; local 254 ptype = gro_find_complete_by_type(type); 255 if (ptype) 256 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen);
|
/linux-master/kernel/trace/ |
H A D | trace_probe.h | 188 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, str, _fmttype) \ 193 .print = PRINT_TYPE_FUNC_NAME(ptype), \ 194 .fmt = PRINT_TYPE_FMT_NAME(ptype), \ 199 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ 200 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, 0, #_fmttype) 201 #define ASSIGN_FETCH_TYPE(ptype, ftype, sign) \ 202 _ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, ptype) 204 /* If ptype i [all...] |
/linux-master/drivers/acpi/dptf/ |
H A D | dptf_power.c | 123 unsigned long long ptype; local 126 status = acpi_evaluate_integer(handle, "PTYP", NULL, &ptype); 130 return ptype; 176 unsigned long long ptype; local 183 ptype = dptf_participant_type(acpi_dev->handle); 184 if (ptype == 0x11) 186 else if (ptype == 0x0C)
|
H A D | dptf_pch_fivr.c | 122 unsigned long long ptype; local 130 status = acpi_evaluate_integer(acpi_dev->handle, "PTYP", NULL, &ptype); 131 if (ACPI_FAILURE(status) || ptype != 0x05)
|
/linux-master/include/uapi/linux/netfilter_bridge/ |
H A D | ebt_arp.h | 24 __be16 ptype; member in struct:ebt_arp_info
|
/linux-master/include/net/ |
H A D | arp.h | 62 void arp_send(int type, int ptype, __be32 dest_ip, 70 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
|
/linux-master/drivers/media/platform/qcom/venus/ |
H A D | venc.c | 675 u32 ptype, rate_control, bitrate; local 683 ptype = HFI_PROPERTY_CONFIG_FRAME_RATE; 687 ret = hfi_session_set_property(inst, ptype, &frate); 697 ptype = HFI_PROPERTY_PARAM_VENC_H264_VUI_TIMING_INFO; 702 ret = hfi_session_set_property(inst, ptype, &info); 706 ptype = HFI_PROPERTY_PARAM_VENC_H264_ENTROPY_CONTROL; 712 ret = hfi_session_set_property(inst, ptype, &entropy); 716 ptype = HFI_PROPERTY_PARAM_VENC_H264_DEBLOCK_CONTROL; 723 ret = hfi_session_set_property(inst, ptype, &deblock); 727 ptype [all...] |
H A D | venc_ctrls.c | 79 u32 ptype; local 90 ptype = HFI_PROPERTY_CONFIG_VENC_TARGET_BITRATE; 94 ret = hfi_session_set_property(inst, ptype, &brate); 221 ptype = HFI_PROPERTY_CONFIG_VENC_SYNC_FRAME_SEQUENCE_HEADER; 222 ret = hfi_session_set_property(inst, ptype, &en); 258 ptype = HFI_PROPERTY_CONFIG_VENC_REQUEST_SYNC_FRAME; 259 ret = hfi_session_set_property(inst, ptype, &en); 289 ptype = HFI_PROPERTY_CONFIG_VENC_MARKLTRFRAME; 291 ret = hfi_session_set_property(inst, ptype, <r_mark); 302 ptype [all...] |
H A D | helpers.c | 670 u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; local 688 ret = hfi_session_get_property(inst, ptype, &hprop); 920 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; local 924 ret = hfi_session_get_property(inst, ptype, &hprop); 936 const u32 ptype = HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT; local 941 return hfi_session_set_property(inst, ptype, &pl); 1126 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; local 1133 return hfi_session_set_property(inst, ptype, &fs); 1141 u32 ptype = HFI_PROPERTY_PARAM_FRAME_SIZE; local 1148 return hfi_session_set_property(inst, ptype, 1176 const u32 ptype = HFI_PROPERTY_PARAM_WORK_MODE; local 1191 const u32 ptype = HFI_PROPERTY_PARAM_UNCOMPRESSED_PLANE_ACTUAL_CONSTRAINTS_INFO; local 1221 u32 ptype = HFI_PROPERTY_PARAM_BUFFER_COUNT_ACTUAL; local 1253 const u32 ptype = HFI_PROPERTY_PARAM_UNCOMPRESSED_FORMAT_SELECT; local 1286 u32 ptype = HFI_PROPERTY_PARAM_VDEC_MULTI_STREAM; local 1305 const u32 ptype = HFI_PROPERTY_PARAM_BUFFER_ALLOC_MODE; local 1327 const u32 ptype = HFI_PROPERTY_PARAM_BUFFER_SIZE_ACTUAL; local 1843 const u32 ptype = HFI_PROPERTY_PARAM_UNCOMPRESSED_PLANE_ACTUAL_INFO; local [all...] |
H A D | hfi_cmds.c | 391 void *cookie, u32 ptype) 393 switch (ptype) { 405 pkt->data[0] = ptype; 411 void *cookie, u32 ptype, void *pdata) 425 pkt->data[0] = ptype; 427 switch (ptype) { 1099 void *cookie, u32 ptype) 1111 switch (ptype) { 1116 ret = pkt_session_get_property_1x(pkt, cookie, ptype); 1125 void *cookie, u32 ptype, voi 390 pkt_session_get_property_1x(struct hfi_session_get_property_pkt *pkt, void *cookie, u32 ptype) argument 410 pkt_session_set_property_1x(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) argument 1098 pkt_session_get_property_3xx(struct hfi_session_get_property_pkt *pkt, void *cookie, u32 ptype) argument 1124 pkt_session_set_property_3xx(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) argument 1189 pkt_session_set_property_4xx(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) argument 1300 pkt_session_set_property_6xx(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) argument 1351 pkt_session_get_property(struct hfi_session_get_property_pkt *pkt, void *cookie, u32 ptype) argument 1360 pkt_session_set_property(struct hfi_session_set_property_pkt *pkt, void *cookie, u32 ptype, void *pdata) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx_lib.c | 43 * @ptype: the ptype value from the descriptor 49 static enum pkt_hash_types ice_ptype_to_htype(u16 ptype) argument 51 struct ice_rx_ptype_decoded decoded = ice_decode_rx_desc_ptype(ptype); 87 * @rx_ptype: the ptype value from the descriptor 109 * @ptype: the packet type decoded by hardware 115 union ice_32b_rx_flex_desc *rx_desc, u16 ptype) 124 decoded = ice_decode_rx_desc_ptype(ptype); 234 u16 ptype = ice_get_ptype(rx_desc); local 236 ice_rx_hash_to_skb(rx_ring, rx_desc, skb, ptype); 114 ice_rx_csum(struct ice_rx_ring *ring, struct sk_buff *skb, union ice_32b_rx_flex_desc *rx_desc, u16 ptype) argument 573 u16 ptype = ice_get_ptype(eop_desc); local [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb.c | 203 u8 *ptype) 209 ptype[tc] = tc_config[tc].path[direction].prio_type; 254 u8 ptype[MAX_TRAFFIC_CLASS]; local 265 ixgbe_dcb_unpack_prio(dcb_config, DCB_TX_CONFIG, ptype); 271 bwgid, ptype); 278 bwgid, ptype, prio_tc); 202 ixgbe_dcb_unpack_prio(struct ixgbe_dcb_config *cfg, int direction, u8 *ptype) argument
|
/linux-master/net/sched/ |
H A D | act_gact.c | 90 if (p_parm->ptype >= MAX_RAND) 135 gact->tcfg_ptype = p_parm->ptype; 158 u32 ptype = READ_ONCE(gact->tcfg_ptype); local 160 if (ptype) 161 action = gact_rand[ptype](gact); 206 .ptype = gact->tcfg_ptype,
|
H A D | act_skbedit.c | 87 skb->pkt_type = params->ptype; 130 u16 *queue_mapping = NULL, *ptype = NULL; local 163 ptype = nla_data(tb[TCA_SKBEDIT_PTYPE]); 164 if (!skb_pkt_type_ok(*ptype)) 259 params_new->ptype = *ptype; 315 nla_put_u16(skb, TCA_SKBEDIT_PTYPE, params->ptype)) 380 entry->ptype = tcf_skbedit_ptype(act);
|
/linux-master/net/8021q/ |
H A D | vlan_core.c | 467 const struct packet_offload *ptype; local 483 ptype = gro_find_receive_by_type(type); 484 if (!ptype) 503 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, 517 struct packet_offload *ptype; local 520 ptype = gro_find_complete_by_type(type); 521 if (ptype) 522 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete,
|
/linux-master/net/ethernet/ |
H A D | eth.c | 397 const struct packet_offload *ptype; local 426 ptype = gro_find_receive_by_type(type); 427 if (ptype == NULL) { 435 pp = indirect_call_gro_receive_inet(ptype->callbacks.gro_receive, 450 struct packet_offload *ptype; local 456 ptype = gro_find_complete_by_type(type); 457 if (ptype != NULL) 458 err = INDIRECT_CALL_INET(ptype->callbacks.gro_complete,
|