Lines Matching refs:ip
1408 const char *ip, *hd; in home_remove() local
1432 ip = user_record_image_path(h); in home_remove()
1439 assert(ip); in home_remove()
1441 if (stat(ip, &st) < 0) { in home_remove()
1443 return log_error_errno(errno, "Failed to stat() %s: %m", ip); in home_remove()
1447 if (unlink(ip) < 0) { in home_remove()
1449 … return log_error_errno(errno, "Failed to remove %s: %m", ip); in home_remove()
1455 r = path_extract_directory(ip, &parent); in home_remove()
1457 … log_debug_errno(r, "Failed to determine parent directory of '%s': %m", ip); in home_remove()
1461 … log_debug_errno(r, "Failed to synchronize disk after deleting '%s', ignoring: %m", ip); in home_remove()
1466 log_info("Not removing file system on block device %s.", ip); in home_remove()
1468 …HETIC_ERRNO(ENOTBLK), "Image file %s is neither block device, nor regular, refusing removal.", ip); in home_remove()
1477 assert(ip); in home_remove()
1479 r = rm_rf(ip, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME|REMOVE_SYNCFS); in home_remove()
1482 return log_warning_errno(r, "Failed to remove %s: %m", ip); in home_remove()
1488 if (path_equal(ip, hd)) in home_remove()