Searched refs:new_str (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/platform/x86/hp/hp-bioscfg/ |
D | bioscfg.c | 438 char *new_str = NULL; in hp_convert_hexstr_to_str() local 448 new_str = kmalloc(input_len, GFP_KERNEL); in hp_convert_hexstr_to_str() 449 if (!new_str) in hp_convert_hexstr_to_str() 465 new_str[new_len++] = '\\'; in hp_convert_hexstr_to_str() 467 new_str[new_len++] = ch; in hp_convert_hexstr_to_str() 474 new_str[new_len] = '\0'; in hp_convert_hexstr_to_str() 475 *str = krealloc(new_str, (new_len + 1) * sizeof(char), in hp_convert_hexstr_to_str() 486 kfree(new_str); in hp_convert_hexstr_to_str()
|
/linux-6.6.21/tools/perf/util/ |
D | pmu.c | 438 const char *new_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() 451 *old_str = strdup(new_str); in assign_str()
|
/linux-6.6.21/scripts/kconfig/ |
D | nconf.c | 579 char new_str[256]; in item_add_str() local 586 vsnprintf(new_str, sizeof(new_str), fmt, ap); in item_add_str() 589 k_menu_items[index].str, new_str); in item_add_str()
|