/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.trace/ |
H A D | limits.exp | 44 # 1) Meet and exceed artificial limit on number of tracepoints 45 # 2) Meet and exceed artificial limit on number of memranges 46 # 3) Meet and exceed artificial limit on bytes of bytecode data 48 # 4) Meet and exceed artificial limit on bytes of trace buffer storage 66 "tracepoint limit test: set first tracepoint" 70 "tracepoint limit test: set second tracepoint" 74 "tracepoint limit test: set third tracepoint" 76 # Set secret artificial tracepoint limit to four 79 "tracepoint limit test: set limit to four" 85 pass "tracepoint limit test: send fewer than limit" [all …]
|
/openbsd-src/usr.sbin/sensorsd/ |
H A D | sensorsd.c | 46 SENSORSD_S_ABOVE, /* status is above the higher limit */ 47 SENSORSD_S_BELOW /* status is below the lower limit */ 55 int64_t lower; /* lower limit */ 56 int64_t upper; /* upper limit */ 62 enum sensorsd_s_status ustatus; /* last user-limit status */ 66 u_int8_t flags; /* sensorsd limit flags */ 67 #define SENSORSD_L_USERLIMIT 0x0001 /* user specified limit */ 220 struct limits_t *limit; in create_sdlim() local 245 if ((limit = calloc(1, sizeof(struct limits_t))) == in create_sdlim() 248 limit->type = type; in create_sdlim() [all …]
|
/openbsd-src/gnu/usr.bin/binutils-2.17/gprof/ |
H A D | corefile.c | 465 symtab.limit = symtab.base; in core_create_function_syms() 501 sym_init (symtab.limit); in core_create_function_syms() 505 symtab.limit->addr = core_syms[i]->value; in core_create_function_syms() 507 symtab.limit->addr += bfd_get_section_vma (sym_sec->owner, sym_sec); in core_create_function_syms() 512 symtab.limit->name = symbol_map[found].file_name; in core_create_function_syms() 513 symtab.limit->mapped = 1; in core_create_function_syms() 517 symtab.limit->name = core_syms[i]->name; in core_create_function_syms() 518 symtab.limit->mapped = 0; in core_create_function_syms() 525 if (get_src_info (symtab.limit->addr, &filename, &func_name, in core_create_function_syms() 526 &symtab.limit->line_num)) in core_create_function_syms() [all …]
|
/openbsd-src/gnu/usr.bin/binutils/gprof/ |
H A D | corefile.c | 455 symtab.limit = symtab.base; 491 sym_init (symtab.limit); 495 symtab.limit->addr = core_syms[i]->value; 497 symtab.limit->addr += bfd_get_section_vma (sym_sec->owner, sym_sec); 502 symtab.limit->name = symbol_map[found].file_name; 503 symtab.limit->mapped = 1; 507 symtab.limit->name = core_syms[i]->name; 508 symtab.limit->mapped = 0; 515 if (get_src_info (symtab.limit->addr, &filename, &func_name, 516 &symtab.limit->line_num)) [all …]
|
/openbsd-src/gnu/llvm/libcxx/utils/ci/ |
H A D | buildkite-pipeline.yml | 48 limit: 2 67 limit: 2 83 limit: 2 107 limit: 2 125 limit: 2 142 limit: 2 160 limit: 2 178 limit: 2 201 limit: 2 219 limit: 2 [all …]
|
/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.hp/gdb.base-hp/ |
H A D | so-thresh.exp | 69 # guess) interprets the auto-solib-limit variable as a threshhold, 92 # On HP-UX, the help text for auto-solib-limit mentions that it 95 send_gdb "help set auto-solib-limit\n" 101 {pass "help set auto-solib-limit"} 103 {fail "help set auto-solib-limit"} 104 timeout {fail "(timeout) help set auto-solib-limit"} 110 send_gdb "show auto-solib-limit\n" 113 {pass "show auto-solib-limit "} 115 {fail "show auto-solib-limit "} 116 timeout {fail "(timeout) show auto-solib-limit "} [all …]
|
/openbsd-src/usr.sbin/unbound/util/ |
H A D | tcp_conn_limit.h | 2 * 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 …]
|
/openbsd-src/sbin/unwind/libunbound/util/ |
H A D | tcp_conn_limit.h | 2 * 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 …]
|
/openbsd-src/lib/libc/sys/ |
H A D | getrlimit.2 | 93 A resource limit is specified as a soft limit and a hard limit. 94 When a soft limit is exceeded a process may receive a signal (for example, 96 continue execution until it reaches the hard limit (or modifies 97 its resource limit). 103 rlim_t rlim_cur; /* current (soft) limit */ 104 rlim_t rlim_max; /* hard limit */ 118 value for a limit is defined as 131 if the value for the current or maximum resource limit cannot be stored in an 145 .Ic limit 157 call fails if the data space limit is reached. [all …]
|
/openbsd-src/regress/sys/net/pf_trans/ |
H A D | Makefile | 3 PROGS+= dev-limit 4 PROGS+= iocmd-limit 8 REGRESS_ROOT_TARGETS= run-regress-dev-limit \ 9 run-regress-iocmd-limit 42 run-regress-dev-limit: 43 ${SUDO} ./dev-limit -c 2048 -s 1023 -t ${TIMEOUT} 53 run-regress-iocmd-limit: 54 ${SUDO} ./iocmd-limit -c DIOCGETRULES -i 513 55 ${SUDO} ./iocmd-limit -c DIOCXEND -i 1024
|
/openbsd-src/gnu/llvm/llvm/docs/ |
H A D | OptBisect.rst | 2 Using -opt-bisect-limit to debug optimization errors 11 The -opt-bisect-limit option provides a way to disable all optimization passes 12 above a specified limit without modifying the way in which the Pass Managers 19 check the opt-bisect limit before performing optimizations. Passes which 25 The -opt-bisect-limit option can be used with any tool, including front ends 39 The -opt-bisect-limit command line option can be passed directly to tools such 44 <tool name> [other options] -opt-bisect-limit=<limit> 50 opt-bisect-limit. All optimizations with a higher index value will be skipped. 52 In order to use the -opt-bisect-limit option with a driver that provides a 60 clang -O2 -mllvm -opt-bisect-limit=256 my_file.c [all …]
|
/openbsd-src/share/man/man9/ |
H A D | lim_cur.9 | 27 .Nd Resource limit interface 38 .Fn "lim_free" "struct plimit *limit" 42 .Fn "lim_read_leave" "struct plimit *limit" 44 The resource limit interface provides read access to the resource limits 48 returns the value of limit 69 but returns the value of limit 75 begins read access to the current process' resource limit structure. 78 finishes read access to the resource limit structure. 96 .Fa limit . 116 return the value of the given resource limit.
|
/openbsd-src/sys/dev/pci/drm/i915/display/ |
H A D | intel_dpll.c | 372 const struct intel_limit *limit, in intel_pll_is_valid() argument 375 if (clock->n < limit->n.min || limit->n.max < clock->n) in intel_pll_is_valid() 377 if (clock->p1 < limit->p1.min || limit->p1.max < clock->p1) in intel_pll_is_valid() 379 if (clock->m2 < limit->m2.min || limit->m2.max < clock->m2) in intel_pll_is_valid() 381 if (clock->m1 < limit->m1.min || limit->m1.max < clock->m1) in intel_pll_is_valid() 389 if (clock->p < limit->p.min || limit->p.max < clock->p) in intel_pll_is_valid() 391 if (clock->m < limit->m.min || limit->m.max < clock->m) in intel_pll_is_valid() 395 if (clock->vco < limit->vco.min || limit->vco.max < clock->vco) in intel_pll_is_valid() 400 if (clock->dot < limit->dot.min || limit->dot.max < clock->dot) in intel_pll_is_valid() 407 i9xx_select_p2_div(const struct intel_limit *limit, in i9xx_select_p2_div() argument [all …]
|
/openbsd-src/sys/kern/ |
H A D | kern_resource.c | 75 * Serializes resource limit updates. 248 struct plimit *limit; in dosetrlimit() 265 /* Get exclusive write access to the limit structure. */ in dosetrlimit() 266 limit = lim_write_begin(); in dosetrlimit() 267 alimp = &limit->pl_rlimit[which]; in dosetrlimit() 299 * "rlim_cur" bytes accessible. If stack limit is going in dosetrlimit() 340 lim_write_commit(limit); in dosetrlimit() 353 struct plimit *limit; in sys_getrlimit() 359 limit = lim_read_enter(); in sys_getrlimit() 360 alimp = limit in sys_getrlimit() 249 struct plimit *limit; dosetrlimit() local 354 struct plimit *limit; sys_getrlimit() local 659 struct plimit *limit; lim_fork() local 681 struct plimit *limit; lim_write_begin() local 707 lim_write_commit(struct plimit * limit) lim_write_commit() argument 733 struct plimit *limit; lim_read_enter() local [all...] |
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g77.f-torture/compile/ |
H A D | 980310-4.f | 19 subroutine dqage(f,a,b,epsabs,epsrel,limit,result,abserr, argument 57 c lower limit of integration 60 c upper limit of integration 80 c limit - integer 82 c in the partition of (a,b), limit.ge.1. 107 c of limit. 136 c vector of dimension at least limit, the first 142 c vector of dimension at least limit, the first 148 c vector of dimension at least limit, the first 153 c vector of dimension at least limit, the first [all …]
|
/openbsd-src/usr.sbin/npppd/common/ |
H A D | bytebuf.c | 73 /** current limit */ 74 int limit; member 105 _this->limit = _this->capacity; in bytebuffer_create() 149 _this->limit = 0; in bytebuffer_unwrap() 166 BYTEBUF_ASSERT(_this->limit <= capacity); in bytebuffer_realloc() 168 if (_this->limit > capacity) { in bytebuffer_realloc() 177 if (_this->limit == _this->capacity) in bytebuffer_realloc() 178 _this->limit = capacity; in bytebuffer_realloc() 185 * Compact this buffer. the bytes between position and limit are copied 204 _this->limit = _this->capacity; in bytebuffer_compact() [all …]
|
/openbsd-src/sys/dev/pci/ |
H A D | amas.c | 43 * - base/limit registers (on 0x0f, 0x10, 0x11) 44 * - extended base/limit registers (on 0x10) 49 * base/limit registers use bits [31..16] to indicate address [39..24] 50 * extended base/limit registers use bits [7..0] to indicate address [47..40] 51 * base/limit addresses need to be shifted <<24 for memory address 52 * extended base/limit addresses need to be shifted <<40 for memory address 85 * - limit contains node selection bitmask [10..8] (on 0x0f, 0x10) 86 * - limit contains destination node [2..0] (on 0x0f, 0x10) 88 #define AMAS_DST_NODE(base, limit) ((limit) & 0x07) argument 89 #define AMAS_INTL_ENABLE(base, limit) (((base) >> 8) & 0x07) argument [all …]
|
/openbsd-src/bin/ksh/ |
H A D | c_ulimit.c | 120 /* No limit specified, use file size */ in c_ulimit() 138 struct rlimit limit; in set_ulimit() local 154 bi_errorf("invalid limit: %s", v); in set_ulimit() 160 getrlimit(l->resource, &limit); in set_ulimit() 162 limit.rlim_cur = val; in set_ulimit() 164 limit.rlim_max = val; in set_ulimit() 165 if (setrlimit(l->resource, &limit) == -1) { in set_ulimit() 167 bi_errorf("-%c exceeds allowable limit", l->option); in set_ulimit() 169 bi_errorf("bad -%c limit: %s", l->option, in set_ulimit() 180 struct rlimit limit; in print_ulimit() local [all …]
|
/openbsd-src/games/tetris/ |
H A D | input.c | 57 * Do a `read wait': poll for reading from stdin, with timeout *limit. 58 * On return, subtract the time spent waiting from *limit. 62 * If limit is NULL, wait forever, but return if poll is interrupted. 67 rwait(struct timespec *limit) in rwait() argument 75 if (limit != NULL) in rwait() 78 switch (ppoll(pfd, 1, limit, NULL)) { in rwait() 80 if (limit == NULL) in rwait() 86 timespecclear(limit); in rwait() 89 if (limit != NULL) { in rwait() 90 /* we have input, so subtract the elapsed time from *limit */ in rwait() [all …]
|
/openbsd-src/usr.sbin/dhcpd/ |
H A D | tree.c | 158 tree_limit(struct tree *tree, int limit) in tree_limit() argument 162 /* If the tree we're limiting is constant, limit it now. */ in tree_limit() 164 if (tree->data.const_val.len > limit) in tree_limit() 165 tree->data.const_val.len = limit; in tree_limit() 169 /* Otherwise, put in a node which enforces the limit on evaluation. */ in tree_limit() 172 log_warnx("No memory for data tree limit node."); in tree_limit() 176 rv->data.limit.tree = tree; in tree_limit() 177 rv->data.limit.limit = limit; in tree_limit() 241 int limit; in tree_evaluate_recurse() local 261 limit = *bufix + tree->data.limit.limit; in tree_evaluate_recurse() [all …]
|
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 921113-1.c | 29 gitter(int count, vector_t pos[], list_t list, int *nww, vector_t limit[2], float r) in gitter() 34 f1(limit[0].x, limit[0].y); in gitter() 35 f2(limit[1].x, limit[1].y); in gitter() 52 vector_t limit[2] = {{0.,0.},{1.,1.}}; variable 59 gitter(1, pos, &list, &nww, limit, 1.); in main()
|
/openbsd-src/regress/lib/libpthread/preemption_float/ |
H A D | preemption_float.c | 46 int limit = 2; variable 55 for (i = 0; i < limit; i++) { in log_loop() 79 for (i = 0; i < limit; i++) { in trig_loop() 123 for(limit = 2; limit < 100000; limit *=4) { in main() 130 for(limit = 2; limit < 100000; limit *=4) { in main() 136 /* run both threads concurrently using a higher limit */ in main() 137 limit *= 4; in main()
|
/openbsd-src/sys/dev/pci/drm/amd/pm/legacy-dpm/ |
H A D | amdgpu_kv_smc.c | 78 u32 smc_address, u32 limit) in kv_set_smc_sram_address() argument 82 if ((smc_address + 3) > limit) in kv_set_smc_sram_address() 93 u32 *value, u32 limit) in amdgpu_kv_read_smc_sram_dword() argument 97 ret = kv_set_smc_sram_address(adev, smc_address, limit); in amdgpu_kv_read_smc_sram_dword() 123 const u8 *src, u32 byte_count, u32 limit) in amdgpu_kv_copy_bytes_to_smc() argument 128 if ((smc_start_address + byte_count) > limit) in amdgpu_kv_copy_bytes_to_smc() 138 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc() 164 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc() 177 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc() 192 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc() [all …]
|
/openbsd-src/sys/dev/pci/drm/radeon/ |
H A D | kv_smc.c | 75 u32 smc_address, u32 limit) in kv_set_smc_sram_address() argument 79 if ((smc_address + 3) > limit) in kv_set_smc_sram_address() 89 u32 *value, u32 limit) in kv_read_smc_sram_dword() argument 93 ret = kv_set_smc_sram_address(rdev, smc_address, limit); in kv_read_smc_sram_dword() 119 const u8 *src, u32 byte_count, u32 limit) in kv_copy_bytes_to_smc() argument 124 if ((smc_start_address + byte_count) > limit) in kv_copy_bytes_to_smc() 134 ret = kv_set_smc_sram_address(rdev, addr, limit); in kv_copy_bytes_to_smc() 160 ret = kv_set_smc_sram_address(rdev, addr, limit); in kv_copy_bytes_to_smc() 173 ret = kv_set_smc_sram_address(rdev, addr, limit); in kv_copy_bytes_to_smc() 188 ret = kv_set_smc_sram_address(rdev, addr, limit); in kv_copy_bytes_to_smc() [all …]
|
/openbsd-src/gnu/gcc/fixincludes/ |
H A D | fixtests.c | 73 tCC *base, *limit; in TEST_FOR_FIX_PROC_HEAD() local 81 base = limit) in TEST_FOR_FIX_PROC_HEAD() 86 limit = base; in TEST_FOR_FIX_PROC_HEAD() 89 limit++; in TEST_FOR_FIX_PROC_HEAD() 90 limit = strchr (limit, '\n'); in TEST_FOR_FIX_PROC_HEAD() 91 if (!limit) in TEST_FOR_FIX_PROC_HEAD() 94 while (limit[-1] == '\\'); in TEST_FOR_FIX_PROC_HEAD() 96 /* If the 'name_pat' matches in between base and limit, we have in TEST_FOR_FIX_PROC_HEAD() 109 if (match[0].rm_eo <= limit - base) in TEST_FOR_FIX_PROC_HEAD()
|