Home
last modified time | relevance | path

Searched full:limit (Results 1 – 25 of 2716) sorted by relevance

12345678910>>...109

/freebsd/lib/libcasper/services/cap_net/tests/
H A Dnet_test.c312 cap_net_limit_t *limit; in test_extend_mode() local
328 limit = cap_net_limit_init(capnet, current | rights[i]); in test_extend_mode()
329 ATF_REQUIRE(limit != NULL); in test_extend_mode()
330 ATF_REQUIRE(cap_net_limit(limit) != 0); in test_extend_mode()
457 cap_net_limit_t *limit; in ATF_TC_BODY() local
461 /* LIMIT */ in ATF_TC_BODY()
462 limit = cap_net_limit_init(capnet, CAPNET_ADDR2NAME); in ATF_TC_BODY()
463 ATF_REQUIRE(limit != NULL); in ATF_TC_BODY()
464 ATF_REQUIRE(cap_net_limit(limit) == 0); in ATF_TC_BODY()
488 cap_net_limit_t *limit; in ATF_TC_BODY() local
[all …]
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Dregulator.yaml34 regulator-input-current-limit-microamp:
127 description: Set over current protection limit. This is a limit where
130 limit setting can be omitted.
133 description: Set over current error limit. This is a limit where part of
136 that detection should be enabled but limit setting can be omitted.
139 description: Set over current warning limit. This is a limit where hardware
140 is assumed still to be functional but approaching limit wher
[all...]
/freebsd/sys/arm64/arm64/
H A Dmemcmp.S21 #define limit x2 macro
35 subs limit, limit, 8
43 subs limit, limit, 8
46 ldr data1, [src1, limit]
47 ldr data2, [src2, limit]
58 subs limit, limit, 16
62 try to align, so limit it only to strings larger than 128 bytes. */
63 cmp limit, 96
68 add limit, limit, tmp1
73 Limit is pre-decremented by 16 and must be larger than zero.
[all …]
H A Dstrncmp.S26 #define limit x2 macro
62 cbz limit, L(ret0)
78 subs limit, limit, #8
91 add limit, limit, 8 /* Rewind limit to before last subs. */
93 /* Limit was reached. Check if the NUL byte or the difference
94 is before the limit. */
100 cmp limit, pos, lsr #3
109 /* Not reached the limit, must have found the end or a diff. */
110 tbz limit, #63, L(not_limit)
111 add tmp1, limit, 8
[all …]
/freebsd/tools/test/stress2/misc/
H A Dsetrlimit.sh36 # setrlimit: ftruncate(5413) did not fail. limit = 2791
38 # setrlimit: ftruncate(9956) did not fail. limit = 7880
40 # setrlimit: ftruncate(9033) did not fail. limit = 5884
42 # setrlimit: ftruncate(123) did not fail. limit = 86
74 rlim_t limit, sz;
86 arc4random_buf(&limit, sizeof(limit));
87 if (limit < 0)
88 limit = -limit;
89 limit = limit % sz + 1;
90 rlim.rlim_cur = rlim.rlim_max = limit;
[all …]
/freebsd/lib/libcasper/services/cap_net/
H A Dcap_net.h67 /* Limit functions. */
69 int cap_net_limit(cap_net_limit_t *limit);
70 void cap_net_free(cap_net_limit_t *limit);
72 cap_net_limit_t *cap_net_limit_addr2name_family(cap_net_limit_t *limit,
74 cap_net_limit_t *cap_net_limit_addr2name(cap_net_limit_t *limit,
77 cap_net_limit_t *cap_net_limit_name2addr_family(cap_net_limit_t *limit,
79 cap_net_limit_t *cap_net_limit_name2addr(cap_net_limit_t *limit,
82 cap_net_limit_t *cap_net_limit_connect(cap_net_limit_t *limit,
85 cap_net_limit_t *cap_net_limit_bind(cap_net_limit_t *limit,
105 /* Limit functions. */
[all …]
H A Dcap_net.368 .Fn cap_net_limit "cap_net_limit_t *limit"
70 .Fn cap_net_free "cap_net_limit_t *limit"
72 .Fn cap_net_limit_addr2name_family "cap_net_limit_t *limit" "int *family" "size_t size"
74 .Fn cap_net_limit_addr2name "cap_net_limit_t *limit" "const struct sockaddr *sa" "socklen_t salen"
76 .Fn cap_net_limit_name2addr_family "cap_net_limit_t *limit" "int *family" "size_t size"
78 .Fn cap_net_limit_name2addr "cap_net_limit_t *limit" "const char *name" "const char *serv"
80 .Fn cap_net_limit_connect "cap_net_limit_t *limit" "const struct sockaddr *sa" "socklen_t salen"
82 .Fn cap_net_limit_bind "cap_net_limit_t *limit" "const struct sockaddr *sa" "socklen_t salen"
122 returns an opaque limit handle used to store a list of capabilities.
228 cap_net_limit_t *limit;
[all …]
/freebsd/contrib/arm-optimized-routines/string/aarch64/
H A Dmemcmp.S16 #define limit x2 macro
33 cmp limit, 16
41 add src1end, src1, limit
42 add src2end, src2, limit
43 cmp limit, 32
45 cmp limit, 160
47 sub limit, limit, 32
56 cmp limit, 16
67 subs limit, limit, 32
92 add src1end, src1, limit
[all …]
H A Dstrncmp.S22 #define limit x2 macro
58 cbz limit, L(ret0)
74 subs limit, limit, #8
87 add limit, limit, 8 /* Rewind limit to before last subs. */
89 /* Limit was reached. Check if the NUL byte or the difference
90 is before the limit. */
96 cmp limit, pos, lsr #3
105 /* Not reached the limit, must have found the end or a diff. */
106 tbz limit, #63, L(not_limit)
107 add tmp1, limit, 8
[all …]
/freebsd/contrib/arm-optimized-routines/math/test/rtest/
H A Drandom.c44 * 0,...,limit-1. (Precondition: limit > 0.)
60 static uint32 random_upto_makemask(uint32 limit) { in random_upto_makemask() argument
64 if ((limit & (mask >> i)) == limit) in random_upto_makemask()
69 static uint32 random_upto_internal(uint32 limit, uint32 mask) { in random_upto_internal() argument
73 } while (ret > limit); in random_upto_internal()
77 uint32 random_upto(uint32 limit) { in random_upto() argument
78 uint32 mask = random_upto_makemask(limit); in random_upto()
79 return random_upto_internal(limit, mask); in random_upto()
82 uint32 random_upto_biased(uint32 limit, int bias) { in random_upto_biased() argument
83 uint32 mask = random_upto_makemask(limit); in random_upto_biased()
[all …]
/freebsd/lib/libsys/
H A Dgetrlimit.2105 The limit is merely a hint to the VM daemon to prefer to deactivate pages from
119 This limit is enforced only if bit 1 of the
126 The limit of the number of process-shared posix thread library objects
133 A resource limit is specified as a soft limit and a hard limit.
134 When a soft limit is exceeded, a process might or might not receive a signal.
136 but not if the address space or RSS limit is exceeded.
137 A program that exceeds the soft limit is allowed to continue execution until it
138 reaches the hard limit, or modifies its own resource limit.
139 Even reaching the hard limit does not necessarily halt a process.
140 For example, if the RSS hard limit is exceeded, nothing happens.
[all …]
/freebsd/usr.bin/limits/
H A Dlimits.176 by the appropriate login class resource limit entries from
94 .Ic limit
107 resource limit settings, and provides the benefit of allowing
190 resource limit.
196 resource limit.
203 resource limit.
207 resource limit.
211 resource limit.
215 resource limit.
219 size limit.
[all …]
H A Dlimits.c60 * the csh 'limit' or sh 'ulimit' command, but each varies just
67 const char * hard; /* Hard limit text */
68 const char * soft; /* Soft limit text */
69 const char * both; /* Hard+Soft limit text */
119 { "limit%s cputime %s", ";\n", 1 },
120 { "limit%s filesize %s", ";\n", 1024 },
121 { "limit%s datasize %s", ";\n", 1024 },
122 { "limit%s stacksize %s", ";\n", 1024 },
123 { "limit%s coredumpsize %s", ";\n", 1024 },
124 { "limit%s memoryuse %s", ";\n", 1024 },
[all …]
/freebsd/usr.sbin/bluetooth/btpand/
H A Dsdp.c54 * _sdp_match_uuid16(ptr, limit, uuid)
58 * limit is the first address past the end of valid data.
61 _sdp_match_uuid16(uint8_t **ptr, uint8_t *limit, uint16_t uuid) in _sdp_match_uuid16() argument
69 if (!_sdp_get_uuid(&p, limit, &u2) in _sdp_match_uuid16()
78 * _sdp_get_uuid(ptr, limit, uuid)
82 * limit is the first address past the end of valid data.
85 _sdp_get_uuid(uint8_t **ptr, uint8_t *limit, uuid_t *uuid) in _sdp_get_uuid() argument
89 if (p + 1 > limit) in _sdp_get_uuid()
94 if (p + 2 > limit) in _sdp_get_uuid()
103 if (p + 4 > limit) in _sdp_get_uuid()
[all …]
/freebsd/contrib/cortex-strings/src/aarch64/
H A Dmemcmp.S45 #define limit x2 macro
64 cbz limit, .Lret0
70 add limit_wd, limit, #7
83 /* Not reached the limit, must have found a diff. */
86 /* Limit % 8 == 0 => all bytes significant. */
87 ands limit, limit, #7
90 lsl limit, limit, #3 /* Bits -> bytes. */
93 lsr mask, mask, limit
95 lsl mask, mask, limit
127 add limit, limit, tmp1 /* Adjust the limit for the extra. */
[all …]
H A Dstrncmp.S47 #define limit x2 macro
73 cbz limit, .Lret0
81 sub limit_wd, limit, #1 /* limit != 0, so no underflow. */
102 /* Not reached the limit, must have found the end or a diff. */
105 /* Limit % 8 == 0 => all bytes significant. */
106 ands limit, limit, #7
109 lsl limit, limit, #3 /* Bits -> bytes. */
112 lsr mask, mask, limit
114 lsl mask, mask, limit
179 We also need to adjust the limit calculations, but without
[all …]
/freebsd/lib/libcasper/services/cap_sysctl/
H A Dcap_sysctl.345 .Fn cap_sysctl_limit_name "cap_sysctl_limit_t *limit" "const char *name" "int flags"
47 .Fn cap_sysctl_limit_mib "cap_sysctl_limit_t *limit" "const int *mibp" "u_int miblen" "int flags"
49 .Fn cap_sysctl_limit "cap_sysctl_limit_t *limit"
88 returns an opaque limit handle used to store a list of permitted sysctls
103 to the limit list, and
107 to the limit list.
119 It consumes the limit handle.
127 will succeed so long as the named sysctl variable is present in the limit set,
129 When a sysctl variable name is added to a limit set, its MIB identifier is
142 void *limit;
[all …]
/freebsd/sys/contrib/ck/include/
H A Dck_bitmap.h310 * Returns true if the first limit bits in bitmap are cleared. If
311 * limit is greater than the bitmap size, limit is truncated to that
315 ck_bitmap_empty(const ck_bitmap_t *bitmap, unsigned int limit) in ck_bitmap_empty() argument
319 if (limit > bitmap->n_bits) in ck_bitmap_empty()
320 limit = bitmap->n_bits; in ck_bitmap_empty()
322 words = limit / CK_BITMAP_BLOCK; in ck_bitmap_empty()
323 slop = limit % CK_BITMAP_BLOCK; in ck_bitmap_empty()
342 * Returns true if the first limit bits in bitmap are set. If limit
343 * is greater than the bitmap size, limit is truncated to that size.
346 ck_bitmap_full(const ck_bitmap_t *bitmap, unsigned int limit) in ck_bitmap_full() argument
[all …]
/freebsd/contrib/ldns/
H A Dparse.c25 ldns_fget_token(FILE *f, char *token, const char *delim, size_t limit) in ldns_fget_token() argument
27 return ldns_fget_token_l(f, token, delim, limit, NULL); in ldns_fget_token()
35 ldns_fget_token_l_st_file_type(FILE *f, char **token, size_t *limit, in ldns_fget_token_l_st_file_type() argument
54 if (!token || !limit) in ldns_fget_token_l_st_file_type()
58 if (*token == NULL || *limit == 0) in ldns_fget_token_l_st_file_type()
62 *limit = LDNS_MAX_LINELEN; in ldns_fget_token_l_st_file_type()
63 if (!(*token = LDNS_XMALLOC(char, *limit + 1))) in ldns_fget_token_l_st_file_type()
66 } else if (*limit == 0) in ldns_fget_token_l_st_file_type()
143 if (*limit > 0 in ldns_fget_token_l_st_file_type()
144 && (i >= *limit || (size_t)(t - *token) >= *limit)) { in ldns_fget_token_l_st_file_type()
[all …]
/freebsd/contrib/tcsh/nls/C/
H A Dset242 40 CPU time limit exceeded
60 58 Cputime limit exceeded
61 59 Filesize limit exceeded
92 90 Stack limit exceeded
98 96 exceeded memory size limit
99 97 exceeded data size limit
100 98 exceeded memory size limit of 32KB
106 104 exeeded XMU size limit
107 105 exeeded RLG0 limit
108 106 exeeded RLG1 limit
[all …]
/freebsd/contrib/tcsh/nls/russian/
H A Dset242 40 CPU time limit exceeded
60 58 Cputime limit exceeded
61 59 Filesize limit exceeded
92 90 Stack limit exceeded
98 96 exceeded memory size limit
99 97 exceeded data size limit
100 98 exceeded memory size limit of 32KB
106 104 exeeded XMU size limit
107 105 exeeded RLG0 limit
108 106 exeeded RLG1 limit
[all …]
/freebsd/contrib/unbound/util/
H A Dtcp_conn_limit.h2 * daemon/tcp_conn_limit.h - client TCP connection limit storage for the server.
39 * This file keeps track of the limit on the number of TCP connections
51 * TCP connection limit storage structure
65 * An address span with connection limit information
72 /** connection limit on this netblock */
73 uint32_t limit; member
79 * Create TCP connection limit structure
85 * Delete TCP connection limit structure.
91 * Process TCP connection limit config.
100 * count was below the limit.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/power/supply/
H A Dgpio-charger.yaml42 charge-current-limit-gpios:
47 charge-current-limit-mapping:
50 current limit.
55 Current limit in uA
58 charge-current-limit-gpios property. Bit 1 second to last
70 - charge-current-limit-gpios
73 charge-current-limit-gpios: [ charge-current-limit-mapping ]
74 charge-current-limit-mapping: [ charge-current-limit-gpios ]
89 charge-current-limit-gpios = <&gpioA 11 GPIO_ACTIVE_HIGH>,
91 charge-current-limit-mapping = <2500000 0x00>, // 2.5 A => both GPIOs low
/freebsd/contrib/bc/scripts/
H A Dsqrt_int_guess.bc43 # This is the lower limit.
53 # Limit between 2.4 and 3.
54 limit = 2.7 << (l$ * 2)
55 #print "limit: ", limit, "\n"
57 if (i >= limit)
68 # Limit between 3.8-ish and 4.8
69 limit = 4.3 << (l$ * 2 - 1)
70 #print "limit: ", limit, "\
[all...]
/freebsd/contrib/tcsh/nls/ukrainian/
H A Dset260 58 Cputime limit exceeded
61 59 Filesize limit exceeded
92 90 Stack limit exceeded
98 96 exceeded memory size limit
99 97 exceeded data size limit
100 98 exceeded memory size limit of 32KB
106 104 exeeded XMU size limit
107 105 exeeded RLG0 limit
108 106 exeeded RLG1 limit
109 107 exeeded RLG2 limit
[all …]

12345678910>>...109