/illumos-gate/usr/src/lib/libm/i386/src/ |
H A D | log2.s | 29 .file "log2.s" 32 LIBM_ANSI_PRAGMA_WEAK(log2,function) 34 ENTRY(log2) function 37 fyl2x / st = 1.0*log2(arg) 40 SET_SIZE(log2)
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_iso9660.c | 67 #define log2 grub_log2 macro 73 unsigned short sector_size_lg2 = log2(buf_geom.sector_size);
|
H A D | fsys_fat.c | 65 #define log2 grub_log2 macro 88 FAT_SUPER->sectsize_bits = log2 (FAT_CVT_U16 (bpb.bytes_per_sect)); 90 = FAT_SUPER->sectsize_bits + log2 (bpb.sects_per_clust);
|
H A D | disk_io.c | 155 #define log2 grub_log2 macro 162 int sector_size_bits = log2 (buf_geom.sector_size); 186 sector_size_bits = log2 (buf_geom.sector_size);
|
H A D | fsys_ext2fs.c | 241 #define log2(n) ffz(~(n)) macro 264 #define EXT2_ADDR_PER_BLOCK_BITS(s) (log2(EXT2_ADDR_PER_BLOCK(s))) 588 group_desc = group_id >> log2 (EXT2_DESC_PER_BLOCK (SUPERBLOCK)); 604 >> log2 (EXT2_INODES_PER_BLOCK (SUPERBLOCK)));
|
H A D | fsys_reiserfs.c | 377 #define log2 grub_log2 macro 613 INFO->fullblocksize_shift = log2 (super.s_blocksize);
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | log2.c | 30 #pragma weak __log2 = log2 34 * log2(x) = log(x)/log2 47 * (i) modify a1 <- a1 / log2 48 * (ii) 1/log2 = 1.4426950408889634... 50 * Let lv = 1.5 - 1/log2, then 53 * (iv) Thus, log2(x) = f*1.5 - (lv*f - PPoly) 58 * log2(x) = log2(Y[j]) + log2( 152 log2(double x) { function [all...] |
/illumos-gate/usr/src/head/ |
H A D | tgmath.h | 124 #undef log2 macro 125 #define log2(x) __tgmath_log2(x) macro
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_cfg.c | 422 uint_t max_size, log2; local 440 log2 = highbit(max_size); 442 log2 = log2 - 1; 444 max_size = (1 << log2);
|
H A D | hermon_srq.c | 967 uint_t max_size, log2, actual_sgl; local 977 log2 = highbit(max_size); 979 log2 = log2 - 1; 983 log2 = max(log2, HERMON_QP_WQE_LOG_MINIMUM); 986 actual_sgl = ((1 << log2) - HERMON_QP_WQE_MLX_SRQ_HDRS) >> 4; 995 *logwqesz = log2;
|
H A D | hermon_qp.c | 1223 hermon_qp_alloc_range(hermon_state_t *state, uint_t log2, argument 1265 if (log2 > state->hs_ibtfinfo.hca_attr->hca_rss_max_log2_table) 1270 if (log2 > state->hs_ibtfinfo.hca_attr->hca_fexch_max_log2_qp) 1337 * Allocate 2^log2 contiguous/aligned QP context entries. This will 1345 status = hermon_rsrc_alloc(state, rsrc_type, 1 << log2, sleepflag, 1372 qp_range_p->hqpr_refcnt = 1 << log2; 1793 if (++ii < (1 << log2)) 2821 uint_t max_size, log2, actual_sgl; local 2831 log2 = highbit(max_size); 2833 log2 [all...] |
H A D | hermon_rsrc.c | 2662 uint_t num_qp_per_mcg, max_qp_per_mcg, log2; local 2669 log2 = highbit(num_qp_per_mcg); 2671 log2 = log2 - 1; 2673 state->hs_cfg_profile->cp_num_qp_per_mcg = (1 << log2) - 8; 2683 *mcg_size_shift = log2 + 2;
|
H A D | hermon_ci.c | 723 hermon_ci_alloc_qp_range(ibc_hca_hdl_t hca, uint_t log2, argument 744 status = hermon_qp_alloc_range(state, log2, &qpinfo, ibtl_qp,
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_cfg.c | 642 uint_t max_size, log2; local 660 log2 = highbit(max_size); 662 log2 = log2 - 1; 664 max_size = (1 << log2);
|
H A D | tavor_srq.c | 1090 uint_t max_size, log2, actual_sgl; local 1102 log2 = highbit(max_size); 1104 log2 = log2 - 1; 1108 log2 = max(log2, TAVOR_QP_WQE_LOG_MINIMUM); 1111 actual_sgl = ((1 << log2) - TAVOR_QP_WQE_MLX_RCV_HDRS) >> 4; 1122 *logwqesz = log2;
|
H A D | tavor_qp.c | 1981 uint_t max_size, log2, actual_sgl; local 1993 log2 = highbit(max_size); 1995 log2 = log2 - 1; 1999 log2 = max(log2, TAVOR_QP_WQE_LOG_MINIMUM); 2002 actual_sgl = ((1 << log2) - TAVOR_QP_WQE_MLX_SND_HDRS) >> 4; 2010 log2 = highbit(max_size); 2012 log2 = log2 [all...] |
H A D | tavor_rsrc.c | 2879 uint_t num_qp_per_mcg, max_qp_per_mcg, log2; local 2888 log2 = highbit(num_qp_per_mcg); 2890 log2 = log2 - 1; 2892 state->ts_cfg_profile->cp_num_qp_per_mcg = (1 << log2) - 8; 2905 *mcg_size_shift = log2 + 2;
|
H A D | tavor_ci.c | 925 tavor_ci_alloc_qp_range(ibc_hca_hdl_t hca, uint_t log2, argument
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_chan.c | 578 * log2 Log (base 2) of the number of QPs to allocate. 596 ibt_alloc_ud_channel_range(ibt_hca_hdl_t hca_hdl, uint_t log2, argument 608 int i, n = 1 << log2; 644 if (log2 > 650 ibc_send_cq = kmem_alloc(sizeof (ibc_cq_hdl_t) << log2, KM_SLEEP); 651 ibc_recv_cq = kmem_alloc(sizeof (ibc_cq_hdl_t) << log2, KM_SLEEP); 652 ibc_qp_hdl_p = kmem_alloc(sizeof (ibc_qp_hdl_t) << log2, KM_SLEEP); 654 for (i = 0; i < 1 << log2; i++) { 684 IBTL_HCA2CIHCA(hca_hdl), log2, (ibtl_qp_hdl_t *)ud_chan_p, 743 kmem_free(ibc_send_cq, sizeof (ibc_cq_hdl_t) << log2); [all...] |
/illumos-gate/usr/src/cmd/dc/ |
H A D | dc.c | 372 logo = log2(l); 1183 log10 = log2(10L); 2097 log2(long n) function
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_fflp.c | 3051 * Read FCRAM lookup error log2 bits 3055 p_hash_lookup_err_log2_t log2) 3058 &log2->value); 3054 npi_fflp_fcram_error_log2_get(npi_handle_t handle, p_hash_lookup_err_log2_t log2) argument
|
/illumos-gate/usr/src/common/dis/i386/ |
H A D | dis_tables.c | 5413 log2(int size) function 5474 /* d86_addr_size is SIZEnn, which is log2(real size) */ 5480 mask = masks[log2(op->d86_value_size)];
|
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_hw.c | 3060 unsigned int log2 = fls(mtu); local 3062 if (!(mtu & ((1 << log2) >> 2))) /* round */ 3063 log2--; 3065 V_MTUWIDTH(log2) | V_MTUVALUE(mtu)); 4933 info >>= 16; /* log2 of size */
|