Searched refs:len (Results 1801 - 1825 of 3980) sorted by relevance

<<71727374757677787980>>

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_signing.c137 if (token->tkn_ssnkey.val == NULL || token->tkn_ssnkey.len == 0)
177 sign->mackey_len = token->tkn_ssnkey.len + sinfo->ssi_ntpwlen;
179 bcopy(token->tkn_ssnkey.val, sign->mackey, token->tkn_ssnkey.len);
181 bcopy(sinfo->ssi_ntpwd, sign->mackey + token->tkn_ssnkey.len,
/illumos-gate/usr/src/cmd/fm/schemes/hc/
H A Dscheme.c46 ssize_t len; local
62 len = snprintf(buf, buflen, "%s", str);
64 len = strlen(str);
69 return (len);
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_adminq.h67 u32 len; member in struct:i40e_adminq_ring
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_buf.c208 size_t len; local
249 &len, &tx_ring->tbd_area.acc_handle);
266 bzero(tx_ring->tbd_area.address, len);
275 len, DDI_DMA_RDWR | DDI_DMA_CONSISTENT,
297 tx_ring->tbd_area.size = len;
446 size_t len; local
478 &len, &rx_data->rbd_area.acc_handle);
495 bzero(rx_data->rbd_area.address, len);
503 len, DDI_DMA_RDWR | DDI_DMA_CONSISTENT,
525 rx_data->rbd_area.size = len;
568 size_t len; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DCryptoAlg.c186 mDNSexport mStatus AlgAdd(AlgContext *ctx, const void *data, mDNSu32 len) argument
205 return (func->Add(ctx, data, len));
258 mDNSexport mStatus AlgFinal(AlgContext *ctx, void *data, mDNSu32 len) argument
277 return (func->Final(ctx, data, len));
/illumos-gate/usr/src/cmd/mandoc/
H A Dterm_ascii.c223 ascii_advance(struct termp *p, size_t len) argument
227 for (i = 0; i < len; i++)
360 locale_advance(struct termp *p, size_t len) argument
364 for (i = 0; i < len; i++)
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dholds.py57 if len(args) < 1:
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpriv_str_xlate.c390 int len; local
406 len = strlen(tstart);
407 (void) memmove(lp, tstart, len + 1);
408 lp += len;
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dacpidev.h418 * len: sizeof devname buffer
422 char *devname, int len);
427 char *devname, int len);
462 char *buf, size_t len);
542 * bufp and len: optional third parameter for _OST.
545 uint32_t status, char *bufp, size_t len);
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Dgethostent6.c96 int len; local
109 len = strlen(h->h_name);
111 if ((name = malloc(len+1)) == 0) {
116 (void) memcpy(name, h->h_name, len+1);
260 int len = strlen(h->h_aliases[i]); local
262 (void) memcpy(aliasArray[i], h->h_aliases[i], len+1);
263 aliasList = PTROFF(aliasList, RNDUP(len+1));
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsrvsvc_sd.c267 int offset, len, i; local
293 len = smb_sid_len(sd->sd_owner);
294 bcopy(sd->sd_owner, &sdbuf[offset], len);
295 offset += len;
304 len = smb_sid_len(sd->sd_group);
305 bcopy(sd->sd_group, &sdbuf[offset], len);
306 offset += len;
/illumos-gate/usr/src/lib/librsc/sparc/mpxu/common/
H A Dlibrsc.c175 request.len = 0;
179 response.len = sizeof (version_msg);
232 rr_req->msg_len = req->len;
237 rr_resp->msg_len = resp->len;
506 printf("send srecord BP len=%d\n", nbytes);
598 req->msg_len = msgp->len;
643 printf("got reply type=%x len=%d\n", rsc_rx_resp_type, rsc_rx_resp_len);
678 msgp->len = 0;
685 msgp->len = rsc_rx_resp_len;
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPUtils.c48 int len; member in struct:scopes_tree
455 int len; local
458 if ((len = mblen(pin, MB_CUR_MAX)) > 1) {
460 for (i = 0; i < len && *pin; i++)
507 int len; local
510 if ((len = mblen(pin, MB_CUR_MAX)) > 1) {
512 for (i = 0; i < len && *pin; i++)
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dkrb5ssp.c107 ulong_t len; local
115 len = bloblen;
123 b += ASNDerWriteToken(b, SPNEGO_NEGINIT_APP_CONSTRUCT, NULL, len);
386 int err, len; local
402 if ((len = ssn_key->length) > SMBIOC_HASH_SZ)
403 len = SMBIOC_HASH_SZ;
404 memcpy(ctx->ct_ssn_key, ssn_key->contents, len);
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsinfo.c142 static int devfs_dev_to_prom_names(char *dev_path, char *prom_path, size_t len);
167 int ret, i, len; local
206 len = strlen(ptr) + 1;
207 if ((list[i] = (char *)malloc(len)) == NULL) {
212 (void) snprintf(list[i], len, "%s", ptr);
213 ptr += len;
320 int ret, len, i, count = 0; local
355 len = strlen(ptr) + 1;
356 if ((cur->obp_path = (char *)calloc(len, 1)) == NULL) {
362 (void) snprintf(cur->obp_path, len, "
421 int ret, len, i, j; local
1067 int len; local
1318 devfs_dev_to_prom_names(char *dev_path, char *prom_path, size_t len) argument
[all...]
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_menu.c350 int len, n, ret; local
391 len = sizeof (buf);
393 while (fgets(cp, len, fp) != NULL) {
395 if (IS_LINE2BIG(cp, len, n)) {
406 len -= n - 1;
407 assert(len >= 2);
415 len = sizeof (buf);
/illumos-gate/usr/src/common/crypto/arcfour/sun4v/
H A Darcfour_crypt.c62 arcfour_crypt(ARCFour_key *key, uchar_t *in, uchar_t *out, size_t len) argument
80 for (index = 8 - index; (index-- > 0) && len > 0;
81 len--, in++, out++) {
95 if (len == 0)
111 for (ii = 0; ii < len; ii++) {
158 for (ii = 0, i1 = i; ii < ((len-1) & (~7));
579 for (; ii < len; ii++) {
/illumos-gate/usr/src/cmd/pools/poold/
H A Dpoold.c413 size_t len; local
528 vm_opts[nopts].optionString = malloc(len = strlen(classpath) +
530 (void) strlcpy(vm_opts[nopts].optionString, "-Djava.class.path=", len);
531 (void) strlcat(vm_opts[nopts++].optionString, classpath, len);
535 vm_opts[nopts].optionString = malloc(len = strlen(libpath) +
538 len);
539 (void) strlcat(vm_opts[nopts++].optionString, libpath, len);
/illumos-gate/usr/src/cmd/ppgsz/
H A Dppgsz.c546 size_t len = pgsza[nelem - 1]; local
557 if ((addr = pr_mmap(Pr, (void *)len, len, PROT_READ | PROT_WRITE,
563 if (pr_memcntl(Pr, addr, len, MC_HAT_ADVISE, mha, 0, 0) < 0) {
570 (void) Pwrite(Pr, &len, sizeof (len), (uintptr_t)addr);
587 if (pr_munmap(Pr, addr, len) == -1) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/keygen/
H A Dkeygen.c172 create_client_filename(char *filename, size_t len, const char *net, argument
179 size = snprintf(filename, len, "%s", CLIENT_KEY_DIR);
184 size = snprintf(filename, len, "%s/%s", CLIENT_KEY_DIR, net);
191 size = snprintf(filename, len, "%s/%s/%s", CLIENT_KEY_DIR,
198 if (size >= len) {
217 if (strlcat(filename, "/keystore", len) >= len) {
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drup.c486 np = (struct netbuf *) malloc(sizeof (struct netbuf) + ap->len);
488 np->maxlen = np->len = ap->len;
490 (void) memcpy(np->buf, ap->buf, ap->len);
532 return (ap->len == bp->len && !memcmp(ap->buf, bp->buf, ap->len));
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dutil.c252 size_t len; local
267 len = strlen(old) + strlen(str) + 2;
268 if ((new = libld_calloc(1, len)) == NULL)
270 (void) snprintf(new, len, MSG_ORIG(MSG_FMT_COLPATH), old, str);
293 size_t len = MSG_ARG_WRAP_SIZE + strlen(optarg) + 1; local
295 if ((str = libld_malloc(len)) == NULL)
297 (void) snprintf(str, len, MSG_ORIG(MSG_FMT_STRCAT),
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk3.c45 static NODE *exprconcat(NODE *np, int len);
161 register int len; local
170 len = sizeof (wchar_t) * ((np->n_strlen =
172 np->n_string = emalloc(len);
173 (void) memcpy((wchar_t *)np->n_string, cp, len);
202 len = (np->n_strlen+1) * sizeof (wchar_t);
203 np->n_string = emalloc(len);
204 (void) memcpy(np->n_string, value->n_string, len);
359 register size_t len; local
361 new = (STRING)emalloc(len
948 exprconcat(NODE *np, int len) argument
1713 register size_t len; local
2109 register int len; local
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef_ioctl.c544 int len; local
553 len = MAXNAMELEN * count;
554 psoftlist = malloc(sizeof (crypto_get_soft_list_t) + len);
562 psoftlist->sl_soft_len = len;
578 len = psoftlist->sl_soft_len;
580 psoftlist = malloc(sizeof (crypto_get_soft_list_t) + len);
588 psoftlist->sl_soft_len = len;
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_change.c259 int len, return_now; local
266 info->len = 0;
329 len = sizeof (ldap_get_change_out_t);
330 if ((cout = calloc(1, len)) == NULL) {
336 info->len = len;
366 info->len = chg.chg_data_size;

Completed in 271 milliseconds

<<71727374757677787980>>