| /openbsd-src/usr.sbin/smtpd/ |
| H A D | limit.c | 24 limit_mta_set_defaults(struct mta_limits *limits) in limit_mta_set_defaults() argument 26 limits->maxconn_per_host = 10; in limit_mta_set_defaults() 27 limits->maxconn_per_route = 5; in limit_mta_set_defaults() 28 limits->maxconn_per_source = 100; in limit_mta_set_defaults() 29 limits->maxconn_per_connector = 20; in limit_mta_set_defaults() 30 limits->maxconn_per_relay = 100; in limit_mta_set_defaults() 31 limits->maxconn_per_domain = 100; in limit_mta_set_defaults() 33 limits->conndelay_host = 0; in limit_mta_set_defaults() 34 limits->conndelay_route = 5; in limit_mta_set_defaults() 35 limits->conndelay_source = 0; in limit_mta_set_defaults() [all …]
|
| H A D | config.c | 36 struct mta_limits *limits = NULL; in config_default() local 83 limits = calloc(1, sizeof(*limits)); in config_default() 97 limits == NULL) in config_default() 109 limit_mta_set_defaults(limits); in config_default() 111 dict_xset(conf->sc_limits_dict, "default", limits); in config_default() 149 free(limits); in config_default()
|
| H A D | mta.c | 662 if (relay->ntask == (size_t)relay->limits->task_lowat) { in mta_route_next_task() 671 m_add_int(p_queue, relay->limits->task_release); in mta_route_next_task() 745 if (relay->limits && in mta_handle_envelope() 746 relay->ntask >= (size_t)relay->limits->task_hiwat) { in mta_handle_envelope() 949 relay->limits = dict_get(env->sc_limits_dict, relay->domain->name); in mta_query_limits() 950 if (relay->limits == NULL) in mta_query_limits() 951 relay->limits = dict_get(env->sc_limits_dict, "default"); in mta_query_limits() 953 if (max_seen_conndelay_route < relay->limits->conndelay_route) in mta_query_limits() 954 max_seen_conndelay_route = relay->limits->conndelay_route; in mta_query_limits() 955 if (max_seen_discdelay_route < relay->limits->discdelay_route) in mta_query_limits() [all …]
|
| H A D | mta_session.c | 715 if (s->msgcount >= s->relay->limits->max_mail_per_session) { in mta_enter_state() 739 s->hangon >= s->relay->limits->sessdelay_keepalive) { in mta_enter_state() 745 (long long)(s->relay->limits->sessdelay_keepalive - in mta_enter_state() 1076 if (s->relay->limits->max_failures_per_session && in mta_response() 1077 s->failures == s->relay->limits->max_failures_per_session) { in mta_response() 1160 if (s->relay->limits->sessdelay_transaction) { in mta_response() 1162 (long long)s->relay->limits->sessdelay_transaction); in mta_response() 1163 s->hangon = s->relay->limits->sessdelay_transaction -1; in mta_response() 1166 s->relay->limits->sessdelay_transaction, s); in mta_response() 1180 if (s->relay->limits in mta_response() [all...] |
| /openbsd-src/bin/ksh/ |
| H A D | c_ulimit.c | 33 struct limits { struct 40 static void print_ulimit(const struct limits *, int); argument 41 static int set_ulimit(const struct limits *, const char *, int); 46 static const struct limits limits[] = { in c_ulimit() local 61 const struct limits *l; in c_ulimit() 98 for (l = limits; l->name && l->option != optc; l++) in c_ulimit() 115 for (l = limits; l->name; l++) { in c_ulimit() 121 l = &limits[1]; in c_ulimit() 135 set_ulimit(const struct limits *l, const char *v, int how) in set_ulimit() 177 print_ulimit(const struct limits *l, int how) in print_ulimit()
|
| /openbsd-src/gnu/gcc/gcc/config/rs6000/ |
| H A D | t-beos | 12 # of limits.h to lack the header and trailer parts that are 13 # tacked on to it when there is a limits.h in the system header 17 # LIMITS_H_TEST to explicitly look for the BeOS limits.h. 18 # If the gcc limits.h is not set up to #include_next the 19 # BeOS limits.h, then some things will go undefined, like 23 # Test to see whether <limits.h> exists in the system header files. 24 LIMITS_H_TEST = [ -f /boot/develop/headers/posix/limits.h ]
|
| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | limits.h | 57 #include_next <limits.h> 61 #include_next <limits.h> 65 # if __has_include_next(<limits.h>) 66 # include_next <limits.h>
|
| H A D | climits | 43 #include <limits.h> 46 # error <climits> tried including <limits.h> but didn't find libc++'s <limits.h> header. \
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/rs6000/ |
| H A D | t-beos | 27 # of limits.h to lack the header and trailer parts that are 28 # tacked on to it when there is a limits.h in the system header 32 # LIMITS_H_TEST to explicitly look for the BeOS limits.h. 33 # If the gcc limits.h is not set up to #include_next the 34 # BeOS limits.h, then some things will go undefined, like 38 # Test to see whether <limits.h> exists in the system header files. 39 LIMITS_H_TEST = [ -f /boot/develop/headers/posix/limits.h ]
|
| /openbsd-src/gnu/llvm/lld/wasm/ |
| H A D | WriterUtils.cpp | 61 static std::string toString(const llvm::wasm::WasmLimits &limits) { in toString() argument 63 ret += "flags=0x" + std::to_string(limits.Flags); in toString() 64 ret += "; min=" + std::to_string(limits.Minimum); in toString() 65 if (limits.Flags & WASM_LIMITS_FLAG_HAS_MAX) in toString() 66 ret += "; max=" + std::to_string(limits.Maximum); in toString() 193 void writeLimits(raw_ostream &os, const WasmLimits &limits) { in writeLimits() argument 194 writeU8(os, limits.Flags, "limits flags"); in writeLimits() 195 writeUleb128(os, limits.Minimum, "limits min"); in writeLimits() 196 if (limits.Flags & WASM_LIMITS_FLAG_HAS_MAX) in writeLimits() 197 writeUleb128(os, limits.Maximum, "limits max"); in writeLimits()
|
| H A D | InputElement.h | 90 void setLimits(const WasmLimits &limits) { type.Limits = limits; } in setLimits() argument
|
| /openbsd-src/gnu/usr.bin/perl/Porting/ |
| H A D | checkansi.pl | 10 my %limits = ( 24 && @ARGV && exists $limits{$opt{std}} 27 for my $k (keys %{$limits{$opt{std}}}) { 28 $opt{$k} //= $limits{$opt{std}}{$k};
|
| /openbsd-src/sys/dev/pci/drm/i915/display/ |
| H A D | intel_dp_mst.c | 73 struct link_config_limits *limits, in intel_dp_mst_find_vcpi_slots_for_bpp() argument 94 crtc_state->lane_count = limits->max_lane_count; in intel_dp_mst_find_vcpi_slots_for_bpp() 95 crtc_state->port_clock = limits->max_rate; in intel_dp_mst_find_vcpi_slots_for_bpp() 152 struct link_config_limits *limits) in intel_dp_mst_compute_link_config() argument 158 slots = intel_dp_mst_find_vcpi_slots_for_bpp(encoder, crtc_state, limits->max_bpp, in intel_dp_mst_compute_link_config() 159 limits->min_bpp, limits, in intel_dp_mst_compute_link_config() 179 struct link_config_limits *limits) in intel_dp_dsc_mst_compute_link_config() argument 202 max_bpp = min_t(u8, dsc_max_bpc * 3, limits->max_bpp); in intel_dp_dsc_mst_compute_link_config() 203 min_bpp = limits->min_bpp; in intel_dp_dsc_mst_compute_link_config() 231 min_bpp, limits, in intel_dp_dsc_mst_compute_link_config() [all …]
|
| /openbsd-src/sys/dev/pci/drm/amd/pm/legacy-dpm/ |
| H A D | legacy_dpm.c | 411 ATOM_PPLIB_VCE_Clock_Voltage_Limit_Table *limits = in amdgpu_parse_extended_power_table() local 421 1 + (limits->numEntries * sizeof(ATOM_PPLIB_VCE_Clock_Voltage_Limit_Record))); in amdgpu_parse_extended_power_table() 425 u32 size = limits->numEntries * in amdgpu_parse_extended_power_table() 432 limits->numEntries; in amdgpu_parse_extended_power_table() 433 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table() 435 for (i = 0; i < limits->numEntries; i++) { in amdgpu_parse_extended_power_table() 472 ATOM_PPLIB_UVD_Clock_Voltage_Limit_Table *limits = in amdgpu_parse_extended_power_table() local 478 u32 size = limits->numEntries * in amdgpu_parse_extended_power_table() 485 limits->numEntries; in amdgpu_parse_extended_power_table() 486 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table() [all …]
|
| /openbsd-src/bin/csh/ |
| H A D | func.c | 1012 static struct limits { struct 1017 } limits[] = { argument 1033 static struct limits *findlim(Char *); 1034 static rlim_t getval(struct limits *, Char **); 1036 static void plim(struct limits *, Char); 1037 static int setlim(struct limits *, Char, rlim_t); 1039 static struct limits * 1042 struct limits *lp, *res; in findlim() 1045 for (lp = limits; lp->limconst >= 0; lp++) in findlim() 1061 struct limits *lp; in dolimit() [all …]
|
| /openbsd-src/gnu/gcc/gcc/config/ |
| H A D | t-rtems | 1 # RTEMS always has limits.h. 5 # limits.h when building libgcc2. Otherwise, newlib must be installed
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/ |
| H A D | t-rtems | 4 # RTEMS always has limits.h. 8 # limits.h when building libgcc2. Otherwise, newlib must be installed
|
| /openbsd-src/sys/dev/pci/drm/radeon/ |
| H A D | r600_dpm.c | 1077 ATOM_PPLIB_VCE_Clock_Voltage_Limit_Table *limits = in r600_parse_extended_power_table() local 1087 1 + (limits->numEntries * sizeof(ATOM_PPLIB_VCE_Clock_Voltage_Limit_Record))); in r600_parse_extended_power_table() 1091 u32 size = limits->numEntries * in r600_parse_extended_power_table() 1100 limits->numEntries; in r600_parse_extended_power_table() 1101 entry = &limits->entries[0]; in r600_parse_extended_power_table() 1103 for (i = 0; i < limits->numEntries; i++) { in r600_parse_extended_power_table() 1139 ATOM_PPLIB_UVD_Clock_Voltage_Limit_Table *limits = in r600_parse_extended_power_table() local 1145 u32 size = limits->numEntries * in r600_parse_extended_power_table() 1154 limits->numEntries; in r600_parse_extended_power_table() 1155 entry = &limits in r600_parse_extended_power_table() 1172 ATOM_PPLIB_SAMClk_Voltage_Limit_Table *limits = r600_parse_extended_power_table() local 1230 ATOM_PPLIB_ACPClk_Voltage_Limit_Table *limits = r600_parse_extended_power_table() local [all...] |
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/i386/ |
| H A D | t-cygwin | 4 # cygwin always has a limits.h, but, depending upon how we are doing 11 # limits.h when building libgcc2. Otherwise, winsup must be installed
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | mkheaders.in | 88 if [ -f ${incdir}/limits.h ]; then 89 mv ${incdir}/limits.h ${incdir}/syslimits.h
|
| /openbsd-src/gnu/gcc/fixincludes/ |
| H A D | mkheaders.in | 93 if [ -f ${incdir}/limits.h ]; then 94 mv ${incdir}/limits.h ${incdir}/syslimits.h
|
| /openbsd-src/usr.sbin/sensorsd/ |
| H A D | sensorsd.c | 76 TAILQ_HEAD(, limits_t) limits; 234 TAILQ_INIT(&sdlim->limits); in create_sdlim() 250 TAILQ_INSERT_TAIL(&sdlim->limits, limit, entries); in create_sdlim() 263 while ((limit = TAILQ_FIRST(&sdlim->limits)) != NULL) { in destroy_sdlim() 264 TAILQ_REMOVE(&sdlim->limits, limit, entries); in destroy_sdlim() 359 TAILQ_FOREACH(limit, &sdlim->limits, entries) { in check_sdlim() 444 TAILQ_FOREACH(limit, &sdlim->limits, entries) { in report_sdlim() 738 TAILQ_FOREACH(p, &sdlim->limits, entries) { in parse_config_sdlim()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/cfi/ |
| H A D | cfi.cpp | 63 } limits; member 74 return cfi_shadow_limits_storage.limits.start; in GetShadow() 78 return cfi_shadow_limits_storage.limits.size; in GetShadowSize() 83 cfi_shadow_limits_storage.limits.size = size; in SetShadowSize() 197 cfi_shadow_limits_storage.limits.start = shadow_; in Install()
|
| /openbsd-src/gnu/llvm/clang/lib/Headers/ |
| H A D | limits.h | 20 #if __STDC_HOSTED__ && __has_include_next(<limits.h>) 21 #include_next <limits.h>
|
| /openbsd-src/gnu/gcc/gcc/config/i386/ |
| H A D | t-cygming | 4 # cygwin and mingw always have a limits.h, but, depending upon how we are 9 # limits.h when building libgcc2. Otherwise, winsup must be installed
|