Searched refs:len (Results 2201 - 2225 of 3980) sorted by relevance

<<81828384858687888990>>

/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_req.c1032 * len - length of "data" for this control request
1041 size_t len,
1049 (void *)dip, len, flags);
1058 if (len) {
1060 ctrl_req->ctrl_data = allocb_wait(len, BPRI_LO,
1063 allocb(len, BPRI_HI)) == NULL) {
1433 * len - length of "data" for this bulk request
1442 size_t len,
1450 (void *)dip, len, flags);
1459 if (len) {
1040 usb_alloc_ctrl_req(dev_info_t *dip, size_t len, usb_flags_t flags) argument
1441 usb_alloc_bulk_req(dev_info_t *dip, size_t len, usb_flags_t flags) argument
1681 usb_alloc_intr_req(dev_info_t *dip, size_t len, usb_flags_t flags) argument
1733 usba_hcdi_dup_intr_req( dev_info_t *dip, usb_intr_req_t *reqp, size_t len, usb_flags_t flags) argument
2129 usb_alloc_isoc_req(dev_info_t *dip, uint_t isoc_pkts_count, size_t len, usb_flags_t flags) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.c488 int len, count, readcnt = 0; local
566 len = tind->SRC_length;
568 if (namelen > 0 && len > 0) {
570 opt = sogetoff(mp, tind->SRC_offset, len, 1);
574 msg->msg_name = kmem_alloc(len, KM_SLEEP);
575 msg->msg_namelen = len;
577 bcopy(opt, msg->msg_name, len);
580 len = tind->OPT_length;
582 if (len > 0) {
585 } else if (len >
1227 socklen_t len; local
2050 sctp_assoc_recv(sock_upper_handle_t handle, mblk_t *mp, size_t len, int flags, int *errorp, boolean_t *forcepush) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c195 * up by a slash. In other words, /usr/src/adm would have a len field
201 long len; /* number of components */ member in struct:filenames
1287 for (i = 0; i <= top->len; i++)
1290 current_pathp = top->len;
2221 print_path(fn->fname, (int)fn->len);
2239 if (fn0->len) {
2245 if (fnn->len != fn->len && level == fnn->len - 1)
2247 if (fnn->len
2288 int len = strlen(fn->fname[cmp_level]) + 2; local
3164 getshadowdata(long *buf, int len) argument
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgweb.c524 int len, fd = -1; local
535 if (((len = snprintf(path, PATH_MAX, "%s/%s", devp->dirname,
536 SIGNATURE_FILENAME)) >= PATH_MAX) || (len < 0)) {
1213 int len, retval, respcode, use_ssl = 0; local
1305 len = i2d_OCSP_REQUEST(req, NULL);
1309 retval = BIO_printf(cbio, OCSP_REQUEST_FORMAT, uri, len);
1311 retval = BIO_printf(cbio, OCSP_REQUEST_FORMAT, path, len);
1334 while ((len = BIO_read(cbio, ocspbuf, OCSP_BUFSIZ))) {
1335 if (len < 0) {
1340 if (BIO_write(mem, ocspbuf, len) !
1828 int fd, len; local
2153 int len; local
2432 int len; local
2689 int len; local
2788 int len, i; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c204 #define STR_DATA_LEN(len) ((len) * 2 + PREAMBLE_SIZE + POSTAMBLE_SIZE)
408 reply_to_client(AuthInfo *ap, int type, void *data, int len) argument
414 if (len == -1 && data != NULL)
415 len = strlen((char *)data);
416 else if (len > (sizeof (reply) - 9)) {
418 "krb5 auth reply length too large (%d)", len);
422 len);
425 len = 0;
434 while (len
1837 encrypt_reply(char *data, int len) argument
1967 encrypt_keyid(uchar_t *newkeyid, int *keyidlen, uchar_t *keyid, int len, int dir) argument
2466 getauthtype(char *username, int *len) argument
2755 int len; local
4743 int len; local
4893 int len; local
4906 write_data_len(const char *buf, int len) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_boot.c2316 * Adjust the base and len for the BARs of the PCI-IDE
2334 * if either base or len is zero make certain both are zero
2355 uint_t value = 0, len, devloc; local
2443 len = ((value ^ (value-1)) + 1) >> 1;
2451 &base, &len);
2464 assigned[nasgn].pci_size_low = len;
2495 len);
2496 memlist_insert(io_used, base, len);
2500 pci_bus_res[bus].io_size += len;
2503 base = (uint_t)memlist_find(io_avail, len, le
3036 int len; local
3331 int len; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/
H A Dpiclenvmon.c465 size_t len; local
476 len = strlen(namebuf);
478 namebuf + len, sizeof (namebuf) - len) != PICL_SUCCESS) {
488 len = strlen(ptr + 1); /* length of terminal name */
500 if (strlen(dp->d_name) < len)
502 if (strncmp(dp->d_name, ptr, len) == 0) {
1355 int len; local
1363 len = strlen(string);
1364 if (len >
1375 int len; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash.c877 __ham_call_hash(hcp, k, len)
880 int32_t len;
884 n = (u_int32_t)(hcp->dbc->dbp->h_hash(k, len));
911 db_indx_t len; local
944 memcpy(&len,
947 hcp->dup_off += DUP_SIZE(len);
950 hcp->dup_off -= DUP_SIZE(len);
953 memcpy(&len,
958 hcp->dup_len = len;
1232 * len indicate
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd.c464 int len; local
514 len = 0;
516 0, "md_med_trans_lst", NULL, &len) != DDI_PROP_SUCCESS ||
517 len == 0) {
520 md_med_trans_lst = kmem_zalloc((size_t)len, KM_SLEEP);
522 0, "md_med_trans_lst", md_med_trans_lst, &len) !=
524 kmem_free(md_med_trans_lst, (size_t)len);
543 len = sizeof (char) * 5;
545 0, "md_xlate_ver", ver, &len) == DDI_PROP_SUCCESS) {
547 len
713 int len; local
[all...]
/illumos-gate/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c86 int len; local
91 len = strlen(str) + 1;
92 badp = alloca(len);
93 (void) memset(badp, '\0', len);
107 (void) strlcat(badp, ",", len);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dutility.c142 CK_ULONG len = 0; local
145 len++;
149 return (len);
623 CK_ULONG_32 len,
630 SHA1Update(&ctx, data, len);
622 compute_sha(CK_BYTE *data, CK_ULONG_32 len, CK_BYTE * hash) argument
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu.c300 int len; local
305 len = (frup->part ? strlen(frup->part) : 0) +
307 str = cpu_alloc(len);
308 (void) snprintf(str, len, "%s%s",
312 cpu_free(str, len);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_parse.c461 static void add_data_to_buffer(struct prof_buf *b, const void *d, size_t len) argument
465 if (b->max - b->cur < len) {
469 newsize = b->max + (b->max >> 1) + len + 1024;
478 memcpy(b->base + b->cur, d, len);
479 b->cur += len; /* ignore overflow */
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dparse.c1200 label_list->argchn.len = sh_getlineno(lexp);
1207 errormsg(SH_DICT,ERROR_warn(0),e_lexlabignore,label_list->argchn.len,label_list->argval);
1897 unsigned long kiaentity(Lex_t *lexp,const char *name,int len,int type,int first,int last,unsigned long parent, int pkind, int width, const char *attr) argument
1903 if(len>0)
1904 sfwrite(stkp,name,len);
1921 if(len>0)
1922 sfprintf(lexp->kiafile,"%..64d;%c;%.*s;%d;%d;%..64d;%..64d;%c;%d;%s\n",np->hash,type,len,name,first,last,parent,lexp->fscript,pkind,width,attr);
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dconfig_parsing.c49 size_t len; local
67 len = strlen(buffer);
68 if (buffer[len-1] == '\n') { /* get rid of trailing '\n' */
69 len--;
71 buffer[len] = '\0';
/illumos-gate/usr/src/lib/libgen/common/
H A Dreg_step.c559 int len; local
568 len = mblen(p1, MB_CUR_MAX);
569 if (len == -1) {
570 len = 1;
572 p2 = p1 + len;
/illumos-gate/usr/src/lib/libtsol/common/
H A Dprivate.c138 int len; local
177 w += (len = strlen(l_w) + 1);
178 l_w += len;
185 w += (len = strlen(s_w) + 1);
186 s_w += len;
/illumos-gate/usr/src/lib/librdc/common/
H A Dnetaddrs.c404 nb->len = nb->maxlen = sizeof (struct sockaddr_in6);
408 nb->len = nb->maxlen = sizeof (struct sockaddr_in);
450 nb->len = nb->maxlen = sizeof (struct sockaddr_in);
488 (void) memcpy(nb->buf, tbind->addr.buf, tbind->addr.len);
635 if ((nb->len == 8) &&
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c518 if (serial != NULL && serial->val != NULL && serial->len > 0) {
519 SETATTR(templ, i, CKA_SERIAL_NUMBER, serial->val, serial->len);
1155 if (signed_cert_ptr->certificate.serialNumber.len > 0 &&
1158 serno_len = signed_cert_ptr->certificate.serialNumber.len;
1530 if (rsaexp != NULL && (rsaexp->len > 0 && rsaexp->val != NULL)) {
1533 rsaexp->val, rsaexp->len);
2104 CK_ULONG len = sizeof (CK_ULONG); local
2109 templ.ulValueLen = len;
2124 CK_ULONG len = sizeof (Label); local
2127 (void) memset(Label, 0, len);
2878 int len, i; local
[all...]
/illumos-gate/usr/src/lib/libldap5/include/ldap/
H A Dsolaris-int.h96 const void *buf, int len );
100 const void *buf, int len, struct lextiof_socket_private *arg );
146 size_t buffer_size, ber_len_t *len, BerElement *ber,
149 size_t buffer_size, ber_len_t *len, BerElement *ber,
163 LDAP_API(ber_tag_t) LDAP_CALL ber_get_next( Sockbuf *sb, ber_len_t *len,
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetfilter.c59 ssize_t rlen, len; local
67 if ( fseek( fp, 0L, SEEK_END ) != 0 ) { /* move to end to get len */
72 len = ftell( fp );
79 if (( buf = NSLDAPI_MALLOC( (size_t)len )) == NULL ) {
84 rlen = fread( buf, 1, (size_t)len, fp );
88 if ( rlen != len && !eof ) { /* error: didn't get the whole file */
H A Dopen.c697 size_t len = q - status->lhs_nexthost; local
698 *hostp = NSLDAPI_MALLOC( len + 1 );
702 strncpy( *hostp, status->lhs_nexthost, len );
703 (*hostp)[len] = '\0';
704 status->lhs_nexthost += ( len + 1 );
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dkerberos5.c513 #define BUMP(buf, len) while (*(buf)) {++(buf), --(len); }
514 #define ADDC(buf, len, c) if ((len) > 0) {*(buf)++ = (c); --(len); }
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c95 int len; local
119 if ((len = wctomb(pmb, wc)) <= 0) {
121 len = 1;
123 pmb += len;
658 len = 0;
/illumos-gate/usr/src/cmd/expr/
H A Dexpr.c120 int len; local
125 len = strlen(buf);
126 if (len <= 0)
131 if (len <= 1) /* Is it a '-' all by itself? */
134 while (i < len) {

Completed in 203 milliseconds

<<81828384858687888990>>