/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | memcluster.c | 104 static size_t max_size; variable 139 max_size = DEF_MAX_SIZE; in meminit() 141 max_size = init_max_size; in meminit() 206 if (size >= max_size || new_size >= max_size) { in __memget_record() 208 stats[max_size].gets++; in __memget_record() 209 stats[max_size].totalgets++; in __memget_record() 223 activelists[max_size] = e; in __memget_record() 400 if (size == max_size || new_size >= max_size) in __memput_record() 410 if (size == max_size || new_size >= max_size) in __memput_record() 419 if (size == max_size || new_size >= max_size) { in __memput_record() [all …]
|
H A D | logging.c | 387 if (chan->out.file.max_size != ULONG_MAX) { in log_vwrite() 393 chan->out.file.max_size) { in log_vwrite() 595 unsigned long max_size) { in log_new_file_channel() argument 630 chan->out.file.max_size = max_size; in log_new_file_channel()
|
H A D | logging_p.h | 26 unsigned long max_size; member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
H A D | announce.c | 189 int i, j, max_size; in print_mesg() local 204 max_size = 0; in print_mesg() 212 max_size = max(max_size, sizes[i]); in print_mesg() 220 max_size = max(max_size, sizes[i]); in print_mesg() 249 max_size = max(max_size, sizes[i]); in print_mesg() 256 max_size = max(max_size, sizes[i]); in print_mesg() 262 max_size = max(max_size, sizes[i]); in print_mesg() 277 for (j = sizes[i]; j < max_size; j++) { in print_mesg()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_stack.c | 29 static int max_size; variable 51 if (total_size > max_size) { in match_declarations() 52 max_size = total_size; in match_declarations() 67 if ((max_size >= MAX_ALLOWED) && !complained) { in match_end_func() 69 sm_printf("warn: function puts %d bytes on stack\n", max_size); in match_end_func() 73 max_size = 0; in match_end_func()
|
H A D | smatch_mem_tracker.c | 28 static unsigned long max_size; variable 75 if (size > max_size) in match_end_func() 76 max_size = size; in match_end_func() 82 return max_size; in get_max_memory()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_cfg.c | 422 uint_t max_size, log2; in hermon_cfg_wqe_sizes() local 439 max_size = (HERMON_QP_WQE_MLX_QP1_HDRS + (max_sgl << 4)); in hermon_cfg_wqe_sizes() 440 log2 = highbit(max_size); in hermon_cfg_wqe_sizes() 441 if (ISP2(max_size)) { in hermon_cfg_wqe_sizes() 444 max_size = (1 << log2); in hermon_cfg_wqe_sizes() 446 max_size = min(max_size, state->hs_devlim.max_desc_sz_sq); in hermon_cfg_wqe_sizes() 453 real_max_sgl = (max_size - HERMON_QP_WQE_MLX_QP1_HDRS) >> 4; in hermon_cfg_wqe_sizes()
|
H A D | hermon_qp.c | 2821 uint_t max_size, log2, actual_sgl; in hermon_qp_sgl_to_logwqesz() local 2831 log2 = highbit(max_size); in hermon_qp_sgl_to_logwqesz() 2832 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz() 2851 log2 = highbit(max_size); in hermon_qp_sgl_to_logwqesz() 2852 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz() 2868 log2 = highbit(max_size); in hermon_qp_sgl_to_logwqesz() 2869 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz() 2888 log2 = highbit(max_size); in hermon_qp_sgl_to_logwqesz() 2889 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz() 2910 log2 = highbit(max_size); in hermon_qp_sgl_to_logwqesz() [all …]
|
H A D | hermon_srq.c | 967 uint_t max_size, log2, actual_sgl; in hermon_srq_sgl_to_logwqesz() local 976 max_size = (HERMON_QP_WQE_MLX_SRQ_HDRS + (num_sgl << 4)); in hermon_srq_sgl_to_logwqesz() 977 log2 = highbit(max_size); in hermon_srq_sgl_to_logwqesz() 978 if (ISP2(max_size)) { in hermon_srq_sgl_to_logwqesz()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_cfg.c | 626 uint_t max_size, log2; in tavor_cfg_wqe_sizes() local 643 max_size = (TAVOR_QP_WQE_MLX_QP1_HDRS + (max_sgl << 4)); in tavor_cfg_wqe_sizes() 644 log2 = highbit(max_size); in tavor_cfg_wqe_sizes() 645 if (ISP2(max_size)) { in tavor_cfg_wqe_sizes() 648 max_size = (1 << log2); in tavor_cfg_wqe_sizes() 653 max_size = min(max_size, TAVOR_QP_WQE_MAX_SIZE); in tavor_cfg_wqe_sizes() 660 real_max_sgl = (max_size - TAVOR_QP_WQE_MLX_QP1_HDRS) >> 4; in tavor_cfg_wqe_sizes()
|
H A D | tavor_qp.c | 1826 uint_t max_size, log2, actual_sgl; in tavor_qp_sgl_to_logwqesz() local 1835 max_size = (TAVOR_QP_WQE_MLX_SND_HDRS + (num_sgl << 4)); in tavor_qp_sgl_to_logwqesz() 1836 log2 = highbit(max_size); in tavor_qp_sgl_to_logwqesz() 1837 if (ISP2(max_size)) { in tavor_qp_sgl_to_logwqesz() 1852 max_size = (TAVOR_QP_WQE_MLX_RCV_HDRS + (num_sgl << 4)); in tavor_qp_sgl_to_logwqesz() 1853 log2 = highbit(max_size); in tavor_qp_sgl_to_logwqesz() 1854 if (ISP2(max_size)) { in tavor_qp_sgl_to_logwqesz() 1873 log2 = highbit(max_size); in tavor_qp_sgl_to_logwqesz() 1874 if (ISP2(max_size)) { in tavor_qp_sgl_to_logwqesz() 1895 log2 = highbit(max_size); in tavor_qp_sgl_to_logwqesz() [all …]
|
H A D | tavor_srq.c | 1016 uint_t max_size, log2, actual_sgl; in tavor_srq_sgl_to_logwqesz() local 1025 max_size = (TAVOR_QP_WQE_MLX_RCV_HDRS + (num_sgl << 4)); in tavor_srq_sgl_to_logwqesz() 1026 log2 = highbit(max_size); in tavor_srq_sgl_to_logwqesz() 1027 if (ISP2(max_size)) { in tavor_srq_sgl_to_logwqesz()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | hma_fpu.c | 224 uint_t max_size = MIN_XSAVE_SIZE; in hma_fpu_describe_xsave_state() local 253 max_size = MAX(max_size, off + size); in hma_fpu_describe_xsave_state() 265 *req_sizep = max_size; in hma_fpu_describe_xsave_state()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | driver_wifi.c | 351 dladm_wlan_ess_t *results, uint32_t max_size) in wpa_driver_wifi_get_scan_results() argument 356 "wpa_driver_wifi_get_scan_results", max_size); in wpa_driver_wifi_get_scan_results() 358 if (dladm_wlan_wpa_get_sr(handle, linkid, results, max_size, &ret) in wpa_driver_wifi_get_scan_results()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | memlist.c | 167 uint64_t max_size = 0; in get_max_phys_size() local 170 if (physavail->ml_size > max_size) in get_max_phys_size() 171 max_size = physavail->ml_size; in get_max_phys_size() 174 return (max_size); in get_max_phys_size()
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfs4_drc.h | 44 uint32_t max_size; member
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_init_ops.c | 239 u32 offset, output_len, input_len, max_size; local 258 max_size = MAX_ZIPPED_SIZE * 4; 259 OSAL_MEMSET(p_hwfn->unzip_buf, 0, max_size); 263 max_size, (u8 *)p_hwfn->unzip_buf);
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_rx.c | 455 uint32_t max_size; in e1000g_receive() local 487 max_size = Adapter->max_frame_size - ETHERFCSL - VLAN_TAGSZ; in e1000g_receive() 782 max_size = Adapter->max_frame_size - ETHERFCSL; in e1000g_receive() 784 if ((rx_data->rx_mblk_len > max_size) || in e1000g_receive()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | lex_var.h | 7 #define YY_INPUT(buf, result, max_size) \ argument
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_vf.c | 462 void e1000_rlpml_set_vf(struct e1000_hw *hw, u16 max_size) in e1000_rlpml_set_vf() argument 467 msgbuf[1] = max_size; in e1000_rlpml_set_vf()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_file.c | 337 long max_size; in krb5_rc_file_recover_locked() local 346 max_size = krb5_rc_io_size(context, &t->d); in krb5_rc_file_recover_locked() 369 retval = krb5_rc_io_fetch (context, t, rep, (int) max_size); in krb5_rc_file_recover_locked()
|
/illumos-gate/usr/src/cmd/sort/ |
H A D | merge.c | 257 pqueue_init(size_t max_size, in pqueue_init() argument 260 pq_queue = safe_realloc(NULL, sizeof (stream_t *) * (max_size + 1)); in pqueue_init()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_vf.h | 140 s32 ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size);
|
H A D | ixgbe_vf.c | 681 s32 ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size) in ixgbevf_rlpml_set_vf() argument 687 msgbuf[1] = max_size; in ixgbevf_rlpml_set_vf()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_dispatch.c | 71 drc->max_size = drc_size; in rfs4_init_drc() 174 if (drc->in_use < drc->max_size) { in rfs4_alloc_dr()
|