Lines Matching defs:sum
231 keeps a count of the number of blocks searched so far (sum),
233 across it. Adds sum to *count before returning (this is so
250 befs_blocknr_t sum;
262 for (i = 0, sum = 0; i < BEFS_NUM_DIRECT_BLOCKS;
263 sum += array[i].len, i++) {
264 if (blockno >= sum && blockno < sum + (array[i].len)) {
265 int offset = blockno - sum;
286 befs_blocknr_t sum = 0;
317 if (search_blk >= sum && search_blk < sum + len) {
318 int offset = search_blk - sum;
333 sum += len;