/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_pservice.c | 245 ps_pbrandname(struct ps_prochandle *P, char *buf, size_t len) argument 251 return (ps_ops.ps_pbrandname(P, buf, len)); 265 buf, len, auxv->a_un.a_val) <= 0)
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_log.c | 105 int len; local 107 len = strnlen(path, PATH_MAX); 108 fmt = (path[len - 1] == '/') ? "%s%s" : "%s/%s";
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_db.c | 477 ssize_t len; local 479 if (ptr == NULL || (len = strlcpy(ptr, buffer, MAXLINKATTRVALLEN)) 488 return (len + 1); 712 int i, len; local 719 len = strlen(buf); 721 for (i = 0; i < len; i++) { 730 if (!match && i != len - 1) 836 int i, len, llen; local 851 len = strlen(tmpbuf); 852 for (i = 0; i < len; [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/io-retire/ |
H A D | rio_main.c | 47 size_t len; local 50 len = strlen(estr); 79 if (len != strlen(estr)) {
|
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_subr.c | 286 copydomain(char *source, char *target, int len) argument 290 len--; /* leave room for terminating '\0' */ 292 for (n = 0; *source != '\0' && n < len; n++)
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rstat_proc.c | 463 req->len = 0; 466 ctlbuf.len = tor->OPT_length + tor->OPT_offset; 476 * len is the size of the data part of the message. 487 fprintf(stderr, "# level name len\n"); 499 (ctlbuf.len >= sizeof (struct T_optmgmt_ack)) && 502 req->len == 0) { 511 if (ctlbuf.len >= sizeof (struct T_error_ack) && 524 (ctlbuf.len < sizeof (struct T_optmgmt_ack)) || 529 "mibget getmsg(ctl) %d returned %d, ctlbuf.len = %d, PRIM_type = %d\n", 530 j, getcode, ctlbuf.len, to [all...] |
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | file.cc | 60 size_t len; local 65 len = (size_t)buf->GetHeader().Time_to_Bytes(buf->GetLength()); 67 err = ofp->WriteData(cp, len, pos);
|
/illumos-gate/usr/src/cmd/avs/errgen/ |
H A D | errgen.c | 157 int len = 0; local 181 len = sprintf(pt, "{%d}", fc); 182 pt += len;
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itmcomp.c | 778 size_t len; local 784 len = strlen(str) + 1; 785 p = malloc_vital(len); 786 (void) memcpy(p, str, len); 817 static size_t len = 0; local 828 if (len <= req_len) { 829 len += 512; 831 ptr = malloc_vital(len); 855 static long len[ARGUMENTSMAX] = { 0, 0, 0, 0, 0, 0, 0, 0}; local 864 if (len[inde [all...] |
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keyserv.c | 912 int len, i; local 918 len = res->cryptkeyres3_u.deskey.deskeyarray_len; 920 for (i = 0; i < len; i++) { 932 int len, i; local 938 len = res->cryptkeyres3_u.deskey.deskeyarray_len; 940 for (i = 0; i < len; i++) { 1350 int csize, len; local 1352 len = (int)strlen(size); 1353 if (len == 0) { 1357 if (size[len [all...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | main.c | 443 int len; local 445 if ((len = snprintf((char *)tmpout, TMPOUTSZ, "/tmp/sh%u", mypid)) >= 454 tmpout_offset = len;
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | depchk.c | 339 int len = strlen(zn)+strlen(a_eir->ier_zones[a_errIndex])+3; local 340 p = calloc(1, len); 341 (void) snprintf(p, len, "%s, %s", zn,
|
/illumos-gate/usr/src/uts/common/gssapi/include/ |
H A D | gssapiP_dummy.h | 64 #define TWRITE_STR(ptr, str, len) \ 65 (void) memcpy((ptr), (char *) (str), (len)); \ 66 (ptr) += (len);
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_subr.c | 282 int len, error; local 290 if ((len = u8_validate(namep, strlen(namep), prohibited, 294 if (len > PCMAXNAMLEN)
|
/illumos-gate/usr/src/tools/cw/ |
H A D | cw.c | 969 size_t len; local 980 len = strlen(opt) + 7; 981 if ((s = malloc(len)) == NULL) 983 (void) snprintf(s, len, "-Wl,-%c%s", c, opt); 1299 size_t len = strlen(arg); local 1304 if (len != 4 || !isdigit(c)) 1307 if ((s = malloc(len)) == NULL) 1325 (void) snprintf(s, len, "-O%d", level); 1594 size_t len; local 1619 len [all...] |
/illumos-gate/usr/src/tools/onbld/hgext/ |
H A D | cdm.py | 636 if len(exeFiles) > 0: 642 return len(exeFiles) > 0 694 if len(heads) > 1 and heads != parents: 715 if len(branches) > 1: 787 merges = filter(lambda x: len(x.parents()) == 2 and x.parents()[1], 948 if len(heads) > 1: 961 if filter(lambda b: len(b.parents()) > 1, active.bases()): 965 if len(active.revs) <= 0: 968 if len(active.files()) <= 0: 970 len(activ [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdcsrv.c | 288 addrmask.len = STRUCT_FGET(uap, addrmask.len); 292 addrmask.len, mode);
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksdp.c | 656 socklen_t maxlen = *optlenp, len, optlen; local 695 len = (t_uscalar_t)sizeof (uint32_t); /* Default */ 730 len = (t_uscalar_t)sizeof (struct linger); 734 len = (t_uscalar_t)sizeof (int); 739 len = (t_uscalar_t)sizeof (int); 744 len = (t_uscalar_t)sizeof (int); 749 len = (t_uscalar_t)sizeof (int); 777 len = optlen; 780 len = MIN(len, maxle [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | dump.c | 99 size_t len; local 197 &len)) != 0) 200 if (len != 37) {
|
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | ch.h | 293 void *t1_os_malloc_wait_zero(size_t len); 294 void t1_os_free(void *adr, size_t len); 296 int pe_os_mem_copy(ch_t *obj, void *dst, void *src, size_t len);
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | rnode.h | 99 int len; /* length of the contents */ member in struct:symlink_cache 106 count3 c_commlen; /* len to commit */ 152 int len; member in struct:lock_manager_pid_list::__anon6823::__anon6824 160 #define lmpl_own_len un._own.len
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | immu_dmar.c | 102 get_str(char *cp, uint_t len) argument 104 char *str = kmem_alloc(len + 1, KM_SLEEP); 106 (void) strlcpy(str, cp, len + 1); 182 uint8_t len; local 191 len = get_uint8(&shead[1]); 193 depth = (len - 6)/2; 291 int len; local 311 len = get_uint16(&uhead[2]); 321 while (shead < &uhead[len - 1]) { 349 int len; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | npe.c | 396 ddi_acc_hdl_t *hp, off_t offset, off_t len) 400 if ((ret = pci_fm_acc_setup(hp, offset, len)) == 414 off_t offset, off_t len, caddr_t *vaddrp) 540 if (len != 0) 541 pci_rp->pci_size_low = len; 588 offset, len)); 605 offset, len)); 623 offset, len)); 632 if ((offset >= length) || (len > length) || (offset + len > lengt 395 npe_setup_std_pcicfg_acc(dev_info_t *rdip, ddi_map_req_t *mp, ddi_acc_hdl_t *hp, off_t offset, off_t len) argument 413 npe_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, off_t offset, off_t len, caddr_t *vaddrp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | af_rds.c | 272 int rval = 0, rc, len; local 301 len = 0; 305 len++; 308 (void) ddi_copyout(&len, (void *)arg, 466 rdsv3_cancel_sent_to(struct rdsv3_sock *rs, char *optval, int len) argument 474 if (len < sizeof (struct sockaddr_in)) 874 rdsv3_sock_inc_info(struct rsock *sock, unsigned int len, argument 884 len /= sizeof (struct rds_info_message); 894 if (total <= len) 912 rdsv3_sock_info(struct rsock *sock, unsigned int len, argument [all...] |
H A D | ib_send.c | 495 int ix, len, assigned; local 511 len = length; 515 assigned = min(len, sgl->ds_len - off); 518 len -= assigned; 519 if (len != 0) { 523 } while (len > 0); 630 * "rdsv3_ib_xmit prep msg dport=%u flags=0x%x len=%d\n", 727 /* handle a 0-len message */ 739 unsigned int len; local 744 len [all...] |