Lines Matching refs:id_offs
127 static void stack_map_get_build_id_offset(struct bpf_stack_build_id *id_offs, in stack_map_get_build_id_offset() argument
144 id_offs[i].status = BPF_STACK_BUILD_ID_IP; in stack_map_get_build_id_offset()
145 id_offs[i].ip = ips[i]; in stack_map_get_build_id_offset()
146 memset(id_offs[i].build_id, 0, BUILD_ID_SIZE_MAX); in stack_map_get_build_id_offset()
154 memcpy(id_offs[i].build_id, prev_build_id, in stack_map_get_build_id_offset()
159 if (!vma || build_id_parse(vma, id_offs[i].build_id, NULL)) { in stack_map_get_build_id_offset()
161 id_offs[i].status = BPF_STACK_BUILD_ID_IP; in stack_map_get_build_id_offset()
162 id_offs[i].ip = ips[i]; in stack_map_get_build_id_offset()
163 memset(id_offs[i].build_id, 0, BUILD_ID_SIZE_MAX); in stack_map_get_build_id_offset()
167 id_offs[i].offset = (vma->vm_pgoff << PAGE_SHIFT) + ips[i] in stack_map_get_build_id_offset()
169 id_offs[i].status = BPF_STACK_BUILD_ID_VALID; in stack_map_get_build_id_offset()
171 prev_build_id = id_offs[i].build_id; in stack_map_get_build_id_offset()