/src/usr.sbin/ndbootd/ |
ndbootd.c | 113 #define NDBOOTD_BYTES_AVAIL(block_number, byte_offset, obj_block_first, obj_block_count) \ 114 ((((ssize_t) (obj_block_count) - (ssize_t) ((block_number) - (obj_block_first))) * NDBOOT_BSIZE) - (ssize_t) (byte_offset)) 333 size_t byte_offset; local in function:main 788 byte_offset = ntohl(nd_packet->ndboot_packet_current_byte_offset); 794 block_number += (byte_offset / NDBOOT_BSIZE); 795 byte_offset = byte_offset % NDBOOT_BSIZE; 803 byte_count_read = MIN(NDBOOTD_BYTES_AVAIL(block_number, byte_offset, 815 byte_count_wanted = MIN(NDBOOTD_BYTES_AVAIL(block_number, byte_offset, 820 file_offset = ((block_number - NDBOOTD_BOOT1_BLOCK_FIRST) * NDBOOT_BSIZE) + byte_offset; [all...] |
ndbootd.c | 113 #define NDBOOTD_BYTES_AVAIL(block_number, byte_offset, obj_block_first, obj_block_count) \ 114 ((((ssize_t) (obj_block_count) - (ssize_t) ((block_number) - (obj_block_first))) * NDBOOT_BSIZE) - (ssize_t) (byte_offset)) 333 size_t byte_offset; local in function:main 788 byte_offset = ntohl(nd_packet->ndboot_packet_current_byte_offset); 794 block_number += (byte_offset / NDBOOT_BSIZE); 795 byte_offset = byte_offset % NDBOOT_BSIZE; 803 byte_count_read = MIN(NDBOOTD_BYTES_AVAIL(block_number, byte_offset, 815 byte_count_wanted = MIN(NDBOOTD_BYTES_AVAIL(block_number, byte_offset, 820 file_offset = ((block_number - NDBOOTD_BOOT1_BLOCK_FIRST) * NDBOOT_BSIZE) + byte_offset; [all...] |
/src/sys/external/bsd/drm/dist/shared-core/ |
radeon_state.c | 1676 u32 offset, byte_offset; local in function:radeon_cp_dispatch_texture 1861 byte_offset = (image->y & ~2047) * blit_width; 1876 OUT_RING((texpitch << 22) | ((tex->offset >> 10) + (byte_offset >> 10)));
|
radeon_state.c | 1676 u32 offset, byte_offset; local in function:radeon_cp_dispatch_texture 1861 byte_offset = (image->y & ~2047) * blit_width; 1876 OUT_RING((texpitch << 22) | ((tex->offset >> 10) + (byte_offset >> 10)));
|