Lines Matching defs:file
4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
32 * file=(path=...)
42 * this file. If successful, the nvlist returned can be passed directly to the
48 * The only function exported by this file is 'make_root_vdev'. The
279 * Check that a file is valid. All we can do in this case is check that it's
283 check_file(const char *file, boolean_t force, boolean_t isspare)
293 if (dm_inuse_swap(file, &err)) {
298 "Please see swap(1M).\n"), file);
303 if ((fd = open(file, O_RDONLY)) < 0)
338 "spare for pool %s\n"), file, name);
342 "'%s'\n"), file, desc, name);
408 * Create a leaf vdev. Determine if this is a file or a device. If it's a
413 * /xxx Full path to file
427 * 'path'. We detect whether this is a device of file afterwards by
428 * checking the st_mode of the file.
432 * Complete device or file path. Exact type is determined by
433 * examining the file descriptor afterwards.
490 * Determine whether this is a device or a file.
498 "GEOM provider or regular file\n"), path);
503 * Finally, we have the complete device or file, and we know that it is
615 * This is a 'file' or 'disk' vdev.