Lines Matching refs:where
46 const char *where; member
122 if (path_equal(path, mount_table[i].where)) in mount_point_is_api()
161 (void) label_fix(p->where, LABEL_IGNORE_ENOENT|LABEL_IGNORE_EROFS); in mount_one()
163 r = path_is_mount_point(p->where, NULL, AT_SYMLINK_FOLLOW); in mount_one()
165 … log_full_errno(priority, r, "Failed to determine whether %s is a mount point: %m", p->where); in mount_one()
178 (void) mkdir_p_label(p->where, 0755); in mount_one()
180 (void) mkdir_p(p->where, 0755); in mount_one()
184 p->where, in mount_one()
189 r = RET_NERRNO(mount(p->what, p->where, p->type, p->flags, p->options)); in mount_one()
191 r = mount_nofollow(p->what, p->where, p->type, p->flags, p->options); in mount_one()
193 log_full_errno(priority, r, "Failed to mount %s at %s: %m", p->type, p->where); in mount_one()
199 (void) label_fix(p->where, 0); in mount_one()
202 if (access(p->where, W_OK) < 0) { in mount_one()
205 (void) umount2(p->where, UMOUNT_NOFOLLOW); in mount_one()
206 (void) rmdir(p->where); in mount_one()
208 … log_full_errno(priority, r, "Mount point %s not writable after mounting: %m", p->where); in mount_one()
302 _cleanup_free_ char *options = NULL, *controller = NULL, *where = NULL; in mount_cgroup_controllers() local
338 where = path_join("/sys/fs/cgroup", options); in mount_cgroup_controllers()
339 if (!where) in mount_cgroup_controllers()
342 p.where = where; in mount_cgroup_controllers()