Home
last modified time | relevance | path

Searched refs:patch_sz (Results 1 - 1 of 1) sorted by relevance

/third_party/libbpf/src/
H A Dlibbpf.c7515 size_t patch_sz = strlen(patch); local
7517 if (patch_sz != orig_sz) {
7519 * shift log contents by (patch_sz - orig_sz) bytes to the right
7523 * shift log contents by (orig_sz - patch_sz) bytes to the left
7530 if (patch_sz > orig_sz) {
7531 if (orig + patch_sz >= buf + buf_sz) {
7533 patch_sz -= (orig + patch_sz) - (buf + buf_sz) + 1;
7535 } else if (patch_sz - orig_sz > buf_sz - log_sz) {
7537 rem_sz -= (patch_sz
[all...]

Completed in 13 milliseconds