Searched refs:datablks (Results 1 – 8 of 8) sorted by relevance
52 off_t datablks = size / 512 + (size % 512 != 0); in st_blocks() local55 if (datablks > NDIR) in st_blocks()57 indrblks = (datablks - NDIR - 1) / NINDIR + 1; in st_blocks()59 if (datablks > NDIR + NINDIR) in st_blocks()61 indrblks += (datablks - NDIR - NINDIR - 1) / (NINDIR * NINDIR) + 1; in st_blocks()63 if (datablks > NDIR + NINDIR + NINDIR * NINDIR) in st_blocks()68 return datablks + indrblks; in st_blocks()
791 int datablks = (data_len+copied_length)/blksize; in Read() local792 if (datablks <= 0) return 0; in Read()793 if (datablks > blklen) datablks = blklen; in Read()794 int rest_len = datablks * blksize - copied_length; in Read()800 return datablks; in Read()