/freebsd/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()
|
/freebsd/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 …]
|
/freebsd/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/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/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/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/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/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/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/sys/contrib/dev/athk/ath11k/ |
H A D | hal.c | 23 .max_size = HAL_REO_REO2SW1_RING_BASE_MSB_RING_SIZE, 35 .max_size = HAL_REO_REO2TCL_RING_BASE_MSB_RING_SIZE, 43 .max_size = HAL_REO_SW2REO_RING_BASE_MSB_RING_SIZE, 52 .max_size = HAL_REO_CMD_RING_BASE_MSB_RING_SIZE, 61 .max_size = HAL_REO_STATUS_RING_BASE_MSB_RING_SIZE, 70 .max_size = HAL_SW2TCL1_RING_BASE_MSB_RING_SIZE, 79 .max_size = HAL_SW2TCL1_CMD_RING_BASE_MSB_RING_SIZE, 88 .max_size = HAL_TCL_STATUS_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, [all …]
|
/freebsd/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/tools/tools/crypto/ |
H A D | cryptorun.sh | 21 max_size=$3 25 while [ "$size" -le "$max_size" ]; do
|
/freebsd/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/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/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 {
|
/freebsd/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 …]
|
/freebsd/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/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/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() 1305 uint32_t max_size; in udf_readatoffset() local 1315 error = udf_bmap_internal(node, offset, §or, &max_size); in udf_readatoffset() 1336 if (*size == 0 || *size > max_size) in udf_readatoffset() 1337 *size = max_size; in udf_readatoffset() 1368 uint32_t *max_size) in udf_bmap_internal() argument 1419 *max_size = icblen - offset; in udf_bmap_internal() [all …]
|
/freebsd/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/sys/contrib/openzfs/lib/libzpool/ |
H A D | zfs_debug.c | 44 zfs_dbgmsg_purge(uint_t max_size) in zfs_dbgmsg_purge() argument 46 while (zfs_dbgmsg_size > max_size) { in zfs_dbgmsg_purge()
|
/freebsd/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/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()
|
/freebsd/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/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()
|