Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/lib/libresolv2/common/isc/
H A Dmemcluster.c109 static size_t max_size; variable
144 max_size = DEF_MAX_SIZE; in meminit()
146 max_size = init_max_size; in meminit()
155 freelists = malloc(max_size * sizeof (memcluster_element *)); in meminit()
156 stats = malloc((max_size+1) * sizeof (struct stats)); in meminit()
162 max_size * sizeof (memcluster_element *)); in meminit()
163 memset(stats, 0, (max_size + 1) * sizeof (struct stats)); in meminit()
165 activelists = malloc((max_size + 1) * sizeof (memcluster_element *)); in meminit()
171 (max_size + 1) * sizeof (memcluster_element *)); in meminit()
211 if (size >= max_size || new_size >= max_size) { in __memget_record()
[all …]
H A Dlogging.c391 if (chan->out.file.max_size != ULONG_MAX) { in log_vwrite()
397 chan->out.file.max_size) { in log_vwrite()
599 unsigned long max_size) { in log_new_file_channel() argument
634 chan->out.file.max_size = max_size; in log_new_file_channel()
H A Dlogging_p.h26 unsigned long max_size; member
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dannounce.c192 int i, j, max_size; in print_mesg() local
207 max_size = 0; in print_mesg()
215 max_size = max(max_size, sizes[i]); in print_mesg()
223 max_size = max(max_size, sizes[i]); in print_mesg()
252 max_size = max(max_size, sizes[i]); in print_mesg()
259 max_size = max(max_size, sizes[i]); in print_mesg()
265 max_size = max(max_size, sizes[i]); in print_mesg()
280 for (j = sizes[i]; j < max_size; j++) { in print_mesg()
/titanic_41/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
2830 max_size = (HERMON_QP_WQE_MLX_SND_HDRS + (num_sgl << 4)); in hermon_qp_sgl_to_logwqesz()
2831 log2 = highbit(max_size); in hermon_qp_sgl_to_logwqesz()
2832 if (ISP2(max_size)) { in hermon_qp_sgl_to_logwqesz()
2850 max_size = (HERMON_QP_WQE_MLX_SND_HDRS + (num_sgl << 4)); 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()
2867 max_size = (HERMON_QP_WQE_MLX_RCV_HDRS + (num_sgl << 4)); 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()
[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()
/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cfg.c642 uint_t max_size, log2; in tavor_cfg_wqe_sizes() local
659 max_size = (TAVOR_QP_WQE_MLX_QP1_HDRS + (max_sgl << 4)); in tavor_cfg_wqe_sizes()
660 log2 = highbit(max_size); in tavor_cfg_wqe_sizes()
661 if (ISP2(max_size)) { in tavor_cfg_wqe_sizes()
664 max_size = (1 << log2); in tavor_cfg_wqe_sizes()
669 max_size = min(max_size, TAVOR_QP_WQE_MAX_SIZE); in tavor_cfg_wqe_sizes()
676 real_max_sgl = (max_size - TAVOR_QP_WQE_MLX_QP1_HDRS) >> 4; in tavor_cfg_wqe_sizes()
H A Dtavor_qp.c1981 uint_t max_size, log2, actual_sgl; in tavor_qp_sgl_to_logwqesz() local
1992 max_size = (TAVOR_QP_WQE_MLX_SND_HDRS + (num_sgl << 4)); in tavor_qp_sgl_to_logwqesz()
1993 log2 = highbit(max_size); in tavor_qp_sgl_to_logwqesz()
1994 if (ISP2(max_size)) { in tavor_qp_sgl_to_logwqesz()
2009 max_size = (TAVOR_QP_WQE_MLX_RCV_HDRS + (num_sgl << 4)); in tavor_qp_sgl_to_logwqesz()
2010 log2 = highbit(max_size); in tavor_qp_sgl_to_logwqesz()
2011 if (ISP2(max_size)) { in tavor_qp_sgl_to_logwqesz()
2029 max_size = (TAVOR_QP_WQE_MLX_QP0_HDRS + (num_sgl << 4)); in tavor_qp_sgl_to_logwqesz()
2030 log2 = highbit(max_size); in tavor_qp_sgl_to_logwqesz()
2031 if (ISP2(max_size)) { in tavor_qp_sgl_to_logwqesz()
[all …]
H A Dtavor_srq.c1090 uint_t max_size, log2, actual_sgl; in tavor_srq_sgl_to_logwqesz() local
1101 max_size = (TAVOR_QP_WQE_MLX_RCV_HDRS + (num_sgl << 4)); in tavor_srq_sgl_to_logwqesz()
1102 log2 = highbit(max_size); in tavor_srq_sgl_to_logwqesz()
1103 if (ISP2(max_size)) { in tavor_srq_sgl_to_logwqesz()
/titanic_41/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()
/titanic_41/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()
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Dscosmb.c666 int max_size; in scosmb_process_input() local
675 max_size = MAX(cap_size, sizeof (plat_dimm_sid_board_data_t)); in scosmb_process_input()
680 msg.length = max_size; in scosmb_process_input()
682 msg.data = kmem_zalloc(max_size, KM_SLEEP); in scosmb_process_input()
832 kmem_free(msg.data, max_size); in scosmb_process_input()
/titanic_41/usr/src/uts/common/nfs/
H A Dnfs4_drc.h41 uint32_t max_size; member
/titanic_41/usr/src/uts/common/io/e1000g/
H A De1000g_rx.c454 uint32_t max_size; in e1000g_receive() local
486 max_size = Adapter->max_frame_size - ETHERFCSL - VLAN_TAGSZ; in e1000g_receive()
791 max_size = Adapter->max_frame_size - ETHERFCSL; in e1000g_receive()
793 if ((rx_data->rx_mblk_len > max_size) || in e1000g_receive()
/titanic_41/usr/src/cmd/ipf/tools/
H A Dlex_var.h7 #define YY_INPUT(buf, result, max_size) \ argument
/titanic_41/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()
/titanic_41/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()
/titanic_41/usr/src/cmd/sort/common/
H A Dmerge.c259 pqueue_init(size_t max_size, in pqueue_init() argument
262 pq_queue = safe_realloc(NULL, sizeof (stream_t *) * (max_size + 1)); in pqueue_init()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_dispatch.c73 drc->max_size = drc_size; in rfs4_init_drc()
176 if (drc->in_use < drc->max_size) { in rfs4_alloc_dr()
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd_names.c1636 md_make_devname(struct nm_name *n, set_t setno, char *string, size_t max_size) in md_make_devname() argument
1650 if ((dir_len + n->n_namlen) > max_size) in md_make_devname()
2477 size_t max_size /* size of char array */ in md_getdevname() argument
2481 max_size, MD_WAIT_LOCK)); in md_getdevname()
2499 size_t max_size, /* size of char array */ in md_getdevname_common() argument
2540 err = md_make_devname(n, setno, devname, max_size); in md_getdevname_common()
2754 uint_t max_size, /* size of char array */ in md_getnment() argument
2791 if (!drv_name || (strlen(drv_name) > max_size)) { in md_getnment()
3449 size_t max_size in md_getdevidminor() argument
3485 if (n->min_namlen > max_size) { in md_getdevidminor()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c1018 uint64_t max_size = metaslab_block_maxsize(msp); in metaslab_df_alloc() local
1024 if (max_size < size) in metaslab_df_alloc()
1031 if (max_size < metaslab_df_alloc_threshold || in metaslab_df_alloc()
1111 uint64_t max_size = metaslab_block_maxsize(msp); in metaslab_ndf_alloc() local
1116 if (max_size < size) in metaslab_ndf_alloc()
1127 rsearch.rs_end = MIN(max_size, in metaslab_ndf_alloc()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h59 typedef int vdev_open_func_t(vdev_t *vd, uint64_t *size, uint64_t *max_size,
/titanic_41/usr/src/lib/libumem/common/
H A Dumem.c3100 size_t size, max_size; in umem_cache_init() local
3139 max_size = UMEM_BUFCTL_AUDIT_MAX_SIZE; in umem_cache_init()
3141 if (size > max_size) { /* too large -- truncate */ in umem_cache_init()
3144 ASSERT(UMEM_BUFCTL_AUDIT_SIZE_DEPTH(max_frames) <= max_size); in umem_cache_init()
/titanic_41/usr/src/uts/common/io/usb/usba/
H A Dusba_ugen.c2117 uint16_t max_size; in ugen_epx_open_pipe() local
2120 max_size = in ugen_epx_open_pipe()
2130 if (max_size <= 1024) { in ugen_epx_open_pipe()
2137 max_size * 8; in ugen_epx_open_pipe()
2145 framecnt * max_size * 8; in ugen_epx_open_pipe()

12