Searched refs:NDBOOT_BSIZE (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/usr.sbin/ndbootd/
H A Dndbootd.h131 #define NDBOOT_BSIZE (512) macro
H A Dndbootd.c114 ((((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
[all...]

Completed in 94 milliseconds