Lines Matching defs:current
511 struct task_struct *current;
514 current = bpf_get_current_task_btf();
515 if (!current)
517 v = bpf_task_storage_get(&task_ls_map, current, NULL, 0);
520 v = bpf_task_storage_get(&task_ls_map, current, NULL, BPF_LOCAL_STORAGE_GET_F_CREATE);
529 struct task_struct *current;
532 current = bpf_get_current_task_btf();
533 if (!current)
535 v = bpf_task_storage_get(&task_ls_map, current, NULL, 0);
544 struct task_struct *current;
547 current = bpf_get_current_task_btf();
548 if (!current)
550 v = bpf_task_storage_get(&task_ls_map, current, NULL, 0);
555 return bpf_task_storage_delete(&task_ls_map, current);