Searched refs:new_cmdline (Results 1 – 2 of 2) sorted by relevance
687 char* new_cmdline = avb_calloc(new_size); in load_and_verify_vbmeta() local688 if (new_cmdline == NULL) { in load_and_verify_vbmeta()692 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta()693 new_cmdline[orig_size] = ' '; in load_and_verify_vbmeta()694 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta()698 slot_data->cmdline = new_cmdline; in load_and_verify_vbmeta()813 char* new_cmdline; in cmdline_append_option() local826 new_cmdline = avb_calloc(offset + key_len + value_len + 2); in cmdline_append_option()827 if (new_cmdline == NULL) { in cmdline_append_option()831 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option()[all …]
1156 char new_cmdline[1024]; in subst_pcnt_f() local1163 snprintf(new_cmdline, 1024, colle->cmdline, pid_and_counter); in subst_pcnt_f()1164 return strdup(new_cmdline); in subst_pcnt_f()