Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dmemcluster.c104 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 Dlogging.c387 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 Dlogging_p.h26 unsigned long max_size; member
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dannounce.c189 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 Dcheck_stack.c29 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 Dsmatch_mem_tracker.c28 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 Dhermon_cfg.c422 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 Dhermon_qp.c2821 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 Dhermon_srq.c967 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 Dtavor_cfg.c626 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 Dtavor_qp.c1826 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 Dtavor_srq.c1016 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 Dhma_fpu.c224 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 Ddriver_wifi.c351 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 Dmemlist.c167 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 Dnfs4_drc.h44 uint32_t max_size; member
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_init_ops.c239 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 De1000g_rx.c455 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 Dlex_var.h7 #define YY_INPUT(buf, result, max_size) \ argument
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_vf.c462 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 Drc_file.c337 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 Dmerge.c257 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 Dixgbe_vf.h140 s32 ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size);
H A Dixgbe_vf.c681 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 Dnfs4_dispatch.c71 drc->max_size = drc_size; in rfs4_init_drc()
174 if (drc->in_use < drc->max_size) { in rfs4_alloc_dr()

12