Lines Matching defs:blocks
82 * convert DEV_BSIZE blocks to K blocks
93 static void printsize(blkcnt_t blocks, char *path);
101 blkcnt_t blocks = 0;
261 blocks = descend(*np ? np : ".", 0, &retcode,
264 printsize(blocks, base);
276 * descend recursively, adding up the allocated blocks.
287 blkcnt_t blocks = 0;
384 blocks = Aflg ? stb.st_size : stb.st_blocks;
404 blocks += descend(NULL, fd, retcode, device);
415 printsize(blocks, base);
416 return (blocks);
489 blocks += retval;
508 printsize(blocks, base);
526 return (blocks);
530 printsize(blkcnt_t blocks, char *path)
539 nicenum_scale(blocks, bsize, buf, sizeof (buf), 0);
542 (void) printf(FORMAT2, (long long)kb(blocks), path);
544 (void) printf(FORMAT2, (long long)mb(blocks), path);
546 (void) printf(FORMAT2, (long long)blocks, path);