Lines Matching refs:displacement
56 unsigned long displacement; member
121 buf->buf[nbuf].displacement = (pad ? BTS_RECORD_SIZE - pad : 0); in bts_buffer_setup_aux()
122 buf->buf[nbuf].size = buf_size(page) - buf->buf[nbuf].displacement; in bts_buffer_setup_aux()
140 return buf->buf[idx].offset + buf->buf[idx].displacement; in bts_buffer_offset()
156 end = buf->end - phys->offset - phys->displacement; in bts_config_buffer()
158 index -= phys->offset + phys->displacement; in bts_config_buffer()
168 ds->bts_buffer_base = (u64)(long)page_address(page) + phys->displacement; in bts_config_buffer()
382 space = phys->offset + phys->displacement + phys->size - head; in bts_buffer_reset()
394 gap = buf_size(phys->page) - phys->displacement - phys->size + in bts_buffer_reset()
395 next_phys->displacement; in bts_buffer_reset()
412 head = phys->offset + phys->displacement; in bts_buffer_reset()