Lines Matching refs:new_cmdline
836 char* new_cmdline = avb_calloc(new_size); in load_and_verify_vbmeta() local
837 if (new_cmdline == NULL) { in load_and_verify_vbmeta()
841 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta()
842 new_cmdline[orig_size] = ' '; in load_and_verify_vbmeta()
843 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta()
847 slot_data->cmdline = new_cmdline; in load_and_verify_vbmeta()
962 char* new_cmdline; in cmdline_append_option() local
975 new_cmdline = avb_calloc(offset + key_len + value_len + 2); in cmdline_append_option()
976 if (new_cmdline == NULL) { in cmdline_append_option()
980 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option()
981 new_cmdline[offset - 1] = ' '; in cmdline_append_option()
983 avb_memcpy(new_cmdline + offset, key, key_len); in cmdline_append_option()
984 new_cmdline[offset + key_len] = '='; in cmdline_append_option()
985 avb_memcpy(new_cmdline + offset + key_len + 1, value, value_len); in cmdline_append_option()
989 slot_data->cmdline = new_cmdline; in cmdline_append_option()
1360 char* new_cmdline; in avb_slot_verify() local
1361 new_cmdline = sub_cmdline( in avb_slot_verify()
1363 if (new_cmdline == NULL) { in avb_slot_verify()
1368 slot_data->cmdline = new_cmdline; in avb_slot_verify()