Go to the source code of this file.
Defines | |
| #define | ROUND_UP(X, STEP) (((X) + (STEP) - 1) / (STEP) * (STEP)) |
| #define | DIV_ROUND_UP(X, STEP) (((X) + (STEP) - 1) / (STEP)) |
| #define | ROUND_DOWN(X, STEP) ((X) / (STEP) * (STEP)) |
| #define DIV_ROUND_UP | ( | X, | |||
| STEP | ) | (((X) + (STEP) - 1) / (STEP)) |
Definition at line 11 of file round.h.
Referenced by bytes_to_sectors(), elem_cnt(), init_pool(), malloc(), msc_attached(), and test_mlfqs_recent_1().
| #define ROUND_DOWN | ( | X, | |||
| STEP | ) | ((X) / (STEP) * (STEP)) |
| #define ROUND_UP | ( | X, | |||
| STEP | ) | (((X) + (STEP) - 1) / (STEP) * (STEP)) |
Definition at line 7 of file round.h.
Referenced by get_boundary_area(), load(), pci_setup_io(), and vga_putc().
1.5.6