Lines Matching refs:tpid
361 get_var_kill_data(struct pt_regs* ctx, int spid, int tpid, int sig)
376 kill_data->kill_target_pid = tpid;
383 static INLINE int trace_var_sys_kill(void* ctx, int tpid, int sig)
389 struct var_kill_data_arr_t* arr_struct = bpf_map_lookup_elem(&var_tpid_to_data, &tpid);
392 struct var_kill_data_t* kill_data = get_var_kill_data(ctx, spid, tpid, sig);
407 get_var_kill_data(ctx, spid, tpid, sig);
418 bpf_map_update_elem(&var_tpid_to_data, &tpid,
439 get_var_kill_data(ctx, spid, tpid, sig);
447 bpf_map_update_elem(&var_tpid_to_data, &tpid, arr_struct, 0);
631 u32 tpid = get_userspace_pid();
633 struct var_kill_data_arr_t* arr_struct = bpf_map_lookup_elem(&var_tpid_to_data, &tpid);
648 if (past_kill_data != NULL && past_kill_data->kill_target_pid == tpid) {
687 bpf_map_delete_elem(&var_tpid_to_data, &tpid);