Lines Matching refs:tpid
359 get_var_kill_data(struct pt_regs* ctx, int spid, int tpid, int sig)
374 kill_data->kill_target_pid = tpid;
381 static INLINE int trace_var_sys_kill(void* ctx, int tpid, int sig)
387 struct var_kill_data_arr_t* arr_struct = bpf_map_lookup_elem(&var_tpid_to_data, &tpid);
390 struct var_kill_data_t* kill_data = get_var_kill_data(ctx, spid, tpid, sig);
404 get_var_kill_data(ctx, spid, tpid, sig);
414 bpf_map_update_elem(&var_tpid_to_data, &tpid,
435 get_var_kill_data(ctx, spid, tpid, sig);
443 bpf_map_update_elem(&var_tpid_to_data, &tpid, arr_struct, 0);
623 u32 tpid = get_userspace_pid();
625 struct var_kill_data_arr_t* arr_struct = bpf_map_lookup_elem(&var_tpid_to_data, &tpid);
640 if (past_kill_data != NULL && past_kill_data->kill_target_pid == tpid) {
676 bpf_map_delete_elem(&var_tpid_to_data, &tpid);