Home
last modified time | relevance | path

Searched refs:SA_OK (Results 1 – 25 of 26) sorted by relevance

12

/titanic_50/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c240 int ret = SA_OK; in check_rorw()
390 int err = SA_OK; in smb_enable_share()
446 if (err != SA_OK) { in smb_enable_share()
466 if (err != SA_OK) { in smb_enable_share()
479 if (err != SA_OK) { in smb_enable_share()
506 int ret = SA_OK; in smb_enable_resource()
519 return (SA_OK); in smb_enable_resource()
525 return (SA_OK); in smb_enable_resource()
528 if ((ret = smb_build_shareinfo(share, resource, &si)) != SA_OK) in smb_enable_resource()
544 return (SA_OK); in smb_enable_resource()
[all …]
/titanic_50/usr/src/lib/libshare/smbfs/
H A Dlibshare_smbfs.c195 int ret = SA_OK; in range_check_validator()
200 return (SA_OK); in range_check_validator()
220 int ret = SA_OK; in string_length_check_validator()
225 return (SA_OK); in string_length_check_validator()
241 return (SA_OK); in yes_no_validator()
246 return (SA_OK); in yes_no_validator()
263 return (SA_OK); in ip_address_validator()
266 return (SA_OK); in ip_address_validator()
276 return (SA_OK); in minauth_validator()
282 return (SA_OK); in minauth_validator()
[all …]
/titanic_50/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c461 int ret = SA_OK; in notify_or_enable_share()
496 groupproto)) != SA_OK) { in notify_or_enable_share()
498 if (ret != SA_OK) { in notify_or_enable_share()
508 groupproto)) != SA_OK) { in notify_or_enable_share()
510 if (ret != SA_OK) { in notify_or_enable_share()
599 for (ret = SA_OK; work != NULL; work = work->next) { in enable_all_groups()
610 if (ret != SA_OK) in enable_all_groups()
644 if (ret != SA_OK) in enable_all_groups()
694 if (ret == SA_OK) { in enable_all_groups()
784 int ret = SA_OK; in valid_options()
[all …]
H A Dsharemgr_main.c98 exit(SA_OK); in main()
/titanic_50/usr/src/lib/libshare/autofs/
H A Dlibshare_autofs.c196 int ret = SA_OK; in autofs_init()
205 if (ret != SA_OK) { in autofs_init()
209 ret = SA_OK; in autofs_init()
245 int ret = SA_OK; in autofs_validate_property()
261 if (ret != SA_OK) { in autofs_validate_property()
421 int ret = SA_OK; in extractprop()
445 int ret = SA_OK, bufsz = 0, i; in initautofsprotofromsmf()
458 if (ret == SA_OK) { in initautofsprotofromsmf()
471 int ret = SA_OK; in range_check_validator()
503 return (SA_OK); in true_false_validator()
[all …]
/titanic_50/usr/src/lib/libshare/common/
H A Dscfutil.c142 if (sa_get_instance(handle, "default") != SA_OK) { in sa_scf_init()
252 int ret = SA_OK; in sa_extract_pgroup()
475 int ret = SA_OK; in sa_share_from_pgroup()
534 ret = SA_OK; in sa_share_from_pgroup()
537 ret = SA_OK; in sa_share_from_pgroup()
540 if (ret != SA_OK) in sa_share_from_pgroup()
711 int ret = SA_OK; in sa_share_props_from_pgroup()
830 ret = SA_OK; in sa_share_props_from_pgroup()
836 if (ret == SA_OK) { in sa_share_props_from_pgroup()
882 int ret = SA_OK; in sa_extract_group()
[all …]
H A Dlibshare.c126 case SA_OK: in sa_errorstr()
273 ret = SA_OK; in add_handle_for_root()
379 if (ret == SA_OK) { in set_legacy_timestamp()
382 if (ret == SA_OK) { in set_legacy_timestamp()
385 if (ret == SA_OK) { in set_legacy_timestamp()
462 int issub = SA_OK; in checksubdirgroup()
527 int issub = SA_OK; in checksubdir()
531 group != NULL && issub == SA_OK; in checksubdir()
536 subgroup != NULL && issub == SA_OK; in checksubdir()
558 int error = SA_OK; in validpath()
[all …]
H A Dplugin.c94 int ret = SA_OK; in proto_plugin_init()
106 return (SA_OK); in proto_plugin_init()
173 err = SA_OK; in proto_plugin_init()
176 if (err == SA_OK) { in proto_plugin_init()
197 if (ret != SA_OK) in proto_plugin_init()
492 int ret = SA_OK; in sa_proto_set_property()
582 int ret = SA_OK; in sa_proto_delete_section()
701 int ret = SA_OK; in sa_proto_rename_resource()
H A Dlibshare_zfs.c416 int ret = SA_OK; in find_or_create_group()
467 *err = SA_OK; in find_or_create_zfs_subgroup()
529 int ret = SA_OK; in zfs_construct_resource()
547 int err = SA_OK; in zfs_inherited()
620 int err = SA_OK; in zfs_notinherited()
629 if (err != SA_OK) in zfs_notinherited()
699 int err = SA_OK; in sa_zfs_process_share()
761 int err = SA_OK; in sa_get_zfs_shares()
773 return (SA_OK); in sa_get_zfs_shares()
1102 int ret = SA_OK; in sa_zfs_update()
[all …]
H A Dlibsharecore.c580 int ret = SA_OK; in sa_delete_legacy()
627 if (ret == SA_OK) { in sa_delete_legacy()
677 int ret = SA_OK; in sa_update_legacy()
865 int ret = SA_OK; in _sa_free_dummy_share()
938 if (ret != SA_OK) in sa_parse_legacy_options()
1549 if (err == SA_OK) { in parse_sharetab()
1657 int ret = SA_OK; in sa_valid_property()
1683 err = SA_OK; in sa_fstype()
1688 if (err == SA_OK) in sa_fstype()
2109 int ret = SA_OK; in sa_update_sharetab()
[all …]
H A Dlibshare.h58 #define SA_OK 0 macro
/titanic_50/usr/src/cmd/dfs.cmds/sharectl/
H A Dsharectl.c124 int ret = SA_OK; in sc_get()
135 if (ret != SA_OK) { in sc_get()
149 return (SA_OK); in sc_get()
269 int ret = SA_OK; in sc_set()
279 if (ret != SA_OK) { in sc_set()
293 return (SA_OK); in sc_set()
365 if (err != SA_OK) { in sc_set()
417 int ret = SA_OK; in sc_status()
432 return (SA_OK); in sc_status()
470 int ret = SA_OK; in sc_delsect()
/titanic_50/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c455 int ret = SA_OK; in add_security_prop()
539 if (ret == SA_OK && !iszfs) { in add_security_prop()
620 int ret = SA_OK; in nfs_parse_legacy_options()
697 while (token != NULL && ret == SA_OK) { in nfs_parse_legacy_options()
797 if (ret != SA_OK) in nfs_parse_legacy_options()
918 int ret = SA_OK; in fill_export_from_optionset()
1145 err = SA_OK; in fill_security_from_secopts()
1147 prop != NULL && err == SA_OK; in fill_security_from_secopts()
1734 return (SA_OK); in public_exists()
1779 int err = SA_OK; in nfs_enable_share()
[all …]
/titanic_50/usr/src/cmd/fs.d/nfs/nfsd/
H A Dnfsd.c188 if (ret == SA_OK) { in main()
198 if (ret == SA_OK) { in main()
209 if ((ret == SA_OK) && strlen(value) > 0) { in main()
222 if ((ret == SA_OK) && strlen(value) > 0) { in main()
230 if (ret == SA_OK) { in main()
242 if (ret == SA_OK) in main()
248 if (ret == SA_OK) in main()
254 if (ret == SA_OK) in main()
/titanic_50/usr/src/cmd/fs.d/nfs/lockd/
H A Dlockd.c179 if (ret == SA_OK) { in main()
193 if (ret == SA_OK) { in main()
207 if (ret == SA_OK) { in main()
221 if (ret == SA_OK) { in main()
/titanic_50/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c595 int ret = SA_OK; in zfs_init_libshare()
600 if (ret == SA_OK && zhandle->libzfs_shareflags & ZFSSHARE_MISS) { in zfs_init_libshare()
617 if (ret == SA_OK && zhandle && zhandle->libzfs_sharehdl == NULL) in zfs_init_libshare()
620 if (ret == SA_OK && zhandle->libzfs_sharehdl == NULL) in zfs_init_libshare()
731 if (ret != SA_OK) { in zfs_share_proto()
762 shareopts, sourcestr, zhp->zfs_name) != SA_OK) { in zfs_share_proto()
777 if (err != SA_OK) { in zfs_share_proto()
833 if ((err = zfs_init_libshare(hdl, SA_INIT_SHARE_API)) != SA_OK) { in unshare_one()
845 if (err != SA_OK) { in unshare_one()
H A Dlibzfs_dataset.c1335 SA_INIT_CONTROL_API) != SA_OK) { in zfs_valid_proplist()
1349 if (zfs_parse_options(strval, proto) != SA_OK) { in zfs_valid_proplist()
/titanic_50/usr/src/cmd/fs.d/autofs/
H A Dautomount.c123 if (ret == SA_OK) in main()
133 if (ret == SA_OK) { in main()
H A Dautod_main.c132 if (ret == SA_OK) {
141 if (ret == SA_OK) {
150 if (ret == SA_OK) {
H A Dauto_subr.c1079 if (ret == SA_OK) { in put_automountd_env()
H A Dautod_nfs.c3994 if (ret == SA_OK) { in read_default_nfs()
4005 if (ret == SA_OK) { in read_default_nfs()
/titanic_50/usr/src/cmd/fs.d/nfs/lib/
H A Dsmfcfg.c374 if (rc != SA_OK) in nfs_smf_get_iprop()
381 return (SA_OK); in nfs_smf_get_iprop()
/titanic_50/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c420 if (ret != SA_OK) { in main()
454 if (ret == SA_OK) { in main()
471 if (ret == SA_OK) { in main()
481 if (ret != SA_OK) { in main()
/titanic_50/usr/src/lib/libmapid/common/
H A Dmapid.c962 if (ret == SA_OK && *value != NULL) { in get_nfs_domain()
/titanic_50/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c2632 if (ret == SA_OK) { in read_default()
2644 if (ret == SA_OK) { in read_default()

12