Searched refs:orig_sz (Results 1 – 3 of 3) sorted by relevance
/tools/lib/bpf/ |
D | relo_core.h | 65 __u32 orig_sz; member
|
D | relo_core.c | 893 res->orig_sz = res->new_sz = 0; in bpf_core_calc_relo() 898 &res->orig_val, &res->orig_sz, in bpf_core_calc_relo() 910 if (res->orig_sz != res->new_sz) { in bpf_core_calc_relo() 1092 if (res->new_sz != res->orig_sz) { in bpf_core_patch_insn() 1096 if (insn_bytes_sz != res->orig_sz) { in bpf_core_patch_insn() 1098 prog_name, relo_idx, insn_idx, insn_bytes_sz, res->orig_sz); in bpf_core_patch_insn() 1111 prog_name, relo_idx, insn_idx, res->orig_sz, res->new_sz); in bpf_core_patch_insn()
|
D | libbpf.c | 7068 char *orig, size_t orig_sz, const char *patch) in patch_log() argument 7071 size_t rem_sz = (buf + log_sz) - (orig + orig_sz); in patch_log() 7074 if (patch_sz != orig_sz) { in patch_log() 7087 if (patch_sz > orig_sz) { in patch_log() 7092 } else if (patch_sz - orig_sz > buf_sz - log_sz) { in patch_log() 7094 rem_sz -= (patch_sz - orig_sz) - (buf_sz - log_sz); in patch_log() 7098 memmove(orig + patch_sz, orig + orig_sz, rem_sz); in patch_log()
|