Lines Matching defs:sum
239 * keeps a count of the number of blocks searched so far (sum),
241 * across it. Adds sum to *count before returning (this is so
256 befs_blocknr_t sum;
260 for (i = 0, sum = 0; i < BEFS_NUM_DIRECT_BLOCKS;
261 sum += array[i].len, i++) {
262 if (blockno >= sum && blockno < sum + (array[i].len)) {
263 int offset = blockno - sum;
311 befs_blocknr_t sum = 0;
342 if (search_blk >= sum && search_blk < sum + len) {
343 int offset = search_blk - sum;
359 sum += len;