Lines Matching refs:error

241 	int	error = 0;  in rfs4_fattr4_supported_attrs()  local
247 error = EINVAL; in rfs4_fattr4_supported_attrs()
256 error = EINVAL; in rfs4_fattr4_supported_attrs()
263 error = -1; /* no match */ in rfs4_fattr4_supported_attrs()
269 return (error); in rfs4_fattr4_supported_attrs()
284 int error = 0; in rfs4_fattr4_type() local
289 error = EINVAL; in rfs4_fattr4_type()
293 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_type()
320 error = EINVAL; in rfs4_fattr4_type()
328 error = -1; /* no match */ in rfs4_fattr4_type()
333 return (error); in rfs4_fattr4_type()
391 int error = 0; in rfs4_fattr4_fh_expire_type() local
396 error = EINVAL; in rfs4_fattr4_fh_expire_type()
399 error = fattr4_get_fh_expire_type(sarg->cs->exi, in rfs4_fattr4_fh_expire_type()
406 error = EINVAL; in rfs4_fattr4_fh_expire_type()
409 error = fattr4_get_fh_expire_type(sarg->cs->exi, in rfs4_fattr4_fh_expire_type()
411 if (!error && (na->fh_expire_type != fh_expire_type)) in rfs4_fattr4_fh_expire_type()
412 error = -1; /* no match */ in rfs4_fattr4_fh_expire_type()
417 return (error); in rfs4_fattr4_fh_expire_type()
457 int error = 0; in rfs4_fattr4_change() local
465 error = EINVAL; in rfs4_fattr4_change()
468 error = fattr4_get_change(sarg, &na->change); in rfs4_fattr4_change()
474 error = EINVAL; in rfs4_fattr4_change()
479 error = fattr4_get_change(sarg, &change); in rfs4_fattr4_change()
481 if (!error && (na->change != change)) in rfs4_fattr4_change()
482 error = -1; in rfs4_fattr4_change()
487 return (error); in rfs4_fattr4_change()
495 int error = 0; in rfs4_fattr4_size() local
502 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_size()
515 error = -1; /* no match */ in rfs4_fattr4_size()
520 return (error); in rfs4_fattr4_size()
532 int error = 0; in rfs4_fattr4_link_support() local
537 error = EINVAL; in rfs4_fattr4_link_support()
546 error = EINVAL; in rfs4_fattr4_link_support()
550 error = -1; /* no match */ in rfs4_fattr4_link_support()
555 return (error); in rfs4_fattr4_link_support()
567 int error = 0; in rfs4_fattr4_symlink_support() local
572 error = EINVAL; in rfs4_fattr4_symlink_support()
581 error = EINVAL; in rfs4_fattr4_symlink_support()
585 error = -1; /* no match */ in rfs4_fattr4_symlink_support()
590 return (error); in rfs4_fattr4_symlink_support()
598 int error = 0; in rfs4_fattr4_named_attr() local
604 error = EINVAL; in rfs4_fattr4_named_attr()
608 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_named_attr()
624 error = VOP_PATHCONF(sarg->cs->vp, _PC_SATTR_EXISTS, in rfs4_fattr4_named_attr()
626 if ((error || val == 0) && in rfs4_fattr4_named_attr()
628 error = VOP_PATHCONF(sarg->cs->vp, in rfs4_fattr4_named_attr()
630 if (error) in rfs4_fattr4_named_attr()
639 error = EINVAL; in rfs4_fattr4_named_attr()
644 error = VOP_PATHCONF(sarg->cs->vp, _PC_SATTR_EXISTS, in rfs4_fattr4_named_attr()
646 if (error || val == 0) in rfs4_fattr4_named_attr()
647 error = VOP_PATHCONF(sarg->cs->vp, in rfs4_fattr4_named_attr()
650 if (error) in rfs4_fattr4_named_attr()
655 error = -1; /* no match */ in rfs4_fattr4_named_attr()
660 return (error); in rfs4_fattr4_named_attr()
668 int error = 0; in rfs4_fattr4_fsid() local
678 error = EINVAL; in rfs4_fattr4_fsid()
694 error = EINVAL; in rfs4_fattr4_fsid()
700 error = -1; in rfs4_fattr4_fsid()
705 error = -1; in rfs4_fattr4_fsid()
709 error = -1; in rfs4_fattr4_fsid()
715 return (error); in rfs4_fattr4_fsid()
729 int error = 0; in rfs4_fattr4_unique_handles() local
734 error = EINVAL; in rfs4_fattr4_unique_handles()
743 error = EINVAL; in rfs4_fattr4_unique_handles()
747 error = -1; /* no match */ in rfs4_fattr4_unique_handles()
752 return (error); in rfs4_fattr4_unique_handles()
760 int error = 0; in rfs4_fattr4_lease_time() local
765 error = EINVAL; in rfs4_fattr4_lease_time()
774 error = EINVAL; in rfs4_fattr4_lease_time()
778 error = -1; /* no match */ in rfs4_fattr4_lease_time()
783 return (error); in rfs4_fattr4_lease_time()
791 int error = 0; in rfs4_fattr4_rdattr_error() local
797 error = EINVAL; in rfs4_fattr4_rdattr_error()
808 error = EINVAL; in rfs4_fattr4_rdattr_error()
813 return (error); in rfs4_fattr4_rdattr_error()
903 int error = 0; in rfs4_fattr4_acl() local
926 error = VOP_PATHCONF(vp, _PC_ACL_ENABLED, &whichacl, in rfs4_fattr4_acl()
928 if (error != 0) { in rfs4_fattr4_acl()
936 error = 0; in rfs4_fattr4_acl()
961 if (error != 0) in rfs4_fattr4_acl()
965 error = VOP_GETSECATTR(vp, &vs_native, in rfs4_fattr4_acl()
967 if (error != 0) in rfs4_fattr4_acl()
970 error = vs_acet_to_ace4(&vs_native, &vs_ace4, TRUE); in rfs4_fattr4_acl()
973 error = vs_aent_to_ace4(&vs_native, &vs_ace4, in rfs4_fattr4_acl()
977 if (error != 0) in rfs4_fattr4_acl()
986 error = -1; /* no match */ in rfs4_fattr4_acl()
990 error = -1; /* no match */ in rfs4_fattr4_acl()
1019 error = VOP_PATHCONF(vp, _PC_ACL_ENABLED, &whichacl, in rfs4_fattr4_acl()
1021 if (error != 0) { in rfs4_fattr4_acl()
1029 error = 0; in rfs4_fattr4_acl()
1049 error = vs_ace4_to_acet(&vs_ace4, &vs_native, in rfs4_fattr4_acl()
1051 if (error != 0) in rfs4_fattr4_acl()
1054 error = VOP_SETSECATTR(vp, &vs_native, in rfs4_fattr4_acl()
1059 error = vs_ace4_to_aent(&vs_ace4, &vs_native, in rfs4_fattr4_acl()
1061 if (error != 0) in rfs4_fattr4_acl()
1064 error = VOP_SETSECATTR(vp, &vs_native, in rfs4_fattr4_acl()
1081 return (error); in rfs4_fattr4_acl()
1089 int error = 0; in rfs4_fattr4_aclsupport() local
1097 error = EINVAL; in rfs4_fattr4_aclsupport()
1104 error = EINVAL; in rfs4_fattr4_aclsupport()
1109 error = -1; /* no match */ in rfs4_fattr4_aclsupport()
1113 return (error); in rfs4_fattr4_aclsupport()
1129 int error = 0; in rfs4_fattr4_cansettime() local
1137 error = EINVAL; in rfs4_fattr4_cansettime()
1146 error = EINVAL; in rfs4_fattr4_cansettime()
1150 error = -1; /* no match */ in rfs4_fattr4_cansettime()
1155 return (error); in rfs4_fattr4_cansettime()
1167 int error = 0; in rfs4_fattr4_case_insensitive() local
1175 error = EINVAL; in rfs4_fattr4_case_insensitive()
1184 error = EINVAL; in rfs4_fattr4_case_insensitive()
1188 error = -1; /* no match */ in rfs4_fattr4_case_insensitive()
1193 return (error); in rfs4_fattr4_case_insensitive()
1201 int error = 0; in rfs4_fattr4_case_preserving() local
1209 error = EINVAL; in rfs4_fattr4_case_preserving()
1218 error = EINVAL; in rfs4_fattr4_case_preserving()
1222 error = -1; /* no match */ in rfs4_fattr4_case_preserving()
1227 return (error); in rfs4_fattr4_case_preserving()
1236 int error = 0; in rfs4_fattr4_chown_restricted() local
1245 error = EINVAL; in rfs4_fattr4_chown_restricted()
1249 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_chown_restricted()
1253 error = VOP_PATHCONF(sarg->cs->vp, in rfs4_fattr4_chown_restricted()
1255 if (error) in rfs4_fattr4_chown_restricted()
1264 error = EINVAL; in rfs4_fattr4_chown_restricted()
1268 error = VOP_PATHCONF(sarg->cs->vp, in rfs4_fattr4_chown_restricted()
1270 if (error) in rfs4_fattr4_chown_restricted()
1273 error = -1; /* no match */ in rfs4_fattr4_chown_restricted()
1278 return (error); in rfs4_fattr4_chown_restricted()
1286 int error = 0; in rfs4_fattr4_fileid() local
1294 error = EINVAL; in rfs4_fattr4_fileid()
1298 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_fileid()
1308 error = EINVAL; in rfs4_fattr4_fileid()
1313 error = -1; /* no match */ in rfs4_fattr4_fileid()
1318 return (error); in rfs4_fattr4_fileid()
1325 int error = 0; in rfs4_get_mntdfileid() local
1359 error = rfs4_vop_getattr(stubvp, vap, 0, sarg->cs->cr); in rfs4_get_mntdfileid()
1381 if (!error && (vap->va_mask & AT_NODEID)) { in rfs4_get_mntdfileid()
1385 error = -1; in rfs4_get_mntdfileid()
1393 return (error); in rfs4_get_mntdfileid()
1401 int error = 0; in rfs4_fattr4_mounted_on_fileid() local
1409 error = EINVAL; in rfs4_fattr4_mounted_on_fileid()
1414 error = rfs4_get_mntdfileid(cmd, sarg); in rfs4_fattr4_mounted_on_fileid()
1416 if (!error && sarg->mntdfid_set) { in rfs4_fattr4_mounted_on_fileid()
1422 error = -1; in rfs4_fattr4_mounted_on_fileid()
1427 error = EINVAL; in rfs4_fattr4_mounted_on_fileid()
1432 return (error); in rfs4_fattr4_mounted_on_fileid()
1440 int error = 0; in rfs4_fattr4_files_avail() local
1448 error = EINVAL; in rfs4_fattr4_files_avail()
1452 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_files_avail()
1462 error = EINVAL; in rfs4_fattr4_files_avail()
1467 error = -1; /* no match */ in rfs4_fattr4_files_avail()
1472 return (error); in rfs4_fattr4_files_avail()
1480 int error = 0; in rfs4_fattr4_files_free() local
1488 error = EINVAL; in rfs4_fattr4_files_free()
1492 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_files_free()
1502 error = EINVAL; in rfs4_fattr4_files_free()
1507 error = -1; /* no match */ in rfs4_fattr4_files_free()
1512 return (error); in rfs4_fattr4_files_free()
1520 int error = 0; in rfs4_fattr4_files_total() local
1528 error = EINVAL; in rfs4_fattr4_files_total()
1532 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_files_total()
1542 error = EINVAL; in rfs4_fattr4_files_total()
1547 error = -1; /* no match */ in rfs4_fattr4_files_total()
1552 return (error); in rfs4_fattr4_files_total()
1620 int error = 0; in rfs4_fattr4_fs_locations() local
1629 error = EINVAL; in rfs4_fattr4_fs_locations()
1650 error = EINVAL; in rfs4_fattr4_fs_locations()
1659 error = EINVAL; in rfs4_fattr4_fs_locations()
1662 return (error); in rfs4_fattr4_fs_locations()
1678 int error = 0; in rfs4_fattr4_homogeneous() local
1686 error = EINVAL; in rfs4_fattr4_homogeneous()
1695 error = EINVAL; in rfs4_fattr4_homogeneous()
1699 error = -1; /* no match */ in rfs4_fattr4_homogeneous()
1704 return (error); in rfs4_fattr4_homogeneous()
1712 int error = 0; in rfs4_fattr4_maxfilesize() local
1722 error = EINVAL; in rfs4_fattr4_maxfilesize()
1726 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_maxfilesize()
1730 error = VOP_PATHCONF(sarg->cs->vp, _PC_FILESIZEBITS, &val, in rfs4_fattr4_maxfilesize()
1732 if (error) in rfs4_fattr4_maxfilesize()
1754 error = EINVAL; in rfs4_fattr4_maxfilesize()
1758 error = VOP_PATHCONF(sarg->cs->vp, _PC_FILESIZEBITS, &val, in rfs4_fattr4_maxfilesize()
1760 if (error) in rfs4_fattr4_maxfilesize()
1777 error = -1; /* no match */ in rfs4_fattr4_maxfilesize()
1782 return (error); in rfs4_fattr4_maxfilesize()
1790 int error = 0; in rfs4_fattr4_maxlink() local
1799 error = EINVAL; in rfs4_fattr4_maxlink()
1803 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_maxlink()
1807 error = VOP_PATHCONF(sarg->cs->vp, _PC_LINK_MAX, &val, in rfs4_fattr4_maxlink()
1809 if (error == 0) { in rfs4_fattr4_maxlink()
1817 error = EINVAL; in rfs4_fattr4_maxlink()
1821 error = VOP_PATHCONF(sarg->cs->vp, _PC_LINK_MAX, &val, in rfs4_fattr4_maxlink()
1823 if (!error && (na->maxlink != (uint32_t)val)) in rfs4_fattr4_maxlink()
1824 error = -1; /* no match */ in rfs4_fattr4_maxlink()
1829 return (error); in rfs4_fattr4_maxlink()
1837 int error = 0; in rfs4_fattr4_maxname() local
1846 error = EINVAL; in rfs4_fattr4_maxname()
1850 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_maxname()
1854 error = VOP_PATHCONF(sarg->cs->vp, _PC_NAME_MAX, &val, in rfs4_fattr4_maxname()
1856 if (error == 0) { in rfs4_fattr4_maxname()
1864 error = EINVAL; in rfs4_fattr4_maxname()
1868 error = VOP_PATHCONF(sarg->cs->vp, _PC_NAME_MAX, &val, in rfs4_fattr4_maxname()
1870 if (!error && (na->maxname != val)) in rfs4_fattr4_maxname()
1871 error = -1; /* no match */ in rfs4_fattr4_maxname()
1876 return (error); in rfs4_fattr4_maxname()
1884 int error = 0; in rfs4_fattr4_maxread() local
1892 error = EINVAL; in rfs4_fattr4_maxread()
1901 error = EINVAL; in rfs4_fattr4_maxread()
1905 error = -1; /* no match */ in rfs4_fattr4_maxread()
1910 return (error); in rfs4_fattr4_maxread()
1918 int error = 0; in rfs4_fattr4_maxwrite() local
1926 error = EINVAL; in rfs4_fattr4_maxwrite()
1935 error = EINVAL; in rfs4_fattr4_maxwrite()
1939 error = -1; /* no match */ in rfs4_fattr4_maxwrite()
1944 return (error); in rfs4_fattr4_maxwrite()
1960 int error = 0; in rfs4_fattr4_mode() local
1970 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_mode()
1990 error = -1; /* no match */ in rfs4_fattr4_mode()
1995 return (error); in rfs4_fattr4_mode()
2003 int error = 0; in rfs4_fattr4_no_trunc() local
2011 error = EINVAL; in rfs4_fattr4_no_trunc()
2020 error = EINVAL; in rfs4_fattr4_no_trunc()
2024 error = -1; /* no match */ in rfs4_fattr4_no_trunc()
2029 return (error); in rfs4_fattr4_no_trunc()
2037 int error = 0; in rfs4_fattr4_numlinks() local
2045 error = EINVAL; in rfs4_fattr4_numlinks()
2049 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_numlinks()
2059 error = EINVAL; in rfs4_fattr4_numlinks()
2064 error = -1; /* no match */ in rfs4_fattr4_numlinks()
2069 return (error); in rfs4_fattr4_numlinks()
2077 int error = 0; in rfs4_fattr4_owner() local
2088 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_owner()
2098 error = nfs_idmap_uid_str(sarg->vap->va_uid, &na->owner, TRUE); in rfs4_fattr4_owner()
2099 switch (error) { in rfs4_fattr4_owner()
2101 error = NFS4ERR_DELAY; in rfs4_fattr4_owner()
2123 error = nfs_idmap_str_uid(&na->owner, &sarg->vap->va_uid, TRUE); in rfs4_fattr4_owner()
2124 switch (error) { in rfs4_fattr4_owner()
2131 error = 0; in rfs4_fattr4_owner()
2146 error = NFS4ERR_DELAY; in rfs4_fattr4_owner()
2150 error = NFS4ERR_INVAL; in rfs4_fattr4_owner()
2154 error = NFS4ERR_BADOWNER; in rfs4_fattr4_owner()
2161 error = nfs_idmap_str_uid(&na->owner, &uid, TRUE); in rfs4_fattr4_owner()
2165 if (error == ENOTSUP) in rfs4_fattr4_owner()
2166 error = 0; in rfs4_fattr4_owner()
2167 if (error) in rfs4_fattr4_owner()
2168 error = -1; /* no match */ in rfs4_fattr4_owner()
2170 error = -1; /* no match */ in rfs4_fattr4_owner()
2181 return (error); in rfs4_fattr4_owner()
2189 int error = 0; in rfs4_fattr4_owner_group() local
2200 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_owner_group()
2210 error = nfs_idmap_gid_str(sarg->vap->va_gid, &na->owner_group, in rfs4_fattr4_owner_group()
2212 switch (error) { in rfs4_fattr4_owner_group()
2214 error = NFS4ERR_DELAY; in rfs4_fattr4_owner_group()
2236 error = nfs_idmap_str_gid(&na->owner_group, &sarg->vap->va_gid, in rfs4_fattr4_owner_group()
2238 switch (error) { in rfs4_fattr4_owner_group()
2245 error = 0; in rfs4_fattr4_owner_group()
2260 error = NFS4ERR_DELAY; in rfs4_fattr4_owner_group()
2264 error = NFS4ERR_INVAL; in rfs4_fattr4_owner_group()
2268 error = NFS4ERR_BADOWNER; in rfs4_fattr4_owner_group()
2275 error = nfs_idmap_str_gid(&na->owner_group, &gid, TRUE); in rfs4_fattr4_owner_group()
2279 if (error == ENOTSUP) in rfs4_fattr4_owner_group()
2280 error = 0; in rfs4_fattr4_owner_group()
2281 if (error) in rfs4_fattr4_owner_group()
2282 error = -1; /* no match */ in rfs4_fattr4_owner_group()
2284 error = -1; /* no match */ in rfs4_fattr4_owner_group()
2296 return (error); in rfs4_fattr4_owner_group()
2329 int error = 0; in rfs4_fattr4_rawdev() local
2337 error = EINVAL; in rfs4_fattr4_rawdev()
2341 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_rawdev()
2352 error = EINVAL; in rfs4_fattr4_rawdev()
2360 error = -1; /* no match */ in rfs4_fattr4_rawdev()
2365 return (error); in rfs4_fattr4_rawdev()
2373 int error = 0; in rfs4_fattr4_space_avail() local
2381 error = EINVAL; in rfs4_fattr4_space_avail()
2385 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_space_avail()
2402 error = EINVAL; in rfs4_fattr4_space_avail()
2407 error = -1; /* no match */ in rfs4_fattr4_space_avail()
2412 return (error); in rfs4_fattr4_space_avail()
2420 int error = 0; in rfs4_fattr4_space_free() local
2428 error = EINVAL; in rfs4_fattr4_space_free()
2432 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_space_free()
2449 error = EINVAL; in rfs4_fattr4_space_free()
2454 error = -1; /* no match */ in rfs4_fattr4_space_free()
2459 return (error); in rfs4_fattr4_space_free()
2467 int error = 0; in rfs4_fattr4_space_total() local
2475 error = EINVAL; in rfs4_fattr4_space_total()
2479 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_space_total()
2496 error = EINVAL; in rfs4_fattr4_space_total()
2501 error = -1; /* no match */ in rfs4_fattr4_space_total()
2506 return (error); in rfs4_fattr4_space_total()
2514 int error = 0; in rfs4_fattr4_space_used() local
2522 error = EINVAL; in rfs4_fattr4_space_used()
2526 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_space_used()
2537 error = EINVAL; in rfs4_fattr4_space_used()
2542 error = -1; /* no match */ in rfs4_fattr4_space_used()
2547 return (error); in rfs4_fattr4_space_used()
2563 int error = 0; in rfs4_fattr4_time_access() local
2572 error = EINVAL; in rfs4_fattr4_time_access()
2576 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_time_access()
2580 error = nfs4_time_vton(&sarg->vap->va_atime, &na->time_access); in rfs4_fattr4_time_access()
2586 error = EINVAL; in rfs4_fattr4_time_access()
2590 error = nfs4_time_ntov(&na->time_access, &atime); in rfs4_fattr4_time_access()
2591 if (error) in rfs4_fattr4_time_access()
2594 error = -1; /* no match */ in rfs4_fattr4_time_access()
2599 return (error); in rfs4_fattr4_time_access()
2610 int error = 0; in rfs4_fattr4_time_access_set() local
2620 error = EINVAL; in rfs4_fattr4_time_access_set()
2627 error = EINVAL; in rfs4_fattr4_time_access_set()
2636 error = nfs4_time_ntov(&ta->time, &sarg->vap->va_atime); in rfs4_fattr4_time_access_set()
2640 error = EINVAL; in rfs4_fattr4_time_access_set()
2646 return (error); in rfs4_fattr4_time_access_set()
2670 int error = 0; in rfs4_fattr4_time_delta() local
2678 error = EINVAL; in rfs4_fattr4_time_delta()
2688 error = EINVAL; in rfs4_fattr4_time_delta()
2693 error = -1; /* no match */ in rfs4_fattr4_time_delta()
2698 return (error); in rfs4_fattr4_time_delta()
2706 int error = 0; in rfs4_fattr4_time_metadata() local
2715 error = EINVAL; in rfs4_fattr4_time_metadata()
2719 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_time_metadata()
2723 error = nfs4_time_vton(&sarg->vap->va_ctime, in rfs4_fattr4_time_metadata()
2730 error = EINVAL; in rfs4_fattr4_time_metadata()
2734 error = nfs4_time_ntov(&na->time_metadata, &ctime); in rfs4_fattr4_time_metadata()
2735 if (error) in rfs4_fattr4_time_metadata()
2738 error = -1; /* no match */ in rfs4_fattr4_time_metadata()
2743 return (error); in rfs4_fattr4_time_metadata()
2751 int error = 0; in rfs4_fattr4_time_modify() local
2760 error = EINVAL; in rfs4_fattr4_time_modify()
2764 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_time_modify()
2768 error = nfs4_time_vton(&sarg->vap->va_mtime, &na->time_modify); in rfs4_fattr4_time_modify()
2774 error = EINVAL; in rfs4_fattr4_time_modify()
2778 error = nfs4_time_ntov(&na->time_modify, &mtime); in rfs4_fattr4_time_modify()
2779 if (error) in rfs4_fattr4_time_modify()
2782 error = -1; /* no match */ in rfs4_fattr4_time_modify()
2787 return (error); in rfs4_fattr4_time_modify()
2798 int error = 0; in rfs4_fattr4_time_modify_set() local
2808 error = EINVAL; in rfs4_fattr4_time_modify_set()
2815 error = EINVAL; in rfs4_fattr4_time_modify_set()
2824 error = nfs4_time_ntov(&tm->time, &sarg->vap->va_mtime); in rfs4_fattr4_time_modify_set()
2829 error = EINVAL; in rfs4_fattr4_time_modify_set()
2835 return (error); in rfs4_fattr4_time_modify_set()
2843 int error = 0; in rfs4_fattr4_suppattr_exclcreat() local
2852 error = EINVAL; in rfs4_fattr4_suppattr_exclcreat()
2861 error = EINVAL; in rfs4_fattr4_suppattr_exclcreat()
2865 error = -1; /* no match */ in rfs4_fattr4_suppattr_exclcreat()
2870 return (error); in rfs4_fattr4_suppattr_exclcreat()