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.
54 * For each cache file, we have a single nvlist which holds all the
72 * file into the SPA namespace. It does not actually open or load the pools; it
82 struct _buf *file;
86 * Open the configuration file.
93 file = kobj_open_file(pathname);
97 if (file == (struct _buf *)-1)
100 if (kobj_get_filesize(file, &fsize) != 0)
106 * Read the nvlist from the file.
108 if (kobj_read_file(file, buf, fsize, 0) < 0)
141 kobj_close_file(file);
170 * 'write to temporary file, sync, move over original' to make sure we
198 * the MOS config will have been updated but the cache file has not. If
238 * we don't allow them to be written to the cache file.