Lines Matching defs:ma_offs
544 int ma_offs, bus_size_t buflen, int flags)
564 paddr = VM_PAGE_TO_PHYS(ma[page_index]) + ma_offs;
565 sg_len = PAGE_SIZE - ma_offs;
576 if (((ma_offs + sg_len) & ~PAGE_MASK) != 0)
578 ma_offs = (ma_offs + sg_len) & PAGE_MASK;
782 struct vm_page **ma, bus_size_t buflen, int ma_offs, int flags,
795 error = bus_dmamap_load_ma_triv(dmat, map, ma, buflen, ma_offs,
807 _bus_dmamap_count_ma(dmat, map, ma, ma_offs, buflen, flags);
820 paddr = VM_PAGE_TO_PHYS(ma[page_index]) + ma_offs;
822 sgsize = PAGE_SIZE - ma_offs;
834 if ((ma_offs + sgsize) > PAGE_SIZE)
851 if (((ma_offs + sgsize) & ~PAGE_MASK) != 0)
853 ma_offs = (ma_offs + sgsize) & PAGE_MASK;