Home
last modified time | relevance | path

Searched refs:lim (Results 1 – 25 of 99) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/os/
H A Dmem_cage.c214 pfn_t lim; member
417 pfn_t lim; in kcage_range_add_internal() local
437 new->lim = lim; in kcage_range_add_internal()
483 pfn_t lim; in kcage_range_delete_internal() local
513 if (base >= lp->lim || lim <= lp->base) in kcage_range_delete_internal()
548 pfn_t lim; in kcage_range_delete_post_mem_del_internal() local
617 if (lim > lp->base && base < lp->lim) { in kcage_glist_delete()
619 if (base <= lp->base && lim >= lp->lim) { in kcage_glist_delete()
632 if (base > lp->base && lim < lp->lim) { in kcage_glist_delete()
658 new->lim = lp->lim; in kcage_glist_delete()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvmcs.c107 vmcs_seg_desc_encoding(int seg, uint32_t *base, uint32_t *lim, uint32_t *acc) in vmcs_seg_desc_encoding() argument
112 *lim = VMCS_GUEST_ES_LIMIT; in vmcs_seg_desc_encoding()
117 *lim = VMCS_GUEST_CS_LIMIT; in vmcs_seg_desc_encoding()
122 *lim = VMCS_GUEST_SS_LIMIT; in vmcs_seg_desc_encoding()
127 *lim = VMCS_GUEST_DS_LIMIT; in vmcs_seg_desc_encoding()
132 *lim = VMCS_GUEST_FS_LIMIT; in vmcs_seg_desc_encoding()
137 *lim = VMCS_GUEST_GS_LIMIT; in vmcs_seg_desc_encoding()
142 *lim = VMCS_GUEST_TR_LIMIT; in vmcs_seg_desc_encoding()
147 *lim = VMCS_GUEST_LDTR_LIMIT; in vmcs_seg_desc_encoding()
152 *lim = VMCS_GUEST_IDTR_LIMIT; in vmcs_seg_desc_encoding()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.timeout.ksh37 typeset lim=$1
42 -c "zfs program -t $lim $TESTPOOL $ZCP_ROOT/lua_core/tst.timeout.zcp")
43 if [[ $instrs_run -lt $(( $lim - 100 )) ]]; then
44 log_fail "Runtime (${instrs_run} instr) < limit (${lim} - 100 instr)"
45 elif [[ $instrs_run -gt $(( $lim + 100 )) ]]; then
46 log_fail "Runtime (${instrs_run} instr) > limit (${lim} + 100 instr)"
/illumos-gate/usr/src/lib/libc/port/locale/
H A Drunetype.c43 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 Dnextwctype.c44 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 Dtowlower.c53 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()
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudio.cc331 size_t lim; in AsyncCopy() local
344 lim = (size_t)tohdr.Time_to_Bytes(limit); in AsyncCopy()
362 if (!Undefined(limit) && (lim < bufsiz)) in AsyncCopy()
363 bufsiz = lim; in AsyncCopy()
381 if (!Undefined(limit) && (lim < bufsiz)) in AsyncCopy()
382 bufsiz = lim; in AsyncCopy()
392 lim = bufsiz; in AsyncCopy()
393 if (tohdr.Bytes_to_Bytes(bufsiz) != lim) { in AsyncCopy()
396 lim = bufsiz; in AsyncCopy()
403 if (bufsiz < lim) { in AsyncCopy()
[all …]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_ring_buffer_util.c84 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()
/illumos-gate/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c130 char *lim; member
145 if (pdef->lim == NULL) { in finddeflim()
148 pdef->lim = strdup(val); in finddeflim()
186 priv_set_t *lim, *def, *tset; in pam_sm_setcred() local
578 tset = def = 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()
634 priv_intersect(tset, lim); in pam_sm_setcred()
660 free(deflim.lim); in pam_sm_setcred()
663 if (lim != NULL) in pam_sm_setcred()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_subr.c579 if (lim != NULL) { in qcolumn()
580 if(lim == linebuf - 1 || lim == &linebuf[LBSIZE-2]) in qcolumn()
586 x = lim[length]; in qcolumn()
587 lim[length] = 0; in qcolumn()
590 if (lim != NULL) in qcolumn()
591 lim[length] = x; in qcolumn()
626 if(lim == linebuf - 1 || lim == &linebuf[LBSIZE-2]) in nqcolumn()
632 x = lim[length]; in nqcolumn()
633 lim[length] = 0; in nqcolumn()
636 if (lim != NULL) in nqcolumn()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkgrep.c75 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; \
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Ddnssd_clientlib.c108 char *const lim = fullName + 1005; in DNSServiceConstructFullName() local
124 if (fn+4 >= lim) goto fail; in DNSServiceConstructFullName()
132 if (fn+2 >= lim) goto fail; in DNSServiceConstructFullName()
136 if (fn+1 >= lim) goto fail; in DNSServiceConstructFullName()
142 while (*r) if (fn+1 >= lim) goto fail;else *fn++ = *r++; in DNSServiceConstructFullName()
143 if (!DomainEndsInDot(regtype)) { if (fn+1 >= lim) goto fail;else *fn++ = '.';} in DNSServiceConstructFullName()
145 while (*d) if (fn+1 >= lim) goto fail;else *fn++ = *d++; in DNSServiceConstructFullName()
146 if (!DomainEndsInDot(domain)) { if (fn+1 >= lim) goto fail;else *fn++ = '.';} in DNSServiceConstructFullName()
H A DmDNSDebug.c68 const char *const lim = &buffer[512]; in LogMsgWithLevelv() local
69 if (category) mDNS_snprintf_add(&dst, lim, "%s: ", category); in LogMsgWithLevelv()
70 mDNS_vsnprintf(dst, (mDNSu32)(lim - dst), format, args); in LogMsgWithLevelv()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmemset_s.c49 rsize_t lim; in memset_s() local
53 lim = n < smax ? n : smax; in memset_s()
66 (void) (*__memset_vp)(s, v, lim); in memset_s()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_search.c72 indx_t base, idx, lim; local
83 for (base = 0, lim = NEXTINDEX(h); lim; lim >>= 1) {
84 t->bt_cur.index = idx = base + (lim >> 1);
94 --lim;
H A Dbt_debug.c207 indx_t cur, top, lim; local
234 lim = (pgsize - BTDATAOFF) / sizeof(indx_t);
236 lim = top > lim ? lim : top;
239 for (cur = 0; cur < lim; cur++) {
/illumos-gate/usr/src/uts/intel/sys/
H A Dsegments.h221 #define USEGD_SETLIMIT(usd, lim) ((usd)->usd_lolimit = lim, \ argument
222 (usd)->usd_hilimit = lim >> 16)
269 #define USEGD_SETLIMIT(usd, lim) ((usd)->usd_lolimit = lim, \ argument
270 (usd)->usd_hilimit = lim >> 16)
327 #define SYSSEGD_SETLIMIT(ssd, lim) ((ssd)->ssd_lolimit = lim, \ argument
328 (ssd)->ssd_hilimit = lim >> 16)
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_alloc.c43 uint_t try, lim, msecs; in fmd_alloc() local
48 lim = fmd.d_alloc_tries; in fmd_alloc()
51 for (try = 0; data == NULL && try < lim; try++) { in fmd_alloc()
/illumos-gate/usr/src/cmd/refer/
H A Dmkey2.c20 static long lp, lim; variable
44 while (lim = grec(line, f)) { in dofile()
52 lp += lim; in dofile()
144 lp, lim); in chkey()
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_search.c84 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;
/illumos-gate/usr/src/common/nvpair/
H A Dnvpair_alloc_fixed.c67 uintptr_t lim = base + va_arg(valist, size_t); in nv_fixed_init() local
70 if (base == 0 || (uintptr_t)&nvb[1] > lim) in nv_fixed_init()
75 nvb->nvb_lim = lim; in nv_fixed_init()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdladm_impl.h44 #define BUFLEN(lim, ptr) (((lim) > (ptr)) ? ((lim) - (ptr)) : 0) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dcommon.c161 int lim) /* at most this many bytes */ in parse_quote() argument
171 while (lim != 0) { in parse_quote()
208 --lim; in parse_quote()
211 if (lim == 0) in parse_quote()
H A Dinput.c165 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()
486 if (++v12buf.n >= v12buf.lim) in input()
488 } while (++n < lim); in input()
666 if (n >= lim) { in input()
953 } while (++n < lim); in input()
962 if (n >= lim) { in input()
1373 uint8_t *lim, in ck_passwd() argument
[all …]
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c798 char *ptr, *lim; in set_flowprop() local
820 lim = ptr + DLADM_STRSIZE; in set_flowprop()
823 ptr += snprintf(ptr, lim - ptr, "%s,", in set_flowprop()
825 if (ptr >= lim) in set_flowprop()
970 char *ptr, *lim; in print_flowprop() local
1011 lim = buf + DLADM_STRSIZE; in print_flowprop()
1014 ptr += snprintf(ptr, lim - ptr, "--,"); in print_flowprop()
1017 if (ptr >= lim) in print_flowprop()
1023 lim = statep->fs_line + MAX_PROP_LINE; in print_flowprop()
1025 *pptr += snprintf(*pptr, lim - *pptr, in print_flowprop()
[all …]

1234