Searched refs:gbyte (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses_ses.c172 #define gbyte(x, byte) ((((ulong_t)(x)) & 0xff) << (byte * 8)) macro
178 lval = gbyte((((uchar_t *)(inp))[idx]), 1) | \
182 lval = gbyte((((uchar_t *)(inp))[idx]), 1) | \
186 lval = gbyte((((uchar_t *)(inp))[idx]), 2) | \
187 gbyte((((uchar_t *)(inp))[idx+1]), 1) | \
191 lval = gbyte((((uchar_t *)(inp))[idx]), 2) | \
192 gbyte((((uchar_t *)(inp))[idx+1]), 1) | \
196 lval = gbyte((((uchar_t *)(inp))[idx]), 3) | \
197 gbyte((((uchar_t *)(inp))[idx+1]), 2) | \
198 gbyte((((uchar_
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4v.c707 uint64_t gbyte = kbyte * mbyte; local
708 uint64_t tbyte = kbyte * gbyte;
718 } else if (size >= gbyte) {
719 if (size % gbyte == 0)
721 (int)(size / gbyte));
724 (float)size / gbyte);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Dpicldiag.c728 uint64_t gbyte = 1024 * 1024 * 1024; local
732 if (size >= gbyte) {
733 residue = size % gbyte;
736 (int)(size / gbyte));
739 (float)size / gbyte);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/
H A Dlw8.c723 uint64_t gbyte = 1024 * 1024 * 1024; local
727 if (size >= gbyte) {
728 residue = size % gbyte;
731 (int)(size / gbyte));
734 (float)size / gbyte);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/
H A Dschumacher.c691 uint64_t gbyte = 1024 * 1024 * 1024; local
695 if (size >= gbyte) {
696 residue = size % gbyte;
699 (int)(size / gbyte));
702 (float)size / gbyte);

Completed in 86 milliseconds