Lines Matching defs:sub_path
383 _cleanup_free_ char *sub_path = NULL;
422 sub_path = strjoin(p, "/", dent->d_name, NULL);
423 if (!sub_path) {
429 if (ordered_hashmap_get(items, sub_path)) {
430 log_debug("Ignoring \"%s\": a separate entry exists.", sub_path);
434 if (find_glob(globs, sub_path)) {
435 log_debug("Ignoring \"%s\": a separate glob exists.", sub_path);
444 log_debug("Ignoring \"%s\".", sub_path);
449 log_warning("Reached max depth on \"%s\".", sub_path);
457 r = log_error_errno(errno, "opendir(%s) failed: %m", sub_path);
462 q = dir_cleanup(i, sub_path, sub_dir, &s, cutoff, rootdev, false, maxdepth-1, false);
475 log_debug("Keeping \"%s\".", sub_path);
485 sub_path,
494 sub_path,
499 log_debug("Removing directory \"%s\".", sub_path);
502 log_error_errno(errno, "rmdir(%s): %m", sub_path);
512 log_debug("Skipping \"%s\": sticky bit set.", sub_path);
521 log_debug("Skipping \"%s\".", sub_path);
526 if (S_ISSOCK(s.st_mode) && unix_socket_alive(sub_path)) {
527 log_debug("Skipping \"%s\": live socket.", sub_path);
533 log_debug("Skipping \"%s\": a device.", sub_path);
540 log_debug("Keeping \"%s\".", sub_path);
549 sub_path,
558 sub_path,
567 sub_path,
572 log_debug("unlink \"%s\"", sub_path);
576 r = log_error_errno(errno, "unlink(%s): %m", sub_path);