Lines Matching refs:displacement
48 unsigned long displacement; member
115 buf->buf[nbuf].displacement = (pad ? BTS_RECORD_SIZE - pad : 0); in bts_buffer_setup_aux()
116 buf->buf[nbuf].size = buf_size(page) - buf->buf[nbuf].displacement; in bts_buffer_setup_aux()
134 return buf->buf[idx].offset + buf->buf[idx].displacement; in bts_buffer_offset()
150 end = buf->end - phys->offset - phys->displacement; in bts_config_buffer()
152 index -= phys->offset + phys->displacement; in bts_config_buffer()
162 ds->bts_buffer_base = (u64)(long)page_address(page) + phys->displacement; in bts_config_buffer()
376 space = phys->offset + phys->displacement + phys->size - head; in bts_buffer_reset()
388 gap = buf_size(phys->page) - phys->displacement - phys->size + in bts_buffer_reset()
389 next_phys->displacement; in bts_buffer_reset()
406 head = phys->offset + phys->displacement; in bts_buffer_reset()