max_size           48 arch/arm64/include/asm/suspend.h int arch_hibernation_header_save(void *addr, unsigned int max_size);
max_size          103 arch/arm64/include/uapi/asm/ptrace.h 	__u32 max_size; /* maxmium possible size for this thread */
max_size          119 arch/arm64/kernel/hibernate.c int arch_hibernation_header_save(void *addr, unsigned int max_size)
max_size          123 arch/arm64/kernel/hibernate.c 	if (max_size < sizeof(*hdr))
max_size          775 arch/arm64/kernel/ptrace.c 	header->max_size = SVE_PT_SIZE(sve_vq_from_vl(header->max_vl),
max_size          396 arch/ia64/kernel/mca.c 	u64	max_size = 0;
max_size          402 arch/ia64/kernel/mca.c 	max_size = ia64_sal_get_state_info_size(sal_info_type);
max_size          403 arch/ia64/kernel/mca.c 	if (!max_size)
max_size          408 arch/ia64/kernel/mca.c 	ia64_log_allocate(sal_info_type, max_size);
max_size          564 arch/parisc/include/uapi/asm/pdc.h 	unsigned int max_size;	/* maximum size of BTLB in pages */
max_size          129 arch/parisc/kernel/cache.c 	if (btlb_info.max_size==0) {
max_size          136 arch/parisc/kernel/cache.c 		btlb_info.max_size, (int)4096,
max_size          137 arch/parisc/kernel/cache.c 		btlb_info.max_size>>8,
max_size          662 arch/parisc/kernel/firmware.c                 btlb->max_size = 0;
max_size          284 arch/powerpc/kernel/fadump.c 		unsigned long max_size;
max_size          295 arch/powerpc/kernel/fadump.c 		max_size = memblock_phys_mem_size() / MAX_BOOT_MEM_RATIO;
max_size          296 arch/powerpc/kernel/fadump.c 		if (fw_dump.reserve_bootvar > max_size) {
max_size          297 arch/powerpc/kernel/fadump.c 			fw_dump.reserve_bootvar = max_size;
max_size          374 arch/powerpc/kernel/fadump.c 	unsigned long rstart, rsize, max_size;
max_size          378 arch/powerpc/kernel/fadump.c 	max_size = fw_dump.max_copy_size ? fw_dump.max_copy_size : msize;
max_size          380 arch/powerpc/kernel/fadump.c 		if (msize > max_size)
max_size          381 arch/powerpc/kernel/fadump.c 			rsize = max_size;
max_size          109 arch/powerpc/mm/book3s32/mmu.c 	unsigned int max_size = IS_ENABLED(CONFIG_PPC_BOOK3S_601) ? SZ_8M : SZ_256M;
max_size          113 arch/powerpc/mm/book3s32/mmu.c 	return min3(max_size, 1U << base_shift, 1U << block_shift);
max_size          170 arch/s390/appldata/appldata_os.c 	int rc, max_size;
max_size          172 arch/s390/appldata/appldata_os.c 	max_size = sizeof(struct appldata_os_data) +
max_size          174 arch/s390/appldata/appldata_os.c 	if (max_size > APPLDATA_MAX_REC_SIZE) {
max_size          176 arch/s390/appldata/appldata_os.c 		       "record size %i\n", max_size, APPLDATA_MAX_REC_SIZE);
max_size          181 arch/s390/appldata/appldata_os.c 	appldata_os_data = kzalloc(max_size, GFP_KERNEL | GFP_DMA);
max_size          341 arch/s390/kernel/perf_cpum_cf_diag.c 	size_t max_size = sizeof(struct cf_trailer_entry);
max_size          348 arch/s390/kernel/perf_cpum_cf_diag.c 			max_size += size * sizeof(u64) +
max_size          352 arch/s390/kernel/perf_cpum_cf_diag.c 			    max_size);
max_size          354 arch/s390/kernel/perf_cpum_cf_diag.c 	return max_size;
max_size         1051 arch/sparc/mm/srmmu.c 	unsigned long max_size = 0;
max_size         1072 arch/sparc/mm/srmmu.c 			if (vac_cache_size > max_size)
max_size         1073 arch/sparc/mm/srmmu.c 				max_size = vac_cache_size;
max_size         1090 arch/sparc/mm/srmmu.c 	vac_cache_size = max_size;
max_size          501 arch/um/drivers/vector_kern.c 	int max_size,
max_size          513 arch/um/drivers/vector_kern.c 	result->max_depth = max_size;
max_size          516 arch/um/drivers/vector_kern.c 		(sizeof(struct mmsghdr) * max_size), GFP_KERNEL);
max_size          520 arch/um/drivers/vector_kern.c 		(sizeof(void *) * max_size), GFP_KERNEL);
max_size          527 arch/um/drivers/vector_kern.c 	for (i = 0; i < max_size; i++) {
max_size          537 arch/um/drivers/vector_kern.c 	for (i = 0; i < max_size; i++) {
max_size          200 arch/x86/kernel/cpu/microcode/amd.c 	u32 max_size;
max_size          210 arch/x86/kernel/cpu/microcode/amd.c 		max_size = F1XH_MPB_MAX_SIZE;
max_size          213 arch/x86/kernel/cpu/microcode/amd.c 		max_size = F14H_MPB_MAX_SIZE;
max_size          221 arch/x86/kernel/cpu/microcode/amd.c 	if (sh_psize > min_t(u32, buf_size, max_size))
max_size          354 arch/x86/kernel/tboot.c 	u32 max_size;
max_size          366 arch/x86/kernel/tboot.c 	max_size = readl(log_base + LOG_MAX_SIZE_OFF);
max_size          367 arch/x86/kernel/tboot.c 	if (*ppos >= max_size) {
max_size          372 arch/x86/kernel/tboot.c 	if (*ppos + count > max_size)
max_size          373 arch/x86/kernel/tboot.c 		count = max_size - *ppos;
max_size          704 arch/x86/kvm/emulate.c 				       unsigned *max_size, unsigned size,
max_size          716 arch/x86/kvm/emulate.c 	*max_size = 0;
max_size          724 arch/x86/kvm/emulate.c 		*max_size = min_t(u64, ~0u, (1ull << va_bits) - la);
max_size          725 arch/x86/kvm/emulate.c 		if (size > *max_size)
max_size          751 arch/x86/kvm/emulate.c 			*max_size = ~0u;
max_size          753 arch/x86/kvm/emulate.c 			*max_size = (u64)lim + 1 - addr.ea;
max_size          754 arch/x86/kvm/emulate.c 			if (size > *max_size)
max_size          774 arch/x86/kvm/emulate.c 	unsigned max_size;
max_size          775 arch/x86/kvm/emulate.c 	return __linearize(ctxt, addr, &max_size, size, write, false,
max_size          784 arch/x86/kvm/emulate.c 	unsigned max_size;
max_size          790 arch/x86/kvm/emulate.c 	rc = __linearize(ctxt, addr, &max_size, 1, false, true, mode, &linear);
max_size          880 arch/x86/kvm/emulate.c 	unsigned size, max_size;
max_size          896 arch/x86/kvm/emulate.c 	rc = __linearize(ctxt, addr, &max_size, 0, false, true, ctxt->mode,
max_size          901 arch/x86/kvm/emulate.c 	size = min_t(unsigned, 15UL ^ cur_size, max_size);
max_size         1010 arch/x86/platform/efi/efi_64.c 			     unsigned long count, u64 *max_size,
max_size          129 arch/x86/platform/efi/quirks.c 	u64 storage_size, remaining_size, max_size;
max_size          133 arch/x86/platform/efi/quirks.c 						     &max_size);
max_size          154 arch/x86/platform/efi/quirks.c 	u64 storage_size, remaining_size, max_size;
max_size          163 arch/x86/platform/efi/quirks.c 					 &remaining_size, &max_size);
max_size          208 arch/x86/platform/efi/quirks.c 						 &remaining_size, &max_size);
max_size          153 arch/x86/power/hibernate.c int arch_hibernation_header_save(void *addr, unsigned int max_size)
max_size          157 arch/x86/power/hibernate.c 	if (max_size < sizeof(struct restore_data_record))
max_size          306 block/blk-settings.c void blk_queue_max_segment_size(struct request_queue *q, unsigned int max_size)
max_size          308 block/blk-settings.c 	if (max_size < PAGE_SIZE) {
max_size          309 block/blk-settings.c 		max_size = PAGE_SIZE;
max_size          311 block/blk-settings.c 		       __func__, max_size);
max_size          317 block/blk-settings.c 	q->limits.max_segment_size = max_size;
max_size          214 crypto/dh.c    	.max_size = dh_max_size,
max_size          145 crypto/ecdh.c  	.max_size = ecdh_max_size,
max_size          269 crypto/ecrdsa.c 	.max_size	= ecrdsa_max_size,
max_size          686 crypto/rsa-pkcs1pad.c 	inst->alg.max_size = pkcs1pad_get_max_size;
max_size          247 crypto/rsa.c   	.max_size = rsa_max_size,
max_size           28 drivers/acpi/custom_method.c 	static u32 max_size;
max_size           46 drivers/acpi/custom_method.c 		uncopied_bytes = max_size = table.length;
max_size           47 drivers/acpi/custom_method.c 		buf = kzalloc(max_size, GFP_KERNEL);
max_size           55 drivers/acpi/custom_method.c 	if ((*ppos > max_size) ||
max_size           56 drivers/acpi/custom_method.c 	    (*ppos + count > max_size) ||
max_size         2392 drivers/block/floppy.c static int transfer_size(int ssize, int max_sector, int max_size)
max_size         2394 drivers/block/floppy.c 	SUPBOUND(max_sector, fsector_t + max_size);
max_size         2528 drivers/block/floppy.c 	int max_size;
max_size         2626 drivers/block/floppy.c 	max_size = blk_rq_sectors(current_req);
max_size         2641 drivers/block/floppy.c 				max_size = ssize + ssize;
max_size         2643 drivers/block/floppy.c 				max_size = ssize;
max_size         2660 drivers/block/floppy.c 		max_size = buffer_chain_size();
max_size         2663 drivers/block/floppy.c 		if ((unsigned long)max_size > dma_limit)
max_size         2664 drivers/block/floppy.c 			max_size = dma_limit;
max_size         2666 drivers/block/floppy.c 		if (CROSS_64KB(bio_data(current_req->bio), max_size << 9))
max_size         2667 drivers/block/floppy.c 			max_size = (K_64 -
max_size         2670 drivers/block/floppy.c 		direct = transfer_size(ssize, max_sector, max_size) - fsector_t;
max_size         2683 drivers/block/floppy.c 			max_size = blk_rq_sectors(current_req);
max_size         2699 drivers/block/floppy.c 		max_size = max_sector;	/* unbounded */
max_size         2709 drivers/block/floppy.c 	     max_size + fsector_t > 2 * max_buffer_sectors + buffer_min)) {
max_size         2753 drivers/block/floppy.c 			fsector_t, aligned_sector_t, max_sector, max_size);
max_size          802 drivers/block/virtio_blk.c 	u32 v, blk_size, max_size, sg_elems, opt_io_size;
max_size          909 drivers/block/virtio_blk.c 	max_size = virtio_max_dma_size(vdev);
max_size          916 drivers/block/virtio_blk.c 		max_size = min(max_size, v);
max_size          918 drivers/block/virtio_blk.c 	blk_queue_max_segment_size(q, max_size);
max_size         3457 drivers/cdrom/cdrom.c 	const int max_size = sizeof(cdrom_sysctl_settings.info);
max_size         3461 drivers/cdrom/cdrom.c 	ret = scnprintf(info + *pos, max_size - *pos, header);
max_size         3470 drivers/cdrom/cdrom.c 			ret = scnprintf(info + *pos, max_size - *pos,
max_size         3474 drivers/cdrom/cdrom.c 			ret = scnprintf(info + *pos, max_size - *pos,
max_size         3478 drivers/cdrom/cdrom.c 			ret = scnprintf(info + *pos, max_size - *pos,
max_size         3482 drivers/cdrom/cdrom.c 			ret = scnprintf(info + *pos, max_size - *pos,
max_size         3502 drivers/cdrom/cdrom.c 	const int max_size = sizeof(cdrom_sysctl_settings.info);
max_size         3570 drivers/cdrom/cdrom.c 	if (!scnprintf(info + pos, max_size - pos, "\n\n"))
max_size          315 drivers/crypto/atmel-ecc.c 	.max_size = atmel_ecdh_max_size,
max_size         1072 drivers/crypto/caam/caampkc.c 		.max_size = caam_rsa_max_size,
max_size          215 drivers/crypto/ccp/ccp-crypto-rsa.c 	.max_size = ccp_rsa_maxsize,
max_size         1305 drivers/crypto/qat/qat_common/qat_asym_algs.c 	.max_size = qat_rsa_max_size,
max_size         1322 drivers/crypto/qat/qat_common/qat_asym_algs.c 	.max_size = qat_dh_max_size,
max_size          418 drivers/crypto/virtio/virtio_crypto_algs.c 		sizeof(vc_req->status) > vcrypto->max_size)) {
max_size           65 drivers/crypto/virtio/virtio_crypto_common.h 	u64 max_size;
max_size          293 drivers/crypto/virtio/virtio_crypto_core.c 	u64 max_size = 0;
max_size          336 drivers/crypto/virtio/virtio_crypto_core.c 		max_size, &max_size);
max_size          369 drivers/crypto/virtio/virtio_crypto_core.c 	vcrypto->max_size = max_size;
max_size          384 drivers/crypto/virtio/virtio_crypto_core.c 		vcrypto->max_size);
max_size           90 drivers/firmware/efi/capsule.c 	u64 max_size;
max_size           99 drivers/firmware/efi/capsule.c 	status = efi.query_capsule_caps(cap_list, 1, &max_size, reset);
max_size          103 drivers/firmware/efi/capsule.c 	if (size > max_size)
max_size          446 drivers/firmware/efi/runtime-wrappers.c 						u64 *max_size,
max_size          457 drivers/firmware/efi/runtime-wrappers.c 				max_size, reset_type, NULL);
max_size          576 drivers/firmware/efi/test/efi_test.c 	u64 max_storage, remaining, max_size;
max_size          585 drivers/firmware/efi/test/efi_test.c 					 &max_storage, &remaining, &max_size);
max_size          601 drivers/firmware/efi/test/efi_test.c 	if (put_user(max_size, queryvariableinfo.maximum_variable_size))
max_size          613 drivers/firmware/efi/test/efi_test.c 	u64 max_size;
max_size          653 drivers/firmware/efi/test/efi_test.c 					&max_size, &reset_type);
max_size          665 drivers/firmware/efi/test/efi_test.c 	if (put_user(max_size, qcaps.maximum_capsule_size)) {
max_size         2568 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 	unsigned int max_size = 1 << (max_bits - 30);
max_size         2575 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 		if (vm_size > max_size) {
max_size         2577 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 				 amdgpu_vm_size, max_size);
max_size         2578 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 			vm_size = max_size;
max_size         2603 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 			min(max(phys_ram_gb * 3, min_vm_size), max_size));
max_size          480 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	unsigned long max_size = 0;
max_size          493 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		if (max_size < mode->htotal * mode->vtotal)
max_size          494 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			max_size = mode->htotal * mode->vtotal;
max_size          497 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (max_size) {
max_size          498 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		int r = amdgpu_bo_create_kernel(adev, max_size * 4, PAGE_SIZE,
max_size          506 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			DRM_INFO("DM: FBC alloc %lu\n", max_size*4);
max_size         2635 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int max_size = 0;
max_size         2780 drivers/gpu/drm/i915/display/intel_display.c 		max_size = max(max_size, offset + size);
max_size         2783 drivers/gpu/drm/i915/display/intel_display.c 	if (mul_u32_u32(max_size, tile_size) > obj->base.size) {
max_size         2785 drivers/gpu/drm/i915/display/intel_display.c 			      mul_u32_u32(max_size, tile_size), obj->base.size);
max_size          322 drivers/gpu/drm/i915/display/intel_fbdev.c 	unsigned int max_size = 0;
max_size          336 drivers/gpu/drm/i915/display/intel_fbdev.c 		if (obj->base.size > max_size) {
max_size          340 drivers/gpu/drm/i915/display/intel_fbdev.c 			max_size = obj->base.size;
max_size          389 drivers/gpu/drm/i915/display/intel_fbdev.c 		if (cur_size > max_size) {
max_size          392 drivers/gpu/drm/i915/display/intel_fbdev.c 				      cur_size, max_size);
max_size          399 drivers/gpu/drm/i915/display/intel_fbdev.c 			      max_size, cur_size);
max_size           53 drivers/gpu/drm/radeon/radeon_gem.c 	unsigned long max_size;
max_size           65 drivers/gpu/drm/radeon/radeon_gem.c 	max_size = rdev->mc.gtt_size - rdev->gart_pin_size;
max_size           66 drivers/gpu/drm/radeon/radeon_gem.c 	if (size > max_size) {
max_size           68 drivers/gpu/drm/radeon/radeon_gem.c 			  size >> 20, max_size >> 20);
max_size           89 drivers/gpu/drm/ttm/ttm_page_alloc.c 	unsigned	max_size;
max_size          168 drivers/gpu/drm/ttm/ttm_page_alloc.c 		m->options.max_size = val;
max_size          195 drivers/gpu/drm/ttm/ttm_page_alloc.c 		val = m->options.max_size;
max_size          760 drivers/gpu/drm/ttm/ttm_page_alloc.c 		unsigned max_size, n2free;
max_size          785 drivers/gpu/drm/ttm/ttm_page_alloc.c 		max_size = _manager->options.max_size;
max_size          786 drivers/gpu/drm/ttm/ttm_page_alloc.c 		max_size /= HPAGE_PMD_NR;
max_size          787 drivers/gpu/drm/ttm/ttm_page_alloc.c 		if (huge->npages > max_size)
max_size          788 drivers/gpu/drm/ttm/ttm_page_alloc.c 			n2free = huge->npages - max_size;
max_size          810 drivers/gpu/drm/ttm/ttm_page_alloc.c 	if (pool->npages > _manager->options.max_size) {
max_size          811 drivers/gpu/drm/ttm/ttm_page_alloc.c 		npages = pool->npages - _manager->options.max_size;
max_size          993 drivers/gpu/drm/ttm/ttm_page_alloc.c 	_manager->options.max_size = max_pages;
max_size          137 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	unsigned	max_size;
max_size          217 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		m->options.max_size = val;
max_size          244 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		val = m->options.max_size;
max_size         1065 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		if (pool->npages_free >= (_manager->options.max_size +
max_size         1067 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 			npages = pool->npages_free - _manager->options.max_size;
max_size         1176 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	_manager->options.max_size = max_pages;
max_size          164 drivers/gpu/drm/virtio/virtgpu_drv.h 	uint32_t max_size;
max_size          522 drivers/gpu/drm/virtio/virtgpu_ioctl.c 	host_caps_size = vgdev->capsets[found_valid].max_size;
max_size          106 drivers/gpu/drm/virtio/virtgpu_kms.c 			 vgdev->capsets[i].max_size);
max_size          577 drivers/gpu/drm/virtio/virtgpu_vq.c 	vgdev->capsets[i].max_size = le32_to_cpu(resp->capset_max_size);
max_size          698 drivers/gpu/drm/virtio/virtgpu_vq.c 	int max_size;
max_size          715 drivers/gpu/drm/virtio/virtgpu_vq.c 	max_size = vgdev->capsets[idx].max_size;
max_size          716 drivers/gpu/drm/virtio/virtgpu_vq.c 	cache_ent->caps_cache = kmalloc(max_size, GFP_KERNEL);
max_size          722 drivers/gpu/drm/virtio/virtgpu_vq.c 	resp_buf = kzalloc(sizeof(struct virtio_gpu_resp_capset) + max_size,
max_size          733 drivers/gpu/drm/virtio/virtgpu_vq.c 	cache_ent->size = max_size;
max_size          757 drivers/gpu/drm/virtio/virtgpu_vq.c 		 sizeof(struct virtio_gpu_resp_capset) + max_size,
max_size          149 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 	unsigned int max_size;
max_size          154 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 	max_size = (size - pair_offset) / sizeof(SVGA3dCapPair);
max_size          156 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 	if (max_size > SVGA3D_DEVCAP_MAX)
max_size          157 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 		max_size = SVGA3D_DEVCAP_MAX;
max_size          160 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 		(pair_offset + max_size * sizeof(SVGA3dCapPair)) / sizeof(u32);
max_size          164 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 	for (i = 0; i < max_size; ++i) {
max_size          190 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 	if (unlikely(arg->pad64 != 0 || arg->max_size == 0)) {
max_size          203 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 	if (arg->max_size < size)
max_size          204 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c 		size = arg->max_size;
max_size          191 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 	size_t max_size;
max_size          295 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 	client_data->response.max_size = in_size;
max_size          390 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 	if (data_len > client_data->response.max_size) {
max_size          393 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 			data_len, client_data->response.max_size);
max_size           37 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	size_t max_size;
max_size           65 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	block->bytes_used = min(block->size, dmaengine_buffer->max_size);
max_size          177 drivers/iio/buffer/industrialio-buffer-dmaengine.c 	dmaengine_buffer->max_size = dma_get_max_seg_size(chan->device->dev);
max_size           90 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c 	const int max_size = ARRAY_SIZE(st_lsm6dsx_decimator_table);
max_size           93 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c 	for (i = 0; i < max_size; i++)
max_size           97 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c 	return i == max_size ? 0 : st_lsm6dsx_decimator_table[i].val;
max_size          852 drivers/infiniband/hw/hfi1/sdma.c 	.max_size = NR_CPUS,
max_size         1576 drivers/isdn/hardware/mISDN/hfcsusb.c 		fifo[i].max_size =
max_size          254 drivers/isdn/hardware/mISDN/hfcsusb.h 	unsigned int max_size;	/* maximum size of receive/send packet */
max_size          251 drivers/media/platform/coda/coda-h264.c 			int *size, int max_size)
max_size          263 drivers/media/platform/coda/coda-h264.c 	if (*size < 8 || *size >= max_size)
max_size          401 drivers/media/platform/coda/coda-h264.c 	sps.size = max_size - 5;
max_size          352 drivers/media/platform/coda/coda.h 			int *size, int max_size);
max_size          250 drivers/misc/habanalabs/firmware_if.c int hl_fw_get_eeprom_data(struct hl_device *hdev, void *data, size_t max_size)
max_size          260 drivers/misc/habanalabs/firmware_if.c 					max_size, &eeprom_info_dma_addr);
max_size          267 drivers/misc/habanalabs/firmware_if.c 	memset(eeprom_info_cpu_addr, 0, max_size);
max_size          272 drivers/misc/habanalabs/firmware_if.c 	pkt.data_max_size = cpu_to_le32(max_size);
max_size          284 drivers/misc/habanalabs/firmware_if.c 	memcpy(data, eeprom_info_cpu_addr, min((size_t)result, max_size));
max_size          287 drivers/misc/habanalabs/firmware_if.c 	hdev->asic_funcs->cpu_accessible_dma_pool_free(hdev, max_size,
max_size         5108 drivers/misc/habanalabs/goya/goya.c 				size_t max_size)
max_size         5115 drivers/misc/habanalabs/goya/goya.c 	return hl_fw_get_eeprom_data(hdev, data, max_size);
max_size          577 drivers/misc/habanalabs/habanalabs.h 				size_t max_size);
max_size         1544 drivers/misc/habanalabs/habanalabs.h int hl_fw_get_eeprom_data(struct hl_device *hdev, void *data, size_t max_size);
max_size           81 drivers/misc/habanalabs/habanalabs_ioctl.c 	u32 size, max_size = args->return_size;
max_size           85 drivers/misc/habanalabs/habanalabs_ioctl.c 	if ((!max_size) || (!out))
max_size           90 drivers/misc/habanalabs/habanalabs_ioctl.c 	return copy_to_user(out, arr, min(max_size, size)) ? -EFAULT : 0;
max_size           97 drivers/misc/habanalabs/habanalabs_ioctl.c 	u32 max_size = args->return_size;
max_size          102 drivers/misc/habanalabs/habanalabs_ioctl.c 	if ((!max_size) || (!out))
max_size          114 drivers/misc/habanalabs/habanalabs_ioctl.c 		min((size_t) max_size, sizeof(dram_usage))) ? -EFAULT : 0;
max_size          120 drivers/misc/habanalabs/habanalabs_ioctl.c 	u32 max_size = args->return_size;
max_size          123 drivers/misc/habanalabs/habanalabs_ioctl.c 	if ((!max_size) || (!out))
max_size          130 drivers/misc/habanalabs/habanalabs_ioctl.c 		min((size_t) max_size, sizeof(hw_idle))) ? -EFAULT : 0;
max_size          204 drivers/misc/habanalabs/habanalabs_ioctl.c 	u32 max_size = args->return_size;
max_size          207 drivers/misc/habanalabs/habanalabs_ioctl.c 	if ((!max_size) || (!out))
max_size          221 drivers/misc/habanalabs/habanalabs_ioctl.c 		min((size_t) max_size, sizeof(device_util))) ? -EFAULT : 0;
max_size          318 drivers/misc/habanalabs/sysfs.c 			size_t max_size)
max_size          325 drivers/misc/habanalabs/sysfs.c 	if (!max_size)
max_size          328 drivers/misc/habanalabs/sysfs.c 	data = kzalloc(max_size, GFP_KERNEL);
max_size          332 drivers/misc/habanalabs/sysfs.c 	rc = hdev->asic_funcs->get_eeprom_data(hdev, data, max_size);
max_size          336 drivers/misc/habanalabs/sysfs.c 	memcpy(buf, data, max_size);
max_size          341 drivers/misc/habanalabs/sysfs.c 	return max_size;
max_size          509 drivers/misc/vmw_vmci/vmci_context.c 			      size_t *max_size,
max_size          531 drivers/misc/vmw_vmci/vmci_context.c 	if (*max_size < dq_entry->dg_size) {
max_size          532 drivers/misc/vmw_vmci/vmci_context.c 		*max_size = dq_entry->dg_size;
max_size          535 drivers/misc/vmw_vmci/vmci_context.c 			 (u32) *max_size);
max_size          134 drivers/misc/vmw_vmci/vmci_context.h 			      size_t *max_size, struct vmci_datagram **dg);
max_size          899 drivers/mtd/ubi/build.c 	ubi->fm_pool.max_size = min(((int)mtd_div_by_eb(ubi->mtd->size,
max_size          901 drivers/mtd/ubi/build.c 	ubi->fm_pool.max_size = max(ubi->fm_pool.max_size,
max_size          904 drivers/mtd/ubi/build.c 	ubi->fm_wl_pool.max_size = ubi->fm_pool.max_size / 2;
max_size          916 drivers/mtd/ubi/build.c 	ubi_msg(ubi, "default fastmap pool size: %d", ubi->fm_pool.max_size);
max_size          918 drivers/mtd/ubi/build.c 		ubi->fm_wl_pool.max_size);
max_size          127 drivers/mtd/ubi/fastmap-wl.c 		if (pool->size < pool->max_size) {
max_size          140 drivers/mtd/ubi/fastmap-wl.c 		if (wl_pool->size < wl_pool->max_size) {
max_size          607 drivers/mtd/ubi/fastmap.c 	fm->max_pool_size = be16_to_cpu(fmpl->max_size);
max_size          608 drivers/mtd/ubi/fastmap.c 	fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size);
max_size         1068 drivers/mtd/ubi/fastmap.c 	ubi->fm_pool.max_size = ubi->fm->max_pool_size;
max_size         1069 drivers/mtd/ubi/fastmap.c 	ubi->fm_wl_pool.max_size = ubi->fm->max_wl_pool_size;
max_size         1071 drivers/mtd/ubi/fastmap.c 	ubi_msg(ubi, "fastmap pool size: %d", ubi->fm_pool.max_size);
max_size         1073 drivers/mtd/ubi/fastmap.c 		ubi->fm_wl_pool.max_size);
max_size         1194 drivers/mtd/ubi/fastmap.c 	fmpl->max_size = cpu_to_be16(ubi->fm_pool.max_size);
max_size         1205 drivers/mtd/ubi/fastmap.c 	fmpl_wl->max_size = cpu_to_be16(ubi->fm_wl_pool.max_size);
max_size          452 drivers/mtd/ubi/ubi-media.h 	__be16 max_size;
max_size          264 drivers/mtd/ubi/ubi.h 	int max_size;
max_size          443 drivers/net/dsa/b53/b53_common.c 	u16 max_size = JMS_MIN_SIZE;
max_size          450 drivers/net/dsa/b53/b53_common.c 		max_size = JMS_MAX_SIZE;
max_size          456 drivers/net/dsa/b53/b53_common.c 	return b53_write16(dev, B53_JUMBO_PAGE, dev->jumbo_size_reg, max_size);
max_size          830 drivers/net/ethernet/amazon/ena/ena_admin_defs.h 	u16 max_size;
max_size         1143 drivers/net/ethernet/amazon/ena/ena_com.c 	    (get_resp.u.ind_table.max_size < log_size)) {
max_size         1146 drivers/net/ethernet/amazon/ena/ena_com.c 		       1 << get_resp.u.ind_table.max_size);
max_size         5372 drivers/net/ethernet/broadcom/bnx2.c static u32 bnx2_find_max_ring(u32 ring_size, u32 max_size)
max_size         5381 drivers/net/ethernet/broadcom/bnx2.c 	max = max_size;
max_size          833 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c 	.max_size = 524288,
max_size          314 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c 	if ((len < total_len) && (msg_len <= mbx->max_size))
max_size         1062 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c 	mbx->max_size = mbx->rx.size - 1;
max_size         1103 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c 	mbx->max_size = size;
max_size         1166 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c 			mbx->max_size = mbx->rx.size - 1;
max_size         1603 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c 	mbx->max_size = FM10K_MBX_MSG_MAX_SIZE;
max_size         1708 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c 	mbx->max_size = FM10K_MBX_MSG_MAX_SIZE;
max_size         2161 drivers/net/ethernet/intel/fm10k/fm10k_mbx.c 	mbx->max_size = FM10K_MBX_MSG_MAX_SIZE;
max_size          265 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h 	u16 max_size, mbmem_len;
max_size          272 drivers/net/ethernet/intel/igbvf/vf.c void e1000_rlpml_set_vf(struct e1000_hw *hw, u16 max_size)
max_size          279 drivers/net/ethernet/intel/igbvf/vf.c 	msgbuf[1] = max_size;
max_size          798 drivers/net/ethernet/intel/ixgbevf/vf.c static s32 ixgbevf_set_rlpml_vf(struct ixgbe_hw *hw, u16 max_size)
max_size          804 drivers/net/ethernet/intel/ixgbevf/vf.c 	msgbuf[1] = max_size;
max_size          823 drivers/net/ethernet/intel/ixgbevf/vf.c static s32 ixgbevf_hv_set_rlpml_vf(struct ixgbe_hw *hw, u16 max_size)
max_size          832 drivers/net/ethernet/intel/ixgbevf/vf.c 	reg |= ((max_size + 4) | IXGBE_RXDCTL_RLPML_EN);
max_size          163 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	u32 max_size;
max_size          166 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	mlx5e_port_get_speed_arr(mdev, &table, &max_size, force_legacy);
max_size          167 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	i = find_first_bit(&temp, max_size);
max_size          168 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	if (i < max_size)
max_size          203 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	u32 max_size;
max_size          213 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	mlx5e_port_get_speed_arr(mdev, &table, &max_size, false);
max_size          214 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	for (i = 0; i < max_size; ++i)
max_size          227 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	u32 max_size;
max_size          230 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	mlx5e_port_get_speed_arr(mdev, &table, &max_size, force_legacy);
max_size          231 drivers/net/ethernet/mellanox/mlx5/core/en/port.c 	for (i = 0; i < max_size; ++i) {
max_size          611 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	u32 max_size;
max_size          614 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	mlx5e_ethtool_get_speed_arr(mdev, &table, &max_size);
max_size          615 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	for_each_set_bit(proto, &proto_cap, max_size)
max_size          626 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	u32 max_size;
max_size          630 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	max_size = ext ? ARRAY_SIZE(ptys2ext_ethtool_table) :
max_size          633 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	for_each_set_bit(proto, &proto_cap, max_size)
max_size          513 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 	int max_size;
max_size          519 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 	max_size = is_uc ?
max_size          527 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 	if (size > max_size) {
max_size          530 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 			    is_uc ? "UC" : "MC", size, max_size);
max_size          531 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		size = max_size;
max_size           64 drivers/net/ethernet/mellanox/mlx5/core/fpga/sdk.c 	size_t max_size = MLX5_FPGA_ACCESS_REG_SIZE_MAX;
max_size           76 drivers/net/ethernet/mellanox/mlx5/core/fpga/sdk.c 		actual_size = min(max_size, (size - bytes_done));
max_size           96 drivers/net/ethernet/mellanox/mlx5/core/fpga/sdk.c 	size_t max_size = MLX5_FPGA_ACCESS_REG_SIZE_MAX;
max_size          108 drivers/net/ethernet/mellanox/mlx5/core/fpga/sdk.c 		actual_size = min(max_size, (size - bytes_done));
max_size          116 drivers/net/ethernet/mellanox/mlx5/core/rl.c 	for (i = 0; i < table->max_size; i++) {
max_size          180 drivers/net/ethernet/mellanox/mlx5/core/rl.c 			      table->max_size);
max_size          244 drivers/net/ethernet/mellanox/mlx5/core/rl.c 		table->max_size = 0;
max_size          249 drivers/net/ethernet/mellanox/mlx5/core/rl.c 	table->max_size = MLX5_CAP_QOS(dev, packet_pacing_rate_table_size) - 1;
max_size          253 drivers/net/ethernet/mellanox/mlx5/core/rl.c 	table->rl_entry = kcalloc(table->max_size, sizeof(struct mlx5_rl_entry),
max_size          261 drivers/net/ethernet/mellanox/mlx5/core/rl.c 	for (i = 0; i < table->max_size; i++)
max_size          266 drivers/net/ethernet/mellanox/mlx5/core/rl.c 		       table->max_size,
max_size          280 drivers/net/ethernet/mellanox/mlx5/core/rl.c 	for (i = 0; i < table->max_size; i++)
max_size          693 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 	unsigned int max_size;
max_size          697 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 		max_size = nfp_ccm_mbox_max_msg(nn);
max_size          699 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 		max_size = max(req_size, reply_size);
max_size          700 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 	max_size = round_up(max_size, 4);
max_size          702 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 	skb = alloc_skb(max_size, flags);
max_size          495 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			   unsigned int max_size, unsigned int chunk_order,
max_size          514 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	nseg = DIV_ROUND_UP(max_size, chunk_size);
max_size          530 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 		chunks[i].len = min_t(u64, chunk_size, max_size - off);
max_size          617 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			arg->arg.code, ret, max_size, chunk_order);
max_size          624 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			unsigned int max_size, unsigned int dma_order)
max_size          632 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	buf_order = order_base_2(roundup_pow_of_two(max_size));
max_size          652 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	return nfp_nsp_command_buf_dma_sg(nsp, arg, max_size, chunk_order,
max_size          659 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	unsigned int dma_order, def_size, max_size;
max_size          681 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	max_size = max(arg->in_size, arg->out_size);
max_size          685 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	if (def_size >= max_size) {
max_size          689 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			arg->arg.code, def_size, max_size);
max_size          693 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	return nfp_nsp_command_buf_dma(nsp, arg, max_size, dma_order);
max_size          978 drivers/net/ethernet/qlogic/qed/qed.h 		   u32 max_size, u8 *unzip_buf);
max_size          243 drivers/net/ethernet/qlogic/qed/qed_init_ops.c 	u32 offset, output_len, input_len, max_size;
max_size          259 drivers/net/ethernet/qlogic/qed/qed_init_ops.c 		max_size = MAX_ZIPPED_SIZE * 4;
max_size          260 drivers/net/ethernet/qlogic/qed/qed_init_ops.c 		memset(p_hwfn->unzip_buf, 0, max_size);
max_size          264 drivers/net/ethernet/qlogic/qed/qed_init_ops.c 					    max_size, (u8 *)p_hwfn->unzip_buf);
max_size          987 drivers/net/ethernet/qlogic/qed/qed_main.c 		   u8 *input_buf, u32 max_size, u8 *unzip_buf)
max_size          994 drivers/net/ethernet/qlogic/qed/qed_main.c 	p_hwfn->stream->avail_out = max_size;
max_size           48 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	int max_size;
max_size           80 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	if (attr->max_size && (attr->max_size > size))
max_size           81 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 		size = attr->max_size;
max_size          156 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 		if (attr->max_size)
max_size          157 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 			uhdr->len = htons(attr->max_size -
max_size          175 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	if (attr->max_size)
max_size          176 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 		iplen = attr->max_size - sizeof(*ehdr);
max_size          194 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	if (attr->max_size && (attr->max_size > skb->len))
max_size          195 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 		skb_put(skb, attr->max_size - skb->len);
max_size         1647 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	attr.max_size = size - ETH_FCS_LEN;
max_size         1216 drivers/net/wireless/realtek/rtlwifi/efuse.c 		   int max_size, u8 *hwinfo, int *params)
max_size         1238 drivers/net/wireless/realtek/rtlwifi/efuse.c 	memcpy(hwinfo, &rtlefuse->efuse_map[EFUSE_INIT_MAP][0], max_size);
max_size         1241 drivers/net/wireless/realtek/rtlwifi/efuse.c 		      hwinfo, max_size);
max_size           92 drivers/net/wireless/realtek/rtlwifi/efuse.h 		   int max_size, u8 *hwinfo, int *params);
max_size          528 drivers/net/wireless/realtek/rtw88/mac.c 	u32 max_size = 0x1000;
max_size          541 drivers/net/wireless/realtek/rtw88/mac.c 		if (residue_size >= max_size)
max_size          542 drivers/net/wireless/realtek/rtw88/mac.c 			pkt_size = max_size;
max_size           26 drivers/net/wireless/ti/wlcore/init.c 	size_t max_size;
max_size           97 drivers/net/wireless/ti/wlcore/init.c 	max_size = sizeof(struct wl12xx_arp_rsp_template) +
max_size          101 drivers/net/wireless/ti/wlcore/init.c 				      max_size,
max_size          187 drivers/nfc/fdp/fdp.c 	int max_size, payload_size;
max_size          199 drivers/nfc/fdp/fdp.c 	max_size = nci_conn_max_data_pkt_payload_size(ndev, conn_id);
max_size          200 drivers/nfc/fdp/fdp.c 	if (max_size <= 0)
max_size          206 drivers/nfc/fdp/fdp.c 				     DIV_ROUND_UP(fw->size, max_size));
max_size          210 drivers/nfc/fdp/fdp.c 		payload_size = min_t(unsigned long, max_size, len);
max_size         2397 drivers/ntb/ntb_transport.c 	unsigned int max_size;
max_size         2411 drivers/ntb/ntb_transport.c 	max_size = qp->tx_max_frame - sizeof(struct ntb_payload_header);
max_size         2412 drivers/ntb/ntb_transport.c 	max_size = round_down(max_size, 1 << copy_align);
max_size         2414 drivers/ntb/ntb_transport.c 	return max_size;
max_size           96 drivers/platform/chrome/cros_ec_ishtp.c 	size_t max_size;
max_size          173 drivers/platform/chrome/cros_ec_ishtp.c 	client_data->response.max_size = in_size;
max_size          264 drivers/platform/chrome/cros_ec_ishtp.c 		if (data_len > client_data->response.max_size) {
max_size          267 drivers/platform/chrome/cros_ec_ishtp.c 				data_len, client_data->response.max_size);
max_size          447 drivers/platform/chrome/cros_ec_lightbar.c 	int extra_bytes, max_size, ret;
max_size          460 drivers/platform/chrome/cros_ec_lightbar.c 	max_size = min(EC_LB_PROG_LEN, ec->ec_dev->max_request - extra_bytes);
max_size          461 drivers/platform/chrome/cros_ec_lightbar.c 	if (count > max_size) {
max_size          463 drivers/platform/chrome/cros_ec_lightbar.c 			(unsigned int)count, max_size);
max_size          157 drivers/platform/chrome/wilco_ec/telemetry.c 	size_t max_size = offsetof(struct wilco_ec_telem_request, args);
max_size          164 drivers/platform/chrome/wilco_ec/telemetry.c 		max_size += sizeof(rq->args.get_log);
max_size          167 drivers/platform/chrome/wilco_ec/telemetry.c 		max_size += sizeof(rq->args.get_version);
max_size          170 drivers/platform/chrome/wilco_ec/telemetry.c 		max_size += sizeof(rq->args.get_fan_info);
max_size          173 drivers/platform/chrome/wilco_ec/telemetry.c 		max_size += sizeof(rq->args.get_diag_info);
max_size          176 drivers/platform/chrome/wilco_ec/telemetry.c 		max_size += sizeof(rq->args.get_temp_info);
max_size          179 drivers/platform/chrome/wilco_ec/telemetry.c 		max_size += sizeof(rq->args.get_temp_read);
max_size          182 drivers/platform/chrome/wilco_ec/telemetry.c 		max_size += sizeof(rq->args.get_batt_ext_info);
max_size          188 drivers/platform/chrome/wilco_ec/telemetry.c 		max_size += sizeof(rq->args.get_batt_ppid_info);
max_size          194 drivers/platform/chrome/wilco_ec/telemetry.c 	return (size <= max_size) ? 0 : -EMSGSIZE;
max_size          146 drivers/regulator/da9211-regulator.c 	int i, max_size;
max_size          152 drivers/regulator/da9211-regulator.c 		max_size = ARRAY_SIZE(da9211_current_limits)-1;
max_size          156 drivers/regulator/da9211-regulator.c 		max_size = ARRAY_SIZE(da9213_current_limits)-1;
max_size          160 drivers/regulator/da9211-regulator.c 		max_size = ARRAY_SIZE(da9215_current_limits)-1;
max_size          167 drivers/regulator/da9211-regulator.c 	for (i = max_size; i >= 0; i--) {
max_size         6445 drivers/scsi/bfa/bfa_ioc.c bfa_fruvpd_get_max_size(struct bfa_fru_s *fru, u32 *max_size)
max_size         6455 drivers/scsi/bfa/bfa_ioc.c 		*max_size = BFA_FRU_CHINOOK_MAX_SIZE;
max_size          745 drivers/scsi/bfa/bfa_ioc.h bfa_status_t bfa_fruvpd_get_max_size(struct bfa_fru_s *fru, u32 *max_size);
max_size         2741 drivers/scsi/bfa/bfad_bsg.c 						&iocmd->max_size);
max_size          803 drivers/scsi/bfa/bfad_bsg.h 	u32		max_size;
max_size          804 drivers/scsi/fnic/fnic_trace.c 	int max_size = fnic_fc_trace_max_pages * PAGE_SIZE * 3;
max_size          814 drivers/scsi/fnic/fnic_trace.c 		max_size - len,
max_size          827 drivers/scsi/fnic/fnic_trace.c 				max_size - len, "%c", fc_trace[j]);
max_size          830 drivers/scsi/fnic/fnic_trace.c 				max_size - len, "%02x", fc_trace[j] & 0xff);
max_size          832 drivers/scsi/fnic/fnic_trace.c 				max_size - len, " ");
max_size          838 drivers/scsi/fnic/fnic_trace.c 					+ len, max_size - len,
max_size          845 drivers/scsi/fnic/fnic_trace.c 		max_size - len, "\n");
max_size           59 drivers/staging/fieldbus/anybuss/hms-profinet.c 			size_t max_size)
max_size           69 drivers/staging/fieldbus/anybuss/hms-profinet.c 	return snprintf(buf, max_size, "%02X:%02X:%02X:%02X:%02X:%02X\n",
max_size           51 drivers/staging/fieldbus/fieldbus_dev.h 			       size_t max_size);
max_size          108 drivers/staging/greybus/authentication.c 	size_t max_size = gb_operation_get_payload_size_max(connection);
max_size          114 drivers/staging/greybus/authentication.c 				       sizeof(*request), max_size,
max_size          147 drivers/staging/greybus/authentication.c 	size_t max_size = gb_operation_get_payload_size_max(connection);
max_size          152 drivers/staging/greybus/authentication.c 				       sizeof(*request), max_size,
max_size           73 drivers/staging/greybus/camera.c 	unsigned int max_size;
max_size          598 drivers/staging/greybus/camera.c 		streams[i].max_size = le32_to_cpu(cfg->max_size);
max_size          832 drivers/staging/greybus/camera.c 		streams[i].max_size = gb_streams[i].max_size;
max_size          991 drivers/staging/greybus/camera.c 					  stream->max_size);
max_size           36 drivers/staging/greybus/gb-camera.h 	unsigned int max_size;
max_size          445 drivers/staging/most/dim2/hal.c 	u16 const max_size = ((u16)CDT3_BD_ISOC_MASK + 1u) / ISOC_DBR_FACTOR;
max_size          450 drivers/staging/most/dim2/hal.c 	if (packet_length > max_size)
max_size          462 drivers/staging/most/dim2/hal.c 	u16 const max_size = ((u16)CDT3_BD_MASK + 1u) >> bd_factor;
max_size          467 drivers/staging/most/dim2/hal.c 	if (bytes_per_frame > max_size)
max_size          475 drivers/staging/most/dim2/hal.c 	u16 const max_size = (u16)ADT1_CTRL_ASYNC_BD_MASK + 1u;
max_size          477 drivers/staging/most/dim2/hal.c 	if (buf_size > max_size)
max_size          478 drivers/staging/most/dim2/hal.c 		return max_size;
max_size          486 drivers/staging/most/dim2/hal.c 	u16 const max_size = (u16)ADT1_ISOC_SYNC_BD_MASK + 1u;
max_size          488 drivers/staging/most/dim2/hal.c 	if (buf_size > max_size)
max_size          489 drivers/staging/most/dim2/hal.c 		buf_size = max_size;
max_size          502 drivers/staging/most/dim2/hal.c 	u16 const max_size = (u16)ADT1_ISOC_SYNC_BD_MASK + 1u;
max_size          505 drivers/staging/most/dim2/hal.c 	if (buf_size > max_size)
max_size          506 drivers/staging/most/dim2/hal.c 		buf_size = max_size;
max_size         1023 drivers/usb/gadget/function/f_ncm.c 	unsigned	max_size = ncm->port.fixed_in_len;
max_size         1056 drivers/usb/gadget/function/f_ncm.c 		    > max_size)) {
max_size         1068 drivers/usb/gadget/function/f_ncm.c 			ncm->skb_tx_data = alloc_skb(max_size, GFP_ATOMIC);
max_size         1186 drivers/usb/gadget/function/f_ncm.c 	unsigned	max_size = le32_to_cpu(ntb_parameters.dwNtbOutMaxSize);
max_size         1209 drivers/usb/gadget/function/f_ncm.c 	if (get_ncm(&tmp, opts->block_length) > max_size) {
max_size          543 drivers/video/fbdev/offb.c 	unsigned long max_size = 0;
max_size          623 drivers/video/fbdev/offb.c 		if (rsize > max_size) {
max_size          624 drivers/video/fbdev/offb.c 			max_size = rsize;
max_size         2416 drivers/video/fbdev/sh_mobile_lcdcfb.c 	unsigned int max_size;
max_size         2430 drivers/video/fbdev/sh_mobile_lcdcfb.c 	max_size = 0;
max_size         2443 drivers/video/fbdev/sh_mobile_lcdcfb.c 		if (size > max_size) {
max_size         2445 drivers/video/fbdev/sh_mobile_lcdcfb.c 			max_size = size;
max_size         2449 drivers/video/fbdev/sh_mobile_lcdcfb.c 	if (!max_size)
max_size         2450 drivers/video/fbdev/sh_mobile_lcdcfb.c 		max_size = MAX_XRES * MAX_YRES;
max_size         2485 drivers/video/fbdev/sh_mobile_lcdcfb.c 	ch->fb_size = max_size * format->bpp / 8 * 2;
max_size          201 drivers/xen/efi.c 	*max_variable_size = efi_data(op).u.query_variable_info.max_size;
max_size          238 drivers/xen/efi.c 			unsigned long count, u64 *max_size, int *reset_type)
max_size          252 drivers/xen/efi.c 	*max_size = efi_data(op).u.query_capsule_capabilities.max_capsule_size;
max_size          224 fs/befs/befs_fs_types.h 	fs64 max_size;
max_size          234 fs/befs/befs_fs_types.h 	befs_off_t max_size;
max_size          242 fs/befs/debug.c 		   fs64_to_cpu(sb, super->max_size));
max_size          408 fs/btrfs/ctree.h 	u64 max_size;
max_size         2760 fs/btrfs/free-space-cache.c 	if (bytes > cluster->max_size)
max_size         2888 fs/btrfs/free-space-cache.c 		cluster->max_size = 0;
max_size         2893 fs/btrfs/free-space-cache.c 	if (cluster->max_size < found_bits * ctl->unit)
max_size         2894 fs/btrfs/free-space-cache.c 		cluster->max_size = found_bits * ctl->unit;
max_size         2896 fs/btrfs/free-space-cache.c 	if (total_found < want_bits || cluster->max_size < cont1_bytes) {
max_size         2999 fs/btrfs/free-space-cache.c 	cluster->max_size = max_extent;
max_size         3144 fs/btrfs/free-space-cache.c 	cluster->max_size = 0;
max_size         6971 fs/btrfs/inode.c 	size_t max_size;
max_size         6978 fs/btrfs/inode.c 	max_size = btrfs_file_extent_ram_bytes(leaf, item);
max_size         6988 fs/btrfs/inode.c 	max_size = min_t(unsigned long, PAGE_SIZE, max_size);
max_size         6990 fs/btrfs/inode.c 			       extent_offset, inline_size, max_size);
max_size         7000 fs/btrfs/inode.c 	if (max_size + pg_offset < PAGE_SIZE) {
max_size         7002 fs/btrfs/inode.c 		memset(map + pg_offset + max_size, 0, PAGE_SIZE - max_size - pg_offset);
max_size          155 fs/btrfs/zstd.c 	size_t max_size = 0;
max_size          166 fs/btrfs/zstd.c 		max_size = max_t(size_t, max_size, level_size);
max_size          167 fs/btrfs/zstd.c 		zstd_ws_mem_sizes[level - 1] = max_size;
max_size         1116 fs/ceph/caps.c 	u64			flush_tid, oldest_flush_tid, size, max_size;
max_size         1149 fs/ceph/caps.c 	     arg->mseq, arg->follows, arg->size, arg->max_size,
max_size         1179 fs/ceph/caps.c 	fc->max_size = cpu_to_le64(arg->max_size);
max_size         1337 fs/ceph/caps.c 	arg.max_size = ci->i_wanted_max_size;
max_size         1338 fs/ceph/caps.c 	ci->i_requested_max_size = arg.max_size;
max_size         1414 fs/ceph/caps.c 	arg.max_size = 0;
max_size         3105 fs/ceph/caps.c 	u64 max_size = le64_to_cpu(grant->max_size);
max_size         3117 fs/ceph/caps.c 	dout(" size %llu max_size %llu, i_size %llu\n", size, max_size,
max_size         3242 fs/ceph/caps.c 		if (max_size != ci->i_max_size) {
max_size         3244 fs/ceph/caps.c 			     ci->i_max_size, max_size);
max_size         3245 fs/ceph/caps.c 			ci->i_max_size = max_size;
max_size         3246 fs/ceph/caps.c 			if (max_size >= ci->i_wanted_max_size) {
max_size          867 fs/ceph/inode.c 		    ci->i_max_size != le64_to_cpu(info->max_size)) {
max_size          869 fs/ceph/inode.c 					le64_to_cpu(info->max_size));
max_size          870 fs/ceph/inode.c 			ci->i_max_size = le64_to_cpu(info->max_size);
max_size          234 fs/crypto/hooks.c 				unsigned int max_size,
max_size          265 fs/crypto/hooks.c 	if (max_size < sizeof(*sd))
max_size          274 fs/crypto/hooks.c 	if (cstr.len + sizeof(*sd) - 1 > max_size)
max_size          897 fs/exec.c      		     loff_t max_size, enum kernel_read_file_id id)
max_size          903 fs/exec.c      	if (!S_ISREG(file_inode(file)->i_mode) || max_size < 0)
max_size          919 fs/exec.c      	if (i_size > SIZE_MAX || (max_size > 0 && i_size > max_size)) {
max_size          967 fs/exec.c      			       loff_t max_size, enum kernel_read_file_id id)
max_size          979 fs/exec.c      	ret = kernel_read_file(file, buf, size, max_size, id);
max_size          985 fs/exec.c      int kernel_read_file_from_fd(int fd, void **buf, loff_t *size, loff_t max_size,
max_size          994 fs/exec.c      	ret = kernel_read_file(f.file, buf, size, max_size, id);
max_size           32 fs/ext4/symlink.c 	unsigned int max_size;
max_size           40 fs/ext4/symlink.c 		max_size = sizeof(EXT4_I(inode)->i_data);
max_size           46 fs/ext4/symlink.c 		max_size = inode->i_sb->s_blocksize;
max_size           49 fs/ext4/symlink.c 	paddr = fscrypt_get_symlink(inode, caddr, max_size, done);
max_size          847 fs/f2fs/super.c 		int min_size, max_size;
max_size          860 fs/f2fs/super.c 		max_size = MAX_INLINE_XATTR_SIZE;
max_size          863 fs/f2fs/super.c 				F2FS_OPTION(sbi).inline_xattr_size > max_size) {
max_size          865 fs/f2fs/super.c 				 min_size, max_size);
max_size         1360 fs/fuse/file.c 					size_t max_size)
max_size         1362 fs/fuse/file.c 	return min(iov_iter_single_seg_count(ii), max_size);
max_size          870 fs/gfs2/bmap.c 			loff_t max_size = gfs2_max_stuffed_size(ip);
max_size          872 fs/gfs2/bmap.c 			if (pos + length > max_size)
max_size          874 fs/gfs2/bmap.c 			iomap->length = max_size;
max_size           61 fs/jfs/xattr.c 	int max_size;		/* largest xattr that fits in current buffer */
max_size          444 fs/jfs/xattr.c 			ea_buf->max_size = 0;
max_size          451 fs/jfs/xattr.c 			ea_buf->max_size = sizeof (ji->i_inline_ea);
max_size          463 fs/jfs/xattr.c 			ea_buf->max_size = sizeof (ji->i_inline_ea);
max_size          484 fs/jfs/xattr.c 		ea_buf->max_size = (size + sb->s_blocksize - 1) &
max_size          487 fs/jfs/xattr.c 		ea_buf->xattr = kmalloc(ea_buf->max_size, GFP_KERNEL);
max_size          535 fs/jfs/xattr.c 		ea_buf->max_size = (min_size + sb->s_blocksize - 1) &
max_size          555 fs/jfs/xattr.c 	ea_buf->max_size = (ea_size + sb->s_blocksize - 1) &
max_size          712 fs/jfs/xattr.c 	if (new_size > ea_buf.max_size) {
max_size         1347 fs/ntfs/attrib.c 			((sle64_to_cpu(ad->max_size) > 0) && size >
max_size         1348 fs/ntfs/attrib.c 			sle64_to_cpu(ad->max_size)))
max_size          584 fs/ntfs/layout.h /* 98*/	sle64 max_size;			/* Maximum size of attribute. */
max_size          657 fs/pipe.c      	unsigned int max_size = READ_ONCE(pipe_max_size);
max_size          663 fs/pipe.c      	if (pipe_bufs * PAGE_SIZE > max_size && !capable(CAP_SYS_RESOURCE))
max_size          664 fs/pipe.c      		pipe_bufs = max_size >> PAGE_SHIFT;
max_size          101 include/crypto/akcipher.h 	unsigned int (*max_size)(struct crypto_akcipher *tfm);
max_size          272 include/crypto/akcipher.h 	return alg->max_size(tfm);
max_size           77 include/crypto/kpp.h 	unsigned int (*max_size)(struct crypto_kpp *tfm);
max_size          357 include/crypto/kpp.h 	return alg->max_size(tfm);
max_size          516 include/linux/ceph/ceph_fs.h 	__le64 size, max_size, truncate_size;
max_size          711 include/linux/ceph/ceph_fs.h 	__le64 size, max_size, truncate_size;
max_size           84 include/linux/crush/crush.h 	__u8 max_size;
max_size          601 include/linux/efi.h 					      u64 *max_size,
max_size          270 include/linux/fscrypt.h 				       unsigned int max_size,
max_size          548 include/linux/fscrypt.h 					      unsigned int max_size,
max_size         1587 include/linux/greybus/greybus_protocols.h 	__le32 max_size;
max_size          522 include/linux/mlx5/driver.h 	u16                     max_size;
max_size         1158 include/linux/mlx5/driver.h 	return !!(dev->priv.rl_table.max_size);
max_size           61 include/linux/rhashtable-types.h 	unsigned int		max_size;
max_size          187 include/linux/rhashtable.h 	       (!ht->p.max_size || tbl->size < ht->p.max_size);
max_size          212 include/linux/rhashtable.h 		(!ht->p.max_size || tbl->size < ht->p.max_size);
max_size          464 include/linux/spinlock.h 			     size_t max_size, unsigned int cpu_mult,
max_size          468 include/linux/spinlock.h #define alloc_bucket_spinlocks(locks, lock_mask, max_size, cpu_mult, gfp)    \
max_size          473 include/linux/spinlock.h 		ret = __alloc_bucket_spinlocks(locks, lock_mask, max_size,   \
max_size           45 include/media/v4l2-rect.h 					  const struct v4l2_rect *max_size)
max_size           47 include/media/v4l2-rect.h 	if (r->width > max_size->width)
max_size           48 include/media/v4l2-rect.h 		r->width = max_size->width;
max_size           49 include/media/v4l2-rect.h 	if (r->height > max_size->height)
max_size           50 include/media/v4l2-rect.h 		r->height = max_size->height;
max_size          284 include/net/bond_3ad.h 	int max_size = ARRAY_SIZE(churn_description);
max_size          286 include/net/bond_3ad.h 	if (state >= max_size)
max_size          287 include/net/bond_3ad.h 		state = max_size - 1;
max_size           93 include/net/inet_frag.h 	u16			max_size;
max_size          719 include/net/sctp/structs.h 	size_t max_size;
max_size           43 include/sound/vx_core.h 	int max_size;	/* max. IBL size in bytes */
max_size         1294 include/trace/events/btrfs.h 		__field(	u64,	max_size		)
max_size         1303 include/trace/events/btrfs.h 		__entry->max_size	= cluster->max_size;
max_size         1314 include/trace/events/btrfs.h 		  __entry->size, __entry->max_size, __entry->bitmap)
max_size          576 include/uapi/drm/vmwgfx_drm.h 	__u32 max_size;
max_size          443 include/uapi/linux/virtio_crypto.h 	__u64 max_size;
max_size          195 include/xen/interface/platform.h 			uint64_t max_size;
max_size          306 kernel/events/ring_buffer.c 	long max_size = perf_data_size(rb);
max_size          309 kernel/events/ring_buffer.c 		rb->watermark = min(max_size, watermark);
max_size          312 kernel/events/ring_buffer.c 		rb->watermark = max_size / 2;
max_size           27 kernel/power/power.h extern int arch_hibernation_header_save(void *addr, unsigned int max_size);
max_size         1703 kernel/power/snapshot.c 	unsigned long saveable, size, max_size, count, highmem, pages = 0;
max_size         1749 kernel/power/snapshot.c 	max_size = (count - (size + PAGES_FOR_IO)) / 2
max_size         1753 kernel/power/snapshot.c 	if (size > max_size)
max_size         1754 kernel/power/snapshot.c 		size = max_size;
max_size         1778 kernel/power/snapshot.c 		size = min_t(unsigned long, pages, max_size);
max_size         1796 kernel/power/snapshot.c 	alloc = count - max_size;
max_size         1821 kernel/power/snapshot.c 		alloc = max_size - size;
max_size         4937 kernel/trace/ring_buffer.c 	int			max_size;
max_size         5016 kernel/trace/ring_buffer.c 			data->max_size = len;
max_size         5017 kernel/trace/ring_buffer.c 		if (len > data->max_size)
max_size         5018 kernel/trace/ring_buffer.c 			data->max_size = len;
max_size         5165 kernel/trace/ring_buffer.c 		big_event_size = data->max_size + data->max_size_nested;
max_size           15 lib/bucket_locks.c 			     size_t max_size, unsigned int cpu_mult, gfp_t gfp,
max_size           28 lib/bucket_locks.c 		size = min_t(unsigned int, nr_pcpus * cpu_mult, max_size);
max_size           30 lib/bucket_locks.c 		size = max_size;
max_size         1029 lib/rhashtable.c 	if (params->max_size) {
max_size         1030 lib/rhashtable.c 		ht->p.max_size = rounddown_pow_of_two(params->max_size);
max_size         1031 lib/rhashtable.c 		if (ht->p.max_size < ht->max_elems / 2)
max_size         1032 lib/rhashtable.c 			ht->max_elems = ht->p.max_size * 2;
max_size           37 lib/test_rhashtable.c static int max_size = 0;
max_size           38 lib/test_rhashtable.c module_param(max_size, int, 0);
max_size           39 lib/test_rhashtable.c MODULE_PARM_DESC(max_size, "Maximum table size (default: calculated)");
max_size          454 lib/test_rhashtable.c 	test_rht_params.max_size = roundup_pow_of_two(entries / 8);
max_size          710 lib/test_rhashtable.c 	test_rht_params.max_size = max_size ? : roundup_pow_of_two(entries);
max_size          714 lib/test_rhashtable.c 				  test_rht_params.max_size + 1));
max_size          719 lib/test_rhashtable.c 		size, max_size, shrinking);
max_size          725 lib/test_rhashtable.c 		memset(objs, 0, test_rht_params.max_size * sizeof(struct test_obj));
max_size          746 lib/test_rhashtable.c 			test_rht_params.max_size, test_rhashtable_max(objs, entries) == 0 ?
max_size          770 lib/test_rhashtable.c 	test_rht_params.max_size = max_size ? :
max_size         2909 mm/filemap.c   	loff_t max_size = inode->i_sb->s_maxbytes;
max_size         2921 mm/filemap.c   		max_size = MAX_NON_LFS;
max_size         2923 mm/filemap.c   	if (unlikely(pos >= max_size))
max_size         2926 mm/filemap.c   	*count = min(*count, max_size - pos);
max_size          268 net/9p/client.c p9_tag_alloc(struct p9_client *c, int8_t type, unsigned int max_size)
max_size          271 net/9p/client.c 	int alloc_msize = min(c->msize, max_size);
max_size          128 net/bpf/test_run.c static void *bpf_ctx_init(const union bpf_attr *kattr, u32 max_size)
max_size          139 net/bpf/test_run.c 	data = kzalloc(max_size, GFP_USER);
max_size          144 net/bpf/test_run.c 		err = bpf_check_uarg_tail_zero(data_in, max_size, size);
max_size          150 net/bpf/test_run.c 		size = min_t(u32, max_size, size);
max_size           27 net/bridge/br_vlan.c 	.max_size = VLAN_N_VID,
max_size           51 net/ceph/crush/mapper.c 		    map->rules[i]->mask.max_size >= size)
max_size         2549 net/core/rtnetlink.c 		u32 max_size = nla_get_u32(tb[IFLA_GSO_MAX_SIZE]);
max_size         2551 net/core/rtnetlink.c 		if (max_size > GSO_MAX_SIZE) {
max_size         2556 net/core/rtnetlink.c 		if (dev->gso_max_size ^ max_size) {
max_size         2557 net/core/rtnetlink.c 			netif_set_gso_max_size(dev, max_size);
max_size           60 net/core/xdp.c 	.max_size = MEM_ID_MAX,
max_size          359 net/ipv4/ip_fragment.c 	if (fragsize > qp->q.max_size)
max_size          360 net/ipv4/ip_fragment.c 		qp->q.max_size = fragsize;
max_size          433 net/ipv4/ip_fragment.c 	IPCB(skb)->frag_max_size = max(qp->max_df_size, qp->q.max_size);
max_size          447 net/ipv4/ip_fragment.c 	if (qp->max_df_size == qp->q.max_size) {
max_size           90 net/ipv6/ila/ila_xlat.c 	.max_size = 1048576,
max_size          272 net/ipv6/netfilter/nf_conntrack_reasm.c 	if (payload_len > fq->q.max_size)
max_size          273 net/ipv6/netfilter/nf_conntrack_reasm.c 		fq->q.max_size = payload_len;
max_size          357 net/ipv6/netfilter/nf_conntrack_reasm.c 	IP6CB(skb)->frag_max_size = sizeof(struct ipv6hdr) + fq->q.max_size;
max_size          200 net/ipv6/reassembly.c 	if (fragsize > fq->q.max_size)
max_size          201 net/ipv6/reassembly.c 		fq->q.max_size = fragsize;
max_size          292 net/ipv6/reassembly.c 	IP6CB(skb)->frag_max_size = fq->q.max_size;
max_size           73 net/mac80211/sta_info.c 	.max_size = CONFIG_MAC80211_STA_HASH_MAX_SIZE,
max_size          107 net/netfilter/ipvs/ip_vs_lblc.c 	int                     max_size;       /* maximum size of entries */
max_size          311 net/netfilter/ipvs/ip_vs_lblc.c 	if (atomic_read(&tbl->entries) <= tbl->max_size) {
max_size          316 net/netfilter/ipvs/ip_vs_lblc.c 	goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3;
max_size          317 net/netfilter/ipvs/ip_vs_lblc.c 	if (goal > tbl->max_size/2)
max_size          318 net/netfilter/ipvs/ip_vs_lblc.c 		goal = tbl->max_size/2;
max_size          365 net/netfilter/ipvs/ip_vs_lblc.c 	tbl->max_size = IP_VS_LBLC_TAB_SIZE*16;
max_size          275 net/netfilter/ipvs/ip_vs_lblcr.c 	int                     max_size;       /* maximum size of entries */
max_size          475 net/netfilter/ipvs/ip_vs_lblcr.c 	if (atomic_read(&tbl->entries) <= tbl->max_size) {
max_size          480 net/netfilter/ipvs/ip_vs_lblcr.c 	goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3;
max_size          481 net/netfilter/ipvs/ip_vs_lblcr.c 	if (goal > tbl->max_size/2)
max_size          482 net/netfilter/ipvs/ip_vs_lblcr.c 		goal = tbl->max_size/2;
max_size          528 net/netfilter/ipvs/ip_vs_lblcr.c 	tbl->max_size = IP_VS_LBLCR_TAB_SIZE*16;
max_size           49 net/rds/bind.c 	.max_size = 16384,
max_size           99 net/sched/sch_tbf.c 	u32		max_size;
max_size          186 net/sched/sch_tbf.c 	if (qdisc_pkt_len(skb) > q->max_size) {
max_size          188 net/sched/sch_tbf.c 		    skb_gso_validate_mac_len(skb, q->max_size))
max_size          302 net/sched/sch_tbf.c 	u64 max_size;
max_size          334 net/sched/sch_tbf.c 		max_size = nla_get_u32(tb[TCA_TBF_BURST]);
max_size          335 net/sched/sch_tbf.c 		buffer = psched_l2t_ns(&rate, max_size);
max_size          337 net/sched/sch_tbf.c 		max_size = min_t(u64, psched_ns_t2l(&rate, buffer), ~0U);
max_size          353 net/sched/sch_tbf.c 			max_size = min_t(u32, max_size, pburst);
max_size          356 net/sched/sch_tbf.c 			max_size = min_t(u64, max_size, psched_ns_t2l(&peak, mtu));
max_size          362 net/sched/sch_tbf.c 	if (max_size < psched_mtu(qdisc_dev(sch)))
max_size          364 net/sched/sch_tbf.c 				    max_size, qdisc_dev(sch)->name,
max_size          367 net/sched/sch_tbf.c 	if (!max_size) {
max_size          399 net/sched/sch_tbf.c 	q->max_size = max_size;
max_size           89 net/sctp/output.c 	packet->max_size = tp->pathmtu;
max_size          136 net/sctp/output.c 	packet->max_size = sk_can_gso(sk) ? tp->dst->dev->gso_max_size
max_size          819 net/sctp/output.c 		if (psize + chunk_len > packet->max_size)
max_size         2861 net/tipc/socket.c 	.max_size = 1048576,
max_size           29 security/apparmor/include/policy_ns.h 	int max_size;
max_size          118 security/integrity/ima/ima_crypto.c static void *ima_alloc_pages(loff_t max_size, size_t *allocated_size,
max_size          126 security/integrity/ima/ima_crypto.c 		order = min(get_order(max_size), order);
max_size          627 sound/drivers/vx/vx_core.c 		    chip->ibl.min_size, chip->ibl.max_size, chip->ibl.size,
max_size          191 sound/drivers/vx/vx_pcm.c 	info->max_size = rmh.Stat[1];
max_size          195 sound/drivers/vx/vx_pcm.c 		   info->size, info->max_size, info->min_size, info->granularity);
max_size         1187 sound/drivers/vx/vx_pcm.c 		if (chip->ibl.size > chip->ibl.max_size)
max_size         1188 sound/drivers/vx/vx_pcm.c 			chip->ibl.size = chip->ibl.max_size;
max_size           23 sound/firewire/bebob/bebob_proc.c 	u32 max_size;
max_size           62 sound/firewire/bebob/bebob_proc.c 	snd_iprintf(buffer, "Max Size:\t%d\n", info->max_size);
max_size           98 sound/pci/emu10k1/memory.c 	int max_size = npages;
max_size          112 sound/pci/emu10k1/memory.c 		else if (size > max_size) {
max_size          114 sound/pci/emu10k1/memory.c 			max_size = size;
max_size          121 sound/pci/emu10k1/memory.c 	if (size >= max_size) {
max_size         1330 sound/pci/es1968.c 	int max_size = 0;
max_size         1335 sound/pci/es1968.c 		if (buf->empty && buf->buf.bytes > max_size)
max_size         1336 sound/pci/es1968.c 			max_size = buf->buf.bytes;
max_size         1339 sound/pci/es1968.c 	if (max_size >= 128*1024)
max_size         1340 sound/pci/es1968.c 		max_size = 127*1024;
max_size         1341 sound/pci/es1968.c 	return max_size;
max_size          327 sound/pci/trident/trident.h 	int max_size;			/* maximum synth memory size in bytes */
max_size         3564 sound/pci/trident/trident_main.c 	trident->synth.max_size = max_wavetable_size * 1024;
max_size          107 sound/soc/intel/skylake/skl-sst-cldma.c 		struct snd_dma_buffer *dmab_bdl, unsigned int max_size,
max_size          116 sound/soc/intel/skylake/skl-sst-cldma.c 	sst_dsp_shim_write(ctx, SKL_ADSP_REG_CL_SD_CBL, max_size);
max_size          201 sound/soc/intel/skylake/skl-sst-cldma.h 			unsigned int max_size, u32 page_count);
max_size          544 sound/soc/sof/topology.c 	int max_size = sbe->max;
max_size          550 sound/soc/sof/topology.c 	if (scontrol->size > max_size) {
max_size          552 sound/soc/sof/topology.c 			scontrol->size, max_size);
max_size          556 sound/soc/sof/topology.c 	scontrol->control_data = kzalloc(max_size, GFP_KERNEL);
max_size          896 tools/perf/arch/x86/util/intel-pt.c 	const size_t max_size = 256 * 1024;
max_size          906 tools/perf/arch/x86/util/intel-pt.c 	if (!buf_size || buf_size > max_size)
max_size          907 tools/perf/arch/x86/util/intel-pt.c 		buf_size = max_size;
max_size          145 tools/perf/util/callchain.c 	unsigned long max_size = round_down(USHRT_MAX, sizeof(u64));
max_size          154 tools/perf/util/callchain.c 		if (!size || size > max_size)
max_size          163 tools/perf/util/callchain.c 	       max_size, str);
max_size         1904 tools/perf/util/evsel.c static inline bool overflow(const void *endp, u16 max_size, const void *offset,
max_size         1907 tools/perf/util/evsel.c 	return size > max_size || offset + size > endp;
max_size         1910 tools/perf/util/evsel.c #define OVERFLOW_CHECK(offset, size, max_size)				\
max_size         1912 tools/perf/util/evsel.c 		if (overflow(endp, (max_size), (offset), (size)))	\
max_size         1939 tools/perf/util/evsel.c 	u16 max_size = event->header.size;
max_size         1940 tools/perf/util/evsel.c 	const void *endp = (void *)event + max_size;
max_size         2063 tools/perf/util/evsel.c 			OVERFLOW_CHECK(array, sz, max_size);
max_size         2082 tools/perf/util/evsel.c 		OVERFLOW_CHECK(array, sz, max_size);
max_size         2112 tools/perf/util/evsel.c 		OVERFLOW_CHECK(array, data->raw_size, max_size);
max_size         2127 tools/perf/util/evsel.c 		OVERFLOW_CHECK(array, sz, max_size);
max_size         2140 tools/perf/util/evsel.c 			OVERFLOW_CHECK(array, sz, max_size);
max_size         2157 tools/perf/util/evsel.c 			OVERFLOW_CHECK(array, sz, max_size);
max_size         2196 tools/perf/util/evsel.c 			OVERFLOW_CHECK(array, sz, max_size);
max_size          102 tools/perf/util/header.c 	const size_t max_size = 0xffff - sizeof(struct perf_event_header);
max_size          106 tools/perf/util/header.c 	if (size + ff->offset > max_size)
max_size          111 tools/perf/util/header.c 	new_size = min(max_size, new_size);
max_size           33 tools/testing/selftests/powerpc/stringloops/memcmp.c 		unsigned long size_start, unsigned long max_size)
max_size           38 tools/testing/selftests/powerpc/stringloops/memcmp.c 		for (size = size_start; size < (max_size - offset); size++) {
max_size           30 tools/vm/page_owner_sort.c static int max_size;
max_size           69 tools/vm/page_owner_sort.c 	if (list_size == max_size) {
max_size          110 tools/vm/page_owner_sort.c 	max_size = st.st_size / 100; /* hack ... */
max_size          112 tools/vm/page_owner_sort.c 	list = malloc(max_size * sizeof(*list));
max_size          797 tools/vm/slabinfo.c 	unsigned long long min_size = max, max_size = 0,
max_size          892 tools/vm/slabinfo.c 		if (size > max_size)
max_size          893 tools/vm/slabinfo.c 			max_size = size;
max_size         1005 tools/vm/slabinfo.c 	store_size(b3, max_size);store_size(b4, total_size);
max_size         2240 virt/kvm/arm/vgic/vgic-its.c 	size_t max_size = BIT_ULL(dev->num_eventid_bits) * ite_esz;
max_size         2242 virt/kvm/arm/vgic/vgic-its.c 	ret = scan_its_table(its, base, max_size, ite_esz, 0,
max_size         2500 virt/kvm/arm/vgic/vgic-its.c 	size_t max_size, filled = 0;
max_size         2506 virt/kvm/arm/vgic/vgic-its.c 	max_size = GITS_BASER_NR_PAGES(baser) * SZ_64K;
max_size         2516 virt/kvm/arm/vgic/vgic-its.c 	if (filled == max_size)
max_size         2539 virt/kvm/arm/vgic/vgic-its.c 	size_t max_size, read = 0;
max_size         2548 virt/kvm/arm/vgic/vgic-its.c 	max_size = GITS_BASER_NR_PAGES(baser) * SZ_64K;
max_size         2550 virt/kvm/arm/vgic/vgic-its.c 	while (read < max_size) {