Searched refs:patch_sz (Results 1 – 1 of 1) sorted by relevance
7068 size_t patch_sz = strlen(patch); in patch_log() local7070 if (patch_sz != orig_sz) { in patch_log()7083 if (patch_sz > orig_sz) { in patch_log()7084 if (orig + patch_sz >= buf + buf_sz) { in patch_log()7086 patch_sz -= (orig + patch_sz) - (buf + buf_sz) + 1; in patch_log()7088 } else if (patch_sz - orig_sz > buf_sz - log_sz) { in patch_log()7090 rem_sz -= (patch_sz - orig_sz) - (buf_sz - log_sz); in patch_log()7094 memmove(orig + patch_sz, orig + orig_sz, rem_sz); in patch_log()7097 memcpy(orig, patch, patch_sz); in patch_log()