/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | crypt.c | 39 static char *iobuf; local 43 if (iobuf == 0) { 44 iobuf = malloc((unsigned)16); 45 if (iobuf == 0) 56 strcpy(iobuf, salt); 58 iobuf[0] = '\0'; 59 return(iobuf); 69 strcpy(iobuf, salt); 71 iobuf[0] = '\0'; 72 return(iobuf); [all...] |
H A D | _crypt.c | 153 #define iobuf (_c->_iobuf) macro 419 iobuf[i] = c; 448 iobuf[i+2] = c; 450 iobuf[i+2] = 0; 451 if(iobuf[1]==0) 452 iobuf[1] = iobuf[0]; 453 return(iobuf);
|
/illumos-gate/usr/src/lib/libcrypt/common/ |
H A D | des_crypt.c | 314 char *iobuf; local 318 iobuf = pthread_getspecific(*keyp); 319 if (iobuf == NULL) { 320 if (thr_setspecific(*keyp, (iobuf = malloc(size))) != 0) { 321 if (iobuf) 322 (void) free(iobuf); 323 iobuf = NULL; 326 return (iobuf); 336 char *iobuf = _get_iobuf(&key, IOBUF_SIZE); local 354 iobuf[ [all...] |
/illumos-gate/usr/src/cmd/regcmp/ |
H A D | regcmp.c | 41 FILE *iobuf; variable 73 if ((iobuf = fopen(*argv, "r")) == NULL) { 106 while (((c = getc(iobuf)) == '\n') || 112 while (((*name++ = c = getc(iobuf)) != ' ') && 115 while (((c = getc(iobuf)) == ' ') || (c == '\n')); 128 while ((c = getc(iobuf)) != '\n'); 132 while (gotflg || (c = getc(iobuf)) != EOF) { 138 switch (c = getc(iobuf)) { 170 while (((c = getc(iobuf)) == '\n') || (c == ' ')); 194 fclose(iobuf); [all...] |
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | trackio.h | 63 struct iobuf { struct
|
H A D | trackio.c | 51 static struct iobuf tio_iobs[NIOBS];
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/des/ |
H A D | afsstring2key.c | 370 char *iobuf) 398 iobuf[i] = c; 423 iobuf[i+2] = c; 425 iobuf[i+2] = 0; 426 if(iobuf[1]==0) 427 iobuf[1] = iobuf[0]; 428 return(iobuf); 368 afs_crypt(const char *pw, const char *salt, char *iobuf) argument
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | crypt.c | 119 static char *_unix_crypt(const char *pw, const char *salt, char *iobuf); 1065 _unix_crypt(const char *pw, const char *salt, char *iobuf) argument 1071 block = iobuf + 16; 1073 if (iobuf == 0) { 1095 iobuf[i] = (char)c; 1125 iobuf[i+2] = (char)c; 1127 iobuf[i+2] = 0; 1128 if (iobuf[1] == 0) 1129 iobuf[1] = iobuf[ [all...] |
/illumos-gate/usr/src/uts/common/io/tpm/ |
H A D | tpm_ddi.h | 79 uint8_t *iobuf; member in struct:tpm_state
|
H A D | tpm.c | 1523 tpm->iobuf = kmem_zalloc((sizeof (uint8_t))*(tpm->bufsize), KM_SLEEP); 1588 ASSERT(tpm->iobuf != NULL); 1589 kmem_free(tpm->iobuf, (sizeof (uint8_t))*(tpm->bufsize)); 1833 ret = tis_recv_data(tpm, tpm->iobuf, tpm->bufsize); 1842 size = load32(tpm->iobuf, 2); 1854 ret = uiomove(tpm->iobuf, size, UIO_READ, uiop); 1863 bzero(tpm->iobuf, tpm->bufsize); 1909 /* Get the lock for using iobuf */ 1916 ret = uiomove(tpm->iobuf, TPM_HEADER_SIZE, UIO_WRITE, uiop); 1927 size = load32(tpm->iobuf, TPM_PARAMSIZE_OFFSE [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sdbc_ioctl.h | 249 int iobuf; member in struct:_sd_cache_param
|
H A D | sd_conf.c | 122 sdbc_iobuf_mem = nsc_register_mem("sdbc:iobuf", NSC_MEM_LOCAL, 0); 374 if ((rc = _sdbc_iobuf_configure(_sd_cache_config.iobuf))) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_file.c | 60 char iobuf[BUFSIZ]; /* so we can zap it later */ member in struct:_krb5_ktfile_data 71 #define KTFILEBUFP(id) (((krb5_ktfile_data *)(id)->data)->iobuf) 1195 char iobuf[BUFSIZ]; 1226 memset(iobuf, 0, (size_t) len); 1228 xfwrite(iobuf, 1, (size_t) len, KTFILEP(id)); 1649 char iobuf[BUFSIZ]; 1722 while ((size = xfread(iobuf, 1, sizeof(iobuf), KTFILEP(id)))) { 1723 if (size != sizeof(iobuf)) { 1735 memset(iobuf, 1192 char iobuf[BUFSIZ]; local 1646 char iobuf[BUFSIZ]; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | lofi.c | 994 void *iobuf = bufaddr; local 998 iobuf = kmem_alloc(len, KM_SLEEP); 999 if (lofi_crypto(lsp, bp, bufaddr, iobuf, len, 1001 kmem_free(iobuf, len); 1009 bcopy(iobuf, bcopy_locn, len); 1012 error = vn_rdwr(UIO_WRITE, lsp->ls_vp, iobuf, len, 1018 kmem_free(iobuf, len);
|
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | scmadm.c | 513 { "iobuf", "niobuf", "number of io buffers" }, 1566 (void) snprintf(key, sizeof (key), "scm.set1.iobuf"); 1568 user_level_conf.iobuf = atoi(buf);
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | cron.c | 2715 char iobuf[BUFSIZ]; local 2760 while ((nbytes = fread(iobuf, sizeof (char), BUFSIZ, st)) != 0) 2761 (void) fwrite(iobuf, sizeof (char), nbytes, mailpipe);
|