Home
last modified time | relevance | path

Searched refs:SET_ERROR (Results 1 – 25 of 63) sorted by relevance

123

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_ioctl.c410 return (SET_ERROR(ENOENT)); in zfs_secpolicy_read()
424 return (SET_ERROR(ENOENT)); in zfs_dozonecheck_impl()
432 return (SET_ERROR(EPERM)); in zfs_dozonecheck_impl()
438 return (SET_ERROR(EPERM)); in zfs_dozonecheck_impl()
442 return (SET_ERROR(EPERM)); in zfs_dozonecheck_impl()
453 return (SET_ERROR(ENOENT)); in zfs_dozonecheck()
464 return (SET_ERROR(ENOENT)); in zfs_dozonecheck_ds()
527 return (SET_ERROR(EPERM)); in zfs_set_slabel_policy()
534 return (SET_ERROR(EINVAL)); in zfs_set_slabel_policy()
543 return (SET_ERROR(EPERM)); in zfs_set_slabel_policy()
[all …]
H A Ddmu_send.c130 return (SET_ERROR(EINTR)); in dump_record()
135 return (SET_ERROR(EINTR)); in dump_record()
185 return (SET_ERROR(EINTR)); in dump_free()
208 return (SET_ERROR(EINTR)); in dump_free()
221 return (SET_ERROR(EINTR)); in dump_free()
253 return (SET_ERROR(EINTR)); in dump_write()
283 return (SET_ERROR(EINTR)); in dump_write()
328 return (SET_ERROR(EINTR)); in dump_spill()
340 return (SET_ERROR(EINTR)); in dump_spill()
363 return (SET_ERROR(EINTR)); in dump_freeobjects()
[all …]
H A Dzvol.c179 return (SET_ERROR(EINVAL)); in zvol_check_volsize()
182 return (SET_ERROR(EINVAL)); in zvol_check_volsize()
186 return (SET_ERROR(EOVERFLOW)); in zvol_check_volsize()
197 return (SET_ERROR(EDOM)); in zvol_check_volblocksize()
270 return (SET_ERROR(EFRAGS)); in zvol_map_block()
427 return (SET_ERROR(ENOTSUP)); in zvol_replay_err()
488 return (SET_ERROR(EEXIST)); in zvol_create_minor()
502 return (SET_ERROR(ENXIO)); in zvol_create_minor()
508 return (SET_ERROR(EAGAIN)); in zvol_create_minor()
520 return (SET_ERROR(EAGAIN)); in zvol_create_minor()
[all …]
H A Dzfs_vnops.c201 return (SET_ERROR(EPERM)); in zfs_open()
209 return (SET_ERROR(EACCES)); in zfs_open()
275 return (SET_ERROR(ENXIO)); in zfs_holey()
286 return (SET_ERROR(ENXIO)); in zfs_holey()
338 return (SET_ERROR(EFAULT)); in zfs_ioctl()
351 return (SET_ERROR(EFAULT)); in zfs_ioctl()
390 return (SET_ERROR(EFAULT)); in zfs_ioctl()
394 return (SET_ERROR(ENOTTY)); in zfs_ioctl()
531 return (SET_ERROR(EACCES)); in zfs_read()
539 return (SET_ERROR(EINVAL)); in zfs_read()
[all …]
H A Ddsl_bookmark.c41 return (SET_ERROR(ENAMETOOLONG)); in dsl_bookmark_hold_ds()
44 return (SET_ERROR(EINVAL)); in dsl_bookmark_hold_ds()
48 return (SET_ERROR(EINVAL)); in dsl_bookmark_hold_ds()
66 return (SET_ERROR(ESRCH)); in dsl_dataset_bmark_lookup()
102 error = SET_ERROR(EXDEV); in dsl_bookmark_lookup()
124 return (SET_ERROR(EINVAL)); in dsl_bookmark_create_check_impl()
133 return (SET_ERROR(EINVAL)); in dsl_bookmark_create_check_impl()
140 return (SET_ERROR(EEXIST)); in dsl_bookmark_create_check_impl()
154 return (SET_ERROR(ENOTSUP)); in dsl_bookmark_create_check()
H A Dzfs_ctldir.c288 return (SET_ERROR(EACCES)); in zfsctl_common_open()
314 return (SET_ERROR(EACCES)); in zfsctl_common_access()
317 return (SET_ERROR(EACCES)); in zfsctl_common_access()
367 return (SET_ERROR(ENOSPC)); in zfsctl_common_fid()
398 return (SET_ERROR(ENOTSUP)); in zfsctl_shares_fid()
461 return (SET_ERROR(EINVAL)); in zfsctl_root_lookup()
519 return (SET_ERROR(EILSEQ)); in zfsctl_snapshot_zname()
522 return (SET_ERROR(ENAMETOOLONG)); in zfsctl_snapshot_zname()
657 return (SET_ERROR(EINVAL)); in zfsctl_snapdir_rename()
667 return (SET_ERROR(ENOENT)); in zfsctl_snapdir_rename()
[all …]
H A Dzfs_vfsops.c603 return (SET_ERROR(ENOENT)); in zfs_space_delta_cb()
612 return (SET_ERROR(EEXIST)); in zfs_space_delta_cb()
702 return (SET_ERROR(ENOTSUP)); in zfs_userspace_many()
746 return (SET_ERROR(ENOENT)); in id_to_fuidstr()
764 return (SET_ERROR(ENOTSUP)); in zfs_userspace_one()
791 return (SET_ERROR(EINVAL)); in zfs_set_userquota()
794 return (SET_ERROR(ENOTSUP)); in zfs_set_userquota()
922 error = SET_ERROR(ENOTSUP); in zfsvfs_create()
1175 error = SET_ERROR(ENODEV); in zfs_domount()
1305 return (SET_ERROR(EINVAL)); in str_to_uint64()
[all …]
H A Dvdev_file.c65 return (SET_ERROR(EINVAL)); in vdev_file_open()
103 return (SET_ERROR(ENODEV)); in vdev_file_open()
158 zio->io_error = SET_ERROR(ENOSPC); in vdev_file_io_intr()
196 zio->io_error = SET_ERROR(ENXIO); in vdev_file_io_start()
207 zio->io_error = SET_ERROR(ENOTSUP); in vdev_file_io_start()
H A Dzfs_onexit.c112 return (SET_ERROR(EBADF)); in zfs_onexit_minor_to_state()
131 return (SET_ERROR(EBADF)); in zfs_onexit_fd_hold()
214 error = SET_ERROR(ENOENT); in zfs_onexit_del_cb()
243 error = SET_ERROR(ENOENT); in zfs_onexit_cb_data()
H A Dvdev_disk.c308 return (SET_ERROR(EINVAL)); in vdev_disk_open()
355 return (SET_ERROR(EINVAL)); in vdev_disk_open()
395 error = SET_ERROR(EINVAL); in vdev_disk_open()
521 return (SET_ERROR(EINVAL)); in vdev_disk_open()
656 return (SET_ERROR(EINVAL)); in vdev_disk_ldi_physio()
670 error = SET_ERROR(EIO); in vdev_disk_ldi_physio()
690 zio->io_error = SET_ERROR(EIO); in vdev_disk_io_intr()
741 zio->io_error = SET_ERROR(ENXIO); in vdev_disk_io_start()
754 zio->io_error = SET_ERROR(ENOTSUP); in vdev_disk_io_start()
792 zio->io_error = SET_ERROR(ENOTSUP); in vdev_disk_io_start()
[all …]
H A Ddsl_userhold.c61 return (SET_ERROR(E2BIG)); in dsl_dataset_user_hold_check_one()
64 return (SET_ERROR(E2BIG)); in dsl_dataset_user_hold_check_one()
73 error = SET_ERROR(EEXIST); in dsl_dataset_user_hold_check_one()
88 return (SET_ERROR(ENOTSUP)); in dsl_dataset_user_hold_check()
102 error = SET_ERROR(EINVAL); in dsl_dataset_user_hold_check()
356 return (SET_ERROR(EINVAL)); in dsl_dataset_user_release_check_one()
375 error = SET_ERROR(ENOENT); in dsl_dataset_user_release_check_one()
407 return (SET_ERROR(EBUSY)); in dsl_dataset_user_release_check_one()
447 error = (SET_ERROR(EINVAL)); in dsl_dataset_user_release_check()
H A Ddmu_objset.c329 err = SET_ERROR(EIO); in dmu_objset_open_impl()
550 return (SET_ERROR(EINVAL)); in dmu_objset_own_impl()
553 return (SET_ERROR(EROFS)); in dmu_objset_own_impl()
871 return (SET_ERROR(EINVAL)); in dmu_objset_create_check()
874 return (SET_ERROR(ENAMETOOLONG)); in dmu_objset_create_check()
881 return (SET_ERROR(EEXIST)); in dmu_objset_create_check()
958 return (SET_ERROR(EINVAL)); in dmu_objset_clone_check()
961 return (SET_ERROR(ENAMETOOLONG)); in dmu_objset_clone_check()
968 return (SET_ERROR(EEXIST)); in dmu_objset_clone_check()
975 return (SET_ERROR(EDQUOT)); in dmu_objset_clone_check()
[all …]
H A Ddmu_diff.c116 return (SET_ERROR(EINTR)); in diff_cb()
139 return (SET_ERROR(EIO)); in diff_cb()
171 return (SET_ERROR(EINVAL)); in dmu_diff()
194 return (SET_ERROR(EXDEV)); in dmu_diff()
H A Ddsl_deleg.c110 return (SET_ERROR(EPERM)); in dsl_deleg_can_allow()
142 return (SET_ERROR(EPERM)); in dsl_deleg_can_unallow()
145 return (SET_ERROR(EPERM)); in dsl_deleg_can_unallow()
264 return (SET_ERROR(ENOTSUP)); in dsl_deleg_check()
420 error = SET_ERROR(EPERM); in dsl_check_access()
465 return (SET_ERROR(EPERM)); in dsl_check_user_access()
558 return (SET_ERROR(ECANCELED)); in dsl_deleg_access_impl()
562 return (SET_ERROR(EPERM)); in dsl_deleg_access_impl()
636 error = SET_ERROR(EPERM); in dsl_deleg_access_impl()
H A Ddsl_dataset.c421 return (SET_ERROR(EINVAL)); in dsl_dataset_hold_obj()
579 err = SET_ERROR(ENOENT); in dsl_dataset_hold()
588 return (SET_ERROR(ENOENT)); in dsl_dataset_hold()
622 return (SET_ERROR(EBUSY)); in dsl_dataset_own_obj()
636 return (SET_ERROR(EBUSY)); in dsl_dataset_own()
1088 return (SET_ERROR(ENOSPC)); in dsl_dataset_snapshot_reserve_space()
1124 return (SET_ERROR(EAGAIN)); in dsl_dataset_snapshot_check_impl()
1131 return (SET_ERROR(EEXIST)); in dsl_dataset_snapshot_check_impl()
1145 return (SET_ERROR(EBUSY)); in dsl_dataset_snapshot_check_impl()
1276 error = SET_ERROR(ENAMETOOLONG); in dsl_dataset_snapshot_check()
[all …]
H A Dzfs_dir.c158 return (SET_ERROR(EEXIST)); in zfs_dirent_lock()
229 return (SET_ERROR(ENOENT)); in zfs_dirent_lock()
240 return (SET_ERROR(ENOENT)); in zfs_dirent_lock()
300 error = SET_ERROR(ENOENT); in zfs_dirent_lock()
305 return (SET_ERROR(EEXIST)); in zfs_dirent_lock()
323 return (SET_ERROR(EEXIST)); in zfs_dirent_lock()
720 return (SET_ERROR(ENOENT)); in zfs_link_create()
821 return (SET_ERROR(EBUSY)); in zfs_link_destroy()
825 return (SET_ERROR(EBUSY)); in zfs_link_destroy()
833 return (SET_ERROR(EEXIST)); in zfs_link_destroy()
[all …]
H A Dzap_micro.c787 return (SET_ERROR(ENOTSUP)); in zap_lookup_norm()
796 err = SET_ERROR(ENOENT); in zap_lookup_norm()
799 err = SET_ERROR(EOVERFLOW); in zap_lookup_norm()
801 err = SET_ERROR(EINVAL); in zap_lookup_norm()
833 return (SET_ERROR(ENOTSUP)); in zap_prefetch_uint64()
856 return (SET_ERROR(ENOTSUP)); in zap_lookup_uint64()
891 return (SET_ERROR(ENOTSUP)); in zap_length()
898 err = SET_ERROR(ENOENT); in zap_length()
925 return (SET_ERROR(ENOTSUP)); in zap_length_uint64()
994 return (SET_ERROR(ENOTSUP)); in zap_add()
[all …]
H A Dzio_checksum.c207 return (SET_ERROR(EINVAL)); in zio_checksum_error()
222 return (SET_ERROR(ECKSUM)); in zio_checksum_error()
225 return (SET_ERROR(ECKSUM)); in zio_checksum_error()
267 return (SET_ERROR(ECKSUM)); in zio_checksum_error()
H A Ddsl_dir.c372 return (SET_ERROR(ENOENT)); in getcomponent()
377 return (SET_ERROR(EINVAL)); in getcomponent()
387 return (SET_ERROR(EINVAL)); in getcomponent()
389 return (SET_ERROR(ENAMETOOLONG)); in getcomponent()
394 return (SET_ERROR(ENAMETOOLONG)); in getcomponent()
404 return (SET_ERROR(EINVAL)); in getcomponent()
406 return (SET_ERROR(ENAMETOOLONG)); in getcomponent()
440 return (SET_ERROR(EXDEV)); in dsl_dir_hold()
491 err = SET_ERROR(ENOENT); in dsl_dir_hold()
615 return (SET_ERROR(ENOTSUP)); in dsl_dir_actv_fs_ss_limit_check()
[all …]
H A Dspa_errlog.c179 return (SET_ERROR(ENOMEM)); in process_error_log()
188 return (SET_ERROR(EFAULT)); in process_error_log()
207 return (SET_ERROR(ENOMEM)); in process_error_list()
212 return (SET_ERROR(EFAULT)); in process_error_list()
H A Dspa.c419 error = SET_ERROR(EINVAL); in spa_prop_validate()
427 error = SET_ERROR(EINVAL); in spa_prop_validate()
432 error = SET_ERROR(EINVAL); in spa_prop_validate()
437 error = SET_ERROR(EINVAL); in spa_prop_validate()
443 error = SET_ERROR(EINVAL); in spa_prop_validate()
456 error = SET_ERROR(EINVAL); in spa_prop_validate()
465 error = SET_ERROR(EINVAL); in spa_prop_validate()
475 error = SET_ERROR(ENOTSUP); in spa_prop_validate()
483 error = SET_ERROR(ENOTSUP); in spa_prop_validate()
511 error = SET_ERROR(ENOTSUP); in spa_prop_validate()
[all …]
H A Dzfeature.c231 return (SET_ERROR(ENOTSUP)); in feature_get_refcount()
256 return (SET_ERROR(ENOTSUP)); in feature_get_refcount_from_disk()
262 return (SET_ERROR(ENOTSUP)); in feature_get_refcount_from_disk()
279 return (SET_ERROR(ENOTSUP)); in feature_get_enabled_txg()
/titanic_41/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c169 #define SET_ERROR(h, c) h->lasterr.kstype = KMF_KEYSTORE_NSS; \ macro
220 SET_ERROR(kmfh, nssrv); in nss_authenticate()
286 SET_ERROR(kmfh, err); in NSS_ConfigureKeystore()
333 SET_ERROR(kmfh, PORT_GetError()); in do_nss_init()
382 SET_ERROR(kmfh, PORT_GetError()); in nss_getcert_by_label()
747 SET_ERROR(kmfh, nssrv); in NSS_DeleteCert()
763 SET_ERROR(kmfh, nssrv); in NSS_DeleteCert()
918 SET_ERROR(kmfh, rv); in NSS_CreateKeypair()
926 SET_ERROR(kmfh, rv); in NSS_CreateKeypair()
933 SET_ERROR(kmfh, PORT_GetError()); in NSS_CreateKeypair()
[all …]
/titanic_41/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c132 #define SET_ERROR(h, c) h->lasterr.kstype = KMF_KEYSTORE_OPENSSL; \ macro
425 SET_ERROR(kmfh, ERR_get_error()); in ssl_cert2KMFDATA()
441 SET_ERROR(kmfh, ERR_get_error()); in ssl_cert2KMFDATA()
604 SET_ERROR(kmfh, ERR_get_error()); in load_X509cert()
620 SET_ERROR(kmfh, ERR_get_error()); in load_X509cert()
629 SET_ERROR(kmfh, ERR_get_error()); in load_X509cert()
1021 SET_ERROR(kmfh, ERR_get_error()); in openssl_load_key()
1381 SET_ERROR(kmfh, ERR_get_error()); in OpenSSL_EncodePubKeyData()
1389 SET_ERROR(kmfh, ERR_get_error()); in OpenSSL_EncodePubKeyData()
1439 SET_ERROR(kmfh, rv); in ssl_write_key()
[all …]
/titanic_41/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c47 #define SET_ERROR(h, c) h->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; \ macro
236 SET_ERROR(kmfh, ckrv); in PK11Cert2KMFCert()
244 SET_ERROR(kmfh, ckrv); in PK11Cert2KMFCert()
268 SET_ERROR(kmfh, ckrv); in PK11Cert2KMFCert()
306 SET_ERROR(kmfh, ckrv); in PK11Cert2KMFCert()
365 SET_ERROR(kmfh, rv); in get_attr()
376 SET_ERROR(kmfh, rv); in get_attr()
572 SET_ERROR(kmfh, ckrv); in search_certs()
820 SET_ERROR(kmfh, rv); in KMFPK11_EncodePubKeyData()
844 SET_ERROR(kmfh, rv); in KMFPK11_EncodePubKeyData()
[all …]

123