Home | History | Annotate | Download | only in dev

Lines Matching defs:boundary

506 	 *     we're not on a cache line boundary (64-bits):
562 bus_size_t align, boundary, len;
592 * A boundary presented to bus_dmamem_alloc() takes precedence
593 * over boundary in the map.
595 if ((boundary = (map->dm_segs[0]._ds_boundary)) == 0)
596 boundary = map->_dm_boundary;
600 * If our segment size is larger than the boundary we need to
607 (sgsize > boundary) ? 0 : boundary,
634 * the boundary.
640 DPRINTF(IDB_INFO, ("iommu_dvmamap_load: boundary %lx boundary - 1 %lx "
641 "~(boundary - 1) %lx\n", (long)boundary, (long)(boundary - 1),
642 (long)~(boundary - 1)));
643 bmask = ~(boundary - 1);
646 /* Oops. We crossed a boundary or large seg. Split the xfer. */
649 len = uimin(len, boundary - (sgstart & (boundary - 1)));
785 bus_size_t boundary, align;
803 * A boundary presented to bus_dmamem_alloc() takes precedence
804 * over boundary in the map.
806 if ((boundary = segs[0]._ds_boundary) == 0)
807 boundary = map->_dm_boundary;
830 * If our segment size is larger than the boundary we need to
839 (sgsize > boundary) ? 0 : boundary,
864 bmask = ~(boundary - 1);
907 /* Restore sgstart for boundary check */
928 /* Check for boundary issues */
932 boundary - (sgstart & (boundary - 1));
1012 /* Oops. We crossed a boundary. Split the xfer. */
1013 map->dm_segs[i].ds_len = boundary - (sgstart & (boundary - 1));
1195 bus_size_t boundary, bus_dma_segment_t *segs, int nsegs, int *rsegs,
1201 (unsigned long long)alignment, (unsigned long long)boundary,
1203 return (bus_dmamem_alloc(t->_parent, size, alignment, boundary,