Lines Matching refs:displacement
47 unsigned long displacement; member
139 buf->buf[nbuf].displacement = (pad ? BTS_RECORD_SIZE - pad : 0); in bts_buffer_setup_aux()
140 buf->buf[nbuf].size = page_size - buf->buf[nbuf].displacement; in bts_buffer_setup_aux()
153 return buf->buf[idx].offset + buf->buf[idx].displacement; in bts_buffer_offset()
169 end = buf->end - phys->offset - phys->displacement; in bts_config_buffer()
171 index -= phys->offset + phys->displacement; in bts_config_buffer()
181 ds->bts_buffer_base = (u64)(long)page_address(page) + phys->displacement; in bts_config_buffer()
337 space = phys->offset + phys->displacement + phys->size - head; in bts_buffer_reset()
349 gap = buf_size(phys->page) - phys->displacement - phys->size + in bts_buffer_reset()
350 next_phys->displacement; in bts_buffer_reset()
367 head = phys->offset + phys->displacement; in bts_buffer_reset()