Searched refs:shift_cnt (Results 1 – 1 of 1) sorted by relevance
1218 uint8_t shift_cnt; in _bytes_to_blocks() local1222 shift_cnt = spdk_u32log2(block_size); in _bytes_to_blocks()1223 *offset_blocks = offset_bytes >> shift_cnt; in _bytes_to_blocks()1224 *num_blocks = num_bytes >> shift_cnt; in _bytes_to_blocks()1225 return (offset_bytes - (*offset_blocks << shift_cnt)) | in _bytes_to_blocks()1226 (num_bytes - (*num_blocks << shift_cnt)); in _bytes_to_blocks()