Searched refs:bias (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dbitops.h64 #define BF32_GET_SB(x, low, len, shift, bias) \
65 ((BF32_GET(x, low, len) + (bias)) << (shift))
66 #define BF64_GET_SB(x, low, len, shift, bias) \
67 ((BF64_GET(x, low, len) + (bias)) << (shift))
75 #define BF32_SET_SB(x, low, len, shift, bias, val) do { \
77 ASSERT3S((val) >> (shift), >=, bias); \
78 BF32_SET(x, low, len, ((val) >> (shift)) - (bias)); \
80 #define BF64_SET_SB(x, low, len, shift, bias, val) do { \
82 ASSERT3S((val) >> (shift), >=, bias); \
83 BF64_SET(x, low, len, ((val) >> (shift)) - (bias)); \
[all...]
/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_entp_setup.c48 * oscillator can be set to 4 different bias setttings. The bias
103 #define ENCODEBIAS(osc, bias) (((bias) & 0x3) << (2 * (osc)))
253 * bias setting. A particular datum goes in table[osc][bias].
258 int bias; local
272 for (bias = 0; bias < N2RNG_NBIASES; bias
[all...]
H A Dn2rng_kstat.c91 "rng%d-cell%d-bias", i, j);
194 rng->n_bias_info[j].bias;
/illumos-gate/usr/src/lib/libzpool/common/
H A Dutil.c65 char *suffix = "", *bias = NULL; local
70 &bias);
75 if (bias != NULL) {
77 " (%s)", bias);
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h49 #define BF32_GET_SB(x, low, len, shift, bias) \
50 ((BF32_GET(x, low, len) + (bias)) << (shift))
51 #define BF64_GET_SB(x, low, len, shift, bias) \
52 ((BF64_GET(x, low, len) + (bias)) << (shift))
54 #define BF32_SET_SB(x, low, len, shift, bias, val) \
55 BF32_SET(x, low, len, ((val) >> (shift)) - (bias))
56 #define BF64_SET_SB(x, low, len, shift, bias, val) \
57 BF64_SET(x, low, len, ((val) >> (shift)) - (bias))
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A Dprof.c111 #define DBL_ADDRPERCELL (((double)bias)/sf)
147 long bias; /* adjusted bias */ variable
148 long temp; /* for bias adjust */
350 /* i(pc) = ((pc - pc_l) * sf)/bias. */
572 * logically equivalent to 1/(sf/bias), and the latter is much
593 * Now adjust bias and sf so that there is no overflow
596 bias = BIAS;
600 bias >>= 1;
607 Fprint(stderr, "sf = %d, s_inv = %d bias
[all...]
/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_rowcol.c222 int abitno, ibitno, bias = 0; local
233 bias = 1;
235 ibitno = rcbm->rcb_colbit[abitno + bias];
253 int abitno, ibitno, bias = 0; local
267 bias = 1;
269 ibitno = rcbm->rcb_colbit[abitno + bias];
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Dsupport.c85 static const short prep1=57, gap=7, bias=129 ; variable
89 static const short prep1=54, gap=4, bias=1023 ; variable
193 return (int)(((*px&mexp)>>gap)-bias);
197 return ( (k>>gap) - bias );
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_gnu.c857 const char bias; member in struct:__anon3120
878 int n, i, num, bias, idx, want_digits; local
909 bias = 0;
921 bias = special_table[i].bias;
944 *lenp = (uint32_t)ltbl[bias + idx];
945 return (tbl[bias + idx]);
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h109 #define BF32_GET_SB(x, low, len, shift, bias) \
110 ((BF32_GET(x, low, len) + (bias)) << (shift))
111 #define BF64_GET_SB(x, low, len, shift, bias) \
112 ((BF64_GET(x, low, len) + (bias)) << (shift))
114 #define BF32_SET_SB(x, low, len, shift, bias, val) \
115 BF32_SET(x, low, len, ((val) >> (shift)) - (bias))
116 #define BF64_SET_SB(x, low, len, shift, bias, val) \
117 BF64_SET(x, low, len, ((val) >> (shift)) - (bias))
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_label.c324 const char *bias = NULL; local
328 bias = VDEV_ALLOC_BIAS_LOG;
331 bias = VDEV_ALLOC_BIAS_SPECIAL;
334 bias = VDEV_ALLOC_BIAS_DEDUP;
341 bias);
H A Dvdev.c198 * Derive the enumerated alloction bias from string input.
202 vdev_derive_alloc_bias(const char *bias) argument
206 if (strcmp(bias, VDEV_ALLOC_BIAS_LOG) == 0)
208 else if (strcmp(bias, VDEV_ALLOC_BIAS_SPECIAL) == 0)
210 else if (strcmp(bias, VDEV_ALLOC_BIAS_DEDUP) == 0)
641 char *bias; local
644 &bias) == 0) {
645 alloc_bias = vdev_derive_alloc_bias(bias);
1140 * metaslab_group_create was delayed until allocation bias was available
2907 * On spa_load path, grab the allocation bias fro
[all...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dn2rng.h200 uint64_t bias; member in struct:__anon10363
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c2049 char *bias = NULL; local
2056 bias = VDEV_ALLOC_CLASS_LOGS;
2059 ZPOOL_CONFIG_ALLOCATION_BIAS, &bias);
2064 if (bias == NULL || strcmp(bias, class) != 0)
3233 char *bias = NULL; local
3239 bias = VDEV_ALLOC_CLASS_LOGS;
3242 ZPOOL_CONFIG_ALLOCATION_BIAS, &bias);
3246 if (bias == NULL || strcmp(bias, class_nam
3872 char *bias = NULL; local
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1156 char *bias; local
1159 ZPOOL_CONFIG_ALLOCATION_BIAS, &bias) == 0 &&
1160 strcmp(bias, VDEV_ALLOC_BIAS_SPECIAL) == 0) {

Completed in 292 milliseconds