Lines Matching defs:shift
9346 int shift;
9349 * Work out how far we have to shift the block count down to make it fit.
9350 * Note that it's possible to have to shift so far that the resulting
9357 for (shift = 0; shift < 32; shift++) {
9358 if ((sfsp->f_blocks >> shift) <= INT_MAX)
9360 if ((sfsp->f_bsize << (shift + 1)) > INT_MAX)
9364 sfs.f_blocks = (user32_long_t)__SHIFT_OR_CLIP(sfsp->f_blocks, shift);
9365 sfs.f_bfree = (user32_long_t)__SHIFT_OR_CLIP(sfsp->f_bfree, shift);
9366 sfs.f_bavail = (user32_long_t)__SHIFT_OR_CLIP(sfsp->f_bavail, shift);
9368 sfs.f_bsize = (user32_long_t)(sfsp->f_bsize << shift);