Lines Matching refs:split
243 static void split_entry(struct jitentry * split, struct jitentry const * keep) in split_entry() argument
247 unsigned long long end_addr_split = split->vma + split->code_size; in split_entry()
248 unsigned long long start_addr_split = split->vma; in split_entry()
257 if (strlen(split->symbol_name) > SIZE_MAX - 3) { in split_entry()
261 s = xmalloc(strlen(split->symbol_name) + 3); in split_entry()
262 strcpy(s, split->symbol_name); in split_entry()
270 new_entry->life_start = split->life_start; in split_entry()
271 new_entry->life_end = split->life_end; in split_entry()
286 if (strlen(split->symbol_name) > SIZE_MAX - 3) { in split_entry()
290 s = xmalloc(strlen(split->symbol_name) + 3); in split_entry()
291 strcpy(s, split->symbol_name); in split_entry()
295 split->code_size = start_addr_keep - start_addr_split; in split_entry()
296 if (split->sym_name_malloced) in split_entry()
297 free(split->symbol_name); in split_entry()
298 split->symbol_name = s; in split_entry()
299 split->sym_name_malloced = 1; in split_entry()
301 split->symbol_name, split->vma, in split_entry()
302 split->vma + split->code_size); in split_entry()
304 invalidate_entry(split); in split_entry()