Searched refs:old_str (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/tools/perf/util/ |
D | pmu.c | 437 static bool assign_str(const char *name, const char *field, char **old_str, in assign_str() argument 440 if (!*old_str && new_str) { in assign_str() 441 *old_str = strdup(new_str); in assign_str() 445 if (!new_str || !strcasecmp(*old_str, new_str)) in assign_str() 449 name, field, *old_str, new_str); in assign_str() 450 zfree(old_str); in assign_str() 451 *old_str = strdup(new_str); in assign_str()
|
/linux-6.6.21/kernel/printk/ |
D | printk.c | 209 char old_str[DEVKMSG_STR_MAX_SIZE]; in devkmsg_sysctl_set_loglvl() local 218 strncpy(old_str, devkmsg_log_str, DEVKMSG_STR_MAX_SIZE); in devkmsg_sysctl_set_loglvl() 236 strncpy(devkmsg_log_str, old_str, DEVKMSG_STR_MAX_SIZE); in devkmsg_sysctl_set_loglvl()
|
/linux-6.6.21/tools/perf/ui/browsers/ |
D | hists.c | 988 char *value_str, char *old_str) in hist_browser__folded_callchain_str() argument 996 if (old_str) { in hist_browser__folded_callchain_str() 997 if (asprintf(&new, "%s%s%s", old_str, in hist_browser__folded_callchain_str()
|