| /src/libexec/talkd/ |
| H A D | announce.c | 96 int i, j, max_size; in print_mesg() local 99 max_size = 0; in print_mesg() 105 max_size = max(max_size, sizes[i]); in print_mesg() 113 max_size = max(max_size, sizes[i]); in print_mesg() 121 max_size = max(max_size, sizes[i]); in print_mesg() 126 max_size = max(max_size, sizes[i]); in print_mesg() 130 max_size = max(max_size, sizes[i]); in print_mesg() 142 for (j = sizes[i]; j < max_size + 2; j++) in print_mesg()
|
| /src/crypto/openssh/ |
| H A D | sshbuf.c | 35 buf->size, buf->alloc, buf->off, buf->max_size); \ 47 size_t max_size; /* Maximum size of buffer */ member 63 buf->max_size > SSHBUF_SIZE_MAX || in sshbuf_check_sanity() 64 buf->alloc > buf->max_size || in sshbuf_check_sanity() 100 ret->max_size = SSHBUF_SIZE_MAX; in sshbuf_new() 119 ret->alloc = ret->size = ret->max_size = len; in sshbuf_from() 221 return buf->max_size; in sshbuf_max_size() 243 sshbuf_set_max_size(struct sshbuf *buf, size_t max_size) in sshbuf_set_max_size() argument 249 SSHBUF_DBG(("set max buf = %p len = %zu", buf, max_size)); in sshbuf_set_max_size() 252 if (max_size == buf->max_size) in sshbuf_set_max_size() [all …]
|
| /src/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); \
|
| /src/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); \
|
| /src/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()
|
| /src/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()
|
| /src/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()
|
| /src/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()
|
| /src/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()
|
| /src/contrib/jemalloc/src/ |
| H A D | eset.c | 163 eset_fit_alignment(eset_t *eset, size_t min_size, size_t max_size, in eset_fit_alignment() argument 166 pszind_t pind_max = sz_psz2ind(sz_psz_quantize_ceil(max_size)); in eset_fit_alignment() 264 size_t max_size = esize + PAGE_CEILING(alignment) - PAGE; in eset_fit() local 266 if (max_size < esize) { in eset_fit() 270 edata_t *edata = eset_first_fit(eset, max_size, exact_only, lg_max_fit); in eset_fit() 278 edata = eset_fit_alignment(eset, esize, max_size, alignment); in eset_fit()
|
| /src/sys/contrib/dev/athk/ath11k/ |
| H A D | hal.c | 25 .max_size = HAL_REO_REO2SW1_RING_BASE_MSB_RING_SIZE, 37 .max_size = HAL_REO_REO2TCL_RING_BASE_MSB_RING_SIZE, 45 .max_size = HAL_REO_SW2REO_RING_BASE_MSB_RING_SIZE, 54 .max_size = HAL_REO_CMD_RING_BASE_MSB_RING_SIZE, 63 .max_size = HAL_REO_STATUS_RING_BASE_MSB_RING_SIZE, 72 .max_size = HAL_SW2TCL1_RING_BASE_MSB_RING_SIZE, 81 .max_size = HAL_SW2TCL1_CMD_RING_BASE_MSB_RING_SIZE, 90 .max_size = HAL_TCL_STATUS_RING_BASE_MSB_RING_SIZE, 98 .max_size = HAL_CE_SRC_RING_BASE_MSB_RING_SIZE, 106 .max_size = HAL_CE_DST_RING_BASE_MSB_RING_SIZE, [all …]
|
| /src/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 …]
|
| /src/crypto/openssl/crypto/async/ |
| H A D | async.c | 119 if ((pool->max_size != 0) && (pool->curr_size >= pool->max_size)) in async_get_pool_job() 351 int ASYNC_init_thread(size_t max_size, size_t init_size) in ASYNC_init_thread() argument 356 if (init_size > max_size) { in ASYNC_init_thread() 378 pool->max_size = max_size; in ASYNC_init_thread()
|
| /src/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan.h | 23 #define GET_STACK_TRACE(max_size, fast) \ argument 26 max_size);
|
| /src/crypto/krb5/src/util/support/ |
| H A D | ipc_stream.c | 46 uint64_t max_size; member 64 uint64_t old_max_size = io_stream->max_size; in krb5int_ipc_stream_reallocate() 65 new_max_size = io_stream->max_size; in krb5int_ipc_stream_reallocate() 83 if (!err && new_max_size != io_stream->max_size) { in krb5int_ipc_stream_reallocate() 94 io_stream->max_size = new_max_size; in krb5int_ipc_stream_reallocate()
|
| /src/contrib/llvm-project/libcxx/include/__memory/ |
| H A D | allocator.h | 113 if (__n > allocator_traits<allocator>::max_size(*this)) 159 _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI size_type max_size() const _NOEXCEPT { 194 if (__n > allocator_traits<allocator>::max_size(*this)) 237 _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI size_type max_size() const _NOEXCEPT {
|
| /src/sys/contrib/dev/athk/ath12k/ |
| H A D | hal.c | 21 .max_size = HAL_REO_REO2SW1_RING_BASE_MSB_RING_SIZE, 32 .max_size = HAL_REO_REO2SW0_RING_BASE_MSB_RING_SIZE, 40 .max_size = HAL_REO_SW2REO_RING_BASE_MSB_RING_SIZE, 49 .max_size = HAL_REO_CMD_RING_BASE_MSB_RING_SIZE, 58 .max_size = HAL_REO_STATUS_RING_BASE_MSB_RING_SIZE, 66 .max_size = HAL_SW2TCL1_RING_BASE_MSB_RING_SIZE, 74 .max_size = HAL_SW2TCL1_CMD_RING_BASE_MSB_RING_SIZE, 83 .max_size = HAL_TCL_STATUS_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, [all …]
|
| /src/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()
|
| /src/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()
|
| /src/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()
|
| /src/sys/contrib/openzfs/lib/libzpool/ |
| H A D | zfs_debug.c | 45 zfs_dbgmsg_purge(uint_t max_size) in zfs_dbgmsg_purge() argument 47 while (zfs_dbgmsg_size > max_size) { in zfs_dbgmsg_purge()
|
| /src/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()
|
| /src/sys/fs/udf/ |
| H A D | udf_vnops.c | 77 daddr_t *sector, uint32_t *max_size); 1071 uint32_t max_size; in udf_bmap() local 1095 &lsector, &max_size); in udf_bmap() 1109 nblk = (max_size >> node->udfmp->bshift) - 1; in udf_bmap() 1329 uint32_t max_size; in udf_readatoffset() local 1339 error = udf_bmap_internal(node, offset, §or, &max_size); in udf_readatoffset() 1360 if (*size == 0 || *size > max_size) in udf_readatoffset() 1361 *size = max_size; in udf_readatoffset() 1392 uint32_t *max_size) in udf_bmap_internal() argument 1443 *max_size = icblen - offset; in udf_bmap_internal() [all …]
|
| /src/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_debug.c | 72 zfs_dbgmsg_purge(uint_t max_size) in zfs_dbgmsg_purge() argument 74 while (zfs_dbgmsg_size > max_size) { in zfs_dbgmsg_purge()
|
| /src/contrib/arm-optimized-routines/string/bench/ |
| H A D | memcpy.c | 128 init_copies (size_t max_size) in init_copies() argument 135 test_arr[i].dst = (rand32 (0) & (max_size - 1)); in init_copies() 137 test_arr[i].src = (rand32 (0) & (max_size - 1)); in init_copies()
|