Lines Matching refs:fmt

243 zfs_error_aux(libzfs_handle_t *hdl, const char *fmt, ...)
247 va_start(ap, fmt);
250 fmt, ap);
257 zfs_verror(libzfs_handle_t *hdl, int error, const char *fmt, va_list ap)
260 fmt, ap);
290 zfs_error_fmt(libzfs_handle_t *hdl, int error, const char *fmt, ...)
294 va_start(ap, fmt);
296 zfs_verror(hdl, error, fmt, ap);
304 zfs_common_error(libzfs_handle_t *hdl, int error, const char *fmt,
310 zfs_verror(hdl, EZFS_PERM, fmt, ap);
314 zfs_verror(hdl, EZFS_NODELEGATION, fmt, ap);
318 zfs_verror(hdl, EZFS_IO, fmt, ap);
322 zfs_verror(hdl, EZFS_FAULT, fmt, ap);
326 zfs_verror(hdl, EZFS_INTR, fmt, ap);
341 zfs_standard_error_fmt(libzfs_handle_t *hdl, int error, const char *fmt, ...)
345 va_start(ap, fmt);
347 if (zfs_common_error(hdl, error, fmt, ap) != 0) {
356 zfs_verror(hdl, EZFS_IO, fmt, ap);
362 zfs_verror(hdl, EZFS_NOENT, fmt, ap);
367 zfs_verror(hdl, EZFS_NOSPC, fmt, ap);
373 zfs_verror(hdl, EZFS_EXISTS, fmt, ap);
379 zfs_verror(hdl, EZFS_BUSY, fmt, ap);
382 zfs_verror(hdl, EZFS_POOLREADONLY, fmt, ap);
385 zfs_verror(hdl, EZFS_NAMETOOLONG, fmt, ap);
388 zfs_verror(hdl, EZFS_BADVERSION, fmt, ap);
393 zfs_verror(hdl, EZFS_POOLUNAVAIL, fmt, ap);
397 zfs_verror(hdl, EZFS_UNKNOWN, fmt, ap);
413 zpool_standard_error_fmt(libzfs_handle_t *hdl, int error, const char *fmt, ...)
417 va_start(ap, fmt);
419 if (zfs_common_error(hdl, error, fmt, ap) != 0) {
426 zfs_verror(hdl, EZFS_NODEVICE, fmt, ap);
432 zfs_verror(hdl, EZFS_NOENT, fmt, ap);
438 zfs_verror(hdl, EZFS_EXISTS, fmt, ap);
443 zfs_verror(hdl, EZFS_BUSY, fmt, ap);
449 zfs_verror(hdl, EZFS_BADDEV, fmt, ap);
453 zfs_verror(hdl, EZFS_DEVOVERFLOW, fmt, ap);
457 zfs_verror(hdl, EZFS_POOL_NOTSUP, fmt, ap);
461 zfs_verror(hdl, EZFS_POOL_INVALARG, fmt, ap);
466 zfs_verror(hdl, EZFS_NOSPC, fmt, ap);
472 zfs_verror(hdl, EZFS_POOLUNAVAIL, fmt, ap);
476 zfs_verror(hdl, EZFS_POOLREADONLY, fmt, ap);
481 zfs_verror(hdl, EZFS_UNKNOWN, fmt, ap);
516 zfs_asprintf(libzfs_handle_t *hdl, const char *fmt, ...)
522 va_start(ap, fmt);
524 err = vasprintf(&ret, fmt, ap);