/illumos-gate/usr/src/uts/common/syscall/ |
H A D | cladm.c | 37 int error = 0; in cladm() local 43 error = EINVAL; in cladm() 55 error = EFAULT; in cladm() 70 error = ENOSYS; in cladm() 75 error = copyout(&nid, arg, sizeof (nid)); in cladm() 83 error = EINVAL; in cladm() 86 error = cladmin(fac, cmd, arg); in cladm() 92 if (error < 0) in cladm() 93 error = ENOSYS; in cladm() 97 return (error ? set_errno(error) : 0); in cladm()
|
H A D | statfs.c | 68 int error; in statfs32() local 75 return (set_errno(error)); in statfs32() 78 error = EINVAL; in statfs32() 82 if (error) { in statfs32() 85 return (set_errno(error)); in statfs32() 94 int error; in fstatfs32() local 102 if (error) in fstatfs32() 103 return (set_errno(error)); in fstatfs32() 115 int error, i; in cstatfs() local 121 if (error = VFS_STATVFS(vfsp, &svfs)) in cstatfs() [all …]
|
H A D | pathconf.c | 57 int error; in cpathconf() local 62 if (error = VOP_PATHCONF(vp, _PC_SYMLINK_MAX, &val, cr, NULL)) in cpathconf() 63 return ((long)set_errno(error)); in cpathconf() 71 if ((error = VFS_STATVFS(vp->v_vfsp, &sb)) != 0) in cpathconf() 72 return ((long)set_errno(error)); in cpathconf() 108 if (!(error = VOP_FSYNC(vp, FSYNC, cr, NULL))) in cpathconf() 110 return ((long)set_errno(error)); in cpathconf() 116 if (error = VOP_PATHCONF(vp, cmd, &val, cr, NULL)) in cpathconf() 117 return ((long)set_errno(error)); in cpathconf() 143 int error; in pathconf() local [all …]
|
H A D | access.c | 65 int error; in caccess() local 99 return (error); in caccess() 103 error = VOP_ACCESS(vp, mode, 0, tmpcr, NULL); in caccess() 104 if (error) { in caccess() 105 if ((error == ESTALE) && in caccess() 116 return (error); in caccess() 123 int error; in faccessat() local 131 return (set_errno(error)); in faccessat() 140 error = caccess(fname, fmode, startvp); in faccessat() 143 if (error) in faccessat() [all …]
|
H A D | mount.c | 70 int error; in mount() local 97 if (error = lookupname(uap->dir, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) in mount() 98 return (set_errno(error)); in mount() 111 error = ENOTSUP; in mount() 121 error = ENOTSUP; in mount() 123 error = domount("pxfs", uap, vp, CRED(), &vfsp); in mount() 124 if (!error) in mount() 128 error = domount(NULL, uap, vp, CRED(), &vfsp); in mount() 129 if (!error) in mount() 133 rp->r_val2 = error; in mount() [all …]
|
H A D | sem.c | 352 int error = 0; in semctl() local 576 error = set_errno(error); in semctl() 593 return (error); in semctl() 669 int id, error; in semget() local 743 int error; in semids() local 870 int error = 0; in semop() local 944 error = EIDRM; in semop() 964 error = E2BIG; in semop() 980 error = EFBIG; in semop() 1193 int error; in semsys() local [all …]
|
/illumos-gate/usr/src/uts/common/exec/shbin/ |
H A D | shbin.c | 135 int error; in checkshbinmagic() local 145 return (error); in checkshbinmagic() 168 int error = 0; in shbinexec() local 178 error = ENOEXEC; in shbinexec() 187 if (error = checkshbinmagic(vp)) in shbinexec() 197 if (error != 0) { in shbinexec() 202 if (!error) { in shbinexec() 211 if (error) { in shbinexec() 251 if (!error) { in shbinexec() 263 if (error && fd != -1) in shbinexec() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | pro_macinfo.c | 198 char *macname, char *macvalue, Dwarf_Error * error) in dwarf_def_macro() argument 207 _dwarf_p_error(NULL, error, DW_DLE_DBG_NULL); in dwarf_def_macro() 256 char *macname, Dwarf_Error * error) in dwarf_undef_macro() argument 265 _dwarf_p_error(NULL, error, DW_DLE_DBG_NULL); in dwarf_undef_macro() 301 Dwarf_Unsigned linenumber, Dwarf_Error * error) in dwarf_start_macro_file() argument 308 _dwarf_p_error(NULL, error, DW_DLE_DBG_NULL); in dwarf_start_macro_file() 341 _dwarf_p_error(NULL, error, DW_DLE_DBG_NULL); in dwarf_end_macro_file() 348 _dwarf_p_error(dbg, error, compose_error_type); in dwarf_end_macro_file() 362 char *string, Dwarf_Error * error) in dwarf_vendor_ext() argument 370 _dwarf_p_error(NULL, error, DW_DLE_DBG_NULL); in dwarf_vendor_ext() [all …]
|
H A D | dwarf_frame.c | 1271 error); in dwarf_get_fde_list_eh() 1304 error); in dwarf_get_fde_list() 1375 error); in dwarf_get_fde_for_die() 1547 error); in dwarf_get_cie_info() 1748 error); in dwarf_get_fde_info_for_all_regs() 1823 error); in dwarf_get_fde_info_for_all_regs3() 1834 error); in dwarf_get_fde_info_for_all_regs3() 1898 error); in dwarf_get_fde_info_for_reg() 1981 error); in dwarf_get_fde_info_for_reg3() 2117 error); in dwarf_get_fde_info_for_cfa_reg3() [all …]
|
H A D | dwarf_global.c | 116 error, in dwarf_get_globals() 182 Dwarf_Error * error, in _dwarf_internal_get_pubnames_like_data() argument 265 error); in _dwarf_internal_get_pubnames_like_data() 280 section_end_ptr,error); in _dwarf_internal_get_pubnames_like_data() 301 section_end_ptr,error); in _dwarf_internal_get_pubnames_like_data() 317 section_end_ptr,error); in _dwarf_internal_get_pubnames_like_data() 578 Dwarf_Error * error) in dwarf_global_cu_offset() argument 638 Dwarf_Error * error) in dwarf_global_name_offsets() argument 723 &headerlen,error); in dwarf_global_name_offsets() 747 Dwarf_Error* error) in dwarf_get_globals_header() argument [all …]
|
H A D | dwarf_elf_access.c | 148 int* error); 156 int* error) in dwarf_elf_object_access_internals_init() argument 257 int *error) in _dwarf_get_elf_flags_func() argument 326 int* error) in dwarf_elf_object_access_get_section_info() argument 625 int *error) in get_relocation_entries() argument 688 int *error) in update_entry() argument 807 int *error) in apply_rela_entries() argument 831 error); in apply_rela_entries() 846 int *error) in loop_through_relocations() argument 912 int* error) in dwarf_elf_object_relocate_a_section() argument [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | icmp.c | 311 int error; in icmp_tpi_bind() local 624 int error; in icmp_tpi_connect() local 1112 error = proto_tlitosyserr(-error); in icmp_disconnect() 5137 error = proto_tlitosyserr(-error); in rawip_bind() 5168 return ((error < 0) ? proto_tlitosyserr(-error) : error); in rawip_implicit_bind() 5178 error = proto_tlitosyserr(-error); in rawip_unbind() 5227 if (!(error == 0 || error == EPROTO)) in rawip_connect() 5250 error = proto_tlitosyserr(-error); in rawip_connect() 5477 error = proto_tlitosyserr(-error); in rawip_setsockopt() 5511 error = proto_tlitosyserr(-error); in rawip_getsockopt() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | buffer_list.c | 74 int error = 0; in checkbuffer_list() local 77 error = errno; in checkbuffer_list() 81 error = 0; in checkbuffer_list() 83 return (error); in checkbuffer_list() 111 error = errno; in buildbuffer_list() 115 error = 0; in buildbuffer_list() 117 return (error); in buildbuffer_list() 121 error = errno; in buildbuffer_list() 206 error = EIO; in buildbuffer_list() 222 return (error); in buildbuffer_list() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | adb_policy.c | 90 goto error; in osa_adb_create_policy() 98 goto error; in osa_adb_create_policy() 103 goto error; in osa_adb_create_policy() 109 goto error; in osa_adb_create_policy() 128 error: in osa_adb_create_policy() 163 goto error; in osa_adb_destroy_policy() 185 error: in osa_adb_destroy_policy() 256 error: in osa_adb_get_policy() 303 goto error; in osa_adb_put_policy() 328 error: in osa_adb_put_policy() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_trantcp.c | 94 int error = 0; in nb_getmsg_mlen() local 122 if (error) in nb_getmsg_mlen() 135 if (error) in nb_getmsg_mlen() 286 int error; in nbssn_peekhdr() local 293 if (error) in nbssn_peekhdr() 349 int error; in nbssn_recv() local 369 if (error) { in nbssn_recv() 384 if (error) { in nbssn_recv() 449 error = 0; in nbssn_recv() 462 if (error) { in nbssn_recv() [all …]
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | update_drv.c | 244 return (error); in main() 286 return (error); in main() 320 return (error); in main() 337 return (error); in main() 344 return (error); in main() 409 err = error; in main() 448 error = NOERR; in main() 464 err = error; in main() 488 err = error; in main() 499 err = error; in main() [all …]
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_subr.c | 1001 if (error) in sdev_rnmnode() 1029 if (error) in sdev_rnmnode() 1149 if (error) in sdev_rnmnode() 1302 int error; in sdev_filldir_from_store() local 1331 error = 0; in sdev_filldir_from_store() 1415 int error; in sdev_filldir_dynamic() local 2266 int error; in sdev_copyin_mountargs() local 2536 int error; in sdev_modctl_lookup() local 2665 if (error) in sdev_modctl_lookup() 2691 int error; in sdev_modctl_readdir() local [all …]
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ip_fil.c | 197 int error; local 201 if (error) 235 error = EIO; 237 return error; 243 error = EIO; 245 return error; 262 error = EIO; 264 return error; 272 error = EIO; 309 if (error) [all …]
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vnops.c | 314 if (error) { in udf_read() 363 if (error) { in udf_write() 528 if (error) in udf_setattr() 657 error = 0; in udf_lookup() 810 if (error) { in udf_create() 1005 error = 0; in udf_rename() 1022 error = 0; in udf_rename() 1377 if ((error == 0) || (error == EEXIST)) { in udf_symlink() 1805 error = 0; in udf_getpage() 3101 error = 0; in ud_rdip() [all …]
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_mac.c | 133 int error; in crypto_mac() local 147 return (error); in crypto_mac() 199 if (error != CRYPTO_SUCCESS && error != CRYPTO_QUEUED && in crypto_mac() 210 return (error); in crypto_mac() 257 int error; in crypto_mac_verify() local 319 if (error != CRYPTO_SUCCESS && error != CRYPTO_QUEUED && in crypto_mac_verify() 330 return (error); in crypto_mac_verify() 438 int error; in crypto_mac_init() local 489 if (error != CRYPTO_SUCCESS && error != CRYPTO_QUEUED && in crypto_mac_init() 500 return (error); in crypto_mac_init() [all …]
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postcomm/ |
H A D | postcomm.c | 181 error(int kind, char *mesg, ...) in error() function 305 error(FATAL, ""); in options() 325 error(FATAL, "no memory"); in initialize() 446 error(FATAL, "printer is idle"); in filter() 452 error(FATAL, "PostScript error"); in filter() 456 error(FATAL, "PostScript error"); in filter() 460 error(FATAL, "printer booting"); in filter() 640 error(FATAL, "PostScript error"); in reset() 644 error(FATAL, "PostScript error"); in reset() 648 error(FATAL, "printer is idle"); in reset() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | attrat.c | 178 int error; in cgetattr() local 185 return (error); in cgetattr() 187 return (error); in cgetattr() 212 int error, saveerrno; in csetattr() local 218 return (error); in csetattr() 221 return (error); in csetattr() 238 int error, saveerrno, xattrfd; in fgetattr() local 247 return (error); in fgetattr() 261 return (error); in fsetattr() 284 return (error); in getattrat() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_vfsops.c | 168 int error; in nfsinit() local 261 int error; in nfs_copyin() local 351 if (error) in nfs_copyin() 392 if (error) in nfs_copyin() 469 if (error) in nfs_copyin() 485 if (error) in nfs_copyin() 500 int error; in nfs_mount() local 978 if (error) in nfs_mount() 1151 int error; in nfsrootvp() local 1273 if (error) in nfsrootvp() [all …]
|
H A D | nfs_dump.c | 114 int error; in nfs_dump() local 121 return (error); in nfs_dump() 127 if (error) in nfs_dump() 128 return (error); in nfs_dump() 142 if (error) in nfs_dump() 154 int error; in nd_init() local 195 error = EIO; in nd_init() 239 int error; in nd_send_data() local 352 return (error); in nd_send_data() 367 int error; in nd_get_reply() local [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | core.c | 118 int error; in remove_core_file() local 124 return (error); in remove_core_file() 146 return (error); in remove_core_file() 156 error = 0; in remove_core_file() 161 error = EROFS; in remove_core_file() 170 if (!error) { in remove_core_file() 182 return (error); in remove_core_file() 192 int error; in create_core_file() local 278 return (error); in create_core_file() 333 int error = 0; in do_core() local [all …]
|