Lines Matching defs:base
627 void *base;
630 base = buf->data_pages[0];
633 base = topa_to_page(buf->cur)->table;
637 reg = virt_to_phys(base);
675 TOPA_ENTRY(&tp->topa, 1)->base = page_to_phys(p) >> TOPA_SHIFT;
719 TOPA_ENTRY(last, -1)->base = topa_pfn(topa);
769 TOPA_ENTRY(topa, -1)->base = page_to_phys(p) >> TOPA_SHIFT;
802 (unsigned long)tp->table[i].base << TOPA_SHIFT,
848 u64 topa_idx, base, old;
856 base = buf->cur->offset + buf->output_off;
860 base += TOPA_ENTRY_SIZE(buf->cur, topa_idx);
863 local_set(&buf->data_size, base);
865 old = (local64_xchg(&buf->head, base) &
867 if (base < old)
868 base += buf->nr_pages << PAGE_SHIFT;
870 local_add(base - old, &buf->data_size);
880 return phys_to_virt(TOPA_ENTRY(buf->cur, buf->cur_idx)->base << TOPA_SHIFT);
1235 TOPA_ENTRY(buf->last, -1)->base = topa_pfn(buf->first);