Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 403) sorted by relevance

12345678910>>...17

/f-stack/freebsd/contrib/ck/include/
H A Dck_bitmap.h319 if (limit > bitmap->n_bits) in ck_bitmap_empty()
320 limit = bitmap->n_bits; in ck_bitmap_empty()
350 if (limit > bitmap->n_bits) { in ck_bitmap_full()
351 limit = bitmap->n_bits; in ck_bitmap_full()
381 if (limit > bitmap->n_bits) in ck_bitmap_count()
382 limit = bitmap->n_bits; in ck_bitmap_count()
405 unsigned int limit) in ck_bitmap_count_intersect() argument
409 if (limit > x->n_bits) in ck_bitmap_count_intersect()
410 limit = x->n_bits; in ck_bitmap_count_intersect()
412 if (limit > y->n_bits) in ck_bitmap_count_intersect()
[all …]
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_solaris_sendfilev_chain.c33 off_t limit);
42 ngx_solaris_sendfilev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) in ngx_solaris_sendfilev_chain() argument
64 return ngx_writev_chain(c, in, limit); in ngx_solaris_sendfilev_chain()
70 if (limit == 0 || limit > (off_t) (NGX_MAX_SIZE_T_VALUE - ngx_pagesize)) { in ngx_solaris_sendfilev_chain()
71 limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; in ngx_solaris_sendfilev_chain()
91 for (cl = in; cl && send < limit; cl = cl->next) { in ngx_solaris_sendfilev_chain()
102 if (send + size > limit) { in ngx_solaris_sendfilev_chain()
103 size = limit - send; in ngx_solaris_sendfilev_chain()
130 if (send + size > limit) { in ngx_solaris_sendfilev_chain()
131 size = limit - send; in ngx_solaris_sendfilev_chain()
[all …]
H A Dngx_darwin_sendfile_chain.c31 ngx_darwin_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) in ngx_darwin_sendfile_chain() argument
66 if (limit == 0 || limit > (off_t) (NGX_MAX_SIZE_T_VALUE - ngx_pagesize)) { in ngx_darwin_sendfile_chain()
67 limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; in ngx_darwin_sendfile_chain()
84 cl = ngx_output_chain_to_iovec(&header, in, limit - send, c->log); in ngx_darwin_sendfile_chain()
92 if (cl && cl->buf->in_file && send < limit) { in ngx_darwin_sendfile_chain()
97 file_size = ngx_chain_coalesce_file(&cl, limit - send); in ngx_darwin_sendfile_chain()
101 if (header.count == 0 && send < limit) { in ngx_darwin_sendfile_chain()
107 cl = ngx_output_chain_to_iovec(&trailer, cl, limit - send, in ngx_darwin_sendfile_chain()
202 if (send >= limit || in == NULL) { in ngx_darwin_sendfile_chain()
H A Dngx_writev_chain.c14 ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) in ngx_writev_chain() argument
42 if (limit == 0 || limit > (off_t) (NGX_MAX_SIZE_T_VALUE - ngx_pagesize)) { in ngx_writev_chain()
43 limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; in ngx_writev_chain()
56 cl = ngx_output_chain_to_iovec(&vec, in, limit - send, c->log); in ngx_writev_chain()
100 if (send >= limit || in == NULL) { in ngx_writev_chain()
108 ngx_output_chain_to_iovec(ngx_iovec_t *vec, ngx_chain_t *in, size_t limit, in ngx_output_chain_to_iovec() argument
121 for ( /* void */ ; in && total < limit; in = in->next) { in ngx_output_chain_to_iovec()
152 if (size > limit - total) { in ngx_output_chain_to_iovec()
153 size = limit - total; in ngx_output_chain_to_iovec()
H A Dngx_freebsd_sendfile_chain.c33 ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) in ngx_freebsd_sendfile_chain() argument
72 if (limit == 0 || limit > (off_t) (NGX_MAX_SIZE_T_VALUE - ngx_pagesize)) { in ngx_freebsd_sendfile_chain()
73 limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; in ngx_freebsd_sendfile_chain()
100 cl = ngx_output_chain_to_iovec(&header, in, limit - send, c->log); in ngx_freebsd_sendfile_chain()
108 if (cl && cl->buf->in_file && send < limit) { in ngx_freebsd_sendfile_chain()
113 file_size = (size_t) ngx_chain_coalesce_file(&cl, limit - send); in ngx_freebsd_sendfile_chain()
117 if (send < limit) { in ngx_freebsd_sendfile_chain()
123 cl = ngx_output_chain_to_iovec(&trailer, cl, limit - send, in ngx_freebsd_sendfile_chain()
329 if (send >= limit || in == NULL) { in ngx_freebsd_sendfile_chain()
H A Dngx_os.h21 off_t limit);
24 off_t limit);
47 ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *entry, off_t limit);
51 off_t limit);
54 off_t limit);
72 size_t limit, ngx_log_t *log);
H A Dngx_readv_chain.c14 ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain, off_t limit) in ngx_readv_chain() argument
85 if (limit) { in ngx_readv_chain()
86 if (size >= limit) { in ngx_readv_chain()
90 if (size + n > limit) { in ngx_readv_chain()
91 n = (ssize_t) (limit - size); in ngx_readv_chain()
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Domap3-gta04a3.dts29 st,click-click-time-limit = <9>;
38 st,min-limit-x = <32>;
39 st,min-limit-y = <3>;
40 st,min-limit-z = <3>;
41 st,max-limit-x = <3>;
42 st,max-limit-y = <32>;
43 st,max-limit-z = <32>;
H A Domap3-n9.dts72 st,min-limit-x = <(-46)>;
73 st,min-limit-y = <3>;
74 st,min-limit-z = <3>;
76 st,max-limit-x = <(-3)>;
77 st,max-limit-y = <46>;
78 st,max-limit-z = <46>;
H A Domap3-overo-common-peripherals.dtsi74 st,min-limit-x = <120>;
75 st,min-limit-y = <120>;
76 st,min-limit-z = <140>;
77 st,max-limit-x = <550>;
78 st,max-limit-y = <550>;
79 st,max-limit-z = <750>;
/f-stack/app/redis-5.0.5/tests/unit/
H A Dmaxmemory.tcl36 set limit [expr {$used+100*1024}]
37 r config set maxmemory $limit
44 if {[s used_memory]+4096 > $limit} {
68 set limit [expr {$used+100*1024}]
69 r config set maxmemory $limit
76 if {[s used_memory]+4096 > $limit} {
110 set limit [expr {$used+100*1024}]
111 r config set maxmemory $limit
123 if {[s used_memory]+4096 > $limit} {
181 set limit [expr {$orig_used - $orig_mem_not_counted_for_evict + 20*1024}]
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/libzfs/
H A Dmany_fds.c43 struct rlimit limit; in main() local
46 limit.rlim_cur = 65535; in main()
47 limit.rlim_max = 65535; in main()
49 if (setrlimit(RLIMIT_NOFILE, &limit) != 0) { in main()
/f-stack/freebsd/contrib/zstd/lib/dictBuilder/
H A Ddivsufsort.c409 int limit; in ss_mintrosort() local
424 if(limit < 0) { in ss_mintrosort()
522 limit += 1; in ss_mintrosort()
855 if(SS_BLOCKSIZE < limit) { limit = SS_BLOCKSIZE; } in sssort()
856 buf = middle = last - limit, bufsize = limit; in sssort()
884 if(limit != 0) { in sssort()
1184 int limit, next; in tr_introsort() local
1189 if(limit < 0) { in tr_introsort()
1279 limit = -3; in tr_introsort()
1283 if(limit-- == 0) { in tr_introsort()
[all …]
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlmem.c46 int limit, const char *what) { in luaM_growaux_() argument
49 if (*size >= limit/2) { /* cannot double it? */ in luaM_growaux_()
50 if (*size >= limit) /* cannot grow even a little? */ in luaM_growaux_()
51 luaG_runerror(L, "too many %s (limit is %d)", what, limit); in luaM_growaux_()
52 newsize = limit; /* still have at least one free place */ in luaM_growaux_()
/f-stack/freebsd/contrib/device-tree/Bindings/power/supply/
H A Drohm,bd99954.yaml89 # - precharge-upper-limit-microvolt
91 # when battery voltage exceeds this limit voltage (3 in above chart)
100 # to the point where the battery voltage drops below this limit
102 # battery is expected to be faulty if battery voltage exceeds this limit.
120 description: system specific lower limit for system voltage.
125 rohm,vbus-input-current-limit-microamp:
126 description: system specific VBUS input current limit (in microamps).
131 rohm,vcc-input-current-limit-microamp:
132 description: system specific VCC/VACP input current limit (in microamps).
152 rohm,vbus-input-current-limit-microamp = <1472000>;
[all …]
H A Dqcom_smbb.txt43 - qcom,fast-charge-current-limit:
51 Description: Battery voltage limit above which fast charging may operate;
58 Description: Battery voltage limit below which fast charging may operate;
74 'qcom,fast-charge-current-limit' will be clamped by this value.
79 Description: Battery voltage limit below which auto-recharge functionality
81 limit for auto-recharge is 5% above this value.
88 - qcom,dc-current-limit:
91 Description: Default DC charge current limit
145 qcom,fast-charge-current-limit = <1000000>;
146 qcom,dc-charge-current-limit = <1000000>;
/f-stack/freebsd/contrib/device-tree/Bindings/leds/backlight/
H A Dqcom-wled.yaml56 qcom,current-limit:
58 mA; per-string current limit.
65 qcom,current-limit-microamp:
67 uA; per-string current limit.
73 qcom,current-boost-limit:
75 mA; boost current limit.
87 V; Over-voltage protection limit.
172 qcom,current-boost-limit:
190 qcom,current-boost-limit:
247 qcom,current-limit = <20>;
[all …]
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_write_filter_module.c50 off_t size, sent, nsent, limit; in ngx_http_write_filter() local
261 if (limit <= 0) { in ngx_http_write_filter()
263 delay = (ngx_msec_t) (- limit * 1000 / r->limit_rate + 1); in ngx_http_write_filter()
272 && (off_t) clcf->sendfile_max_chunk < limit) in ngx_http_write_filter()
274 limit = clcf->sendfile_max_chunk; in ngx_http_write_filter()
278 limit = clcf->sendfile_max_chunk; in ngx_http_write_filter()
284 "http write filter limit %O", limit); in ngx_http_write_filter()
286 chain = c->send_chain(c, r->out, limit); in ngx_http_write_filter()
316 limit = 0; in ngx_http_write_filter()
322 if (limit in ngx_http_write_filter()
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/iio/accel/
H A Dlis302.txt30 - st,click-click-time-limit: click time limit, from 0 to 127.5msec
48 upper/lower limit
51 upper/lower limit for second wakeup
61 - st,{min,max}-limit-{x,y,z} set the min/max limits for x/y/z axis
112 st,min-limit-x = <120>;
113 st,min-limit-y = <120>;
114 st,min-limit-z = <140>;
115 st,max-limit-x = <550>;
116 st,max-limit-y = <550>;
117 st,max-limit-z = <750>;
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_limit_req_module.c180 limit = NULL; in ngx_http_limit_req_handler()
185 limit = &limits[n]; in ngx_http_limit_req_handler()
187 ctx = limit->shm_zone->data; in ngx_http_limit_req_handler()
373 ctx = limit->shm_zone->data; in ngx_http_limit_req_lookup()
506 ctx = (*limit)->shm_zone->data; in ngx_http_limit_req_account()
556 *limit = &limits[n]; in ngx_http_limit_req_account()
964 limit = ngx_array_push(&lrcf->limits); in ngx_http_limit_req()
965 if (limit == NULL) { in ngx_http_limit_req()
969 limit->shm_zone = shm_zone; in ngx_http_limit_req()
970 limit->burst = burst * 1000; in ngx_http_limit_req()
[all …]
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlmem.c47 int limit, const char *errormsg) { in luaM_growaux_() argument
50 if (*size >= limit/2) { /* cannot double it? */ in luaM_growaux_()
51 if (*size >= limit) /* cannot grow even a little? */ in luaM_growaux_()
53 newsize = limit; /* still have at least one free place */ in luaM_growaux_()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_dynamic.c1462 if (limit == NULL) { in dyn_alloc_parent()
1478 return (limit); in dyn_alloc_parent()
1567 if (limit == NULL) { in dyn_add_ipv4_parent()
1579 s->limit = limit; in dyn_add_ipv4_parent()
1710 s->limit = limit; in dyn_add_ipv6_parent()
1803 p = s->limit; in dyn_get_parent_state()
1827 p = s->limit; in dyn_get_parent_state()
1908 limit, kidx); in dyn_install_state()
1993 uint32_t limit; in ipfw_dyn_install_state() local
1997 limit = IP_FW_ARG_TABLEARG(chain, cmd->conn_limit, limit); in ipfw_dyn_install_state()
[all …]
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_stats.h17 __rte_unused unsigned int limit);
22 uint64_t *values, unsigned int limit);
25 const uint64_t *ids, unsigned int limit);
/f-stack/freebsd/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_lzma2.c61 size_t limit; member
295 dict->limit = 0; in dict_reset()
303 dict->limit = dict->end; in dict_limit()
529 } while (symbol < limit); in rc_bittree()
549 } while (++i < limit); in rc_bittree_reverse()
564 } while (--limit > 0); in rc_direct()
623 uint32_t limit; in lzma_len() local
627 limit = LEN_LOW_SYMBOLS; in lzma_len()
642 s->lzma.len += rc_bittree(&s->rc, probs, limit) - limit; in lzma_len()
650 uint32_t limit; in lzma_match() local
[all …]
/f-stack/dpdk/drivers/net/qede/base/
H A Dbcm_osal.c88 inline u32 qede_find_first_bit(unsigned long *addr, u32 limit) in qede_find_first_bit() argument
92 OSAL_BUILD_BUG_ON(!limit); in qede_find_first_bit()
93 nwords = (limit - 1) / OSAL_BITS_PER_UL + 1; in qede_find_first_bit()
98 return (i == nwords) ? limit : i * OSAL_BITS_PER_UL + qede_ffb(addr[i]); in qede_find_first_bit()
109 inline u32 qede_find_first_zero_bit(u32 *addr, u32 limit) in qede_find_first_zero_bit() argument
113 OSAL_BUILD_BUG_ON(!limit); in qede_find_first_zero_bit()
114 nwords = (limit - 1) / OSAL_BITS_PER_UL + 1; in qede_find_first_zero_bit()
116 return (i == nwords) ? limit : i * OSAL_BITS_PER_UL + qede_ffz(addr[i]); in qede_find_first_zero_bit()

12345678910>>...17