Searched refs:patch_sz (Results 1 – 1 of 1) sorted by relevance
6892 size_t patch_sz = strlen(patch); in patch_log() local6894 if (patch_sz != orig_sz) { in patch_log()6907 if (patch_sz > orig_sz) { in patch_log()6908 if (orig + patch_sz >= buf + buf_sz) { in patch_log()6910 patch_sz -= (orig + patch_sz) - (buf + buf_sz) + 1; in patch_log()6912 } else if (patch_sz - orig_sz > buf_sz - log_sz) { in patch_log()6914 rem_sz -= (patch_sz - orig_sz) - (buf_sz - log_sz); in patch_log()6918 memmove(orig + patch_sz, orig + orig_sz, rem_sz); in patch_log()6921 memcpy(orig, patch, patch_sz); in patch_log()