Home
last modified time | relevance | path

Searched refs:id_offs (Results 1 – 1 of 1) sorted by relevance

/kernel/bpf/
Dstackmap.c288 static void stack_map_get_build_id_offset(struct bpf_stack_build_id *id_offs, in stack_map_get_build_id_offset() argument
317 id_offs[i].status = BPF_STACK_BUILD_ID_IP; in stack_map_get_build_id_offset()
318 id_offs[i].ip = ips[i]; in stack_map_get_build_id_offset()
319 memset(id_offs[i].build_id, 0, BPF_BUILD_ID_SIZE); in stack_map_get_build_id_offset()
326 if (!vma || stack_map_get_build_id(vma, id_offs[i].build_id)) { in stack_map_get_build_id_offset()
328 id_offs[i].status = BPF_STACK_BUILD_ID_IP; in stack_map_get_build_id_offset()
329 id_offs[i].ip = ips[i]; in stack_map_get_build_id_offset()
330 memset(id_offs[i].build_id, 0, BPF_BUILD_ID_SIZE); in stack_map_get_build_id_offset()
333 id_offs[i].offset = (vma->vm_pgoff << PAGE_SHIFT) + ips[i] in stack_map_get_build_id_offset()
335 id_offs[i].status = BPF_STACK_BUILD_ID_VALID; in stack_map_get_build_id_offset()