| /freebsd-14.2/crypto/openssh/ |
| H A D | sshbuf.c | 63 buf->alloc > buf->max_size || in sshbuf_check_sanity() 99 ret->max_size = SSHBUF_SIZE_MAX; in sshbuf_new() 221 return buf->max_size; in sshbuf_max_size() 252 if (max_size == buf->max_size) in sshbuf_set_max_size() 260 if (max_size < buf->alloc && max_size > buf->size) { in sshbuf_set_max_size() 265 if (rlen > max_size) in sshbuf_set_max_size() 266 rlen = max_size; in sshbuf_set_max_size() 274 if (max_size < buf->alloc) in sshbuf_set_max_size() 276 buf->max_size = max_size; in sshbuf_set_max_size() 323 if (len > buf->max_size || buf->max_size - len < buf->size - buf->off) in sshbuf_check_reserve() [all …]
|
| /freebsd-14.2/libexec/talkd/ |
| H A D | announce.c | 102 int i, j, max_size; in print_mesg() local 105 max_size = 0; in print_mesg() 111 max_size = max(max_size, sizes[i]); in print_mesg() 119 max_size = max(max_size, sizes[i]); in print_mesg() 127 max_size = max(max_size, sizes[i]); in print_mesg() 132 max_size = max(max_size, sizes[i]); in print_mesg() 136 max_size = max(max_size, sizes[i]); in print_mesg() 148 for (j = sizes[i]; j < max_size + 2; j++) in print_mesg()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_stack.h | 35 #define GET_STACK_TRACE(max_size, fast) \ argument 37 if (max_size <= 2) { \ 38 stack.size = max_size; \ 39 if (max_size > 0) { \ 42 if (max_size > 1) \ 47 fast, max_size); \
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_stack.h | 35 #define GET_STACK_TRACE(max_size, fast) \ argument 37 if (max_size <= 2) { \ 38 stack.size = max_size; \ 39 if (max_size > 0) { \ 42 if (max_size > 1) \ 47 fast, max_size); \
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_rl.c | 48 for (i = 0; i < table->max_size; i++) { in find_rl_entry() 120 table->max_size); in mlx5_rl_add_rate() 197 table->max_size = 0; in mlx5_init_rl_table() 202 table->max_size = MLX5_CAP_QOS(dev, packet_pacing_rate_table_size) - 1; in mlx5_init_rl_table() 206 table->rl_entry = kcalloc(table->max_size, sizeof(struct mlx5_rl_entry), in mlx5_init_rl_table() 214 for (i = 0; i < table->max_size; i++) in mlx5_init_rl_table() 226 for (i = 0; i < table->max_size; i++) in mlx5_cleanup_rl_table()
|
| /freebsd-14.2/contrib/ofed/opensm/complib/ |
| H A D | cl_pool.c | 68 IN const size_t min_size, IN const size_t max_size, in cl_qcpool_init() argument 96 if (max_size && max_size < min_size) in cl_qcpool_init() 134 p_pool->max_objects = max_size ? max_size : ~(size_t) 0; in cl_qcpool_init() 424 IN const size_t min_size, IN const size_t max_size, in cl_qpool_init() argument 439 status = cl_qcpool_init(&p_pool->qcpool, min_size, max_size, grow_size, in cl_qpool_init() 521 IN const size_t min_size, IN const size_t max_size, in cl_cpool_init() argument 543 status = cl_qcpool_init(&p_pool->qcpool, min_size, max_size, grow_size, in cl_cpool_init() 627 IN const size_t max_size, IN const size_t grow_size, in cl_pool_init() argument 650 status = cl_qcpool_init(&p_pool->qcpool, min_size, max_size, grow_size, in cl_pool_init()
|
| /freebsd-14.2/contrib/ofed/opensm/opensm/ |
| H A D | osm_log.c | 169 if (p_log->max_size && p_log->count > p_log->max_size) { in osm_log() 173 p_log->max_size); in osm_log() 211 if (errno == ENOSPC && p_log->max_size) { in osm_log() 283 if (p_log->max_size && p_log->count > p_log->max_size) { in osm_log_v2() 287 p_log->max_size); in osm_log_v2() 327 if (errno == ENOSPC && p_log->max_size) { in osm_log_v2() 468 IN unsigned long max_size, in osm_log_init_v2() argument 474 p_log->max_size = max_size << 20; /* convert size in MB to bytes */ in osm_log_init_v2()
|
| /freebsd-14.2/crypto/heimdal/lib/krb5/ |
| H A D | test_crypto_wrapping.c | 40 size_t max_size, in test_wrapping() argument 60 buf = malloc(max_size); in test_wrapping() 63 memset(buf, 0, max_size); in test_wrapping() 69 for (size = min_size; size < max_size; size += step) { in test_wrapping()
|
| /freebsd-14.2/crypto/heimdal/lib/hx509/ |
| H A D | sel-lex.l | 126 lex_input(char *buf, int max_size) in lex_input() argument 131 if (max_size < n) in lex_input() 132 n = max_size; in lex_input()
|
| /freebsd-14.2/sys/contrib/dev/athk/ath11k/ |
| H A D | hal.c | 52 .max_size = HAL_REO_CMD_RING_BASE_MSB_RING_SIZE, 70 .max_size = HAL_SW2TCL1_RING_BASE_MSB_RING_SIZE, 96 .max_size = HAL_CE_SRC_RING_BASE_MSB_RING_SIZE, 104 .max_size = HAL_CE_DST_RING_BASE_MSB_RING_SIZE, 144 .max_size = HAL_RXDMA_RING_MAX_SIZE, 152 .max_size = HAL_RXDMA_RING_MAX_SIZE, 160 .max_size = HAL_RXDMA_RING_MAX_SIZE, 168 .max_size = HAL_RXDMA_RING_MAX_SIZE, 176 .max_size = HAL_RXDMA_RING_MAX_SIZE, 184 .max_size = HAL_RXDMA_RING_MAX_SIZE, [all …]
|
| /freebsd-14.2/tools/tools/crypto/ |
| H A D | cryptorun.sh | 21 max_size=$3 25 while [ "$size" -le "$max_size" ]; do
|
| /freebsd-14.2/crypto/openssl/crypto/async/ |
| H A D | async.c | 122 if ((pool->max_size != 0) && (pool->curr_size >= pool->max_size)) in async_get_pool_job() 352 int ASYNC_init_thread(size_t max_size, size_t init_size) in ASYNC_init_thread() argument 357 if (init_size > max_size) { in ASYNC_init_thread() 381 pool->max_size = max_size; in ASYNC_init_thread()
|
| /freebsd-14.2/crypto/heimdal/appl/ftp/ftpd/ |
| H A D | ls.c | 323 int max_size, in print_file() argument 350 sec_fprintf2(out, "%*s", max_size, f->size); in print_file() 572 int max_size = 0; in list_files() local 593 if(fi[i].size != NULL && strlen(fi[i].size) > max_size) in list_files() 594 max_size = strlen(fi[i].size); in list_files() 598 if(max_size < max_major + max_minor + 2) in list_files() 599 max_size = max_major + max_minor + 2; in list_files() 600 else if(max_size - max_minor - 2 > max_major) in list_files() 601 max_major = max_size - max_minor - 2; in list_files() 618 max_size, in list_files() [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan.h | 23 #define GET_STACK_TRACE(max_size, fast) \ argument 26 max_size);
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__memory/ |
| H A D | allocator.h | 120 if (__n > allocator_traits<allocator>::max_size(*this)) 167 _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI size_type max_size() const _NOEXCEPT { 200 if (__n > allocator_traits<allocator>::max_size(*this)) 244 _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI size_type max_size() const _NOEXCEPT {
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Utility/ |
| H A D | DataBufferHeap.cpp | 19 if (n < m_data.max_size()) in DataBufferHeap() 48 if (new_size < m_data.max_size()) in SetByteSize()
|
| /freebsd-14.2/sys/contrib/dev/athk/ath12k/ |
| H A D | hal.c | 49 .max_size = HAL_REO_CMD_RING_BASE_MSB_RING_SIZE, 66 .max_size = HAL_SW2TCL1_RING_BASE_MSB_RING_SIZE, 91 .max_size = HAL_CE_SRC_RING_BASE_MSB_RING_SIZE, 99 .max_size = HAL_CE_DST_RING_BASE_MSB_RING_SIZE, 139 .max_size = HAL_RXDMA_RING_MAX_SIZE_BE, 147 .max_size = HAL_RXDMA_RING_MAX_SIZE_BE, 155 .max_size = HAL_RXDMA_RING_MAX_SIZE_BE, 165 .max_size = HAL_RXDMA_RING_MAX_SIZE_BE, 189 .max_size = HAL_RXDMA_RING_MAX_SIZE_BE, 197 .max_size = HAL_RXDMA_RING_MAX_SIZE_BE, [all …]
|
| /freebsd-14.2/sys/dev/sfxge/common/ |
| H A D | efx_bootcfg.c | 87 size_t max_size; in efx_bootcfg_sector_info() local 94 max_size = BOOTCFG_MAX_SIZE; in efx_bootcfg_sector_info() 102 max_size = BOOTCFG_MAX_SIZE; in efx_bootcfg_sector_info() 111 max_size = BOOTCFG_PER_PF; in efx_bootcfg_sector_info() 117 offset = max_size * pf; in efx_bootcfg_sector_info() 125 max_size = BOOTCFG_PER_PF; in efx_bootcfg_sector_info() 131 offset = max_size * pf; in efx_bootcfg_sector_info() 141 EFSYS_ASSERT3U(max_size, <=, BOOTCFG_MAX_SIZE); in efx_bootcfg_sector_info() 146 *max_sizep = max_size; in efx_bootcfg_sector_info()
|
| /freebsd-14.2/sys/fs/udf/ |
| H A D | udf_vnops.c | 76 daddr_t *sector, uint32_t *max_size); 1052 uint32_t max_size; in udf_bmap() local 1076 &lsector, &max_size); in udf_bmap() 1090 nblk = (max_size >> node->udfmp->bshift) - 1; in udf_bmap() 1303 uint32_t max_size; in udf_readatoffset() local 1334 if (*size == 0 || *size > max_size) in udf_readatoffset() 1335 *size = max_size; in udf_readatoffset() 1366 uint32_t *max_size) in udf_bmap_internal() argument 1417 *max_size = icblen - offset; in udf_bmap_internal() 1442 *max_size = icblen - offset; in udf_bmap_internal() [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_report.cpp | 118 void NORETURN ReportAllocationSizeTooBig(uptr user_size, uptr max_size, in ReportAllocationSizeTooBig() argument 123 "supported size of 0x%zx\n", SanitizerToolName, user_size, max_size); in ReportAllocationSizeTooBig()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/DataFormatters/ |
| H A D | StringPrinter.cpp | 426 const auto max_size = target_sp->GetMaximumSizeOfStringSummary(); in ReadEncodedBufferAndDumpToStream() local 437 sourceSize = max_size; in ReadEncodedBufferAndDumpToStream() 442 if (sourceSize > max_size) { in ReadEncodedBufferAndDumpToStream() 443 sourceSize = max_size; in ReadEncodedBufferAndDumpToStream() 448 sourceSize = max_size; in ReadEncodedBufferAndDumpToStream()
|
| /freebsd-14.2/contrib/libedit/ |
| H A D | history.c | 776 size_t max_size; in history_load() local 796 ptr = h_malloc((max_size = 1024) * sizeof(*ptr)); in history_load() 802 if (max_size < (size_t)sz) { in history_load() 804 max_size = ((size_t)sz + 1024) & (size_t)~1023; in history_load() 805 nptr = h_realloc(ptr, max_size * sizeof(*ptr)); in history_load() 838 size_t len, max_size; in history_save_fp() local 849 ptr = h_malloc((max_size = 1024) * sizeof(*ptr)); in history_save_fp() 865 if (len > max_size) { in history_save_fp() 867 max_size = (len + 1024) & (size_t)~1023; in history_save_fp() 868 nptr = h_realloc(ptr, max_size * sizeof(*ptr)); in history_save_fp()
|
| /freebsd-14.2/sys/dev/drm2/ttm/ |
| H A D | ttm_page_alloc.c | 85 unsigned max_size; member 229 m->options.max_size = val; 254 val = m->options.max_size; 711 if (pool->npages > _manager->options.max_size) { in ttm_put_pages() 712 npages = pool->npages - _manager->options.max_size; in ttm_put_pages() 818 _manager->options.max_size = max_pages; in ttm_page_alloc_init()
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_fpga/ |
| H A D | mlx5fpga_sdk.c | 133 size_t max_size = MLX5_FPGA_ACCESS_REG_SIZE_MAX; in mlx5_fpga_mem_read_i2c() local 145 actual_size = min(max_size, (size - bytes_done)); in mlx5_fpga_mem_read_i2c() 165 size_t max_size = MLX5_FPGA_ACCESS_REG_SIZE_MAX; in mlx5_fpga_mem_write_i2c() local 177 actual_size = min(max_size, (size - bytes_done)); in mlx5_fpga_mem_write_i2c()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_debug.c | 71 zfs_dbgmsg_purge(uint_t max_size) in zfs_dbgmsg_purge() argument 73 while (zfs_dbgmsg_size > max_size) { in zfs_dbgmsg_purge()
|