/Linux-v5.15/tools/testing/selftests/bpf/progs/ |
D | test_skmsg_load_helpers.c | 32 __u32 pid, tpid; in prog_msg_verdict() local 40 bpf_probe_read_kernel(&tpid , sizeof(tpid), &task->tgid); in prog_msg_verdict() 41 if (pid != tpid) in prog_msg_verdict()
|
D | test_skb_helpers.c | 22 __u32 tpid; in test_skb_helpers() local 25 bpf_probe_read_kernel(&tpid , sizeof(tpid), &task->tgid); in test_skb_helpers()
|
D | profiler.inc.h | 359 get_var_kill_data(struct pt_regs* ctx, int spid, int tpid, int sig) in get_var_kill_data() argument 374 kill_data->kill_target_pid = tpid; in get_var_kill_data() 381 static INLINE int trace_var_sys_kill(void* ctx, int tpid, int sig) in trace_var_sys_kill() argument 387 struct var_kill_data_arr_t* arr_struct = bpf_map_lookup_elem(&var_tpid_to_data, &tpid); in trace_var_sys_kill() 390 struct var_kill_data_t* kill_data = get_var_kill_data(ctx, spid, tpid, sig); in trace_var_sys_kill() 404 get_var_kill_data(ctx, spid, tpid, sig); in trace_var_sys_kill() 414 bpf_map_update_elem(&var_tpid_to_data, &tpid, in trace_var_sys_kill() 435 get_var_kill_data(ctx, spid, tpid, sig); in trace_var_sys_kill() 443 bpf_map_update_elem(&var_tpid_to_data, &tpid, arr_struct, 0); in trace_var_sys_kill() 623 u32 tpid = get_userspace_pid(); in raw_tracepoint__sched_process_exit() local [all …]
|
/Linux-v5.15/tools/thermal/tmon/ |
D | sysfs.c | 121 static int get_trip_point_data(char *tz_path, int tzid, int tpid) in get_trip_point_data() argument 127 if (tpid >= MAX_NR_TRIP) in get_trip_point_data() 130 snprintf(filename, sizeof(filename), "trip_point_%d_type", tpid); in get_trip_point_data() 137 ptdata.tzi[tzid].tp[tpid].type = trip_type; in get_trip_point_data() 139 tpid, temp_str, trip_type); in get_trip_point_data()
|
/Linux-v5.15/net/openvswitch/ |
D | flow.c | 310 if (likely(!eth_type_vlan(vh->tpid))) in parse_vlan_tag() 322 key_vh->tpid = vh->tpid; in parse_vlan_tag() 334 __vlan_hwaccel_put_tag(skb, key_vh->tpid, tci); in parse_vlan_tag() 344 key->eth.vlan.tpid = 0; in clear_vlan() 346 key->eth.cvlan.tpid = 0; in clear_vlan() 355 key->eth.vlan.tpid = skb->vlan_proto; in parse_vlan() 808 skb->protocol = key->eth.cvlan.tpid; in key_extract()
|
D | flow.h | 49 __be16 tpid; /* Vlan type. Generally 802.1q or 802.1ad.*/ member
|
D | flow_netlink.c | 967 __be16 tpid = 0; in encode_vlan_from_nlattrs() local 973 tpid = nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE]); in encode_vlan_from_nlattrs() 976 SW_FLOW_KEY_PUT(match, eth.vlan.tpid, tpid, is_mask); in encode_vlan_from_nlattrs() 979 SW_FLOW_KEY_PUT(match, eth.cvlan.tpid, tpid, is_mask); in encode_vlan_from_nlattrs() 1028 __be16 tpid = 0; in validate_vlan_mask_from_nlattrs() local 1049 tpid = nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE]); in validate_vlan_mask_from_nlattrs() 1051 if (tpid != htons(0xffff)) { in validate_vlan_mask_from_nlattrs() 1053 (inner) ? "C-VLAN" : "VLAN", ntohs(tpid)); in validate_vlan_mask_from_nlattrs() 1951 __be16 eth_type = !is_mask ? vh->tpid : htons(0xffff); in ovs_nla_put_vlan()
|
D | actions.c | 225 key->eth.vlan.tpid = 0; in pop_vlan() 237 key->eth.vlan.tpid = vlan->vlan_tpid; in push_vlan()
|
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | nv50.c | 282 nv50_gr_mp_trap(struct nv50_gr *gr, int tpid, int display) in nv50_gr_mp_trap() argument 295 addr = 0x408200 + (tpid << 12) + (i << 7); in nv50_gr_mp_trap() 297 addr = 0x408100 + (tpid << 11) + (i << 7); in nv50_gr_mp_trap() 312 tpid, i, status, msg, pc & 0xffffff, in nv50_gr_mp_trap() 321 "No MPs claiming errors?\n", tpid); in nv50_gr_mp_trap()
|
/Linux-v5.15/include/linux/dsa/ |
D | 8021q.h | 34 u16 tpid, u16 tci);
|
/Linux-v5.15/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 153 enum ocelot_tag_tpid_sel tpid; in ocelot_flower_parse_action() local 331 tpid = OCELOT_TAG_TPID_SEL_8021Q; in ocelot_flower_parse_action() 334 tpid = OCELOT_TAG_TPID_SEL_8021AD; in ocelot_flower_parse_action() 341 filter->action.tag_a_tpid_sel = tpid; in ocelot_flower_parse_action()
|
/Linux-v5.15/net/dsa/ |
D | tag_sja1105.c | 445 u16 tpid = ntohs(eth_hdr(skb)->h_proto); in sja1105_skb_has_tag_8021q() local 447 return tpid == ETH_P_SJA1105 || tpid == ETH_P_8021Q || in sja1105_skb_has_tag_8021q()
|
D | tag_8021q.c | 567 u16 tpid, u16 tci) in dsa_8021q_xmit() argument 572 return vlan_insert_tag(skb, htons(tpid), tci); in dsa_8021q_xmit()
|
/Linux-v5.15/fs/proc/ |
D | array.c | 150 pid_t ppid, tpid = 0, tgid, ngid; in task_state() local 159 tpid = task_pid_nr_ns(tracer, ns); in task_state() 182 seq_put_decimal_ull(m, "\nTracerPid:\t", tpid); in task_state()
|
/Linux-v5.15/drivers/net/ethernet/qlogic/qed/ |
D | qed_sp_commands.c | 344 outer_tag_config->outer_tag.tpid = cpu_to_le16(ETH_P_8021Q); in qed_sp_pf_start() 346 outer_tag_config->outer_tag.tpid = cpu_to_le16(ETH_P_8021AD); in qed_sp_pf_start()
|
D | qed_hsi.h | 1106 __le16 tpid; member
|
/Linux-v5.15/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 208 temp_bd.ext.tpid = 0; /* < C-TAG */ in enetc_map_tx_buffs() 731 __be16 tpid = 0; in enetc_get_offloads() local 735 tpid = htons(ETH_P_8021Q); in enetc_get_offloads() 738 tpid = htons(ETH_P_8021AD); in enetc_get_offloads() 741 tpid = htons(enetc_port_rd(&priv->si->hw, in enetc_get_offloads() 745 tpid = htons(enetc_port_rd(&priv->si->hw, in enetc_get_offloads() 752 __vlan_hwaccel_put_tag(skb, tpid, le16_to_cpu(rxbd->r.vlan_opt)); in enetc_get_offloads()
|
D | enetc_hw.h | 523 __le16 tpid; member
|
/Linux-v5.15/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_prs.c | 661 static int mvpp2_prs_vlan_find(struct mvpp2 *priv, unsigned short tpid, int ai) in mvpp2_prs_vlan_find() argument 677 match = mvpp2_prs_tcam_data_cmp(&pe, 0, tpid); in mvpp2_prs_vlan_find() 702 static int mvpp2_prs_vlan_add(struct mvpp2 *priv, unsigned short tpid, int ai, in mvpp2_prs_vlan_add() argument 711 tid = mvpp2_prs_vlan_find(priv, tpid, ai); in mvpp2_prs_vlan_add() 743 mvpp2_prs_match_etype(&pe, 0, tpid); in mvpp2_prs_vlan_add()
|
/Linux-v5.15/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 873 .tpid = ETH_P_SJA1105, in sja1105_init_general_params() 2277 u16 tpid, tpid2; in sja1105_vlan_filtering() local 2290 tpid = ETH_P_8021Q; in sja1105_vlan_filtering() 2294 tpid = ETH_P_SJA1105; in sja1105_vlan_filtering() 2306 general_params->tpid = tpid; in sja1105_vlan_filtering()
|
D | sja1105_static_config.h | 208 u64 tpid; member
|
D | sja1105_static_config.c | 140 sja1105_packing(buf, &entry->tpid, 42, 27, size, op); in sja1105et_general_params_entry_packing() 174 sja1105_packing(buf, &entry->tpid, 57, 42, size, op); in sja1105pqrs_general_params_entry_packing() 208 sja1105_packing(buf, &entry->tpid, 142, 127, size, op); in sja1110_general_params_entry_packing()
|
/Linux-v5.15/kernel/trace/ |
D | trace.c | 2404 unsigned tpid, idx; in trace_save_cmdline() local 2410 tpid = tsk->pid & (PID_MAX_DEFAULT - 1); in trace_save_cmdline() 2421 idx = savedcmd->map_pid_to_cmdline[tpid]; in trace_save_cmdline() 2425 savedcmd->map_pid_to_cmdline[tpid] = idx; in trace_save_cmdline() 2440 int tpid; in __trace_find_cmdline() local 2452 tpid = pid & (PID_MAX_DEFAULT - 1); in __trace_find_cmdline() 2453 map = savedcmd->map_pid_to_cmdline[tpid]; in __trace_find_cmdline() 2455 tpid = savedcmd->map_cmdline_to_pid[map]; in __trace_find_cmdline() 2456 if (tpid == pid) { in __trace_find_cmdline()
|
/Linux-v5.15/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 3269 u16 tpid; in bnxt_re_is_vlan_pkt() local 3274 tpid = ((metadata & in bnxt_re_is_vlan_pkt() 3277 if (tpid == ETH_P_8021Q) { in bnxt_re_is_vlan_pkt()
|
/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 1942 __be16 tpid; member
|