Searched refs:new_slot (Results 1 – 1 of 1) sorted by relevance
440 struct bt_mesh_dfu_slot *new_slot = bt_mesh_dfu_slot_reserve(); in slot_reserve_and_set() local442 if (!new_slot) { in slot_reserve_and_set()447 int err = bt_mesh_dfu_slot_fwid_set(new_slot, fwid, fwid_len); in slot_reserve_and_set()453 err = bt_mesh_dfu_slot_info_set(new_slot, size, metadata, metadata_len); in slot_reserve_and_set()459 return new_slot; in slot_reserve_and_set()464 struct bt_mesh_dfu_slot *new_slot; in slot_add() local473 new_slot = slot_reserve_and_set(size, fwid, fwid_len, metadata, metadata_len); in slot_add()474 if (!new_slot) { in slot_add()478 if (bt_mesh_dfu_slot_commit(new_slot) != 0) { in slot_add()483 *slot = new_slot; in slot_add()