Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 5055) sorted by last modified time

12345678910>>...203

/freebsd/sys/dev/nvme/
H A Dnvme_ctrlr.c173 num_trackers = max(num_trackers, NVME_MIN_IO_TRACKERS); in nvme_ctrlr_construct_io_qpairs()
923 uint64_t max; in nvme_ctrlr_hmb_alloc() local
926 max = (uint64_t)physmem * PAGE_SIZE / 20; in nvme_ctrlr_hmb_alloc()
927 TUNABLE_UINT64_FETCH("hw.nvme.hmb_max", &max); in nvme_ctrlr_hmb_alloc()
934 if (max == 0 || max < min) in nvme_ctrlr_hmb_alloc()
936 pref = MIN((long long unsigned)ctrlr->cdata.hmpre * NVME_HMB_UNITS, max); in nvme_ctrlr_hmb_alloc()
1430 timeout_period = max(timeout_period, NVME_MIN_TIMEOUT_PERIOD); in nvme_ctrlr_construct()
1436 timeout_period = max(timeout_period, NVME_MIN_TIMEOUT_PERIOD); in nvme_ctrlr_construct()
/freebsd/share/misc/
H A Dusb_vendors3284 1125 Nike psa[128max Player
/freebsd/sys/fs/tmpfs/
H A Dtmpfs_subr.c442 tmpfs_pages_reserved = max(reserved, TMPFS_PAGES_MINRESERVED); in tmpfs_set_reserve_from_percent()
/freebsd/sys/kern/
H A Dkern_boottrace.c595 bt.size = max(bt.size, BT_TABLE_MINSIZE); in boottrace_init()
H A Dvfs_vnops.c4024 dirbuflen = max(DEV_BSIZE, GENERIC_MAXDIRSIZ); in vn_dir_check_empty()
/freebsd/contrib/bmake/
H A DChangeLog2028 o revert some C99 usage, for max portability
H A Djob.c1849 size_t max; /* limit for i (end of current data) */ in CollectOutput() local
1881 max = job->curPos + nr; in CollectOutput()
1882 for (i = job->curPos; i < max; i++) in CollectOutput()
1953 if (i < max) { in CollectOutput()
1955 max - (i + 1)); in CollectOutput()
1956 job->curPos = max - (i + 1); in CollectOutput()
1958 assert(i == max); in CollectOutput()
/freebsd/sys/netinet/tcp_stacks/
H A Drack.c3707 len *= max(1, rack_goal_bdp); in rack_get_measure_window()
3734 return (max((uint32_t)len, def_len)); in rack_get_measure_window()
4841 max(rack_gp_rtt_mindiv , 1)); in rack_make_timely_judgement()
5057 utim = max(tim, 1); in rack_do_goodput_measurement()
5059 utim = max(stim, 1); in rack_do_goodput_measurement()
5616 uint32_t max; in rack_ack_received() local
5620 tp->t_ccv.bytes_this_ack = max; in rack_ack_received()
6420 tp->snd_ssthresh = max(2, in rack_cong_signal()
11793 rack->r_ctl.ack_count = max(1, in rack_do_detection()
19022 srtt = max(tp->t_srtt, 1); in rack_get_pacing_delay()
[all …]
/freebsd/sys/netinet/
H A Dsctputil.c1247 asoc->my_rwnd = max(SCTP_SB_LIMIT_RCV(inp->sctp_socket), SCTP_MINIMAL_RWND); in sctp_init_asoc()
6234 (copied_so_far >= max(so->so_rcv.sb_lowat, 1)))) { in sctp_sorecvmsg()
H A Dsctp_output.c4686 init->init.a_rwnd = htonl(max(inp->sctp_socket ? SCTP_SB_LIMIT_RCV(inp->sctp_socket) : 0, in sctp_send_initiate()
5907 initack->init.a_rwnd = htonl(max(SCTP_SB_LIMIT_RCV(so), SCTP_MINIMAL_RWND)); in sctp_send_initiate_ack()
/freebsd/sys/x86/acpica/
H A Dmadt.c358 max_apic_id = max(apic_id, max_apic_id); in madt_parse_cpu()
/freebsd/contrib/unbound/util/
H A Dnet_help.c742 int i, max; in addr_mask() local
746 max = 128; in addr_mask()
749 max = 32; in addr_mask()
751 if(net >= max) in addr_mask()
753 for(i=net/8+1; i<max/8; i++) { in addr_mask()
H A Dnetevent.c1171 setup_tcp_handler(struct comm_point* c, int fd, int cur, int max) argument
1196 handler_usage = (cur * 100) / max;
H A Dconfiglexer.lex240 max-reuse-tcp-queries{COLON} { YDVAR(1, VAR_MAX_REUSE_TCP_QUERIES) }
268 http-max-streams{COLON} { YDVAR(1, VAR_HTTP_MAX_STREAMS) }
299 cache-max-ttl{COLON} { YDVAR(1, VAR_CACHE_MAX_TTL) }
309 infra-cache-max-rtt{COLON} { YDVAR(1, VAR_INFRA_CACHE_MAX_RTT) }
377 max-client-subnet-ipv4{COLON} { YDVAR(1, VAR_MAX_CLIENT_SUBNET_IPV4) }
401 val-sig-skew-max{COLON} { YDVAR(1, VAR_VAL_SIG_SKEW_MAX) }
402 val-max-restart{COLON} { YDVAR(1, VAR_VAL_MAX_RESTART) }
473 max-udp-size{COLON} { YDVAR(1, VAR_MAX_UDP_SIZE) }
532 max-sent-count{COLON} { YDVAR(1, VAR_MAX_SENT_COUNT) }
533 max-query-restarts{COLON} { YDVAR(1, VAR_MAX_QUERY_RESTARTS) }
[all …]
/freebsd/contrib/unbound/util/storage/
H A Dlruhash.c478 int min=(int)table->size*2, max=-2; in lruhash_status() local
491 if(here > max) max = here; in lruhash_status()
495 (double)table->num/(double)table->size, max); in lruhash_status()
/freebsd/contrib/unbound/testdata/
H A Dcachedb_subnet_change.crpl12 max-client-subnet-ipv4: 17
H A Dcachedb_subnet_expired.crpl12 max-client-subnet-ipv4: 17
H A Dcachedb_subnet_toecs_timeout.crpl12 max-client-subnet-ipv4: 17
H A Dsubnet_cached_size.crpl10 max-client-subnet-ipv4: 17
H A Dttl_max_negative.rpl4 cache-max-ttl: 15 # This will be overriden
5 cache-max-negative-ttl: 10
14 SCENARIO_BEGIN Test TTL max option for messages in the cache
/freebsd/contrib/unbound/services/cache/
H A Dinfra.c1034 int i, max = 0; in infra_rate_max() local
1038 d->qps[i] > max) { in infra_rate_max()
1039 max = d->qps[i]; in infra_rate_max()
1047 return max; in infra_rate_max()
1054 int lim, max; in infra_ratelimit_inc() local
1074 if(premax <= lim && max > lim) { in infra_ratelimit_inc()
1089 return (max <= lim); in infra_ratelimit_inc()
1121 int lim, max; in infra_ratelimit_exceeded() local
1137 return (max > lim); in infra_ratelimit_exceeded()
1188 return (max <= limit); in check_ip_ratelimit()
[all …]
/freebsd/contrib/unbound/doc/
H A DChangelog805 - Expose 'max-sent-count' as a configuration option; the
995 - Merge #718: Introduce infra-cache-max-rtt option to config max
1466 cache-max-negative-ttl: 1
2861 This further lowers the max to 256.
3658 the max-ecs-tree-size-ipv4 and max-ecs-tree-size-ipv6 options.
4182 - Fix for max include depth for authzones.
4495 - Better documentation for cache-max-negative-ttl.
6035 - cache-max-negative-ttl config option, default 3600.
6254 - print query name when max target count is exceeded.
9650 - negative cache caps max iterations of NSEC3 done.
[all …]
H A Dexample.conf.in147 # max-udp-size: 1232
184 # max-sent-count: 32
188 # max-query-restarts: 11
224 # cache-max-ttl: 86400
227 # cache-max-negative-ttl: 3600
242 # infra-cache-max-rtt: 120000
687 # val-sig-skew-max: 86400
691 # val-max-restart: 5
956 # http-max-streams: 100
1072 # ipsecmod-max-ttl: 3600
[all …]
/freebsd/contrib/unbound/daemon/
H A Dremote.c573 ssl_read_line(RES* res, char* buf, size_t max) in ssl_read_line() argument
579 while(len < max) { in ssl_read_line()
615 buf[max-1] = 0; in ssl_read_line()
616 log_err("control line too long (%d): %s", (int)max, buf); in ssl_read_line()
2916 int max = infra_rate_max(d, a->now, a->backoff); in rate_list() local
2918 if(max < lim) in rate_list()
2922 ssl_printf(a->ssl, "%s %d limit %d\n", buf, max, lim); in rate_list()
2934 int max = infra_rate_max(d, a->now, a->backoff); in ip_rate_list() local
2936 if(max < lim) in ip_rate_list()
2940 ssl_printf(a->ssl, "%s %d limit %d\n", ip, max, lim); in ip_rate_list()
/freebsd/sys/dev/sound/pcm/
H A Ddsp.c932 p->rate_min = max(rcaps? rcaps->minspeed : 0, in dsp_ioctl()

12345678910>>...203