Lines Matching refs:tpid
356 get_var_kill_data(struct pt_regs* ctx, int spid, int tpid, int sig)
371 kill_data->kill_target_pid = tpid;
378 static INLINE int trace_var_sys_kill(void* ctx, int tpid, int sig)
384 struct var_kill_data_arr_t* arr_struct = bpf_map_lookup_elem(&var_tpid_to_data, &tpid);
387 struct var_kill_data_t* kill_data = get_var_kill_data(ctx, spid, tpid, sig);
402 get_var_kill_data(ctx, spid, tpid, sig);
413 bpf_map_update_elem(&var_tpid_to_data, &tpid,
434 get_var_kill_data(ctx, spid, tpid, sig);
442 bpf_map_update_elem(&var_tpid_to_data, &tpid, arr_struct, 0);
621 u32 tpid = get_userspace_pid();
623 struct var_kill_data_arr_t* arr_struct = bpf_map_lookup_elem(&var_tpid_to_data, &tpid);
638 if (past_kill_data != NULL && past_kill_data->kill_target_pid == (pid_t)tpid) {
673 bpf_map_delete_elem(&var_tpid_to_data, &tpid);