Lines Matching refs:_LIBZUTIL_H
27 #ifndef _LIBZUTIL_H
28 #define _LIBZUTIL_H extern __attribute__((visibility("default"))) macro
62 _LIBZUTIL_H pool_config_ops_t libzfs_config_ops;
63 _LIBZUTIL_H pool_config_ops_t libzpool_config_ops;
97 _LIBZUTIL_H const char *libpc_error_description(libpc_handle_t *);
98 _LIBZUTIL_H nvlist_t *zpool_search_import(libpc_handle_t *, importargs_t *);
99 _LIBZUTIL_H int zpool_find_config(libpc_handle_t *, const char *, nvlist_t **,
102 _LIBZUTIL_H const char * const * zpool_default_search_paths(size_t *count);
103 _LIBZUTIL_H int zpool_read_label(int, nvlist_t **, int *);
104 _LIBZUTIL_H int zpool_label_disk_wait(const char *, int);
105 _LIBZUTIL_H int zpool_disk_wait(const char *);
109 _LIBZUTIL_H int zfs_device_get_devid(struct udev_device *, char *, size_t);
110 _LIBZUTIL_H int zfs_device_get_physical(struct udev_device *, char *, size_t);
112 _LIBZUTIL_H void update_vdev_config_dev_strs(nvlist_t *);
121 _LIBZUTIL_H int zfs_append_partition(char *path, size_t max_len);
122 _LIBZUTIL_H int zfs_resolve_shortname(const char *name, char *path,
125 _LIBZUTIL_H char *zfs_strip_partition(const char *);
126 _LIBZUTIL_H const char *zfs_strip_path(const char *);
128 _LIBZUTIL_H int zfs_strcmp_pathname(const char *, const char *, int);
130 _LIBZUTIL_H boolean_t zfs_dev_is_dm(const char *);
131 _LIBZUTIL_H boolean_t zfs_dev_is_whole_disk(const char *);
132 _LIBZUTIL_H int zfs_dev_flush(int);
133 _LIBZUTIL_H char *zfs_get_underlying_path(const char *);
134 _LIBZUTIL_H char *zfs_get_enclosure_sysfs_path(const char *);
136 _LIBZUTIL_H boolean_t is_mpath_whole_disk(const char *);
138 _LIBZUTIL_H boolean_t zfs_isnumber(const char *);
160 _LIBZUTIL_H void zfs_nicebytes(uint64_t, char *, size_t);
161 _LIBZUTIL_H void zfs_nicenum(uint64_t, char *, size_t);
162 _LIBZUTIL_H void zfs_nicenum_format(uint64_t, char *, size_t,
164 _LIBZUTIL_H void zfs_nicetime(uint64_t, char *, size_t);
165 _LIBZUTIL_H void zfs_niceraw(uint64_t, char *, size_t);
169 _LIBZUTIL_H void zpool_dump_ddt(const ddt_stat_t *, const ddt_histogram_t *);
170 _LIBZUTIL_H int zpool_history_unpack(char *, uint64_t, uint64_t *, nvlist_t ***,
172 _LIBZUTIL_H void fsleep(float sec);
173 _LIBZUTIL_H int zpool_getenv_int(const char *env, int default_val);
193 _LIBZUTIL_H int use_color(void);
194 _LIBZUTIL_H void color_start(const char *color);
195 _LIBZUTIL_H void color_end(void);
196 _LIBZUTIL_H int printf_color(const char *color, const char *format, ...);
198 _LIBZUTIL_H const char *zfs_basename(const char *path);
199 _LIBZUTIL_H ssize_t zfs_dirnamelen(const char *path);
202 _LIBZUTIL_H void zfs_setproctitle_init(int argc, char *argv[], char *envp[]);
203 _LIBZUTIL_H void zfs_setproctitle(const char *fmt, ...);
273 _LIBZUTIL_H void update_vdev_config_dev_sysfs_path(nvlist_t *nv,