Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Drelo_core.h65 __u32 orig_sz; member
H A Dlibbpf.c8032 char *orig, size_t orig_sz, const char *patch) in fixup_log_failed_core_relo()
8035 size_t rem_sz = (buf + log_sz) - (orig + orig_sz); in fixup_log_failed_core_relo()
8038 if (patch_sz != orig_sz) { in fixup_log_failed_core_relo()
8040 * shift log contents by (patch_sz - orig_sz) bytes to the right in fixup_log_failed_core_relo()
8044 * shift log contents by (orig_sz - patch_sz) bytes to the left in fixup_log_failed_core_relo()
8051 if (patch_sz > orig_sz) {
8056 } else if (patch_sz - orig_sz > buf_sz - log_sz) { in fixup_log_missing_map_load()
8058 rem_sz -= (patch_sz - orig_sz) - (buf_sz - log_sz); in fixup_log_missing_map_load()
8062 memmove(orig + patch_sz, orig + orig_sz, rem_sz); in fixup_log_missing_map_load()
7977 patch_log(char * buf,size_t buf_sz,size_t log_sz,char * orig,size_t orig_sz,const char * patch) patch_log() argument
/linux/drivers/hwtracing/intel_th/
H A Dmsu.c157 u32 orig_sz; member
787 msc->orig_sz = ioread32(msc->reg_base + REG_MSU_MSC0SIZE); in msc_configure()
864 iowrite32(msc->orig_sz, msc->reg_base + REG_MSU_MSC0SIZE); in msc_disable()