/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | arcfour.c | 532 /* Encrypts a contiguous input 'in' into the 'out' crypto_data_t */ 535 crypto_arcfour_crypt(ARCFour_key *key, uchar_t *in, crypto_data_t *out, argument 538 switch (out->cd_format) { 541 start = (uchar_t *)(out->cd_raw.iov_base + 542 out->cd_offset); 544 end = (uchar_t *)(out->cd_raw.iov_base + 545 out->cd_raw.iov_len); 547 if (start + out->cd_length > end) 557 mblk_t *mp = out->cd_mp, *mp1, *mp2; 561 mp1 = advance_position(mp, out [all...] |
H A D | blowfish.c | 322 blowfish_copy_block64(uint8_t *in, uint64_t *out) argument 326 out[0] = *(uint64_t *)&in[0]; 328 uint8_t *iv8 = (uint8_t *)&out[0];
|
H A D | dca_3des.c | 56 crypto_data_t *out, crypto_req_handle_t req, int flags) 91 if (len > dca_length(out)) { 93 len, dca_length(out)); 94 out->cd_length = len; 99 if ((rv = dca_verifyio(in, out)) != CRYPTO_SUCCESS) { 106 out->cd_length = 0; 114 * data (ie in == out). Note that "nin" has been pre-allocated, 123 out->cd_length = 0; 127 reqp->dr_out = out; 163 crypto_data_t *out, crypto_req_handle_ 55 dca_3des(crypto_ctx_t *ctx, crypto_data_t *in, crypto_data_t *out, crypto_req_handle_t req, int flags) argument 162 dca_3desupdate(crypto_ctx_t *ctx, crypto_data_t *in, crypto_data_t *out, crypto_req_handle_t req, int flags) argument 288 dca_3desfinal(crypto_ctx_t *ctx, crypto_data_t *out, int mode) argument 532 crypto_data_t *out = reqp->dr_out; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_proxy.c | 570 printf("appr_check: out %d err %x rv %d\n", 728 int sel, ch = 0, out, nlen; local 734 out = fin->fin_out; 744 if (out != 0) { 746 sel = aps->aps_sel[out]; 752 printf("proxy out switch set seq %d -> %d %x > %x\n", 755 sel = aps->aps_sel[out] = !sel; 780 sel = aps->aps_sel[1 - out]; 786 printf("proxy out switch set ack %d -> %d %x > %x\n", 789 sel = aps->aps_sel[1 - out] [all...] |
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_output.c | 44 TYPE *out = (void *)eng->e_data; \ 54 op = out + eng->e_choffs[ch] + (hidx * incr); \ 131 int32_t out = 0; local 138 out = p; 143 out = -p; 150 if (out > 0x7FFFFF) 151 out = 0x7FFFFF; 152 else if (out < -0x7FFFFF) 153 out = -0x7FFFFF; 155 chbufs[k][t] = out; [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios.c | 182 unsigned char *out, int max_out) 185 out, max_out)); 181 smb_first_level_name_encode(struct name_entry *name, unsigned char *out, int max_out) argument
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ethernet.c | 82 * protocol address (tpa) field of the "out" argument. 85 * source hardware address (sha) field of the "out" argument. 93 ether_comarp(struct arp_packet *out, uint32_t timeout) argument 101 bcopy((caddr_t)etherbroadcastaddr, (caddr_t)&out->arp_eh.ether_dhost, 104 (caddr_t)&out->arp_eh.ether_shost, sizeof (ether_addr_t)); 106 out->arp_ea.arp_hrd = htons(ARPHRD_ETHER); 107 out->arp_ea.arp_pro = htons(ETHERTYPE_IP); 108 out->arp_ea.arp_hln = sizeof (ether_addr_t); 109 out->arp_ea.arp_pln = sizeof (struct in_addr); 110 bcopy(mac_state.mac_addr_buf, (caddr_t)&out 213 struct arp_packet out; local 246 struct arp_packet out; local [all...] |
/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | memory.h | 91 * @out.extent_list provides GMFNs of the newly-allocated memory. 107 * 1. @in.domid == @out.domid 109 * @out.nr_extents << @out.extent_order 110 * 3. @in.extent_start and @out.extent_start lists must not overlap 111 * 4. @out.extent_start lists GPFN bases to be populated 112 * 5. @out.extent_start is overwritten with allocated GMFN bases 114 struct xen_memory_reservation out; member in struct:xen_memory_exchange
|
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | inflate.c | 55 * - Pull out common write == 0 case for speed in inflate_fast() 82 * for the in() and out() functions 103 local int updatewindow OF((z_streamp strm, unsigned out)); 259 Write out the inffixed.h that is #include'd above. Defining MAKEFIXED also 274 a.out > inffixed.h 330 local int updatewindow(strm, out) 332 unsigned out; 355 copy = out - strm->avail_out; 571 unsigned in, out; /* save starting available input and output */ local 592 out [all...] |
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_entp_setup.c | 119 lfsr64_adv_seq(uint64_t poly, uint64_t in, uint64_t exp, uint64_t *out) argument 132 *out = res;
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_io.c | 287 promif_io_init(ihandle_t in, ihandle_t out, phandle_t pin, phandle_t pout) argument 290 istdout = out;
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | err.c | 153 * out -- print a message and return 159 out(const char *fmt, ...) function 261 err(0, "%s:%d: out of memory", fname, line); 277 err(0, "%s:%d: out of memory", fname, line); 295 err(0, "%s:%d: out of memory", fname, line);
|
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_svc.c | 326 ndr_uuid_unparse(ndr_uuid_t *uuid, char *out) argument 328 (void) sprintf(out, "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
|
/illumos-gate/usr/src/common/fs/ |
H A D | bootfsops.c | 66 canonicalise(const char *fn, char *out) argument 76 *out = '\0'; 105 for (last = strsep(&s, "/"), q = oc = out; last != NULL; 110 for (oc = q; oc > out && *oc != '/'; oc--) 115 if (q > out) 117 q += snprintf(q, MAXPATHLEN - (q - out), "%s", last);
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_mcdi.c | 373 uint8_t *out; local 386 out = kmem_zalloc(sizeof (smip->smi_payload), KM_NOSLEEP); 387 if (out == NULL) { 396 emr.emr_out_buf = out; 404 bcopy(out, smip->smi_payload, smip->smi_len); 418 kmem_free(out, sizeof (smip->smi_payload)); 437 uint8_t *out; local 450 out = kmem_zalloc(sizeof (smip->smi_payload), KM_NOSLEEP); 451 if (out == NULL) { 460 emr.emr_out_buf = out; [all...] |
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | gzguts.h | 174 unsigned char *out; /* output buffer (double-sized when reading) */ member in struct:__anon107
|
H A D | inflate.c | 48 * - Pull out common wnext == 0 case for speed in inflate_fast() 75 * for the in() and out() functions 308 Write out the inffixed.h that is #include'd above. Defining MAKEFIXED also 323 a.out > inffixed.h 615 unsigned in, out; /* save starting available input and output */ local 636 out = left; 1024 inflate_fast(strm, out); 1125 copy = out - left; 1177 out -= left; 1178 strm->total_out += out; [all...] |
/illumos-gate/usr/src/boot/lib/libz/test/ |
H A D | infcover.c | 243 data is allocated and must eventually be freed. NULL is returned if out of 289 unsigned char *in, *out; local 301 out = malloc(len); assert(out != NULL); 303 head.extra = out; 305 head.name = out; 307 head.comment = out; 319 strm.next_out = out; 327 ret = inflateSetDictionary(&strm, out, 0); 331 ret = inflateSetDictionary(&strm, out, 511 unsigned char *in, *out, *win; local [all...] |
H A D | minigzip.c | 242 unsigned char out[BUFLEN]; local 250 strm->next_out = out; 253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 301 unsigned char out[BUFLEN]; local 310 strm->next_out = out; 313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 339 void gz_compress OF((FILE *in, gzFile out)); 341 int gz_compress_mmap OF((FILE *in, gzFile out)); 343 void gz_uncompress OF((gzFile in, FILE *out)); 362 void gz_compress(in, out) 463 gzFile out; local 501 FILE *out; local [all...] |
/illumos-gate/usr/src/lib/sasl_plugins/cram/ |
H A D | cram.c | 89 char *out; local 91 out = utils->malloc(inlen*2+1); 92 if (out == NULL) return NULL; 95 out[lup*2] = hex[in[lup] >> 4]; 96 out[lup*2+1] = hex[in[lup] & 15]; 99 out[lup*2] = 0; 100 return out; 287 /* copy authstr out */
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | svc.c | 255 goto out; 262 goto out; 265 goto out; 268 goto out; 279 goto out; 282 goto out; 287 goto out; 298 goto out; 301 goto out; 308 goto out; 347 svc_fmri_prop_get(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 418 svc_fmri_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *nvl, nvlist_t **out) argument 516 svc_fmri_str2nvl(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 812 svc_fmri_present(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 836 svc_fmri_replaced(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 861 svc_fmri_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 885 svc_fmri_unusable(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument [all...] |
H A D | topo_snap.c | 351 nvlist_t *out; local 358 if (topo_method_invoke(node, TOPO_METH_FAC_ENUM, 0, NULL, &out,
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses_facility.c | 132 nvlist_t *in, nvlist_t **out) 228 *out = nvl; 243 nvlist_t *in, nvlist_t **out) 298 *out = nvl; 313 nvlist_t *in, nvlist_t **out) 380 *out = nvl; 402 nvlist_t *in, nvlist_t **out) 445 *out = nvl; 760 nvlist_t *in, nvlist_t **out) 946 nvlist_t *in, nvlist_t **out) 131 ses_indicator_mode(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 242 ses_sensor_reading(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 312 ses_sensor_state(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 401 ses_psu_state(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 759 ses_node_enum_facility(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 945 ses_enc_enum_facility(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | crypto.c | 164 * good way to maintain ivecs since packets could be out of sequence 440 * message pointed to by out that has ben padded out by pad bytes. 443 * out->length = total length of out->value including any padding 444 * out->value points to memory as follows: 451 wrap_msg_body(gss_buffer_t in, gss_buffer_t out) argument 457 out->length = 0; 458 out->value = 0; 471 if ((out 522 unwrap_msg_body(gss_buffer_t in, gss_buffer_t out) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | str_conv.c | 66 const char * stt_output; /* How to spit it out */ 114 const char *out; local 116 out = (char *) NULL; 119 out = salttype_table[i].stt_output; 123 if (out) { 124 if (buflen > strlen(out)) 125 strcpy(buffer, out); 127 out = (char *) NULL; 128 return((out) ? 0 : ENOMEM);
|