/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | misc.c | 36 size_t mlen, olen, clen; local 43 mlen = m->b_wptr - s; 44 olen = min(off, mlen); 45 if ((olen == mlen) || (olen < off)) { 51 mlen -= olen; 53 clen = min(mlen, len); 67 size_t mlen, olen, clen; local 76 mlen = m->b_wptr - s; 77 olen = min(off, mlen); 78 if ((olen == mlen) || (ole [all...] |
H A D | ip_log.c | 238 int types[2], mlen; local 356 mlen = fin->fin_plen - hlen; 358 mlen = (flags & FR_LOGBODY) ? MIN(mlen, 128) : 0; 360 mlen = 0; 362 if (mlen < 0) 363 mlen = 0; 364 ipfl.fl_plen = (u_char)mlen; 390 sizes[1] = hlen + mlen; 394 sizes[1] = hlen + mlen; [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | zfs_lzjb.c | 49 int mlen = (src[0] >> (NBBY - MATCH_BITS)) + MATCH_MIN; local 54 while (--mlen >= 0 && dst < d_end)
|
/illumos-gate/usr/src/cmd/sgs/libldmake/common/ |
H A D | lock.c | 45 char *arg1, char *arg2, size_t mlen) 50 (void) snprintf(msg, mlen, "Could not lock file `%s'; ", file); 52 (void) snprintf(&msg[len], (mlen - len), str, arg1, arg2); 55 (void) strlcat(msg, errstr, mlen); 44 file_lock_error(char *msg, char *file, int err, const char *str, char *arg1, char *arg2, size_t mlen) argument
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | lzjb.c | 62 int mlen = (src[0] >> (NBBY - MATCH_BITS)) + MATCH_MIN; local 67 while (--mlen >= 0 && dst < d_end)
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_dim.c | 81 int mlen; local 97 mlen = len + 1 + strlen(minor_name); 99 mlen = len; 100 if ((devices = (char *)malloc(mlen)) == NULL)
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | glue3.c | 106 int mlen; local 113 mlen = findline(in, &mout, outlen, 0L); 115 if (mlen > 0) {
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | word.c | 292 int i, mlen; local 352 mlen = mbtowc(&c, (char *)f->fnxt, i); 353 if (mlen > 0) 363 mlen = 1; 366 f->fnxt += mlen; 367 f->nxtoff += mlen;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | lzjb.c | 57 int mlen, offset, hash; local 83 for (mlen = MATCH_MIN; mlen < MATCH_MAX; mlen++) 84 if (src[mlen] != cpy[mlen]) 86 *dst++ = ((mlen - MATCH_MIN) << (NBBY - MATCH_BITS)) | 89 src += mlen; 114 int mlen = (src[0] >> (NBBY - MATCH_BITS)) + MATCH_MIN; local 119 while (--mlen > [all...] |
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | puttext.c | 54 int wlen, mlen, bdg; local 109 mlen = wctomb(mbs, *wp); 110 if (mlen == -1) { 117 for (i = 0; i < mlen; i++) 279 mlen = wcstombs(mbtemp, temp, MWIDTH+1); 280 for (i = 0; i < mlen; i++) 301 mlen = wcstombs(mbtemp, temp, MWIDTH+1); 302 for (i = 0; i < mlen; i++)
|
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_heap.c | 210 int mlen; local 215 mlen = sizeof (ndr_vcs_t) + vc->wcsize + sizeof (smb_wchar_t); 217 vc->vcs = ndr_heap_malloc(heap, mlen); 231 int mlen; local 241 mlen = sizeof (ndr_vcbuf_t) + datalen; 243 vcbuf->vcb = ndr_heap_malloc(heap, mlen);
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | nb_ssn.c | 70 int mtype, int mlen) 84 hdr = (mtype << 24) | mlen; 121 int err, mtype, mlen; local 122 err = nb_ssn_recv(ctx, mbp, &mtype, &mlen); 130 if (mlen == 0) { 145 int *mtype, int *mlen) 179 *mlen = hdr & 0xffffff; 181 if (mlen == 0) 187 if ((err = mb_init_sz(mb, *mlen)) != 0) 190 len = *mlen; 69 nb_ssn_send(struct smb_ctx *ctx, struct mbdata *mbp, int mtype, int mlen) argument 144 nb_ssn_recv(struct smb_ctx *ctx, struct mbdata *mb, int *mtype, int *mlen) argument 277 int err, mtype, mlen; local [all...] |
/illumos-gate/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 89 Elf32_Off mlen; /* total mapping claim */ local 195 mlen = ROUND((lph->p_vaddr + lph->p_memsz) - 197 maddr = (caddr_t)MMAP(0, mlen, PROT_READ | PROT_EXEC, 207 (void) MUNMAP(maddr, mlen); 208 mlen = ROUND((lph->p_vaddr + lph->p_memsz) - 211 maddr = (caddr_t)MMAP(0, mlen, PROT_READ | PROT_EXEC, 259 mlen -= addr - maddr; 306 mlen -= maddr - addr; 312 if (mlen > 0) 313 (void) MUNMAP(maddr, mlen); [all...] |
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 88 Elf32_Off mlen; /* total mapping claim */ local 195 mlen = ROUND((lph->p_vaddr + lph->p_memsz) - 197 maddr = (caddr_t)MMAP(0, mlen, PROT_READ | PROT_EXEC, 207 (void) MUNMAP(maddr, mlen); 208 mlen = ROUND((lph->p_vaddr + lph->p_memsz) - 211 maddr = (caddr_t)MMAP(0, mlen, PROT_READ | PROT_EXEC, 259 mlen -= addr - maddr; 307 mlen -= maddr - addr; 313 if (mlen != 0) 314 (void) MUNMAP(maddr, mlen); [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | compress.c | 134 int mlen, offset; local 141 mlen = s_len; 142 for (src = s_start, dst = d_start; mlen; mlen--) 162 for (mlen = MATCH_MIN; mlen < MATCH_MAX; mlen++) 163 if (src[mlen] != cpy[mlen]) 165 *dst++ = ((mlen 199 int mlen = (src[0] >> (NBBY - MATCH_BITS)) + MATCH_MIN; local [all...] |
H A D | ip_cksum.c | 84 ssize_t mlen; local 122 if ((mlen = dp->db_cksumstart - offset) < 0) 123 mlen = 0; 124 if (is_odd(mlen)) 126 if (mlen && dp->db_cksumstart != dp->db_cksumstuff && 135 sum = ip_ocsum(w, mlen >> 1, sum); 142 mlen = dp->db_cksumend - dp->db_cksumstuff; 150 if (mlen) 151 mlen += dp->db_cksumend 158 mlen 428 ssize_t mlen, i; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | upap.c | 671 int mlen, ulen, wlen; local 716 mlen = p[0]; 717 if (len < mlen + 1) 720 p += mlen + 1; 721 len -= mlen + 1; 723 print_string(msg, mlen, printer, arg);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | secure.c | 132 OM_uint32 maj_stat, min_stat, mlen; local 138 msize, &mlen); 145 smaxqueue = mlen;
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_trantcp.c | 87 * Get mblks into *mpp until the data length is at least mlen. 94 nb_getmsg_mlen(struct nbpcb *nbp, mblk_t **mpp, size_t mlen) argument 111 while (dlen < mlen) { 236 int error, mlen; local 243 mlen = sizeof (struct T_discon_req); 244 if (!(mp = allocb_cred_wait(mlen, STR_NOSIG, &error, cr, NOPID))) 685 uint32_t mlen; local 700 mlen = msgdsize(m); 741 nb_sethdr(m, NB_SSN_MESSAGE, mlen);
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | vjcompress.c | 160 vj_compress_tcp(register struct ip *ip, uint_t mlen, struct vjcompress *comp, argument 180 if ((ip->ip_off & htons(0x3fff)) || mlen < 40) { 191 if (thlen > mlen) {
|
/illumos-gate/usr/src/uts/common/io/iwi/ |
H A D | ipw2200_hw.c | 373 uint32_t mlen; local 426 mlen = min(IPW2200_CB_MAXDATALEN, len); 427 mlen = min(mlen, dr[cnt].dr_size - off); 429 (void) memcpy(dr[cnt].dr_base + off, v, mlen); 430 (void) ddi_dma_sync(dr[cnt].dr_hnd, off, mlen, 433 ctl = IPW2200_CB_DEFAULT_CTL | mlen; 443 off += mlen; 444 src += mlen; 445 dst += mlen; [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 76 size_t mlen; local 84 mlen = (size_t) (atp - fprincname); 86 if ((mname = (char *) malloc(mlen+1))) { 87 strncpy(mname, fprincname, mlen); 88 mname[mlen] = '\0';
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | regex2.h | 184 int mlen; /* length of must */ member in struct:re_guts
|
/illumos-gate/usr/src/cmd/ipcs/ |
H A D | ipcs.c | 499 size_t mlen = mhead->msgsnap_mlen; local 501 dumpmsg(mhead->msgsnap_mtype, (char *)(mhead + 1), mlen); 506 ((caddr_t)(mhead + 1) + SZROUND(mlen));
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 581 size_t no, mlen, tlen, hlen = olen - 1; local 601 mlen = ((hlen + tlen) * 606 malloc(mlen)) == NULL)
|