/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vops3.c | 69 lfind(pastatom, cnt, f, limit) in lfind() argument 72 line *limit; 86 if (limit == 0) 87 limit = dir < 0 ? one : dol; 88 llimit = limit;
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | pass5.c | 461 int limit) /* limit on number of entries to free */ in check_maps() argument 519 if (size > limit) in check_maps() 520 size = limit; in check_maps() 533 limit -= size; in check_maps() 534 if (limit <= 0) in check_maps() 561 if (size > limit) in check_maps() 562 size = limit; in check_maps()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.func.c | 1320 rlim_t limit; in dolimit() local 1342 switch (getval(lp, v+1, &limit)) { in dolimit() 1350 if (setlim(lp, hard, limit) < 0) { in dolimit() 1499 rlim_t limit; in plim() local 1506 limit = hard ? rlim.rlim_max : rlim.rlim_cur; in plim() 1507 if (limit == RLIM_INFINITY) { in plim() 1510 psecs_ull(limit); in plim() 1554 setlim(struct limits *lp, tchar hard, rlim_t limit) in setlim() argument 1563 rlim.rlim_max = limit; in setlim() 1567 rlim.rlim_cur = limit; in setlim() [all …]
|
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | cups-get-classes.c | 45 int limit = 0; in cups_get_classes() local 61 papiAttributeListGetInteger(operational, NULL, "limit", &limit); in cups_get_classes()
|
H A D | cups-get-printers.c | 45 int limit = 0; in cups_get_printers() local 61 papiAttributeListGetInteger(operational, NULL, "limit", &limit); in cups_get_printers()
|
/illumos-gate/usr/src/uts/intel/dtrace/ |
H A D | fbt.c | 197 uint8_t *instr, *limit; in fbt_provide_module() local 277 limit = (uint8_t *)(sym->st_value + sym->st_size); in fbt_provide_module() 279 while (instr < limit) { in fbt_provide_module() 289 if (instr >= limit || *instr != FBT_PUSHL_EBP) { in fbt_provide_module() 317 if (instr >= limit) in fbt_provide_module() 356 if (check + sizeof (uintptr_t) > (uintptr_t)limit) in fbt_provide_module() 361 if (ptr >= (uint8_t *)sym->st_value && ptr < limit) { in fbt_provide_module()
|
/illumos-gate/usr/src/boot/common/ |
H A D | isapnp.c | 163 uint_t limit; in isapnp_scan_resdata() local 167 limit = 1000; in isapnp_scan_resdata() 168 while ((limit-- > 0) && !isapnp_get_resource_info(&tag, 1)) { in isapnp_scan_resdata()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_param_set.c | 175 …t_return_value_param_helper(int return_id, char *return_ranges, struct expression *expr, int limit) in print_return_value_param_helper() argument 219 if (limit) { in print_return_value_param_helper() 250 if (limit && ++count > limit) in print_return_value_param_helper()
|
H A D | smatch_extra.c | 600 sval_t limit; in get_countdown_info() local 623 *right = limit; in get_countdown_info() 851 sval_t limit, after_value; in while_count_down_after() local 865 sval_t limit; in __extra_pre_loop_hook_after() local 884 limit = sval_cast(estate_type(sm->state), limit); in __extra_pre_loop_hook_after() 1432 sval_t limit; in handle_postop_inc() local 1463 limit = sval_cast(type, limit); in handle_postop_inc() 1464 if (sval_cmp(start, limit) > 0) in handle_postop_inc() 1473 limit = add_one(limit); in handle_postop_inc() 1480 false_state = alloc_estate_range(add_one(limit), add_one(limit)); in handle_postop_inc() [all …]
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | gettext_real.c | 575 char *limit; in replace_nls_option() local 578 limit = pathname + MAXPATHLEN - 1; in replace_nls_option() 581 if (t < limit) { in replace_nls_option() 593 while (*u && (t < limit)) in replace_nls_option() 599 while (*u && (t < limit)) in replace_nls_option() 606 (t < limit)) in replace_nls_option() 613 (t < limit)) in replace_nls_option() 619 while (*u && (t < limit)) in replace_nls_option() 623 if (t < limit) in replace_nls_option()
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | setflabel.c | 282 char *limit = absbuf + sizeof (absbuf); in abspath() local 293 if (d < limit) in abspath() 297 while (d < limit && (*d++ = *raw++)) in abspath()
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbms/ |
H A D | usbms.c | 1561 if ((MBLKL(tmp_mp) < limit) || ((MBLKL(tmp_mp) == limit) && in usbms_rput() 2187 uint_t limit = 0; in usbms_read_input_data_format() local 2223 idf->bpos = limit; in usbms_read_input_data_format() 2232 idf->xpos = limit; in usbms_read_input_data_format() 2234 limit += rptsz; in usbms_read_input_data_format() 2237 idf->ypos = limit; in usbms_read_input_data_format() 2239 limit += rptsz; in usbms_read_input_data_format() 2253 limit += rptsz; in usbms_read_input_data_format() 2256 idf->zpos = limit; in usbms_read_input_data_format() 2258 limit += rptsz; in usbms_read_input_data_format() [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | bcm_osal.h | 245 static inline u32 OSAL_FIND_FIRST_ZERO_BIT(unsigned long *addr, u32 limit) in OSAL_FIND_FIRST_ZERO_BIT() argument 250 ASSERT(limit); in OSAL_FIND_FIRST_ZERO_BIT() 251 nwords = (limit - 1)/OSAL_BITS_PER_UL + 1; in OSAL_FIND_FIRST_ZERO_BIT() 253 return (i == nwords) ? limit : i*OSAL_BITS_PER_UL + osal_ffz(addr[i]); in OSAL_FIND_FIRST_ZERO_BIT() 256 static inline u32 OSAL_FIND_FIRST_BIT(unsigned long *addr, u32 limit) in OSAL_FIND_FIRST_BIT() argument 259 u32 nwords = (limit+OSAL_BITS_PER_UL-1)/OSAL_BITS_PER_UL; in OSAL_FIND_FIRST_BIT() 268 return limit; in OSAL_FIND_FIRST_BIT()
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_sw.h | 256 #define NEXT_INDEX(index, step, limit) (((index) + (step)) < (limit) ? \ argument 257 (index) + (step) : (index) + (step) - (limit)) 258 #define PREV_INDEX(index, step, limit) ((index) >= (step) ? \ argument 259 (index) - (step) : (index) + (limit) - (step)) 260 #define OFFSET(index1, index2, limit) ((index1) <= (index2) ? \ argument 261 (index2) - (index1) : (index2) + (limit) - (index1))
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_sw.h | 327 #define NEXT_INDEX(index, step, limit) (((index) + (step)) < (limit) ? \ argument 328 (index) + (step) : (index) + (step) - (limit)) 329 #define PREV_INDEX(index, step, limit) ((index) >= (step) ? \ argument 330 (index) - (step) : (index) + (limit) - (step)) 331 #define OFFSET(index1, index2, limit) ((index1) <= (index2) ? \ argument 332 (index2) - (index1) : (index2) + (limit) - (index1))
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | arch_kdi.c | 117 kdi_idtr_set(gate_desc_t *idt, size_t limit) in kdi_idtr_set() argument 133 idtr.dtr_limit = limit; in kdi_idtr_set()
|
/illumos-gate/usr/src/cmd/tabs/ |
H A D | tabs.c | 334 int limit; in repetab() local 337 limit = (maxtab-1)/(incr?incr:1)-1; /* # last actual tab */ in repetab() 338 if (limit > NTABS-2) in repetab() 339 limit = NTABS-2; in repetab() 340 for (i = 0; i <= limit; i++) in repetab()
|
/illumos-gate/usr/src/uts/sparc/dtrace/ |
H A D | fbt.c | 921 uintptr_t limit = (uintptr_t)funclim; in fbt_patch_retl() local 936 *tinstr++ = FBT_SETHI(limit, FBT_REG_L3); in fbt_patch_retl() 1091 uint32_t *instr, *base, *limit; in fbt_provide_module() local 1171 if (base == limit) in fbt_provide_module() 1270 if (++instr == limit) in fbt_provide_module() 1274 if (instr < limit && cti) { in fbt_provide_module() 1288 if (instr == limit) { in fbt_provide_module() 1310 while (++instr < limit) { in fbt_provide_module() 1315 if (instr != limit) in fbt_provide_module() 1388 if (++instr == limit) in fbt_provide_module() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 782 u_longlong_t limit; in getnfsquota() local 790 limit = (u_longlong_t)(rquota->rq_bhardlimit) * in getnfsquota() 792 dqp->dqb_bhardlimit = limit; in getnfsquota() 793 limit = (u_longlong_t)(rquota->rq_bsoftlimit) * in getnfsquota() 795 dqp->dqb_bsoftlimit = limit; in getnfsquota() 796 limit = (u_longlong_t)(rquota->rq_curblocks) * in getnfsquota() 798 dqp->dqb_curblocks = limit; in getnfsquota()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | condvar.c | 268 hrtime_t limit; in cv_timedwait_hires() local 275 limit = (flag & CALLOUT_FLAG_ABSOLUTE) ? gethrtime() : 0; in cv_timedwait_hires() 276 if (tim <= limit) in cv_timedwait_hires() 374 hrtime_t limit; in cv_timedwait_sig_hires() local 397 limit = (flag & CALLOUT_FLAG_ABSOLUTE) ? gethrtime() : 0; in cv_timedwait_sig_hires() 398 if (tim <= limit) { in cv_timedwait_sig_hires()
|
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getnetgrent.c | 432 char *limit; in top_down() local 443 limit = strpbrk(start, terminators); in top_down() 444 if (limit == 0) { in top_down() 448 p = limit; in top_down() 460 if (start == limit) { in top_down() 464 *limit = '\0'; in top_down()
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_nvram.c | 45 uint32_t *limit; /* Last dword of data block */ member 223 if (cursor->current > cursor->limit) { in tlv_validate_state() 230 if (cursor->current > (cursor->limit - 2)) { in tlv_validate_state() 262 __in uint32_t *limit, in tlv_init_cursor() argument 266 cursor->limit = limit; in tlv_init_cursor() 281 uint32_t *limit; in tlv_init_cursor_from_size() local 282 limit = (void *)(block + size - sizeof (uint32_t)); in tlv_init_cursor_from_size() 284 limit, (void *)block)); in tlv_init_cursor_from_size() 295 uint32_t *limit; in tlv_init_cursor_at_offset() local 297 limit = (void *)(block + size - sizeof (uint32_t)); in tlv_init_cursor_at_offset() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_rip.c | 422 const char *limit = (const char *)rsep + len; in rip_next_sec_entry() local 425 if ((const char *)(rep = rsep->rip_emetric) > limit) in rip_next_sec_entry() 429 if ((const char *)rep->rip_token > limit) in rip_next_sec_entry() 433 if ((const char *)rep > limit) in rip_next_sec_entry()
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rpc.rusersd.c | 188 getutmpx_3(all, version, limit) in getutmpx_3() argument 191 int limit; /* limits users returned, 0 means no limit */ 202 while ((utent = getutxent()) != NULL && (limit == 0 || cnt < limit)) {
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | Audio.h | 165 Double& limit); 172 Double& limit);
|