Searched refs:limit (Results 151 - 175 of 488) sorted by relevance

1234567891011>>

/freebsd-current/contrib/ncurses/include/
H A Dterm_entry.h60 #define EXT_NAMES(tp,i,limit,index,table) (i >= limit) ? tp->ext_Names[index] : table[i]
65 #define EXT_NAMES(tp,i,limit,index,table) table[i]
/freebsd-current/sys/contrib/ck/src/
H A Dck_array.c131 unsigned int i, limit; local
134 limit = array->n_entries;
141 for (i = 0; i < limit; i++) {
/freebsd-current/usr.sbin/bhyve/amd64/
H A Dtask_switch.c126 seg_desc.limit = (u_int)(USD_GETLIMIT(usd) << 12) | 0xfff;
128 seg_desc.limit = (u_int)USD_GETLIMIT(usd);
176 uint32_t limit, access; local
180 error = vm_get_desc(vcpu, reg, &base, &limit, &access);
188 if (limit < SEL_LIMIT(sel))
209 uint32_t limit, access; local
213 error = vm_get_desc(vcpu, reg, &base, &limit, &access);
215 assert(limit >= SEL_LIMIT(sel));
348 /* Descriptor table limit check */
362 seg_desc->limit
[all...]
/freebsd-current/sys/kern/
H A Dkern_tslog.c81 size_t i, limit; local
105 limit = MIN(nrecs, nitems(timestamps));
106 for (i = 0; i < limit; i++) {
/freebsd-current/sys/arm/ti/
H A Dti_mbox.c242 int limit = 500; local
251 limit--) {
254 if (limit == 0) {
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bclone/
H A Dbclone_corner_cases.kshlib211 typeset limit=$3
217 if [[ -n "$limit" ]]; then
219 limit=$(random_int_between 1 $total_count $((limit*2)) | sort -nu | head -n $limit | xargs)
261 if [[ -n "$limit" ]]; then
262 if ! echo " $limit " | grep -q " $count "; then
/freebsd-current/contrib/libcxxrt/
H A Dlibelftc_dem_gnu3.c540 unsigned int limit; local
581 limit = 0;
626 if (limit++ > CPP_DEMANGLE_TRY_LIMIT)
1639 size_t class_type_size, class_type_len, limit; local
1719 limit = 0;
1726 if (limit++ > CPP_DEMANGLE_TRY_LIMIT)
1988 size_t limit; local
2010 limit = 0;
2043 if (limit++ > CPP_DEMANGLE_TRY_LIMIT)
2174 size_t limit, p_id local
2743 size_t arg_len, idx, limit, size; local
3869 size_t rtn_len, limit, i; local
3913 size_t i, rtn_len, limit; local
3957 size_t rtn_len, limit, i; local
4016 size_t rtn_len, limit, i; local
4078 size_t rtn_len, limit, i; local
[all...]
/freebsd-current/contrib/elftoolchain/libelftc/
H A Dlibelftc_dem_gnu3.c210 unsigned int limit; local
247 limit = 0;
292 if (limit++ > CPP_DEMANGLE_TRY_LIMIT)
1305 size_t class_type_size, class_type_len, limit; local
1385 limit = 0;
1392 if (limit++ > CPP_DEMANGLE_TRY_LIMIT)
1654 size_t limit; local
1676 limit = 0;
1709 if (limit++ > CPP_DEMANGLE_TRY_LIMIT)
1840 size_t limit, p_id local
2409 size_t arg_len, idx, limit, size; local
3535 size_t rtn_len, limit, i; local
3579 size_t i, rtn_len, limit; local
3623 size_t rtn_len, limit, i; local
3682 size_t rtn_len, limit, i; local
3744 size_t rtn_len, limit, i; local
[all...]
/freebsd-current/sys/cddl/dev/kinst/riscv/
H A Dkinst_isa.c449 uint8_t *instr, *limit; local
462 limit = (uint8_t *)(symval->value + symval->size);
463 if (instr >= limit)
469 insn < (kinst_patchval_t *)limit; insn++) {
480 while (instr < limit) {
/freebsd-current/sys/x86/cpufreq/
H A Dhwpstate_amd.c136 "If enabled (1), limit administrative control of P-states to the value in "
167 * Go to Px-state on all cpus, considering the limit register (if so
175 int cpu, i, j, limit; local
178 /* get the current pstate limit */
180 limit = AMD_10H_11H_GET_PSTATE_LIMIT(msr);
181 if (limit > id) {
183 "due to HW limit\n", id, limit);
184 id = limit;
/freebsd-current/sys/netpfil/ipfw/
H A Ddn_sched_fq_pie.c91 uint32_t limit; /* hard limit of FQ_PIE queue size*/ member in struct:dn_sch_fq_pie_parms
149 * flows=1024, limit=10240, quantum =1514
275 SYSCTL_UINT(_net_inet_ip_dummynet_fqpie, OID_AUTO, limit,
276 CTLFLAG_RW, &fq_pie_sysctl.limit, 10240, "limit for FQ_PIE");
554 // XXX limit divided by number of queues divided by 3 ???
555 pst->one_third_q_size = (fqpie_schk->cfg.limit /
881 * add timestamp to packet (no limit check)*/
898 /* check the limit fo
[all...]
/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A Dlib_setup.c748 long limit; local
750 limit = LINE_MAX;
752 limit = _nc_globals.getstr_limit;
755 if (limit < sysconf(_SC_LINE_MAX))
756 limit = sysconf(_SC_LINE_MAX);
758 if (_nc_globals.getstr_limit < (int) limit)
759 _nc_globals.getstr_limit = (int) limit;
762 T(("using %d for getstr limit", _nc_globals.getstr_limit));
H A Ddb_iterator.c59 add_to_blob(const char *text, size_t limit) argument
61 (void) limit;
67 _nc_STRCPY(last, text, limit);
/freebsd-current/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_tlv.c242 size_t limit, nbytes; local
245 /* Determine output byte limit */
247 limit = *olen;
249 limit = 0;
303 if (nbytes > limit || limit - nbytes < rec_size) {
335 if (limit > nbytes)
344 if (limit < *olen) {
H A Dbhnd_nvram_value_fmts.c388 size_t limit, nbytes; local
425 /* Determine output byte limit */
427 limit = *olen;
429 limit = 0;
532 if (limit >= nbytes)
541 if (limit >= nbytes)
554 if (limit < nbytes && outp != NULL)
/freebsd-current/sys/contrib/zlib/test/
H A Dinfcover.c27 and high water mark of total bytes requested, optionally set a limit on the
36 mem_limit(&strm, limit) sets a limit on the total bytes requested -- a
37 request that exceeds this limit will result in an
39 limit to zero means no limit, which is the default
66 size_t limit; /* memory allocation limit, or 0 if no limit */ member in struct:mem_zone
79 if (zone == NULL || (zone->limit
176 mem_limit(z_stream *strm, size_t limit) argument
[all...]
/freebsd-current/sbin/fsck_ffs/
H A Dpass5.c499 int limit, /* limit on number of entries to free */
560 if (size > limit)
561 size = limit;
581 limit -= size;
582 if (limit <= 0)
605 if (size > limit)
606 size = limit;
491 check_maps( u_char *map1, u_char *map2, int mapsize, ufs2_daddr_t startvalue, const char *name, int *opcode, int skip, int limit, int usesysctl) argument
/freebsd-current/sys/dev/pci/
H A Dpci_iov_schema.c67 uintmax_t limit; member in struct:config_type_validator
85 .limit = UINT8_MAX
91 .limit = UINT16_MAX
97 .limit = UINT32_MAX
103 .limit = UINT64_MAX
295 if (value > validator->limit)
379 if (defaultVal > validator->limit)
/freebsd-current/lib/libvmmapi/amd64/
H A Dvmmapi_machdep.c98 uint64_t base, uint32_t limit, uint32_t access)
106 vmsegdesc.desc.limit = limit;
114 vm_get_desc(struct vcpu *vcpu, int reg, uint64_t *base, uint32_t *limit, argument
126 *limit = vmsegdesc.desc.limit;
137 error = vm_get_desc(vcpu, reg, &seg_desc->base, &seg_desc->limit,
97 vm_set_desc(struct vcpu *vcpu, int reg, uint64_t base, uint32_t limit, uint32_t access) argument
/freebsd-current/contrib/xz/src/liblzma/lzma/
H A Dlzma_encoder.c307 /// consume from the dictionary. This limit comes from lzma_lzma_optimum()
315 size_t out_size, uint32_t limit)
328 assert(limit == UINT32_MAX);
338 assert(limit == UINT32_MAX);
346 if (limit != UINT32_MAX
347 && (mf->read_pos - mf->read_ahead >= limit
384 // exceed the specified limit.
405 assert(limit == UINT32_MAX);
429 assert(limit == UINT32_MAX);
313 lzma_lzma_encode(lzma_lzma1_encoder *restrict coder, lzma_mf *restrict mf, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, uint32_t limit) argument
/freebsd-current/contrib/unbound/services/cache/
H A Dinfra.c204 /** insert rate limit configuration into lookup tree */
237 /** find or create element in wait limit netblock tree */
249 log_err("cannot parse wait limit netblock '%s'", str);
267 d->limit = -1;
277 /** insert wait limit information into lookup tree */
288 d->limit = atoi(p->str2);
294 d->limit = atoi(p->str2);
1150 /* Returns 1 if the limit has not been exceeded, 0 otherwise. */
1155 int limit; local
1157 if(has_cookie) limit
[all...]
/freebsd-current/sys/dev/mlx5/mlx5_core/
H A Dmlx5_main.c121 .limit = 250
125 .limit = 250
129 .limit = 250
133 .limit = 250
137 .limit = 250
141 .limit = 250
145 .limit = 250
149 .limit = 250
153 .limit = 250
157 .limit
331 int limit = dev->msix_eqvec; local
[all...]
/freebsd-current/contrib/libpcap/
H A Dpcap-usb-linux.c770 int limit; local
774 * There's no limit on the number of packets
777 limit = VEC_SIZE;
789 * max_packets <= packets), so limit is
792 limit = max_packets - packets;
793 if (limit > VEC_SIZE)
794 limit = VEC_SIZE;
799 * the limit, and flush the events we've processed
805 fetch.nfetch = limit;
/freebsd-current/contrib/ncurses/ncurses/tty/
H A Dlib_vidattr.c157 int limit = (max_attributes <= 0) ? 1 : max_attributes; local
159 int limit = 1; local
171 if (used++ >= limit) {
/freebsd-current/contrib/ldns/ldns/
H A Dbuffer.h55 /** The read/write limit */
111 * clears the buffer and make it ready for writing. The buffer's limit
127 * the buffer. The buffer's limit is set to the current position and
166 * or equal to the buffer's limit.
179 * be moved behind the buffer's limit or before the beginning of the
203 * changes the buffer's limit. If the buffer's position is greater
204 * than the new limit the position is set to the limit.
206 * \param[in] limit the new limit
209 ldns_buffer_set_limit(ldns_buffer *buffer, size_t limit) argument
[all...]

Completed in 243 milliseconds

1234567891011>>