/titanic_50/usr/src/uts/common/os/ |
H A D | mem_cage.c | 214 pfn_t lim; member 342 khi = lp->lim; in kcage_next_range() 417 pfn_t lim; in kcage_range_add_internal() local 425 lim = base + npgs; in kcage_range_add_internal() 427 ASSERT(lim > base); in kcage_range_add_internal() 428 if (lim <= base) in kcage_range_add_internal() 437 new->lim = lim; in kcage_range_add_internal() 440 new->curr = new->lim; in kcage_range_add_internal() 450 ret = kcage_glist_delete((*lpp)->base, (*lpp)->lim, &new); in kcage_range_add_internal() 483 pfn_t lim; in kcage_range_delete_internal() local [all …]
|
/titanic_50/usr/src/lib/libc/port/locale/ |
H A D | runetype.c | 43 size_t lim; in __runetype() local 52 for (lim = rr->__nranges; lim != 0; lim >>= 1) { in __runetype() 53 re = base + (lim >> 1); in __runetype() 61 lim--; in __runetype()
|
H A D | nextwctype.c | 44 size_t lim; in nextwctype_l() local 70 for (lim = rr->__nranges; lim != 0; lim >>= 1) { in nextwctype_l() 71 re = base + (lim >> 1); in nextwctype_l() 76 lim--; in nextwctype_l()
|
H A D | towlower.c | 53 size_t lim; in change_case_ext() local 62 for (lim = rr->__nranges; lim != 0; lim >>= 1) { in change_case_ext() 63 re = base + (lim >> 1); in change_case_ext() 68 lim--; in change_case_ext()
|
/titanic_50/usr/src/cmd/audio/utilities/ |
H A D | Audio.cc | 333 size_t lim; in AsyncCopy() local 346 lim = (size_t)tohdr.Time_to_Bytes(limit); in AsyncCopy() 364 if (!Undefined(limit) && (lim < bufsiz)) in AsyncCopy() 365 bufsiz = lim; in AsyncCopy() 383 if (!Undefined(limit) && (lim < bufsiz)) in AsyncCopy() 384 bufsiz = lim; in AsyncCopy() 394 lim = bufsiz; in AsyncCopy() 395 if (tohdr.Bytes_to_Bytes(bufsiz) != lim) { in AsyncCopy() 398 lim = bufsiz; in AsyncCopy() 405 if (bufsiz < lim) { in AsyncCopy() [all …]
|
H A D | AudioBuffer.cc | 473 Double lim; in AsyncCopy() local 493 lim = svfrom - frompos; in AsyncCopy() 494 if (!Undefined(limit) && (limit < lim)) in AsyncCopy() 495 lim = limit; in AsyncCopy() 505 cnt = (size_t)GetHeader().Time_to_Bytes(lim); in AsyncCopy()
|
/titanic_50/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_ring_buffer_util.c | 84 rbuf->lim = rsize - 1; in dapls_rbuf_alloc() 146 rbuf->lim = rsize - 1; in dapls_rbuf_realloc() 178 dapl_os_free(rbuf->base, (rbuf->lim + 1) * sizeof (void *)); in dapls_rbuf_destroy() 180 rbuf->lim = 0; in dapls_rbuf_destroy() 209 if (((pos + 1) & rbuf->lim) != rbuf->tail) { in dapls_rbuf_add() 211 rbuf->head = (pos + 1) & rbuf->lim; in dapls_rbuf_add() 244 rbuf->tail = (pos + 1) & rbuf->lim; in dapls_rbuf_remove() 285 return ((rbuf->lim + 1 - tail + head)); in dapls_rbuf_count()
|
/titanic_50/usr/src/lib/pam_modules/unix_cred/ |
H A D | unix_cred.c | 130 char *lim; member 145 if (pdef->lim == NULL) { in finddeflim() 148 pdef->lim = strdup(val); in finddeflim() 150 return (pdef->lim != NULL && pdef->def != NULL); in finddeflim() 186 priv_set_t *lim, *def, *tset; in pam_sm_setcred() local 578 tset = def = lim = NULL; in pam_sm_setcred() 579 deflim.def = deflim.lim = NULL; in pam_sm_setcred() 583 if (getset(deflim.lim, &lim) != 0 || getset(deflim.def, &def) != 0) { in pam_sm_setcred() 625 if (lim != NULL) { in pam_sm_setcred() 633 if (!priv_issubset(lim, tset)) in pam_sm_setcred() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | kgrep.c | 75 kgrep_range_basic(uintptr_t base, uintptr_t lim, void *kg_arg) in kgrep_range_basic() argument 91 lim = P2ROUNDUP(lim, pagesize); in kgrep_range_basic() 93 for (addr = base; addr < lim; addr += pagesize) { in kgrep_range_basic() 122 kgrep_range_fancybits(uintptr_t base, uintptr_t lim, void *kg_arg) \ 143 if (maxaddr != 0 && lim > maxaddr) \ 144 lim = maxaddr; \ 146 for (addr = base; addr < lim; addr += size) { \ 148 size = MIN(lim, P2END(addr, pagesize)) - addr; \
|
/titanic_50/usr/src/cmd/vi/port/ |
H A D | ex_subr.c | 562 qcolumn(unsigned char *lim, unsigned char *gp) in qcolumn() argument 572 if (lim != NULL) { in qcolumn() 573 if(lim == linebuf - 1 || lim == &linebuf[LBSIZE-2]) in qcolumn() 576 length = mbtowc(&wchar, (char *)lim, MULTI_BYTE_MAX); in qcolumn() 579 x = lim[length]; in qcolumn() 580 lim[length] = 0; in qcolumn() 583 if (lim != NULL) in qcolumn() 584 lim[length] = x; in qcolumn() 609 nqcolumn(unsigned char *lim, unsigned char *gp) in nqcolumn() argument 618 if (lim != NULL) { in nqcolumn() [all …]
|
/titanic_50/usr/src/lib/libdns_sd/common/ |
H A D | dnssd_clientlib.c | 112 char *const lim = fullName + 1005; in DNSServiceConstructFullName() local 128 if (fn+4 >= lim) goto fail; in DNSServiceConstructFullName() 136 if (fn+2 >= lim) goto fail; in DNSServiceConstructFullName() 140 if (fn+1 >= lim) goto fail; in DNSServiceConstructFullName() 146 while (*r) if (fn+1 >= lim) goto fail;else *fn++ = *r++; in DNSServiceConstructFullName() 147 if (!DomainEndsInDot(regtype)) { if (fn+1 >= lim) goto fail;else *fn++ = '.';} in DNSServiceConstructFullName() 149 while (*d) if (fn+1 >= lim) goto fail;else *fn++ = *d++; in DNSServiceConstructFullName() 150 if (!DomainEndsInDot(domain)) { if (fn+1 >= lim) goto fail;else *fn++ = '.';} in DNSServiceConstructFullName()
|
H A D | dnssd_ipc.c | 120 char *lim = buffer + buflen; // Calculate limit in get_string() local 121 while (*ptr < end && buffer < lim) in get_string() 126 if (buffer == lim) buffer--; in get_string()
|
/titanic_50/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_search.c | 74 indx_t base, idx, lim; local 85 for (base = 0, lim = NEXTINDEX(h); lim; lim >>= 1) { 86 t->bt_cur.index = idx = base + (lim >> 1); 96 --lim;
|
H A D | bt_debug.c | 210 indx_t cur, top, lim; local 237 lim = (pgsize - BTDATAOFF) / sizeof(indx_t); 239 lim = top > lim ? lim : top; 242 for (cur = 0; cur < lim; cur++) {
|
/titanic_50/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_alloc.c | 45 uint_t try, lim, msecs; in fmd_alloc() local 50 lim = fmd.d_alloc_tries; in fmd_alloc() 53 for (try = 0; data == NULL && try < lim; try++) { in fmd_alloc()
|
/titanic_50/usr/src/uts/intel/sys/ |
H A D | segments.h | 226 #define USEGD_SETLIMIT(usd, lim) ((usd)->usd_lolimit = lim, \ argument 227 (usd)->usd_hilimit = lim >> 16) 274 #define USEGD_SETLIMIT(usd, lim) ((usd)->usd_lolimit = lim, \ argument 275 (usd)->usd_hilimit = lim >> 16) 332 #define SYSSEGD_SETLIMIT(ssd, lim) ((ssd)->ssd_lolimit = lim, \ argument 333 (ssd)->ssd_hilimit = lim >> 16)
|
/titanic_50/usr/src/cmd/refer/ |
H A D | mkey2.c | 22 static long lp, lim; variable 46 while (lim = grec(line, f)) { in dofile() 54 lp += lim; in dofile() 146 lp, lim); in chkey()
|
/titanic_50/usr/src/common/nvpair/ |
H A D | nvpair_alloc_fixed.c | 69 uintptr_t lim = base + va_arg(valist, size_t); in nv_fixed_init() local 72 if (base == 0 || (uintptr_t)&nvb[1] > lim) in nv_fixed_init() 77 nvb->nvb_lim = lim; in nv_fixed_init()
|
/titanic_50/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_search.c | 84 db_indx_t base, i, indx, lim; local 154 lim = NUM_ENT(h) / (db_indx_t)jump; lim != 0; lim >>= 1) { 155 indx = base + ((lim >> 1) * jump); 164 --lim;
|
/titanic_50/usr/src/lib/libdladm/common/ |
H A D | libdladm_impl.h | 39 #define BUFLEN(lim, ptr) (((lim) > (ptr)) ? ((lim) - (ptr)) : 0) argument
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | common.c | 163 int lim) /* at most this many bytes */ in parse_quote() argument 173 while (lim != 0) { in parse_quote() 210 --lim; in parse_quote() 213 if (lim == 0) in parse_quote()
|
H A D | input.c | 165 struct netinfo *n, *lim; in input() local 218 lim = n + (cc - 4) / sizeof (struct netinfo); in input() 230 if (!auth_ok && rip->rip_vers == RIPv2 && n < lim && in input() 292 if (n >= lim) { in input() 326 !ck_passwd(ifp, rip, (uint8_t *)lim, FROM_NADDR, in input() 486 if (++v12buf.n >= v12buf.lim) in input() 488 } while (++n < lim); in input() 666 if (n >= lim) { in input() 717 !ck_passwd(ifp, rip, (uint8_t *)lim, FROM_NADDR, &use_auth)) in input() 953 } while (++n < lim); in input() [all …]
|
/titanic_50/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 795 char *ptr, *lim; in set_flowprop() local 817 lim = ptr + DLADM_STRSIZE; in set_flowprop() 820 ptr += snprintf(ptr, lim - ptr, "%s,", in set_flowprop() 822 if (ptr >= lim) in set_flowprop() 967 char *ptr, *lim; in print_flowprop() local 1008 lim = buf + DLADM_STRSIZE; in print_flowprop() 1011 ptr += snprintf(ptr, lim - ptr, "--,"); in print_flowprop() 1013 ptr += snprintf(ptr, lim - ptr, "%s,", propvals[i]); in print_flowprop() 1014 if (ptr >= lim) in print_flowprop() 1020 lim = statep->fs_line + MAX_PROP_LINE; in print_flowprop() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_string.c | 68 uintmax_t lim; in numtostr() local 73 lim = 1; in numtostr() 77 lim = 7; in numtostr() 81 lim = 9; in numtostr() 85 lim = 9; in numtostr() 90 if (c != 0 && uvalue > lim) { in numtostr()
|
/titanic_50/usr/src/cmd/bnu/ |
H A D | grades.c | 382 lcase(s, t, lim) in lcase() argument 384 int lim; 392 for (i = 0; i < lim-1 && *p; i++) 493 rdfulline(fd, line, lim) in rdfulline() argument 496 int lim; 517 blr = lim - 1 - (p - line);
|