Home
last modified time | relevance | path

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

12345678910>>...100

/titanic_52/usr/src/lib/libsrpt/common/
H A Dlibsrpt.c60 int ret = 0; in srpt_GetConfig() local
71 ret = stmfGetProviderDataProt(SRPT_PROV_NAME, &cfg_nv, in srpt_GetConfig()
74 if (ret == STMF_STATUS_SUCCESS) { in srpt_GetConfig()
75 ret = 0; in srpt_GetConfig()
76 } else if (ret == STMF_ERROR_NOT_FOUND) { in srpt_GetConfig()
78 ret = nvlist_alloc(&cfg_nv, NV_UNIQUE_NAME, 0); in srpt_GetConfig()
79 if (ret != 0) { in srpt_GetConfig()
80 return (ret); in srpt_GetConfig()
83 ret = nvlist_alloc(&hcanv, NV_UNIQUE_NAME, 0); in srpt_GetConfig()
84 if (ret in srpt_GetConfig()
125 int ret = 0; srpt_SetConfig() local
160 int ret; srpt_GetDefaultState() local
204 int ret; srpt_SetDefaultState() local
249 int ret; srpt_SetTargetState() local
322 int ret; srpt_GetTargetState() local
393 int ret; srpt_ResetTarget() local
[all...]
/titanic_52/usr/src/lib/libsff/common/
H A Dlibsff.c686 int ret; in sff_parse_compliance() local
689 if ((ret = sff_gather_bitfield(buf[SFF_8472_COMPLIANCE_10GE] & in sff_parse_compliance()
692 return (ret); in sff_parse_compliance()
694 if ((ret = sff_gather_bitfield(buf[SFF_8472_COMPLIANCE_IB] & in sff_parse_compliance()
697 return (ret); in sff_parse_compliance()
699 if ((ret = sff_gather_bitfield(buf[SFF_8472_COMPLIANCE_ESCON] & in sff_parse_compliance()
702 return (ret); in sff_parse_compliance()
706 if ((ret = sff_gather_bitfield(v & SFF_8472_COMP_SOCON_MASK, in sff_parse_compliance()
708 return (ret); in sff_parse_compliance()
710 if ((ret in sff_parse_compliance()
763 int ret; sff_parse_br() local
780 int ret; sff_parse_lengths() local
930 int ret; sff_parse_sfp() local
1004 int ret; sff_qsfp_parse_compliance() local
1068 int ret; sff_qsfp_parse_lengths() local
1150 int ret; sff_qsfp_parse_copperwave() local
1283 int ret; sff_parse_qsfp() local
1364 int ret; libsff_parse() local
[all...]
/titanic_52/usr/src/common/iscsit/
H A Discsit_common.c188 int ret; in it_config_to_nv() local
198 ret = nvlist_alloc(&nv, NV_UNIQUE_NAME_TYPE, 0); in it_config_to_nv()
199 if (ret != 0) { in it_config_to_nv()
200 return (ret); in it_config_to_nv()
209 ret = nvlist_add_uint32(nv, "cfgVersion", cfg->config_version); in it_config_to_nv()
210 if (ret == 0) { in it_config_to_nv()
211 ret = it_tgtlist_to_nv(cfg->config_tgt_list, &lnv); in it_config_to_nv()
214 if ((ret == 0) && (lnv != NULL)) { in it_config_to_nv()
215 ret = nvlist_add_nvlist(nv, "targetList", lnv); in it_config_to_nv()
220 if (ret in it_config_to_nv()
264 int ret; it_nv_to_config() local
392 int ret = 0; it_nv_to_tgtlist() local
446 int ret; it_tgtlist_to_nv() local
500 int ret; it_tgt_to_nv() local
547 int ret; it_nv_to_tgt() local
604 int ret; it_tpgt_to_nv() local
637 int ret; it_nv_to_tpgt() local
675 int ret; it_tpgtlist_to_nv() local
729 int ret = 0; it_nv_to_tpgtlist() local
785 int ret; it_tpg_to_nv() local
859 int ret; it_nv_to_tpg() local
910 int ret; it_tpglist_to_nv() local
1051 int ret = 0; it_nv_to_tpglist() local
1105 int ret; it_ini_to_nv() local
1143 int ret; it_nv_to_ini() local
1188 int ret; it_inilist_to_nv() local
1241 int ret = 0; it_nv_to_inilist() local
1300 int ret; sockaddr_to_str() local
1357 int ret = 0; it_array_to_portallist() local
[all...]
/titanic_52/usr/src/lib/libstmf/common/
H A Dstmf.c162 int ret = STMF_STATUS_ERROR; in openStmf() local
165 ret = STMF_STATUS_SUCCESS; in openStmf()
168 ret = STMF_ERROR_BUSY; in openStmf()
170 ret = STMF_ERROR_PERM; in openStmf()
172 ret = STMF_STATUS_ERROR; in openStmf()
178 return (ret); in openStmf()
190 int ret = STMF_STATUS_ERROR; in openSbd() local
193 ret = STMF_STATUS_SUCCESS; in openSbd()
196 ret = STMF_ERROR_BUSY; in openSbd()
198 ret in openSbd()
218 int ret = STMF_STATUS_ERROR; openPppt() local
247 int ret; initializeConfig() local
297 int ret = STMF_STATUS_SUCCESS; groupIoctl() local
362 int ret = STMF_STATUS_SUCCESS; groupMemberIoctl() local
481 int ret; stmfAddToHostGroup() local
556 int ret; stmfAddToTargetGroup() local
632 int ret = STMF_STATUS_SUCCESS; addViewEntryIoctl() local
746 int ret; stmfAddViewEntry() local
864 int ret; stmfClearProviderData() local
981 int ret; stmfCreateHostGroup() local
1059 int ret = STMF_STATUS_SUCCESS; stmfCreateLu() local
1089 int ret = STMF_STATUS_SUCCESS; stmfCreateLuResource() local
1118 int ret = STMF_STATUS_SUCCESS; createDiskLu() local
1345 int ret = STMF_STATUS_SUCCESS; stmfImportLu() local
1366 int ret = STMF_STATUS_SUCCESS; importDiskLu() local
1476 diskError(uint32_t stmfError,int * ret) diskError() argument
1558 int ret = STMF_STATUS_SUCCESS; stmfDeleteLu() local
1585 int ret = STMF_STATUS_SUCCESS; deleteDiskLu() local
1649 int ret = STMF_STATUS_SUCCESS; stmfLuStandby() local
1676 int ret = STMF_STATUS_SUCCESS; setDiskStandby() local
1734 int ret = STMF_STATUS_SUCCESS; stmfModifyLu() local
1775 int ret = STMF_STATUS_SUCCESS; stmfModifyLuByFname() local
1793 int ret = STMF_STATUS_SUCCESS; modifyDiskLuProp() local
1835 int ret = STMF_STATUS_SUCCESS; modifyDiskLu() local
2007 int ret = STMF_STATUS_SUCCESS; persistDiskGuid() local
2124 int ret = STMF_STATUS_SUCCESS; stmfGetLuProp() local
2149 int ret = STMF_STATUS_SUCCESS; stmfGetLuResource() local
2185 int ret = STMF_STATUS_SUCCESS; getDiskAllProps() local
2273 int ret = STMF_STATUS_SUCCESS; loadDiskPropsFromDriver() local
2376 int ret = STMF_STATUS_SUCCESS; stmfGetGlobalLuProp() local
2395 int ret = STMF_STATUS_SUCCESS; getDiskGlobalProp() local
2511 int ret = STMF_STATUS_SUCCESS; stmfSetGlobalLuProp() local
2532 int ret = STMF_STATUS_SUCCESS; setDiskGlobalProp() local
2628 int ret = STMF_STATUS_SUCCESS; stmfSetLuProp() local
2657 int ret = STMF_STATUS_SUCCESS; getDiskProp() local
2856 int ret = STMF_STATUS_SUCCESS; setDiskProp() local
3088 int ret = STMF_STATUS_SUCCESS; stmfFreeLuResource() local
3173 int ret; stmfCreateTargetGroup() local
3255 int ret; stmfDeleteHostGroup() local
3335 int ret = STMF_STATUS_SUCCESS; stmfDeleteTargetGroup() local
3489 int ret; groupListIoctl() local
3624 int ret; groupMemberListIoctl() local
3768 int ret; iLoadGroupFromPs() local
3819 int ret = STMF_STATUS_ERROR; stmfGetHostGroupList() local
3837 int ret; iLoadGroupMembersFromPs() local
3890 int ret; stmfGetHostGroupMembers() local
3937 int ret; stmfGetProviderDataProt() local
3965 int ret; stmfGetProviderDataList() local
4005 int ret = STMF_STATUS_SUCCESS; stmfGetSessionList() local
4156 int ret; stmfGetTargetGroupList() local
4179 int ret; stmfGetTargetGroupMembers() local
4201 int ret; stmfGetTargetList() local
4334 int ret = STMF_STATUS_SUCCESS; stmfGetTargetProperties() local
4428 int ret; stmfGetLogicalUnitList() local
4577 int ret = STMF_STATUS_SUCCESS; stmfGetLogicalUnitProperties() local
4677 int ret; stmfGetState() local
4742 int ret; stmfGetViewEntryList() local
4911 int ret = STMF_STATUS_SUCCESS; loadHostGroups() local
4948 int ret = STMF_STATUS_SUCCESS; loadTargetGroups() local
4987 int ret; loadStore() local
5198 int ret = STMF_STATUS_SUCCESS; stmfGetAluaState() local
5260 int ret = STMF_STATUS_SUCCESS; stmfSetAluaState() local
5364 int ret = STMF_STATUS_SUCCESS; stmfLoadConfig() local
5440 int ret = STMF_STATUS_SUCCESS; getStmfState() local
5496 int ret = STMF_STATUS_SUCCESS; setStmfState() local
5549 int ret = STMF_STATUS_SUCCESS; stmfSetStmfProp() local
5580 int ret = STMF_STATUS_SUCCESS; stmfGetStmfProp() local
5625 int ret; setStmfProp() local
5676 int ret = STMF_STATUS_SUCCESS; loadStmfProp() local
5731 int ret = STMF_STATUS_SUCCESS; stmfLoadStmfProps() local
5758 int ret; stmfOnline() local
5793 int ret; stmfOffline() local
5832 int ret = STMF_STATUS_SUCCESS; stmfOfflineTarget() local
5866 int ret = STMF_STATUS_SUCCESS; stmfOfflineLogicalUnit() local
5899 int ret = STMF_STATUS_SUCCESS; stmfOnlineTarget() local
5933 int ret = STMF_STATUS_SUCCESS; stmfOnlineLogicalUnit() local
5966 int ret; stmfRemoveFromHostGroup() local
6041 int ret; stmfRemoveFromTargetGroup() local
6117 int ret = STMF_STATUS_SUCCESS; stmfRemoveViewEntry() local
6253 int ret; stmfSetProviderDataProt() local
6336 int ret = STMF_STATUS_SUCCESS; getProviderData() local
6473 int ret = STMF_STATUS_SUCCESS; setProviderData() local
6579 int ret = STMF_STATUS_SUCCESS; stmfSetPersistMethod() local
6620 int ret; iGetPersistMethod() local
6638 int ret = STMF_STATUS_SUCCESS; stmfGetPersistMethod() local
6672 int ret = STMF_STATUS_SUCCESS; stmfPostProxyMsg() local
6713 int ret = STMF_STATUS_SUCCESS; stmfInitProxyDoor() local
6774 int ret = STMF_STATUS_SUCCESS; validateLunNumIoctl() local
6882 int ret; stmfValidateView() local
[all...]
H A Dstore.c303 int ret = STMF_PS_SUCCESS; in iPsAddRemoveGroupMember() local
313 ret = iPsInit(&handle, &svc); in iPsAddRemoveGroupMember()
314 if (ret != STMF_PS_SUCCESS) { in iPsAddRemoveGroupMember()
328 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
337 ret = STMF_PS_ERROR_NOT_FOUND; in iPsAddRemoveGroupMember()
339 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
353 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
367 ret = STMF_PS_ERROR_GROUP_NOT_FOUND; in iPsAddRemoveGroupMember()
369 ret = STMF_PS_ERROR; in iPsAddRemoveGroupMember()
383 ret in iPsAddRemoveGroupMember()
645 int ret = STMF_PS_SUCCESS; iPsAddRemoveLuViewEntry() local
932 int ret; iPsAddViewEntry() local
1292 int ret = STMF_PS_SUCCESS; psClearProviderData() local
1397 int ret = STMF_PS_SUCCESS; iPsCreateDeleteGroup() local
1699 int ret = STMF_PS_SUCCESS; iPsGetGroupList() local
1872 int ret = STMF_PS_SUCCESS; iPsGetGroupMemberList() local
2019 int ret; psGetServicePersist() local
2046 int ret; psSetServicePersist() local
2079 int ret = STMF_PS_SUCCESS; iPsGetSetPersistType() local
2296 int ret = STMF_PS_SUCCESS; iPsGetSetStmfProp() local
2556 int ret; iPsInit() local
2649 int ret = STMF_PS_SUCCESS; iPsGetServiceVersion() local
2847 int ret; iPsGetActualGroupName() local
2976 int ret; psAddHostGroupMember() local
3009 int ret; psAddTargetGroupMember() local
3052 int ret = STMF_PS_SUCCESS; psAddViewEntry() local
3141 int ret; psCheckService() local
3252 int ret = STMF_PS_SUCCESS; psGetLogicalUnitList() local
3405 int ret; psGetHostGroupMemberList() local
3441 int ret; psGetTargetGroupMemberList() local
3502 int ret = STMF_PS_SUCCESS; psGetViewEntryList() local
3694 int ret = STMF_PS_SUCCESS; iPsGetViewEntry() local
3928 int ret; psRemoveHostGroupMember() local
3965 int ret; psRemoveTargetGroupMember() local
4014 int ret = STMF_PS_SUCCESS; psGetProviderData() local
4246 int ret = STMF_PS_SUCCESS; psGetProviderDataList() local
4460 int ret = STMF_PS_SUCCESS; psSetProviderData() local
5047 int ret = STMF_PS_SUCCESS; psGetViewEntry() local
5135 int ret = STMF_PS_SUCCESS; psRemoveViewEntry() local
5343 int ret = 0; releaseSignal() local
[all...]
/titanic_52/usr/src/cmd/itadm/
H A Ditadm.c56 #define STMF_STALE(ret) {\ argument
57 if (ret == STMF_ERROR_PROV_DATA_STALE) {\
58 output_config_error(ret, NULL);\
59 } else if (ret != 0) {\
60 output_config_error(ret,\
248 int ret = 0; in main() local
270 ret = 1; in main()
295 ret = nvlist_alloc(&proplist, NV_UNIQUE_NAME, 0); in main()
296 if (ret != 0) { in main()
297 ret in main()
644 int ret; create_target() local
812 int ret; list_target() local
992 int ret; delete_target() local
1060 int ret; modify_target() local
1306 int ret; create_tpg() local
1427 int ret; list_tpg() local
1530 int ret; delete_tpg() local
1589 int ret; modify_initiator() local
1723 int ret; list_initiator() local
1816 int ret; delete_initiator() local
1863 int ret; modify_defaults() local
1931 int ret; list_defaults() local
2011 int ret = 0; itadm_get_password() local
[all...]
/titanic_52/usr/src/boot/lib/libz/test/
H A Dinfcover.c287 int ret; in inf() local
296 ret = inflateInit2(&strm, win); in inf()
297 if (ret != Z_OK) { in inf()
309 ret = inflateGetHeader(&strm, &head); assert(ret == Z_OK); in inf()
320 ret = inflate(&strm, Z_NO_FLUSH); assert(err == 9 || ret == err); in inf()
321 if (ret != Z_OK && ret != Z_BUF_ERROR && ret ! in inf()
352 int ret; cover_support() local
390 int ret; cover_wrap() local
472 int ret; cover_back() local
509 int ret; try() local
619 int ret; cover_trees() local
[all...]
/titanic_52/usr/src/cmd/srptadm/
H A Dsrptadm.c52 #define STMF_STALE(ret) {\ argument
53 if (ret == STMF_ERROR_PROV_DATA_STALE) {\
126 int ret = 0; in main() local
143 ret = 1; in main()
167 while ((ret == 0) && (newargv)) { in main()
199 ret = 1; in main()
212 ret = 1; in main()
217 if (ret != 0) { in main()
225 ret = 1; in main()
242 ret in main()
348 int ret; set_default_state() local
361 int ret; enable_target() local
374 int ret; disable_target() local
387 int ret; reset_target() local
400 int ret; list_defaults() local
429 int ret; list_target() local
474 int ret; print_target_props() local
539 int ret = 0; get_local_hcas() local
[all...]
/titanic_52/usr/src/lib/libctf/common/
H A Dctf_dwarf.c298 int ret; in ctf_dwarf_error() local
307 ret = snprintf(cup->cu_errbuf, rem, "die %s: ", cup->cu_name); in ctf_dwarf_error()
308 if (ret < 0) in ctf_dwarf_error()
310 off += ret; in ctf_dwarf_error()
311 rem = MAX(rem - ret, 0); in ctf_dwarf_error()
314 ret = vsnprintf(cup->cu_errbuf + off, rem, fmt, ap); in ctf_dwarf_error()
316 if (ret < 0) in ctf_dwarf_error()
319 off += ret; in ctf_dwarf_error()
320 rem = MAX(rem - ret, 0); in ctf_dwarf_error()
400 int ret; in ctf_dwmap_add() local
428 int ret; ctf_dwarf_attribute() local
446 int ret; ctf_dwarf_ref() local
468 int ret; ctf_dwarf_refdie() local
491 int ret; ctf_dwarf_signed() local
513 int ret; ctf_dwarf_unsigned() local
535 int ret; ctf_dwarf_boolean() local
557 int ret; ctf_dwarf_string() local
584 int ret; ctf_dwarf_member_location() local
662 int ret; ctf_dwarf_sib() local
679 int ret; ctf_dwarf_child() local
701 int ret; ctf_dwarf_isglobal() local
850 int ret; ctf_dwarf_dwarf_base() local
979 int ret; ctf_dwarf_create_base() local
1041 int ret; ctf_dwarf_member_offset() local
1110 int ret; ctf_dwarf_member_bitfield() local
1216 int ret, kind; ctf_dwarf_fixup_sou() local
1328 int ret; ctf_dwarf_create_sou() local
1395 int ret; ctf_dwarf_create_array_range() local
1457 int ret; ctf_dwarf_create_array() local
1495 int ret; ctf_dwarf_create_reference() local
1543 int ret; ctf_dwarf_create_enum() local
1639 int ret; ctf_dwarf_create_fptr() local
1698 int ret; ctf_dwarf_convert_type() local
1796 int ret; ctf_dwarf_walk_lexical() local
1812 int ret; ctf_dwarf_function_count() local
1866 int ret; ctf_dwarf_convert_fargs() local
1911 int ret; ctf_dwarf_convert_function() local
2011 int ret; ctf_dwarf_convert_variable() local
2084 int ret; ctf_dwarf_walk_toplevel() local
2138 int ret; ctf_dwarf_convert_die() local
2158 int ret; ctf_dwarf_fixup_die() local
2227 int ret; ctf_dwarf_symtab_iter() local
2288 int ret, bind, type; ctf_dwarf_conv_funcvars_cb() local
2446 int ret; ctf_dwarf_duplicate_func() local
2482 int ret, type; ctf_dwarf_conv_weaks_cb() local
2540 int ret; ctf_dwarf_convert_one() local
2702 int ret; ctf_dwarf_count_dies() local
2737 int ret; ctf_dwarf_init_die() local
2836 int err, ret, ndies, i; ctf_dwarf_convert() local
[all...]
/titanic_52/usr/src/test/libc-tests/tests/random/
H A Dgetrandom.c28 int ret; in main() local
34 ret = getrandom(buf, sizeof (buf), 42); in main()
35 assert(ret == -1); in main()
38 ret = getrandom(buf, sizeof (buf), 0); in main()
39 assert(ret >= 0); in main()
41 ret = getrandom(buf, sizeof (buf), GRND_NONBLOCK); in main()
42 assert(ret >= 0); in main()
44 ret = getrandom(buf, sizeof (buf), GRND_RANDOM); in main()
45 assert(ret >= 0); in main()
47 ret in main()
[all...]
/titanic_52/usr/src/lib/libshare/common/
H A Dplugin.c94 int ret = SA_OK; in proto_plugin_init() local
145 ret = SA_NO_MEMORY; in proto_plugin_init()
190 ret = SA_NO_MEMORY; in proto_plugin_init()
197 if (ret != SA_OK) in proto_plugin_init()
200 return (ret); in proto_plugin_init()
277 int ret = SA_INVALID_PROTOCOL; in sa_proto_share() local
280 ret = ops->sa_share(share); in sa_proto_share()
281 return (ret); in sa_proto_share()
294 int ret = SA_INVALID_PROTOCOL; in sa_proto_unshare() local
297 ret in sa_proto_unshare()
314 int ret = SA_INVALID_PROTOCOL; sa_proto_share_resource() local
336 int ret = SA_INVALID_PROTOCOL; sa_proto_unshare_resource() local
358 int ret = 0; sa_proto_valid_prop() local
375 int ret = 0; sa_proto_valid_space() local
392 char *ret = space; sa_proto_space_alias() local
410 int ret = 0; sa_proto_security_prop() local
428 int ret = SA_INVALID_PROTOCOL; sa_proto_legacy_opts() local
446 char *ret = NULL; sa_proto_legacy_format() local
492 int ret = SA_OK; sa_proto_set_property() local
521 char *ret = NULL; sa_get_protocol_status() local
538 int ret = SA_NOT_IMPLEMENTED; sa_proto_update_legacy() local
557 int ret = SA_NOT_IMPLEMENTED; sa_proto_delete_legacy() local
582 int ret = SA_OK; sa_proto_delete_section() local
606 int ret = SA_NOT_IMPLEMENTED; sa_proto_change_notify() local
628 int ret = SA_NOT_IMPLEMENTED; sa_proto_notify_resource() local
652 uint64_t ret = 0; sa_proto_get_featureset() local
679 int ret = 0; sa_proto_get_transients() local
701 int ret = SA_OK; sa_proto_rename_resource() local
[all...]
/titanic_52/usr/src/test/libc-tests/tests/
H A Duchar.c54 boolean_t ret = B_TRUE; in mbrtoc32_ascii() local
58 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()
102 boolean_t ret = B_TRUE; in mbrtoc32_badseq_utf8() local
109 ret = B_FALSE; in mbrtoc32_badseq_utf8()
115 ret = B_FALSE; in mbrtoc32_badseq_utf8()
130 ret in mbrtoc32_badseq_utf8()
149 boolean_t ret = B_TRUE; mbrtoc32_roundtrip() local
185 boolean_t ret = B_TRUE; mbrtoc32_partial() local
217 boolean_t ret = B_TRUE; mbrtoc32_zero() local
241 boolean_t ret = B_TRUE; mbrtoc32_zero_len() local
265 boolean_t ret = B_TRUE; mbrtoc32_null() local
288 boolean_t ret = B_TRUE; mbrtoc16_ascii() local
336 boolean_t ret = B_TRUE; mbrtoc16_null() local
360 boolean_t ret = B_TRUE; mbrtoc16_zero() local
384 boolean_t ret = B_TRUE; mbrtoc16_zero_len() local
409 boolean_t ret = B_TRUE; mbrtoc16_roundtrip() local
445 boolean_t ret = B_TRUE; mbrtoc16_partial() local
480 boolean_t ret = B_TRUE; mbrtoc16_surrogate() local
559 boolean_t ret = B_TRUE; c32rtomb_eilseq_iso8859() local
582 boolean_t ret = B_TRUE; c16rtomb_eilseq_iso8859() local
605 boolean_t ret = B_TRUE; c32rtomb_eilseq_utf8() local
630 boolean_t ret = B_TRUE; c16rtomb_bad_first() local
663 boolean_t ret = B_TRUE; c16rtomb_bad_second() local
688 boolean_t ret = B_TRUE; c32rtomb_null() local
705 boolean_t ret = B_TRUE; c16rtomb_null() local
[all...]
/titanic_52/usr/src/lib/libkmf/libkmf/common/
H A Dcertgetsetop.c43 KMF_RETURN ret = KMF_OK; in copy_data() local
52 return (ret); in copy_data()
62 return (ret); in copy_data()
69 KMF_RETURN ret = KMF_OK; in copy_extension_data() local
76 ret = copy_data(&dstext->extnId, &srcext->extnId); in copy_extension_data()
77 if (ret != KMF_OK) in copy_extension_data()
84 ret = copy_data(&dstext->BERvalue, &srcext->BERvalue); in copy_extension_data()
85 if (ret != KMF_OK) in copy_extension_data()
90 ret = KMF_ERR_MEMORY; in copy_extension_data()
96 ret in copy_extension_data()
133 KMF_RETURN ret = KMF_OK; kmf_get_cert_extn() local
188 KMF_RETURN ret = KMF_OK; kmf_get_cert_extns() local
268 KMF_RETURN ret = KMF_OK; kmf_get_cert_ku() local
313 KMF_RETURN ret = KMF_OK; parse_eku_data() local
380 KMF_RETURN ret = KMF_OK; kmf_get_cert_eku() local
422 KMF_RETURN ret = KMF_OK; kmf_get_cert_basic_constraint() local
478 KMF_RETURN ret = KMF_OK; get_pqinfo() local
617 KMF_RETURN ret = KMF_OK; kmf_get_cert_policies() local
753 KMF_RETURN ret = KMF_OK; kmf_get_cert_auth_info_access() local
918 KMF_RETURN ret = KMF_OK; parse_dp_name() local
1034 KMF_RETURN ret = KMF_OK; kmf_get_cert_crl_dist_pts() local
1254 KMF_RETURN ret; KMF_CertGetPrintable() local
1286 KMF_RETURN ret; kmf_get_cert_version_str() local
1318 KMF_RETURN ret; kmf_get_cert_subject_str() local
1350 KMF_RETURN ret; kmf_get_cert_issuer_str() local
1382 KMF_RETURN ret; kmf_get_cert_serial_str() local
1413 KMF_RETURN ret; kmf_get_cert_start_date_str() local
1444 KMF_RETURN ret; kmf_get_cert_end_date_str() local
1475 KMF_RETURN ret; kmf_get_cert_pubkey_alg_str() local
1506 KMF_RETURN ret; kmf_get_cert_sig_alg_str() local
1537 KMF_RETURN ret; kmf_get_cert_pubkey_str() local
1568 KMF_RETURN ret; kmf_get_cert_email_str() local
1608 KMF_RETURN ret; kmf_get_cert_extn_str() local
1638 KMF_RETURN ret; kmf_get_cert_id_data() local
1658 KMF_RETURN ret; kmf_get_cert_id_str() local
1759 KMF_RETURN ret = KMF_OK; kmf_set_cert_pubkey() local
1814 KMF_RETURN ret = KMF_OK; set_key_usage_extension() local
1870 KMF_RETURN ret = KMF_OK; kmf_set_cert_ku() local
2075 KMF_RETURN ret = KMF_OK; kmf_add_cert_eku() local
2179 KMF_RETURN ret = KMF_OK; kmf_set_cert_extn() local
2196 KMF_RETURN ret = KMF_OK; kmf_set_cert_basic_constraint() local
[all...]
H A Dcertop.c108 KMF_RETURN ret = KMF_OK; in kmf_find_prikey_by_cert() local
127 CLEAR_ERROR(handle, ret); in kmf_find_prikey_by_cert()
129 ret = test_attributes(num_req_attrs, required_attrs, in kmf_find_prikey_by_cert()
131 if (ret != KMF_OK) in kmf_find_prikey_by_cert()
132 return (ret); in kmf_find_prikey_by_cert()
142 ret = get_keyalg_from_cert(cert, &keyalg); in kmf_find_prikey_by_cert()
143 if (ret != KMF_OK) in kmf_find_prikey_by_cert()
144 return (ret); in kmf_find_prikey_by_cert()
152 ret = kmf_get_attr(KMF_KEYSTORE_TYPE_ATTR, attrlist, numattr, in kmf_find_prikey_by_cert()
154 if (ret ! in kmf_find_prikey_by_cert()
173 KMF_RETURN ret = KMF_OK; check_key_usage() local
248 KMF_RETURN ret = KMF_OK; kmf_find_cert() local
284 KMF_RETURN ret; kmf_encode_cert_record() local
510 KMF_RETURN ret; kmf_sign_cert() local
661 KMF_RETURN ret = KMF_OK; kmf_sign_data() local
830 KMF_RETURN ret = KMF_OK; kmf_verify_data() local
985 KMF_RETURN ret; kmf_verify_cert() local
1079 KMF_RETURN ret; kmf_encrypt() local
1174 KMF_RETURN ret; kmf_decrypt() local
1286 KMF_RETURN ret = KMF_OK; kmf_store_cert() local
1323 KMF_RETURN ret = KMF_OK; kmf_import_cert() local
1361 KMF_RETURN ret = KMF_OK; kmf_delete_cert_from_keystore() local
1402 KMF_RETURN ret = KMF_OK; cert_get_crl() local
1475 KMF_RETURN ret = KMF_OK; check_crl_validity() local
1518 KMF_RETURN ret = KMF_OK; cert_crl_check() local
1738 KMF_RETURN ret = KMF_OK; cert_ocsp_check() local
1969 KMF_RETURN ret = KMF_OK; cert_ku_check() local
2028 KMF_RETURN ret = KMF_OK; cert_eku_check() local
2125 KMF_RETURN ret = KMF_OK; find_issuer_cert() local
2255 KMF_RETURN ret = KMF_OK; find_ta_cert() local
2393 KMF_RETURN ret = KMF_OK; kmf_validate_cert() local
2753 KMF_RETURN ret; kmf_is_cert_file() local
2835 KMF_RETURN ret = KMF_OK; kmf_export_pk12() local
2974 KMF_RETURN ret = KMF_OK; copy_algoid() local
3010 KMF_RETURN ret = KMF_OK; sign_cert() local
3164 KMF_RETURN ret = KMF_OK; verify_cert_with_key() local
3255 KMF_RETURN ret = KMF_OK; verify_cert_with_cert() local
[all...]
H A Dkeyop.c43 KMF_RETURN ret = KMF_OK; in kmf_create_keypair() local
62 CLEAR_ERROR(handle, ret); in kmf_create_keypair()
64 ret = test_attributes(num_req_attrs, required_attrs, in kmf_create_keypair()
67 if (ret != KMF_OK) in kmf_create_keypair()
68 return (ret); in kmf_create_keypair()
71 ret = kmf_get_attr(KMF_KEYSTORE_TYPE_ATTR, attrlist, num_args, in kmf_create_keypair()
73 if (ret != KMF_OK) in kmf_create_keypair()
74 return (ret); in kmf_create_keypair()
90 KMF_RETURN ret = KMF_OK; in kmf_delete_key_from_keystore() local
109 CLEAR_ERROR(handle, ret); in kmf_delete_key_from_keystore()
159 KMF_RETURN ret = KMF_OK; kmf_find_key() local
203 KMF_RETURN ret = KMF_OK; kmf_create_sym_key() local
249 KMF_RETURN ret; kmf_get_sym_key_value() local
273 KMF_RETURN ret = KMF_OK; kmf_store_key() local
[all...]
/titanic_52/usr/src/cmd/krb5/kadmin/server/
H A Dserver_stubs.c138 int ret; in cmp_gss_names_rel_1() local
140 ret = cmp_gss_names(n1, n2); in cmp_gss_names_rel_1()
142 return ret; in cmp_gss_names_rel_1()
503 static generic_ret ret; in create_principal_2_svc() local
515 xdr_free(xdr_generic_ret, (char *) &ret); in create_principal_2_svc()
517 if ((ret.code = new_server_handle(arg->api_version, rqstp, &handle))) in create_principal_2_svc()
518 return &ret; in create_principal_2_svc()
520 if ((ret.code = check_handle((void *)handle))) in create_principal_2_svc()
522 ret.api_version = handle->api_version; in create_principal_2_svc()
525 ret in create_principal_2_svc()
610 static generic_ret ret; create_principal3_2_svc() local
711 static generic_ret ret; delete_principal_2_svc() local
787 static generic_ret ret; modify_principal_2_svc() local
862 static generic_ret ret; rename_principal_2_svc() local
980 static gprinc_ret ret; get_principal_2_svc() local
1071 static gprincs_ret ret; get_princs_2_svc() local
1146 static generic_ret ret; chpass_principal_2_svc() local
1225 static generic_ret ret; chpass_principal3_2_svc() local
1306 static generic_ret ret; setv4key_principal_2_svc() local
1378 static generic_ret ret; setkey_principal_2_svc() local
1448 static generic_ret ret; setkey_principal3_2_svc() local
1522 static chrand_ret ret; chrand_principal_2_svc() local
1614 static chrand_ret ret; chrand_principal3_2_svc() local
1708 static generic_ret ret; create_policy_2_svc() local
1781 static generic_ret ret; delete_policy_2_svc() local
1851 static generic_ret ret; modify_policy_2_svc() local
1922 static gpol_ret ret; get_policy_2_svc() local
2027 static gpols_ret ret; get_pols_2_svc() local
2100 static getprivs_ret ret; get_privs_2_svc() local
2154 static generic_ret ret; init_2_svc() local
[all...]
/titanic_52/usr/src/lib/libshare/smbfs/
H A Dsmbfs_scfutil.c117 int ret = SMBC_SMF_OK; in smb_smf_instance_exists() local
125 ret = SMBC_SMF_SYSTEM_ERR; in smb_smf_instance_exists()
129 return (ret); in smb_smf_instance_exists()
141 int ret = SMBC_SMF_OK; in smb_smf_instance_create() local
163 ret = SMBC_SMF_SYSTEM_ERR; in smb_smf_instance_create()
165 ret = SMBC_SMF_SYSTEM_ERR; in smb_smf_instance_create()
169 ret = SMBC_SMF_SYSTEM_ERR; in smb_smf_instance_create()
172 return (ret); in smb_smf_instance_create()
181 int ret = SMBC_SMF_OK; in smb_smf_instance_delete() local
191 return (ret); in smb_smf_instance_delete()
264 int ret = SMBC_SMF_OK; smb_smf_create_service_pgroup() local
311 int ret = SMBC_SMF_OK; smb_smf_create_instance_pgroup() local
360 int ret = SMBC_SMF_OK; smb_smf_delete_service_pgroup() local
411 int ret = SMBC_SMF_OK; smb_smf_delete_instance_pgroup() local
462 int ret = SMBC_SMF_OK; smb_smf_start_transaction() local
504 int ret = SMBC_SMF_OK; smb_smf_end_transaction() local
531 int ret = SMBC_SMF_OK; smb_smf_delete_property() local
576 int ret = SMBC_SMF_OK; smb_smf_set_string_property() local
641 int ret = SMBC_SMF_OK; smb_smf_get_string_property() local
679 int ret = SMBC_SMF_OK; smb_smf_set_integer_property() local
737 int ret = SMBC_SMF_OK; smb_smf_get_integer_property() local
776 int ret = SMBC_SMF_OK; smb_smf_set_boolean_property() local
834 int ret = SMBC_SMF_OK; smb_smf_get_boolean_property() local
871 int ret = SMBC_SMF_OK; smb_smf_set_opaque_property() local
935 int ret = SMBC_SMF_OK; smb_smf_get_opaque_property() local
[all...]
/titanic_52/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dldap_key_seq.c49 ret = err; \
54 if (ret != 0) \
66 asn1_error_code ret = 0; in asn1_encode_key() local
73 ret = asn1_encode_octetstring (buf, in asn1_encode_key()
78 ret = asn1_make_etag(buf, CONTEXT_SPECIFIC, 1, length, &length); checkerr; in asn1_encode_key()
81 ret = asn1_encode_integer (buf, key_data.key_data_type[0], &length); in asn1_encode_key()
84 ret = asn1_make_etag(buf, CONTEXT_SPECIFIC, 0, length, &length); checkerr; in asn1_encode_key()
87 ret = asn1_make_sequence(buf, key_len, &length); checkerr; in asn1_encode_key()
89 ret = asn1_make_etag(buf, CONTEXT_SPECIFIC, 1, key_len, &length); checkerr; in asn1_encode_key()
99 ret in asn1_encode_key()
140 asn1_error_code ret = 0; asn1_encode_sequence_of_keys() local
233 asn1_error_code ret = 0; decode_tagged_integer() local
286 asn1_error_code ret = 0; decode_tagged_octetstring() local
315 asn1_error_code ret; asn1_decode_key() local
401 asn1_error_code ret; asn1_decode_sequence_of_keys() local
[all...]
/titanic_52/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c263 int ret; in set_resource_desc() local
266 ret = sa_set_resource_description(share, desc); in set_resource_desc()
269 return (ret); in set_resource_desc()
283 int ret; in set_share_desc() local
286 ret = sa_set_share_description(share, desc); in set_share_desc()
289 return (ret); in set_share_desc()
353 int ret = B_TRUE; in check_authorization() local
360 ret = B_FALSE; in check_authorization()
390 for (ret = 0, i = 0; i < numauths; i++) { in check_authorization()
395 ret in check_authorization()
424 int ret; check_authorizations() local
461 int ret = SA_OK; notify_or_enable_share() local
565 int ret = B_FALSE; isenabled() local
591 int ret; enable_all_groups() local
714 int ret; chk_opt() local
784 int ret = SA_OK; valid_options() local
826 int ret = SA_OK; add_optionset() local
1042 int ret; make_resources() local
1153 int ret = SA_OK; set_all_protocols() local
1194 int ret = SA_OK; sa_create() local
1440 int ret = SA_OK; sa_delete() local
1726 int ret = SA_OK; sa_list() local
1988 int ret = B_FALSE; has_resource_with_opt() local
2292 int ret = SA_OK; sa_show() local
2412 int ret = SA_OK; enable_share() local
2534 int ret = SA_OK; sa_addshare() local
2811 int ret = SA_OK; sa_moveshare() local
3007 int ret = SA_OK; sa_removeshare() local
3266 int ret = SA_OK; sa_set_share() local
3537 int ret = SA_OK; add_security() local
3633 int ret = SA_OK; zfscheck() local
3676 int ret = SA_OK; basic_set() local
3795 int ret = SA_OK; space_set() local
3890 int ret = SA_OK; sa_set() local
4054 int ret = SA_OK; remove_options() local
4089 int ret = SA_OK; valid_unset() local
4120 int ret = SA_OK; valid_unset_security() local
4156 int ret = SA_OK; remove_security() local
4202 int ret = SA_OK; basic_unset() local
4325 int ret = SA_OK; space_unset() local
4425 int ret = SA_OK; sa_unset() local
4590 int ret = SA_OK; sa_enable_group() local
4721 int ret = SA_OK; disable_group() local
4756 int ret = SA_OK; disable_all_groups() local
4806 int ret = SA_OK; sa_disable_group() local
4938 int ret = SMF_EXIT_OK; sa_start_group() local
5066 int ret = SMF_EXIT_OK; sa_stop_group() local
5247 int ret = 0; check_legacy_cmd() local
5268 int ret; run_legacy_command() local
5440 int ret = SA_OK; sa_legacy_share() local
5723 int ret = SA_OK; sa_legacy_unshare() local
5906 char *ret = NULL; sa_get_usage() local
[all...]
/titanic_52/usr/src/cmd/sendmail/db/db/
H A Ddb_apprec.c51 int ret; local
57 if ((ret = __db_txnlist_init(&txninfo)) != 0)
58 return (ret);
100 if ((ret = log_get(lp, &ckp_lsn, &data, DB_CHECKPOINT)) != 0) {
106 first: if ((ret = log_get(lp, &ckp_lsn, &data, DB_FIRST)) != 0) {
107 if (ret == DB_NOTFOUND)
108 ret = 0;
114 } else if ((ret = __txn_ckp_read(data.data, &ckp_args)) != 0) {
119 (ret = log_get(lp, &ckp_args->last_ckp, &data, DB_SET)) != 0)
133 ret
[all...]
/titanic_52/usr/src/lib/libm/sparc/src/
H A Dlibm_inlines.h48 double ret; in __inline_sqrt() local
50 __asm__ __volatile__("fsqrtd %1,%0\n\t" : "=e" (ret) : "e" (d)); in __inline_sqrt()
51 return (ret); in __inline_sqrt()
57 float ret; in __inline_sqrtf() local
59 __asm__ __volatile__("fsqrts %1,%0\n\t" : "=f" (ret) : "f" (f)); in __inline_sqrtf()
60 return (ret); in __inline_sqrtf()
66 enum fp_class_type ret; in fp_classf() local
107 : "=r" (ret), "=&r" (tmp) in fp_classf()
110 return (ret); in fp_classf()
119 enum fp_class_type ret; in fp_class() local
175 int ret; __swapEX() local
213 enum fp_direction_type ret; __swapRD() local
241 int ret; __swapTE() local
280 double ret; fabs() local
289 float ret; fabsf() local
[all...]
/titanic_52/usr/src/lib/libm/sparcv9/src/
H A Dlibm_inlines.h48 enum fp_class_type ret; in fp_classf() local
88 : "=r" (ret), "=m" (fint), "=r" (tmp), "+f" (f) in fp_classf()
92 return (ret); in fp_classf()
98 enum fp_class_type ret; in fp_class() local
140 : "=r" (ret), "=m" (dint), "=r" (tmp), "+e" (d) in fp_class()
144 return (ret); in fp_class()
150 float ret; in __inline_sqrtf() local
152 __asm__ __volatile__("fsqrts %1,%0\n\t" : "=f" (ret) : "f" (f)); in __inline_sqrtf()
153 return (ret); in __inline_sqrtf()
159 double ret; in __inline_sqrt() local
168 int ret; __swapEX() local
206 enum fp_direction_type ret; __swapRD() local
235 int ret; __swapTE() local
277 double ret; fabs() local
286 float ret; fabsf() local
[all...]
/titanic_52/usr/src/lib/krb5/kadm5/srv/
H A Dserver_kdb.c57 int ret = 0; in kdb_init_master() local
65 if ((ret = krb5_get_default_realm(handle->context, &realm))) in kdb_init_master()
66 return ret; in kdb_init_master()
71 if ((ret = krb5_db_setup_mkey_name(handle->context, in kdb_init_master()
81 ret = krb5_db_fetch_mkey(handle->context, master_princ, in kdb_init_master()
88 if (ret) in kdb_init_master()
92 if ((ret = krb5_db_verify_master_key(handle->context, master_princ, in kdb_init_master()
95 return ret; in kdb_init_master()
102 return(ret); in kdb_init_master()
133 int ret in kdb_init_hist() local
247 krb5_error_code ret; kdb_get_entry() local
359 krb5_error_code ret; kdb_put_entry() local
404 krb5_error_code ret; kdb_delete_entry() local
431 krb5_error_code ret; kdb_iter_entry() local
[all...]
/titanic_52/usr/src/cmd/sendmail/db/btree/
H A Dbt_recno.c84 int ret, t_ret; local
87 if ((ret = __os_calloc(1, sizeof(BTREE), &t)) != 0)
88 return (ret);
93 if ((ret = __os_calloc(1, sizeof(*rp), &rp)) != 0)
94 return (ret);
120 if ((ret =
134 ret = EINVAL;
149 if ((ret = __bam_read_root(dbp)) != 0)
158 if ((ret = dbp->cursor(dbp, NULL, &dbc, 0)) != 0)
162 if ((ret
205 int ret, t_ret; global() local
252 int exact, ret, stack; global() local
361 int ret, t_ret; global() local
410 int ret, t_ret; global() local
485 int ret; global() local
538 int exact, ret, stack, tmp_rmw; global() local
693 int exact, ret; global() local
874 int ret; global() local
944 int ret; global() local
1003 int fd, ret, t_ret; global() local
1148 int ret; global() local
1219 int delim, ret; global() local
1276 int exact, isdeleted, ret, stack; global() local
[all...]
/titanic_52/usr/src/cmd/cmd-crypto/tpmadm/
H A Dmain.c61 int ret; in main() local
94 ret = fptr(hContext, hTPM, argc, argv); in main()
97 return (ret); in main()
125 print_error(TSS_RESULT ret, char *msg) in print_error() argument
130 err_string = Trspi_Error_String(ret); in print_error()
131 (void) fprintf(stderr, "%s: %s (0x%0x)\n", msg, err_string, ret); in print_error()
134 switch (ret) { in print_error()
152 TSS_RESULT ret; in get_tpm_capability() local
156 ret = Tspi_TPM_GetCapability(hTPM, cap, sizeof (subcap), in get_tpm_capability()
158 if (ret) { in get_tpm_capability()
184 TSS_RESULT ret; set_policy_options() local
212 TSS_RESULT ret; set_object_policy() local
226 TSS_RESULT ret; tpm_preamble() local
253 TSS_RESULT ret; tpm_postamble() local
[all...]

12345678910>>...100