Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 25 of 2424) sorted by relevance

12345678910>>...97

/illumos-gate/usr/src/lib/libsrpt/common/
H A Dlibsrpt.c60 int ret = 0; in srpt_GetConfig() local
75 ret = 0; in srpt_GetConfig()
104 return (ret); in srpt_GetConfig()
131 ret = 0; in srpt_SetConfig()
160 int ret; in srpt_GetDefaultState() local
179 ret = 0; in srpt_GetDefaultState()
204 int ret; in srpt_SetDefaultState() local
249 int ret; in srpt_SetTargetState() local
322 int ret; in srpt_GetTargetState() local
367 ret = 0; in srpt_GetTargetState()
[all …]
/illumos-gate/usr/src/lib/libsff/common/
H A Dlibsff.c686 int ret; in sff_parse_compliance() local
692 return (ret); in sff_parse_compliance()
763 int ret; in sff_parse_br() local
780 int ret; in sff_parse_lengths() local
930 int ret; in sff_parse_sfp() local
1004 int ret; in sff_qsfp_parse_compliance() local
1068 int ret; in sff_qsfp_parse_lengths() local
1150 int ret; in sff_qsfp_parse_copperwave() local
1283 int ret; in sff_parse_qsfp() local
1364 int ret; in libsff_parse() local
[all …]
/illumos-gate/usr/src/lib/libstmf/common/
H A Dstmf.c247 int ret; in initializeConfig() local
408 ret = in groupMemberIoctl()
413 ret = in groupMemberIoctl()
481 int ret; in stmfAddToHostGroup() local
556 int ret; in stmfAddToTargetGroup() local
746 int ret; in stmfAddViewEntry() local
864 int ret; in stmfClearProviderData() local
981 int ret; in stmfCreateHostGroup() local
3173 int ret; in stmfCreateTargetGroup() local
3255 int ret; in stmfDeleteHostGroup() local
[all …]
H A Dstore.c932 int ret; in iPsAddViewEntry() local
2019 int ret; in psGetServicePersist() local
2046 int ret; in psSetServicePersist() local
2556 int ret; in iPsInit() local
2847 int ret; in iPsGetActualGroupName() local
2976 int ret; in psAddHostGroupMember() local
3009 int ret; in psAddTargetGroupMember() local
3141 int ret; in psCheckService() local
3405 int ret; in psGetHostGroupMemberList() local
3441 int ret; in psGetTargetGroupMemberList() local
[all …]
/illumos-gate/usr/src/common/iscsit/
H A Discsit_common.c188 int ret; in it_config_to_nv() local
264 int ret; in it_nv_to_config() local
446 int ret; in it_tgtlist_to_nv() local
500 int ret; in it_tgt_to_nv() local
547 int ret; in it_nv_to_tgt() local
570 ret = 0; in it_nv_to_tgt()
577 ret = 0; in it_nv_to_tgt()
589 ret = 0; in it_nv_to_tgt()
604 int ret; in it_tpgt_to_nv() local
637 int ret; in it_nv_to_tpgt() local
[all …]
/illumos-gate/usr/src/cmd/itadm/
H A Ditadm.c270 ret = 1; in main()
299 ret = 1; in main()
452 ret = 1; in main()
644 int ret; in create_target() local
710 ret = 0; in create_target()
812 int ret; in list_target() local
896 ret = 0; in list_target()
981 ret = 1; in list_target()
992 int ret; in delete_target() local
1049 ret = 1; in delete_target()
[all …]
/illumos-gate/usr/src/cmd/srptadm/
H A Dsrptadm.c143 ret = 1; in main()
225 ret = 1; in main()
242 ret = 1; in main()
254 ret = 1; in main()
348 int ret; in set_default_state() local
361 int ret; in enable_target() local
374 int ret; in disable_target() local
387 int ret; in reset_target() local
400 int ret; in list_defaults() local
429 int ret; in list_target() local
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Dgetrandom.c28 int ret; in main() local
35 assert(ret == -1); in main()
39 assert(ret >= 0); in main()
42 assert(ret >= 0); in main()
45 assert(ret >= 0); in main()
48 assert(ret >= 0); in main()
51 assert(ret == -1); in main()
56 assert(ret == -1); in main()
60 assert(ret == -1); in main()
67 assert(ret == 0); in main()
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_crypto.c88 int ret; in zfs_prop_parse_keylocation() local
503 int ret; in get_key_material() local
628 int ret; in derive_key() local
702 int ret; in populate_create_encryption_params_nvlists() local
798 int ret; in proplist_has_encryption_props() local
829 int ret; in zfs_crypto_get_encryption_root() local
861 int ret; in zfs_crypto_create() local
1052 int ret; in load_keys_cb() local
1070 if (ret) in load_keys_cb()
1088 int ret; in zfs_crypto_attempt_load_keys() local
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_sval.c37 sval_t *ret; in sval_alloc() local
41 return ret; in sval_alloc()
48 ret = malloc(sizeof(*ret)); in sval_alloc_permanent()
50 return ret; in sval_alloc_permanent()
55 sval_t ret; in sval_blank() local
62 return ret; in sval_blank()
67 sval_t ret; in sval_type_val() local
74 return ret; in sval_type_val()
79 sval_t ret; in sval_type_fval() local
92 ret = sval_cast(get_type(expr), ret); in sval_from_val()
[all …]
/illumos-gate/usr/src/lib/libshare/common/
H A Dplugin.c200 return (ret); in proto_plugin_init()
281 return (ret); in sa_proto_share()
298 return (ret); in sa_proto_unshare()
322 return (ret); in sa_proto_share_resource()
344 return (ret); in sa_proto_unshare_resource()
358 int ret = 0; in sa_proto_valid_prop() local
362 return (ret); in sa_proto_valid_prop()
375 int ret = 0; in sa_proto_valid_space() local
379 return (ret); in sa_proto_valid_space()
410 int ret = 0; in sa_proto_security_prop() local
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Duchar.c58 ret = B_FALSE; in mbrtoc32_ascii()
64 ret = B_FALSE; in mbrtoc32_ascii()
69 ret = B_FALSE; in mbrtoc32_ascii()
75 ret = B_FALSE; in mbrtoc32_ascii()
78 return (ret); in mbrtoc32_ascii()
139 return (ret); in mbrtoc32_badseq_utf8()
176 return (ret); in mbrtoc32_roundtrip()
208 return (ret); in mbrtoc32_partial()
232 return (ret); in mbrtoc32_zero()
256 return (ret); in mbrtoc32_zero_len()
[all …]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dcertgetsetop.c52 return (ret); in copy_data()
62 return (ret); in copy_data()
115 return (ret); in copy_extension_data()
143 return (ret); in kmf_get_cert_extn()
168 return (ret); in kmf_get_cert_extn()
203 return (ret); in kmf_get_cert_extns()
250 return (ret); in kmf_get_cert_extns()
292 return (ret); in kmf_get_cert_ku()
373 return (ret); in parse_eku_data()
404 return (ret); in kmf_get_cert_eku()
[all …]
H A Dcertop.c132 return (ret); in kmf_find_prikey_by_cert()
144 return (ret); in kmf_find_prikey_by_cert()
155 return (ret); in kmf_find_prikey_by_cert()
187 return (ret); in check_key_usage()
265 return (ret); in kmf_find_cert()
270 return (ret); in kmf_find_cert()
310 return (ret); in kmf_encode_cert_record()
614 if (ret) in kmf_sign_cert()
646 return (ret); in kmf_sign_cert()
803 return (ret); in kmf_sign_data()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dmemstream.c127 boolean_t ret; in fmemopen_cantalloc() local
132 return (ret); in fmemopen_cantalloc()
160 boolean_t ret; in open_memstream_badbuf() local
170 return (ret); in open_memstream_badbuf()
189 boolean_t ret; in open_memstream_cantalloc() local
196 return (ret); in open_memstream_cantalloc()
234 return (ret); in open_wmemstream_badbuf()
260 return (ret); in open_wmemstream_cantalloc()
307 return (ret); in fmemopen_fill_putc()
1025 int ret; in fmemopen_bad_seeks() member
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dserver_stubs.c138 int ret; in cmp_gss_names_rel_1() local
142 return ret; in cmp_gss_names_rel_1()
518 return &ret; in create_principal_2_svc()
625 return &ret; in create_principal3_2_svc()
724 return &ret; in delete_principal_2_svc()
799 return &ret; in modify_principal_2_svc()
877 return &ret; in rename_principal_2_svc()
992 return &ret; in get_principal_2_svc()
1082 return &ret; in get_princs_2_svc()
1975 ret.code = ret.code ? ret.code : ret2; in get_policy_2_svc()
[all …]
/illumos-gate/usr/src/lib/libshare/smbfs/
H A Dsmbfs_scfutil.c129 return (ret); in smb_smf_instance_exists()
172 return (ret); in smb_smf_instance_create()
199 return (ret); in smb_smf_instance_delete()
300 return (ret); in smb_smf_create_service_pgroup()
348 return (ret); in smb_smf_create_instance_pgroup()
399 return (ret); in smb_smf_delete_service_pgroup()
450 return (ret); in smb_smf_delete_instance_pgroup()
492 return (ret); in smb_smf_start_transaction()
522 return (ret); in smb_smf_end_transaction()
566 return (ret); in smb_smf_delete_property()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dldap_key_seq.c49 ret = err; \
54 if (ret != 0) \
129 return ret; in asn1_encode_key()
216 return ret; in asn1_encode_sequence_of_keys()
251 return ret; in decode_tagged_integer()
277 return ret;
308 return ret; in decode_tagged_octetstring()
382 if (ret != 0) { in asn1_decode_key()
392 return ret; in asn1_decode_key()
468 if (ret != 0) { in asn1_decode_sequence_of_keys()
[all …]
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_dwarf.c314 int ret; in ctf_dwarf_error() local
417 int ret; in ctf_dwmap_add() local
445 int ret; in ctf_dwarf_attribute() local
474 int ret; in ctf_dwarf_ref() local
499 int ret; in ctf_dwarf_refdie() local
524 int ret; in ctf_dwarf_signed() local
549 int ret; in ctf_dwarf_unsigned() local
1615 if (ret != 0 && ret != ENOENT) { in ctf_dwarf_array_upper_bound()
1619 if (ret != 0 && ret != ENOENT) { in ctf_dwarf_array_upper_bound()
1907 if (ret != 0 && ret != ENOENT) in ctf_dwarf_create_enum()
[all …]
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c268 int ret; in set_resource_desc() local
288 int ret; in set_share_desc() local
409 ret = 0; in check_authorization()
429 int ret; in check_authorizations() local
447 ret = 1; in check_authorizations()
596 int ret; in enable_all_groups() local
719 int ret; in chk_opt() local
3213 if ((ret == SA_OK || ret == SA_NO_SUCH_PATH || in sa_removeshare()
4700 if (ret != SA_OK && ret != SA_BUSY) in sa_enable_group()
4916 if (ret != SA_OK && ret != SA_BUSY) in sa_disable_group()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_apprec.c51 int ret; local
58 return (ret);
108 ret = 0;
138 if (ret != 0 && ret != DB_TXN_CKP)
164 ret = 0;
181 if (ret != 0)
185 ret = 0;
187 if (ret != 0 && ret != DB_NOTFOUND)
194 ret == 0; ret = log_get(lp, &lsn, &data, DB_NEXT)) {
205 ret = 0;
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_recno.c88 return (ret);
94 return (ret);
120 if ((ret =
164 ret = 0;
485 int ret; local
874 int ret; local
944 int ret; local
956 if ((ret =
1037 if ((ret =
1110 ret = 0;
[all …]
/illumos-gate/usr/src/test/os-tests/tests/uccid/
H A Dmodify.c42 int fd, ret; in main() local
61 VERIFY3S(ret, ==, 0); in main()
67 VERIFY3S(ret, ==, 0); in main()
75 VERIFY3S(ret, ==, 0); in main()
81 VERIFY3S(ret, ==, 0); in main()
96 VERIFY3S(ret, ==, 0); in main()
104 VERIFY3S(ret, ==, 0); in main()
110 VERIFY3S(ret, ==, 0); in main()
118 VERIFY3S(ret, ==, 0); in main()
124 VERIFY3S(ret, ==, 0); in main()
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dserver_kdb.c88 if (ret) in kdb_init_master()
95 return ret; in kdb_init_master()
181 if (ret) in kdb_init_hist()
193 if (ret) in kdb_init_hist()
206 if (ret) in kdb_init_hist()
212 if (ret) in kdb_init_hist()
255 if (ret) in kdb_get_entry()
366 if (ret) in kdb_put_entry()
371 if (ret) in kdb_put_entry()
388 if (ret) in kdb_put_entry()
[all …]
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/
H A Dmain.c62 int ret; in main() local
98 return (ret); in main()
159 if (ret) { in get_tpm_capability()
173 if (ret) { in get_tpm_capability()
190 if (ret) { in set_policy_options()
199 if (ret) { in set_policy_options()
216 if (ret) { in set_object_policy()
230 if (ret) { in tpm_preamble()
236 if (ret) { in tpm_preamble()
243 if (ret) { in tpm_preamble()
[all …]

12345678910>>...97