Lines Matching defs:shift
6902 int shift;
6905 * Work out how far we have to shift the block count down to make it fit.
6906 * Note that it's possible to have to shift so far that the resulting
6913 for (shift = 0; shift < 32; shift++) {
6914 if ((sfsp->f_blocks >> shift) <= LONG_MAX)
6916 if ((sfsp->f_bsize << (shift + 1)) > LONG_MAX)
6920 sfs.f_blocks = (long)__SHIFT_OR_CLIP(sfsp->f_blocks, shift);
6921 sfs.f_bfree = (long)__SHIFT_OR_CLIP(sfsp->f_bfree, shift);
6922 sfs.f_bavail = (long)__SHIFT_OR_CLIP(sfsp->f_bavail, shift);
6924 sfs.f_bsize = (long)(sfsp->f_bsize << shift);