Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dcfi.h26 #ifndef cfi_get_offset
33 static inline int cfi_get_offset(void) in cfi_get_offset() function
44 if (get_kernel_nofault(hash, func - cfi_get_offset())) in cfi_get_func_hash()
57 static inline int cfi_get_offset(void) { return 0; } in cfi_get_offset() function
/linux/arch/x86/include/asm/
H A Dcfi.h124 static inline int cfi_get_offset(void) in cfi_get_offset() function
135 #define cfi_get_offset cfi_get_offset macro
/linux/arch/riscv/net/
H A Dbpf_jit_core.c175 prog->bpf_func = (void *)ctx->ro_insns + cfi_get_offset(); in bpf_int_jit_compile()
177 prog->jited_len = prog_size - cfi_get_offset(); in bpf_int_jit_compile()
/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c72 dummy_ops_test_ret_fn test = (void *)image + cfi_get_offset(); in dummy_ops_call_op()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c2220 prog->bpf_func = (void *)ctx.ro_image + cfi_get_offset(); in bpf_int_jit_compile()
2222 prog->jited_len = prog_size - cfi_get_offset(); in bpf_int_jit_compile()
3188 prog->bpf_func = (void *)prog->bpf_func - cfi_get_offset(); in bpf_jit_free()
/linux/arch/x86/net/
H A Dbpf_jit_comp.c3908 prog->bpf_func = (void *)image + cfi_get_offset(); in bpf_int_jit_compile()
3910 prog->jited_len = proglen - cfi_get_offset(); in bpf_int_jit_compile()
3977 prog->bpf_func = (void *)prog->bpf_func - cfi_get_offset(); in bpf_jit_free()
/linux/kernel/bpf/
H A Dbpf_struct_ops.c849 *(void **)(kdata + moff) = image + trampoline_start + cfi_get_offset(); in bpf_struct_ops_map_update_elem()
/linux/arch/x86/kernel/
H A Dalternative.c1215 func -= cfi_get_offset(); in cfi_get_func_hash()