max_segment        48 drivers/gpu/drm/i915/gem/i915_gem_internal.c 		unsigned int max_segment;
max_segment        50 drivers/gpu/drm/i915/gem/i915_gem_internal.c 		max_segment = swiotlb_max_segment();
max_segment        51 drivers/gpu/drm/i915/gem/i915_gem_internal.c 		if (max_segment) {
max_segment        52 drivers/gpu/drm/i915/gem/i915_gem_internal.c 			max_segment = max_t(unsigned int, max_segment,
max_segment        54 drivers/gpu/drm/i915/gem/i915_gem_internal.c 			max_order = min(max_order, ilog2(max_segment));
max_segment        37 drivers/gpu/drm/i915/gem/i915_gem_shmem.c 	unsigned int max_segment = i915_sg_segment_size();
max_segment       134 drivers/gpu/drm/i915/gem/i915_gem_shmem.c 		    sg->length >= max_segment ||
max_segment       165 drivers/gpu/drm/i915/gem/i915_gem_shmem.c 		if (max_segment > PAGE_SIZE) {
max_segment       170 drivers/gpu/drm/i915/gem/i915_gem_shmem.c 			max_segment = PAGE_SIZE;
max_segment       432 drivers/gpu/drm/i915/gem/i915_gem_userptr.c 	unsigned int max_segment = i915_sg_segment_size();
max_segment       444 drivers/gpu/drm/i915/gem/i915_gem_userptr.c 					  max_segment,
max_segment       455 drivers/gpu/drm/i915/gem/i915_gem_userptr.c 		if (max_segment > PAGE_SIZE) {
max_segment       456 drivers/gpu/drm/i915/gem/i915_gem_userptr.c 			max_segment = PAGE_SIZE;
max_segment       213 drivers/gpu/drm/virtio/virtgpu_object.c 	size_t max_segment;
max_segment       225 drivers/gpu/drm/virtio/virtgpu_object.c 	max_segment = virtio_max_dma_size(qdev->vdev);
max_segment       226 drivers/gpu/drm/virtio/virtgpu_object.c 	max_segment &= PAGE_MASK;
max_segment       227 drivers/gpu/drm/virtio/virtgpu_object.c 	if (max_segment > SCATTERLIST_MAX_SEGMENT)
max_segment       228 drivers/gpu/drm/virtio/virtgpu_object.c 		max_segment = SCATTERLIST_MAX_SEGMENT;
max_segment       231 drivers/gpu/drm/virtio/virtgpu_object.c 					  max_segment, GFP_KERNEL);
max_segment       277 include/linux/scatterlist.h 				unsigned long size, unsigned int max_segment,
max_segment        95 kernel/dma/swiotlb.c unsigned int max_segment;
max_segment       142 kernel/dma/swiotlb.c 	return unlikely(no_iotlb_memory) ? 0 : max_segment;
max_segment       149 kernel/dma/swiotlb.c 		max_segment = 1;
max_segment       151 kernel/dma/swiotlb.c 		max_segment = rounddown(val, PAGE_SIZE);
max_segment       325 kernel/dma/swiotlb.c 	max_segment = 0;
max_segment       391 lib/scatterlist.c 				unsigned long size, unsigned int max_segment,
max_segment       398 lib/scatterlist.c 	if (WARN_ON(!max_segment || offset_in_page(max_segment)))
max_segment       406 lib/scatterlist.c 		if (seg_len >= max_segment ||
max_segment       426 lib/scatterlist.c 			if (seg_len >= max_segment ||