Lines Matching defs:shift
3101 int shift;
3104 * Work out how far we have to shift the block count down to make it fit.
3105 * Note that it's possible to have to shift so far that the resulting
3112 for (shift = 0; shift < 32; shift++) {
3113 if ((sp->f_blocks >> shift) <= LONG_MAX)
3115 if ((sp->f_bsize << (shift + 1)) > LONG_MAX)
3119 sfs.f_blocks = (long)__SHIFT_OR_CLIP(sp->f_blocks, shift);
3120 sfs.f_bfree = (long)__SHIFT_OR_CLIP(sp->f_bfree, shift);
3121 sfs.f_bavail = (long)__SHIFT_OR_CLIP(sp->f_bavail, shift);
3123 sfs.f_bsize = (long)(sp->f_bsize << shift);