Searched refs:lock_offset (Results 1 – 2 of 2) sorted by relevance
318 uint16_t lock_offset; in rw_t2t_handle_lock_read_rsp() local335 lock_offset = in rw_t2t_handle_lock_read_rsp()341 base_lock_offset = lock_offset; in rw_t2t_handle_lock_read_rsp()344 offset = (uint8_t)(lock_offset - (p_t2t->block_read * T2T_BLOCK_SIZE)); in rw_t2t_handle_lock_read_rsp()349 } else if (lock_offset > base_lock_offset) { in rw_t2t_handle_lock_read_rsp()351 if ((lock_offset - base_lock_offset + offset) < T2T_READ_DATA_LEN) { in rw_t2t_handle_lock_read_rsp()354 p_data[lock_offset - base_lock_offset + offset]; in rw_t2t_handle_lock_read_rsp()359 block = (uint16_t)(lock_offset / T2T_BLOCK_LEN); in rw_t2t_handle_lock_read_rsp()373 rw_t2t_read((uint16_t)(lock_offset / T2T_BLOCK_LEN))) { in rw_t2t_handle_lock_read_rsp()
187 uint16_t lock_offset = 0; in rw_t1t_extract_lock_bytes() local220 lock_offset = (offset % T1T_SEGMENT_SIZE); in rw_t1t_extract_lock_bytes()222 lock_offset = (offset % T1T_BLOCK_SIZE); in rw_t1t_extract_lock_bytes()224 lock_offset = offset; in rw_t1t_extract_lock_bytes()227 p_t1t->lockbyte[num_locks].lock_byte = p_data[lock_offset]; in rw_t1t_extract_lock_bytes()