Searched defs:rv (Results 26 - 50 of 965) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_test.c37 int rv; local
46 rv = (func != NULL) ? 0 : 1;
48 ci[4] = p1275_int2cell(rv);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dflock.c30 int rv; local
45 rv = fcntl(fildes, F_FLOCK, &l);
52 rv = fcntl(fildes, op, &l);
59 return (rv);
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaRand.c60 CK_RV rv; local
67 rv = meta_handle2session(hSession, &session);
68 if (rv != CKR_OK)
69 return (rv);
94 CK_RV rv; local
101 rv = meta_handle2session(hSession, &session);
102 if (rv != CKR_OK)
103 return (rv);
H A Dpkcs11Rand.c43 CK_RV rv; local
62 HANDLE2SESSION(hSession, sessp, rv);
64 if (rv != CKR_OK) {
65 return (rv);
75 rv = FUNCLIST(slotid)->C_SeedRandom(sessp->se_handle, pSeed,
79 if (rv == CKR_FUNCTION_NOT_SUPPORTED) {
83 return (rv);
96 CK_RV rv; local
116 HANDLE2SESSION(hSession, sessp, rv);
118 if (rv !
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftRand.c39 CK_RV rv; local
47 rv = handle2session(hSession, &session_p);
48 if (rv != CKR_OK)
49 return (rv);
71 CK_RV rv; local
79 rv = handle2session(hSession, &session_p);
80 if (rv != CKR_OK)
81 return (rv);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dscr_ll_dump.c52 short magic = SVR3_DUMP_MAGIC_NUMBER, rv = ERR; local
134 rv = OK;
136 return (rv);
H A Dvwprintw.c68 int n, rv; local
84 rv = waddstr(win, buffer);
86 return (rv);
H A Dwinsch.c56 int rv; local
61 rv = OK;
63 if (_scrmax > 1 && (rv = _mbvalid(win)) == ERR)
67 rv = _mbaddch(win, A_NORMAL, RBYTE(c));
105 if ((rv = _mbinsshift(win, n)) == ERR)
129 return ((rv == OK && win->_immed) ? wrefresh(win) : rv);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dvw_print.c55 int n, rv; local
72 rv = waddnstr(w, buffer, -1);
74 return (rv);
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_settid.c48 int rv; local
67 rv = do_ipv6_address(&peer, &sock);
69 rv = do_ipv4_address((struct sockaddr_in *)&peer,
72 return (rv);
/illumos-gate/usr/src/cmd/pcidr/plugins/default/
H A Dpcidr_plugin.c51 int rv = 0; local
71 rv = config_list_ext(1, &dr.dr_ap_id, &cfga_listp, &cfga_list_len,
73 if (rv != CFGA_OK) {
74 str = pcidr_cfga_err_name(rv);
76 str = "unrecognized rv!";
78 "failed: rv = %d (%s)", fn, dr.dr_ap_id, rv, str);
86 rv = EINVAL;
92 rv = EINVAL;
111 rv
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Ddelete.c39 int rv = KC_OK; local
50 filename = get_string(optarg_av, &rv);
57 policyname = get_string(optarg_av, &rv);
66 rv = KC_ERR_USAGE;
71 if (rv != KC_OK)
80 rv = KC_ERR_USAGE;
87 rv = KC_ERR_MEMORY;
99 rv = KC_ERR_USAGE;
106 rv = KC_ERR_USAGE;
116 rv
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dinittoken.c47 int rv; local
82 if ((rv = kmf_initialize(&handle, NULL, NULL)) != KMF_OK)
83 return (rv);
85 if ((rv = get_pin(gettext("Enter SO PIN:"), NULL, &sopin, &sopinlen))
97 rv = kmf_pk11_init_token(handle, currlabel, newlabel,
104 if (rv == KMF_ERR_AUTH_FAILED) {
108 } else if (rv != CKR_OK) {
H A Dtokens.c50 CK_RV rv = CKR_OK; local
64 if ((rv = get_token_slots(&slots, &slot_count)) != CKR_OK) {
67 pkcs11_strerror(rv));
82 if ((rv = C_GetTokenInfo(slots[i], &token_info)) != CKR_OK) {
85 i, pkcs11_strerror(rv));
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_test.c56 int rv; local
70 rv = p1275_cell2int(ci[5]);
74 method, node, (void *)&rv);
77 return (rv);
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_alloc.c112 int rv; local
122 rv = p1275_cif_handler(&ci);
125 if (rv == 0)
H A Dprom_getunum.c43 int rv; local
64 rv = p1275_cif_handler(&ci);
67 if (rv != 0)
68 return (rv);
H A Dprom_retain.c41 int rv; local
57 rv = p1275_cif_handler(&ci);
60 if (rv != 0)
61 return (rv); /* Service "call-method" failed */
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/
H A Dprom_starfire.c47 int rv; local
55 rv = p1275_cif_handler(&ci);
58 return ((rv) ? -1 : p1275_cell2int(ci[4]));
70 int rv; local
78 rv = p1275_cif_handler(&ci);
81 return ((rv) ? -1 : p1275_cell2int(ci[4]));
131 int rv; local
139 rv = p1275_cif_handler(&ci);
142 return ((rv) ? -1 : p1275_cell2int(ci[4]));
H A Dprom_tlb.c41 int rv; local
57 rv = p1275_cif_handler(&ci);
60 if (rv != 0)
71 int rv; local
87 rv = p1275_cif_handler(&ci);
90 if (rv != 0)
/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddtwalk.c41 reg int rv; local
47 if((rv = (*userf)(walk, obj, data )) < 0)
48 return rv;
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfclose.c36 reg int local, ex, rv; local
63 rv = 0;
68 rv = sfsync(f);
140 rv = _sfpclose(f);
153 { rv = ex;
169 return rv;
H A Dsfprintf.c37 reg int rv; local
48 rv = sfvprintf(f,form,args);
51 return rv;
65 ssize_t rv; local
72 if((rv = sfvprintf(f,form,args)) >= 0 )
74 { if((rv+1) >= n)
77 n = rv;
81 _Sfi = rv;
86 return rv;
97 ssize_t rv; local
[all...]
H A Dsfscanf.c37 reg int rv; local
49 rv = (f && form) ? sfvscanf(f,form,args) : -1;
51 return rv;
88 reg int rv; local
99 rv = (s && form) ? sfvsscanf(s,form,args) : -1;
101 return rv;
H A Dsfwalk.c40 int n, rv; local
50 for(rv = 0, p = &_Sfpool; p; p = p->next)
57 if((rv = (*walkf)(f, data)) < 0)
58 return rv;
66 return rv;

Completed in 118 milliseconds

1234567891011>>