Lines Matching refs:new_cmdline
687 char* new_cmdline = avb_calloc(new_size); in load_and_verify_vbmeta() local
688 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() local
826 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()
832 new_cmdline[offset - 1] = ' '; in cmdline_append_option()
834 avb_memcpy(new_cmdline + offset, key, key_len); in cmdline_append_option()
835 new_cmdline[offset + key_len] = '='; in cmdline_append_option()
836 avb_memcpy(new_cmdline + offset + key_len + 1, value, value_len); in cmdline_append_option()
840 slot_data->cmdline = new_cmdline; in cmdline_append_option()
1005 char* new_cmdline; in avb_slot_verify() local
1006 new_cmdline = sub_cmdline( in avb_slot_verify()
1008 if (new_cmdline == NULL) { in avb_slot_verify()
1013 slot_data->cmdline = new_cmdline; in avb_slot_verify()