/titanic_50/usr/src/lib/libresolv2/common/isc/ |
H A D | memcluster.c | 109 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 D | logging.c | 391 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 D | logging_p.h | 26 unsigned long max_size; member
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
H A D | announce.c | 192 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_50/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 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 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()
|
/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_cfg.c | 642 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 D | tavor_qp.c | 1981 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 D | tavor_srq.c | 1090 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_50/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()
|
/titanic_50/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()
|
/titanic_50/usr/src/uts/sun4u/starcat/io/ |
H A D | scosmb.c | 666 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_50/usr/src/uts/common/nfs/ |
H A D | nfs4_drc.h | 41 uint32_t max_size; member
|
/titanic_50/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() 792 max_size = Adapter->max_frame_size - ETHERFCSL; in e1000g_receive() 794 if ((rx_data->rx_mblk_len > max_size) || in e1000g_receive()
|
/titanic_50/usr/src/cmd/ipf/tools/ |
H A D | lex_var.h | 7 #define YY_INPUT(buf, result, max_size) \ argument
|
/titanic_50/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()
|
/titanic_50/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()
|
/titanic_50/usr/src/cmd/sort/common/ |
H A D | merge.c | 259 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_50/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_vf.h | 136 void ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size);
|
H A D | ixgbe_vf.c | 625 void ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size) in ixgbevf_rlpml_set_vf() argument 630 msgbuf[1] = max_size; in ixgbevf_rlpml_set_vf()
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_dispatch.c | 73 drc->max_size = drc_size; in rfs4_init_drc() 176 if (drc->in_use < drc->max_size) { in rfs4_alloc_dr()
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | metaslab.c | 1019 uint64_t max_size = metaslab_block_maxsize(msp); in metaslab_df_alloc() local 1025 if (max_size < size) in metaslab_df_alloc() 1032 if (max_size < metaslab_df_alloc_threshold || in metaslab_df_alloc() 1112 uint64_t max_size = metaslab_block_maxsize(msp); in metaslab_ndf_alloc() local 1117 if (max_size < size) in metaslab_ndf_alloc() 1128 rsearch.rs_end = MIN(max_size, in metaslab_ndf_alloc()
|
/titanic_50/usr/src/uts/common/fs/zfs/sys/ |
H A D | vdev_impl.h | 59 typedef int vdev_open_func_t(vdev_t *vd, uint64_t *size, uint64_t *max_size,
|
/titanic_50/usr/src/lib/libumem/common/ |
H A D | umem.c | 3100 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()
|