Lines Matching refs:dest
795 _cleanup_(sd_device_unrefp) sd_device *dest = NULL; in device_shallow_clone()
802 r = device_new_aux(&dest); in device_shallow_clone()
806 r = device_set_syspath(dest, device->syspath, false); in device_shallow_clone()
811 r = device_set_subsystem(dest, val); in device_shallow_clone()
815 r = free_and_strdup(&dest->driver_subsystem, device->driver_subsystem); in device_shallow_clone()
824 r = device_set_ifindex(dest, val); in device_shallow_clone()
833 r = device_set_devnum(dest, val, minor); in device_shallow_clone()
838 r = device_read_uevent_file(dest); in device_shallow_clone()
842 *ret = TAKE_PTR(dest); in device_shallow_clone()
847 _cleanup_(sd_device_unrefp) sd_device *dest = NULL; in device_clone_with_db()
853 r = device_shallow_clone(device, &dest); in device_clone_with_db()
857 r = device_read_db(dest); in device_clone_with_db()
861 dest->sealed = true; in device_clone_with_db()
863 *ret = TAKE_PTR(dest); in device_clone_with_db()