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

/linux-master/tools/lib/bpf/
H A Dlibbpf.c7506 size_t patch_sz = strlen(patch); local
7508 if (patch_sz != orig_sz) {
7510 * shift log contents by (patch_sz - orig_sz) bytes to the right
7514 * shift log contents by (orig_sz - patch_sz) bytes to the left
7521 if (patch_sz > orig_sz) {
7522 if (orig + patch_sz >= buf + buf_sz) {
7524 patch_sz -= (orig + patch_sz) - (buf + buf_sz) + 1;
7526 } else if (patch_sz - orig_sz > buf_sz - log_sz) {
7528 rem_sz -= (patch_sz
[all...]

Completed in 262 milliseconds