Lines Matching defs:type
129 zfs_type_t type, zfs_pathent_t **cached_zpp, boolean_t quiet)
142 * It's not a valid path, assume it's a name of the given type.
145 zhp = zfs_open_quiet(hdl, path, type);
147 zhp = zfs_open(hdl, path, type);
185 zhp = zfs_open_quiet(hdl, entry.mnt_special, type);
187 zhp = zfs_open(hdl, entry.mnt_special, type);
197 zfs_cache_contains(zfs_handle_cache_t *zhc, const char *path, zfs_type_t type,
214 if (zhp == NULL || !(zhp->zfs_type & type))
245 zfs_cache_get_impl(zfs_handle_cache_t *zhc, const char *path, zfs_type_t type,
263 if (zhp == NULL || !(zhp->zfs_type & type))
269 zhp = zfs_cache_path_to_zhandle(zhc, path, type, &zp, quiet);
313 zfs_cache_get(libzfs_handle_t *hdl, const char *path, zfs_type_t type)
319 zhp = zfs_path_to_zhandle(hdl, path, type);
321 zhp = zfs_cache_get_impl(zhc, path, type, B_FALSE);
329 zfs_type_t type)
335 zhp = zfs_path_to_zhandle_quiet(hdl, path, type);
337 zhp = zfs_cache_get_impl(zhc, path, type, B_TRUE);
436 zfs_type_t type, zfs_iter_f func, void *data)
451 switch (type) {
462 zhp->zfs_type, EINVAL, "unexpected type: %d\n", type);
466 if (!zfs_cache_contains(zhc, zc.zc_name, type, &nzhp)) {
562 zfs_type_t type = zfs_is_share_name(dependents[i]) ?
566 dependents[i], type)) == NULL)