Lines Matching refs:NDBOOT_BSIZE
114 ((((ssize_t) (obj_block_count) - (ssize_t) ((block_number) - (obj_block_first))) * NDBOOT_BSIZE) - (ssize_t) (byte_offset))
665 boot1_block_count = (boot1_byte_count + (NDBOOT_BSIZE - 1)) / NDBOOT_BSIZE;
705 boot2_block_count = (boot2_byte_count + (NDBOOT_BSIZE - 1)) / NDBOOT_BSIZE;
793 * such that the byte offset is always < NDBOOT_BSIZE: */
794 block_number += (byte_offset / NDBOOT_BSIZE);
795 byte_offset = byte_offset % NDBOOT_BSIZE;
820 file_offset = ((block_number - NDBOOTD_BOOT1_BLOCK_FIRST) * NDBOOT_BSIZE) + byte_offset;
832 * multiple of NDBOOT_BSIZE: */
868 file_offset = ((block_number - NDBOOTD_BOOT2_BLOCK_FIRST) * NDBOOT_BSIZE) + byte_offset;
880 * multiple of NDBOOT_BSIZE: */