max_len            41 arch/m68k/amiga/pcmcia.c int pcmcia_copy_tuple(unsigned char tuple_id, void *tuple, int max_len)
max_len            54 arch/m68k/amiga/pcmcia.c 			len = (len > max_len)?max_len:len;
max_len            21 arch/m68k/include/asm/amipcmcia.h int pcmcia_copy_tuple(unsigned char tuple_id, void *tuple, int max_len);
max_len           374 arch/powerpc/perf/hv-24x7.c static char *memdup_to_str(char *maybe_str, int max_len, gfp_t gfp)
max_len           376 arch/powerpc/perf/hv-24x7.c 	return kasprintf(gfp, "%.*s", max_len, maybe_str);
max_len           198 block/blk-merge.c 	unsigned max_len = (min(max_sectors, UINT_MAX >> 9) - *sectors) << 9;
max_len           199 block/blk-merge.c 	unsigned len = min(bv->bv_len, max_len);
max_len           218 block/blk-merge.c 	return len > 0 || bv->bv_len > max_len;
max_len           746 crypto/testmgr.c static unsigned int generate_random_length(unsigned int max_len)
max_len           748 crypto/testmgr.c 	unsigned int len = prandom_u32() % (max_len + 1);
max_len          1139 drivers/auxdisplay/panel.c static void keypad_send_key(const char *string, int max_len)
max_len          1143 drivers/auxdisplay/panel.c 		while (max_len-- && keypad_buflen < KEYPAD_BUFFER && *string) {
max_len          1340 drivers/crypto/talitos.c 	int max_len = is_sec1 ? TALITOS1_MAX_DATA_LEN : TALITOS2_MAX_DATA_LEN;
max_len          1342 drivers/crypto/talitos.c 	if (cryptlen + authsize > max_len) {
max_len           185 drivers/dma/bcm2835-dma.c 						   size_t max_len)
max_len           187 drivers/dma/bcm2835-dma.c 	return DIV_ROUND_UP(len, max_len);
max_len           231 drivers/dma/bcm2835-dma.c 	size_t max_len = bcm2835_dma_max_frame_length(chan);
max_len           234 drivers/dma/bcm2835-dma.c 	control_block->length = min_t(u32, len, max_len);
max_len           393 drivers/dma/bcm2835-dma.c 	size_t len, max_len;
max_len           398 drivers/dma/bcm2835-dma.c 	max_len = bcm2835_dma_max_frame_length(c);
max_len           407 drivers/dma/bcm2835-dma.c 			cb->cb->length = min(len, max_len);
max_len           622 drivers/dma/bcm2835-dma.c 	size_t max_len = bcm2835_dma_max_frame_length(c);
max_len           630 drivers/dma/bcm2835-dma.c 	frames = bcm2835_dma_frames_for_length(len, max_len);
max_len           705 drivers/dma/bcm2835-dma.c 	size_t max_len = bcm2835_dma_max_frame_length(c);
max_len           760 drivers/dma/bcm2835-dma.c 		 bcm2835_dma_frames_for_length(period_len, max_len);
max_len            12 drivers/firmware/google/vpd_decode.c static int vpd_decode_len(const u32 max_len, const u8 *in,
max_len            23 drivers/firmware/google/vpd_decode.c 		if (i >= max_len)
max_len            36 drivers/firmware/google/vpd_decode.c static int vpd_decode_entry(const u32 max_len, const u8 *input_buf,
max_len            42 drivers/firmware/google/vpd_decode.c 	if (vpd_decode_len(max_len - consumed, &input_buf[consumed],
max_len            45 drivers/firmware/google/vpd_decode.c 	if (max_len - consumed < decoded_len)
max_len            52 drivers/firmware/google/vpd_decode.c 	if (max_len - consumed < *entry_len)
max_len            60 drivers/firmware/google/vpd_decode.c int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed,
max_len            70 drivers/firmware/google/vpd_decode.c 	if (*consumed >= max_len)
max_len            80 drivers/firmware/google/vpd_decode.c 		if (vpd_decode_entry(max_len, input_buf, consumed, &key,
max_len            84 drivers/firmware/google/vpd_decode.c 		if (vpd_decode_entry(max_len, input_buf, consumed, &value,
max_len            47 drivers/firmware/google/vpd_decode.h int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed,
max_len           183 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	const u64 max_len = rounddown_pow_of_two(UINT_MAX);
max_len           206 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 				       max_len);
max_len           587 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c size_t intel_uc_fw_copy_rsa(struct intel_uc_fw *uc_fw, void *dst, u32 max_len)
max_len           590 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c 	u32 size = min_t(u32, uc_fw->rsa_size, max_len);
max_len           238 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h size_t intel_uc_fw_copy_rsa(struct intel_uc_fw *uc_fw, void *dst, u32 max_len);
max_len           182 drivers/infiniband/core/uverbs_ioctl.c 	    array_len > spec->u2.objs_arr.max_len)
max_len           584 drivers/infiniband/hw/hfi1/mad.c 				   u8 port, u32 *resp_len, u32 max_len)
max_len           588 drivers/infiniband/hw/hfi1/mad.c 	if (am || smp_length_check(sizeof(*nd), max_len)) {
max_len           605 drivers/infiniband/hw/hfi1/mad.c 				   u32 *resp_len, u32 max_len)
max_len           615 drivers/infiniband/hw/hfi1/mad.c 	    smp_length_check(sizeof(*ni), max_len) ||
max_len           798 drivers/infiniband/hw/hfi1/mad.c 				   u32 *resp_len, u32 max_len)
max_len           814 drivers/infiniband/hw/hfi1/mad.c 	if (num_ports != 1 || smp_length_check(sizeof(*pi), max_len)) {
max_len          1023 drivers/infiniband/hw/hfi1/mad.c 				    u32 *resp_len, u32 max_len)
max_len          1046 drivers/infiniband/hw/hfi1/mad.c 	if (smp_length_check(size, max_len)) {
max_len          1353 drivers/infiniband/hw/hfi1/mad.c 				   u32 *resp_len, u32 max_len, int local_mad)
max_len          1375 drivers/infiniband/hw/hfi1/mad.c 	    smp_length_check(sizeof(*pi), max_len)) {
max_len          1643 drivers/infiniband/hw/hfi1/mad.c 				      max_len);
max_len          1661 drivers/infiniband/hw/hfi1/mad.c 				       max_len);
max_len          1722 drivers/infiniband/hw/hfi1/mad.c 				    u32 *resp_len, u32 max_len)
max_len          1745 drivers/infiniband/hw/hfi1/mad.c 	if (smp_length_check(size, max_len)) {
max_len          1768 drivers/infiniband/hw/hfi1/mad.c 					max_len);
max_len          1829 drivers/infiniband/hw/hfi1/mad.c 				   u32 *resp_len, u32 max_len)
max_len          1836 drivers/infiniband/hw/hfi1/mad.c 	if (am || smp_length_check(size, max_len)) {
max_len          1852 drivers/infiniband/hw/hfi1/mad.c 				   u32 *resp_len, u32 max_len)
max_len          1860 drivers/infiniband/hw/hfi1/mad.c 	if (am || smp_length_check(size, max_len)) {
max_len          1876 drivers/infiniband/hw/hfi1/mad.c 				       max_len);
max_len          1881 drivers/infiniband/hw/hfi1/mad.c 				   u32 *resp_len, u32 max_len)
max_len          1888 drivers/infiniband/hw/hfi1/mad.c 	if (am || smp_length_check(size, max_len)) {
max_len          1904 drivers/infiniband/hw/hfi1/mad.c 				   u32 *resp_len, u32 max_len)
max_len          1911 drivers/infiniband/hw/hfi1/mad.c 	if (am || smp_length_check(size, max_len)) {
max_len          1920 drivers/infiniband/hw/hfi1/mad.c 				       max_len);
max_len          1925 drivers/infiniband/hw/hfi1/mad.c 				    u32 *resp_len, u32 max_len)
max_len          1932 drivers/infiniband/hw/hfi1/mad.c 	if (n_blocks != 1 || smp_length_check(size, max_len)) {
max_len          1947 drivers/infiniband/hw/hfi1/mad.c 				    u32 *resp_len, u32 max_len)
max_len          1963 drivers/infiniband/hw/hfi1/mad.c 	if (n_blocks != 1 || async_update || smp_length_check(size, max_len)) {
max_len          1984 drivers/infiniband/hw/hfi1/mad.c 					max_len);
max_len          1989 drivers/infiniband/hw/hfi1/mad.c 				     u32 *resp_len, u32 max_len)
max_len          1997 drivers/infiniband/hw/hfi1/mad.c 	if (n_blocks != 1 || smp_length_check(size, max_len)) {
max_len          2014 drivers/infiniband/hw/hfi1/mad.c 				     u32 *resp_len, u32 max_len)
max_len          2023 drivers/infiniband/hw/hfi1/mad.c 	if (n_blocks != 1 || smp_length_check(size, max_len)) {
max_len          2041 drivers/infiniband/hw/hfi1/mad.c 					 resp_len, max_len);
max_len          2046 drivers/infiniband/hw/hfi1/mad.c 			      u32 *resp_len, u32 max_len)
max_len          2055 drivers/infiniband/hw/hfi1/mad.c 	if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) {
max_len          2088 drivers/infiniband/hw/hfi1/mad.c 			      u32 *resp_len, u32 max_len, int local_mad)
max_len          2099 drivers/infiniband/hw/hfi1/mad.c 	if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) {
max_len          2131 drivers/infiniband/hw/hfi1/mad.c 				  max_len);
max_len          2136 drivers/infiniband/hw/hfi1/mad.c 				     u32 *resp_len, u32 max_len)
max_len          2144 drivers/infiniband/hw/hfi1/mad.c 	    smp_length_check(len, max_len)) {
max_len          2188 drivers/infiniband/hw/hfi1/mad.c 			      u32 max_len)
max_len          2196 drivers/infiniband/hw/hfi1/mad.c 	if (num_ports != 1 || smp_length_check(size, max_len)) {
max_len          2212 drivers/infiniband/hw/hfi1/mad.c 			      u32 max_len)
max_len          2219 drivers/infiniband/hw/hfi1/mad.c 	if (num_ports != 1 || smp_length_check(sizeof(*p), max_len)) {
max_len          2231 drivers/infiniband/hw/hfi1/mad.c 				  max_len);
max_len          2236 drivers/infiniband/hw/hfi1/mad.c 				 u32 *resp_len, u32 max_len)
max_len          2244 drivers/infiniband/hw/hfi1/mad.c 	if (num_ports != 1 || smp_length_check(size, max_len)) {
max_len          2278 drivers/infiniband/hw/hfi1/mad.c 				 u32 *resp_len, u32 max_len)
max_len          2286 drivers/infiniband/hw/hfi1/mad.c 	if (num_ports != 1 || smp_length_check(size, max_len)) {
max_len          2315 drivers/infiniband/hw/hfi1/mad.c 				     max_len);
max_len          3707 drivers/infiniband/hw/hfi1/mad.c 				    u32 *resp_len, u32 max_len)
max_len          3714 drivers/infiniband/hw/hfi1/mad.c 	if (smp_length_check(sizeof(*p), max_len)) {
max_len          3731 drivers/infiniband/hw/hfi1/mad.c 				       u8 port, u32 *resp_len, u32 max_len)
max_len          3741 drivers/infiniband/hw/hfi1/mad.c 	if (smp_length_check(sizeof(*p), max_len)) {
max_len          3824 drivers/infiniband/hw/hfi1/mad.c 				       u32 *resp_len, u32 max_len)
max_len          3833 drivers/infiniband/hw/hfi1/mad.c 	if (smp_length_check(sizeof(*p), max_len)) {
max_len          3859 drivers/infiniband/hw/hfi1/mad.c 					   resp_len, max_len);
max_len          3864 drivers/infiniband/hw/hfi1/mad.c 					u8 port, u32 *resp_len, u32 max_len)
max_len          3872 drivers/infiniband/hw/hfi1/mad.c 	if (am || smp_length_check(sizeof(*cong_log), max_len)) {
max_len          3930 drivers/infiniband/hw/hfi1/mad.c 				   u32 *resp_len, u32 max_len)
max_len          3945 drivers/infiniband/hw/hfi1/mad.c 	if (n_blocks == 0 || smp_length_check(size, max_len) ||
max_len          3982 drivers/infiniband/hw/hfi1/mad.c 				   u32 *resp_len, u32 max_len)
max_len          3996 drivers/infiniband/hw/hfi1/mad.c 	if (n_blocks == 0 || smp_length_check(size, max_len) ||
max_len          4028 drivers/infiniband/hw/hfi1/mad.c 				       max_len);
max_len          4041 drivers/infiniband/hw/hfi1/mad.c 				   u32 *resp_len, u32 max_len)
max_len          4049 drivers/infiniband/hw/hfi1/mad.c 	if (nport != 1 || smp_length_check(sizeof(*p), max_len)) {
max_len          4071 drivers/infiniband/hw/hfi1/mad.c 				   u32 *resp_len, u32 max_len)
max_len          4078 drivers/infiniband/hw/hfi1/mad.c 	if (nport != 1 || smp_length_check(sizeof(*p), max_len)) {
max_len          4089 drivers/infiniband/hw/hfi1/mad.c 				       max_len);
max_len          4094 drivers/infiniband/hw/hfi1/mad.c 			    u32 *resp_len, u32 max_len)
max_len          4102 drivers/infiniband/hw/hfi1/mad.c 					      resp_len, max_len);
max_len          4106 drivers/infiniband/hw/hfi1/mad.c 					      resp_len, max_len);
max_len          4110 drivers/infiniband/hw/hfi1/mad.c 					      resp_len, max_len);
max_len          4114 drivers/infiniband/hw/hfi1/mad.c 					       resp_len, max_len);
max_len          4118 drivers/infiniband/hw/hfi1/mad.c 					      resp_len, max_len);
max_len          4122 drivers/infiniband/hw/hfi1/mad.c 					      resp_len, max_len);
max_len          4126 drivers/infiniband/hw/hfi1/mad.c 					       resp_len, max_len);
max_len          4130 drivers/infiniband/hw/hfi1/mad.c 						resp_len, max_len);
max_len          4134 drivers/infiniband/hw/hfi1/mad.c 					 resp_len, max_len);
max_len          4138 drivers/infiniband/hw/hfi1/mad.c 					 resp_len, max_len);
max_len          4142 drivers/infiniband/hw/hfi1/mad.c 						resp_len, max_len);
max_len          4146 drivers/infiniband/hw/hfi1/mad.c 					    resp_len, max_len);
max_len          4150 drivers/infiniband/hw/hfi1/mad.c 					       resp_len, max_len);
max_len          4154 drivers/infiniband/hw/hfi1/mad.c 						  port, resp_len, max_len);
max_len          4158 drivers/infiniband/hw/hfi1/mad.c 						   port, resp_len, max_len);
max_len          4162 drivers/infiniband/hw/hfi1/mad.c 					      resp_len, max_len);
max_len          4166 drivers/infiniband/hw/hfi1/mad.c 					      resp_len, max_len);
max_len          4184 drivers/infiniband/hw/hfi1/mad.c 			    u32 *resp_len, u32 max_len, int local_mad)
max_len          4192 drivers/infiniband/hw/hfi1/mad.c 					      resp_len, max_len, local_mad);
max_len          4196 drivers/infiniband/hw/hfi1/mad.c 					       resp_len, max_len);
max_len          4200 drivers/infiniband/hw/hfi1/mad.c 					      resp_len, max_len);
max_len          4204 drivers/infiniband/hw/hfi1/mad.c 					      resp_len, max_len);
max_len          4208 drivers/infiniband/hw/hfi1/mad.c 					       resp_len, max_len);
max_len          4212 drivers/infiniband/hw/hfi1/mad.c 						resp_len, max_len);
max_len          4216 drivers/infiniband/hw/hfi1/mad.c 					 resp_len, max_len, local_mad);
max_len          4220 drivers/infiniband/hw/hfi1/mad.c 					 resp_len, max_len);
max_len          4224 drivers/infiniband/hw/hfi1/mad.c 					    resp_len, max_len);
max_len          4228 drivers/infiniband/hw/hfi1/mad.c 						  port, resp_len, max_len);
max_len          4232 drivers/infiniband/hw/hfi1/mad.c 					      resp_len, max_len);
max_len          4236 drivers/infiniband/hw/hfi1/mad.c 					      resp_len, max_len);
max_len          1062 drivers/infiniband/hw/hfi1/rc.c 		len = wqe->length - (req->comp_seg * remote->max_len);
max_len           164 drivers/infiniband/hw/hfi1/tid_rdma.c 		(((u64)((p->max_len >> PAGE_SHIFT) - 1) &
max_len           178 drivers/infiniband/hw/hfi1/tid_rdma.c 	p->max_len = (((data >> TID_OPFN_MAX_LEN_SHIFT) &
max_len           198 drivers/infiniband/hw/hfi1/tid_rdma.c 	p->max_len = TID_RDMA_MAX_SEGMENT_SIZE;
max_len           257 drivers/infiniband/hw/hfi1/tid_rdma.c 	priv->pkts_ps = (u16)rvt_div_mtu(qp, remote->max_len);
max_len          1968 drivers/infiniband/hw/hfi1/tid_rdma.c 	req->seg_len = qpriv->tid_rdma.local.max_len;
max_len          2256 drivers/infiniband/hw/hfi1/tid_rdma.c 	if (!len || len & ~PAGE_MASK || len > qpriv->tid_rdma.local.max_len)
max_len          3318 drivers/infiniband/hw/hfi1/tid_rdma.c 			min_t(u32, remote->max_len, wqe->length);
max_len          3679 drivers/infiniband/hw/hfi1/tid_rdma.c 	num_segs = DIV_ROUND_UP(len, qpriv->tid_rdma.local.max_len);
max_len          3751 drivers/infiniband/hw/hfi1/tid_rdma.c 	req->seg_len = qpriv->tid_rdma.local.max_len;
max_len            61 drivers/infiniband/hw/hfi1/tid_rdma.h 	u32 max_len;
max_len           309 drivers/infiniband/hw/hfi1/trace_tid.h 		__field(u32, max_len)
max_len           321 drivers/infiniband/hw/hfi1/trace_tid.h 		__entry->max_len = param->max_len;
max_len           336 drivers/infiniband/hw/hfi1/trace_tid.h 		__entry->max_len,
max_len           442 drivers/infiniband/hw/hfi1/vnic_main.c 	int max_len = vinfo->netdev->mtu + VLAN_ETH_HLEN;
max_len           448 drivers/infiniband/hw/hfi1/vnic_main.c 	if (unlikely(skb->len > max_len))
max_len           585 drivers/input/joystick/gamecon.c 	int i, j, max_len = 0;
max_len           607 drivers/input/joystick/gamecon.c 		    GC_PSX_LEN(id[i]) > max_len &&
max_len           609 drivers/input/joystick/gamecon.c 			max_len = GC_PSX_LEN(id[i]);
max_len           614 drivers/input/joystick/gamecon.c 	for (i = 0; i < max_len; i++) {
max_len           740 drivers/iommu/dma-iommu.c 	unsigned int cur_len = 0, max_len = dma_get_max_seg_size(dev);
max_len           762 drivers/iommu/dma-iommu.c 		    (max_len - cur_len >= s_length)) {
max_len          1028 drivers/md/dm.c 	sector_t offset, max_len;
max_len          1036 drivers/md/dm.c 			max_len = sector_div(offset, ti->max_io_len);
max_len          1038 drivers/md/dm.c 			max_len = offset & (ti->max_io_len - 1);
max_len          1039 drivers/md/dm.c 		max_len = ti->max_io_len - max_len;
max_len          1041 drivers/md/dm.c 		if (len > max_len)
max_len          1042 drivers/md/dm.c 			len = max_len;
max_len          1082 drivers/media/pci/cx18/cx18-driver.c 				.max_len = 64,
max_len           495 drivers/media/pci/cx18/cx18-dvb.c 				.max_len = 64,
max_len           527 drivers/media/pci/cx18/cx18-dvb.c 				.max_len = 64,
max_len           550 drivers/media/pci/cx18/cx18-dvb.c 				.max_len = 64,
max_len          1346 drivers/media/pci/cx23885/cx23885-dvb.c 				.max_len     = 64,
max_len          1398 drivers/media/pci/cx23885/cx23885-dvb.c 				.max_len = 64,
max_len          1440 drivers/media/pci/cx23885/cx23885-dvb.c 				.max_len     = 64,
max_len          1492 drivers/media/pci/cx23885/cx23885-dvb.c 				.max_len     = 64,
max_len          1235 drivers/media/pci/cx23885/cx23885-video.c 					.max_len = 64
max_len          1247 drivers/media/pci/cx23885/cx23885-video.c 					.max_len = 64
max_len          3355 drivers/media/pci/cx88/cx88-cards.c 	ctl->max_len = 64;
max_len          1371 drivers/media/pci/cx88/cx88-dvb.c 				.max_len     = 64,
max_len          1199 drivers/media/pci/ivtv/ivtv-driver.c 				.max_len = 64,
max_len          7679 drivers/media/pci/saa7134/saa7134-cards.c 		ctl.max_len = 64;
max_len           549 drivers/media/tuners/tuner-xc2028.c 	if (priv->ctrl.max_len > sizeof(buf))
max_len           550 drivers/media/tuners/tuner-xc2028.c 		priv->ctrl.max_len = sizeof(buf);
max_len           628 drivers/media/tuners/tuner-xc2028.c 			int len = (size < priv->ctrl.max_len - 1) ?
max_len           629 drivers/media/tuners/tuner-xc2028.c 				   size : priv->ctrl.max_len - 1;
max_len          1406 drivers/media/tuners/tuner-xc2028.c 	if (priv->ctrl.max_len < 9)
max_len          1407 drivers/media/tuners/tuner-xc2028.c 		priv->ctrl.max_len = 13;
max_len          1485 drivers/media/tuners/tuner-xc2028.c 		priv->ctrl.max_len = 13;
max_len            36 drivers/media/tuners/tuner-xc2028.h 	int			max_len;
max_len          1192 drivers/media/usb/cx231xx/cx231xx-cards.c 			.max_len = 64,
max_len           783 drivers/media/usb/dvb-usb/cxusb.c 		.max_len     = 64,
max_len           445 drivers/media/usb/dvb-usb/dib0700_devices.c 	.max_len = 64,
max_len          3234 drivers/media/usb/em28xx/em28xx-cards.c 	ctl->max_len = 64;
max_len           931 drivers/media/usb/tm6000/tm6000-cards.c 			ctl.max_len = 80;
max_len           398 drivers/media/usb/usbvision/usbvision-i2c.c 	int max_len = 4;
max_len           401 drivers/media/usb/usbvision/usbvision-i2c.c 		count = (len > max_len) ? max_len : len;
max_len           290 drivers/mmc/host/sdhci-omap.c 	u32 length = 0, max_len = 0;
max_len           355 drivers/mmc/host/sdhci-omap.c 		if (length > max_len) {
max_len           357 drivers/mmc/host/sdhci-omap.c 			max_len = length;
max_len           364 drivers/mmc/host/sdhci-omap.c 	if (!max_len) {
max_len           375 drivers/mmc/host/sdhci-omap.c 		phase_delay = min(max_window + 4 * (max_len - 1) - 24,
max_len           377 drivers/mmc/host/sdhci-omap.c 				  DIV_ROUND_UP(13 * max_len, 16) * 4);
max_len           379 drivers/mmc/host/sdhci-omap.c 		phase_delay = max_window + DIV_ROUND_UP(9 * max_len, 16) * 4;
max_len           381 drivers/mmc/host/sdhci-omap.c 		phase_delay = max_window + DIV_ROUND_UP(8 * max_len, 16) * 4;
max_len           383 drivers/mmc/host/sdhci-omap.c 		phase_delay = max_window + DIV_ROUND_UP(7 * max_len, 16) * 4;
max_len           385 drivers/mmc/host/sdhci-omap.c 		phase_delay = max_window + DIV_ROUND_UP(5 * max_len, 16) * 4;
max_len           387 drivers/mmc/host/sdhci-omap.c 		phase_delay = max_window + DIV_ROUND_UP(4 * max_len, 16) * 4;
max_len           389 drivers/mmc/host/sdhci-omap.c 		phase_delay = max_window + DIV_ROUND_UP(3 * max_len, 16) * 4;
max_len           362 drivers/mmc/host/sunxi-mmc.c 	int i, max_len = (1 << host->cfg->idma_des_size_bits);
max_len           369 drivers/mmc/host/sunxi-mmc.c 		if (data->sg[i].length == max_len)
max_len          1202 drivers/net/ethernet/alteon/acenic.c 	info->cmd_ctrl.max_len = 0;
max_len          1215 drivers/net/ethernet/alteon/acenic.c 	info->rx_std_ctrl.max_len = ACE_STD_BUFSIZE;
max_len          1231 drivers/net/ethernet/alteon/acenic.c 	info->rx_jumbo_ctrl.max_len = 0;
max_len          1253 drivers/net/ethernet/alteon/acenic.c 		info->rx_mini_ctrl.max_len = ACE_MINI_SIZE;
max_len          1263 drivers/net/ethernet/alteon/acenic.c 		info->rx_mini_ctrl.max_len = 0;
max_len          1276 drivers/net/ethernet/alteon/acenic.c 	info->rx_return_ctrl.max_len = RX_RETURN_RING_ENTRIES;
max_len          1300 drivers/net/ethernet/alteon/acenic.c 	info->tx_ctrl.max_len = ACE_TX_RING_ENTRIES(ap);
max_len           531 drivers/net/ethernet/alteon/acenic.h 	u16	max_len;
max_len           533 drivers/net/ethernet/alteon/acenic.h 	u16	max_len;
max_len          2695 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	unsigned int len, buf1_len, buf2_len, max_len;
max_len          2800 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		max_len = netdev->mtu + ETH_HLEN;
max_len          2803 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 			max_len += VLAN_HLEN;
max_len          2805 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		if (skb->len > max_len) {
max_len          1954 drivers/net/ethernet/atheros/atlx/atl2.c 	int max_len, first_dword, last_dword, ret_val = 0;
max_len          1963 drivers/net/ethernet/atheros/atlx/atl2.c 	max_len = 512;
max_len          1967 drivers/net/ethernet/atheros/atlx/atl2.c 	eeprom_buff = kmalloc(max_len, GFP_KERNEL);
max_len           515 drivers/net/ethernet/cortina/gemini.c 	config0.bits.max_len = gmac_pick_rx_max_len(netdev->mtu);
max_len          1975 drivers/net/ethernet/cortina/gemini.c 	int max_len = gmac_pick_rx_max_len(new_mtu);
max_len          1977 drivers/net/ethernet/cortina/gemini.c 	if (max_len < 0)
max_len          1983 drivers/net/ethernet/cortina/gemini.c 	gmac_update_config0_reg(netdev, max_len << CONFIG0_MAXLEN_SHIFT,
max_len           734 drivers/net/ethernet/cortina/gemini.h 		unsigned int max_len:3;
max_len           474 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	int max_len, first_word, last_word, ret_val = 0;
max_len           483 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	max_len = hw->eeprom.word_size * 2;
max_len           487 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	eeprom_buff = kmalloc(max_len, GFP_KERNEL);
max_len           557 drivers/net/ethernet/intel/e1000e/ethtool.c 	int max_len;
max_len           573 drivers/net/ethernet/intel/e1000e/ethtool.c 	max_len = hw->nvm.word_size * 2;
max_len           577 drivers/net/ethernet/intel/e1000e/ethtool.c 	eeprom_buff = kmalloc(max_len, GFP_KERNEL);
max_len           778 drivers/net/ethernet/intel/igb/igb_ethtool.c 	int max_len, first_word, last_word, ret_val = 0;
max_len           792 drivers/net/ethernet/intel/igb/igb_ethtool.c 	max_len = hw->nvm.word_size * 2;
max_len           796 drivers/net/ethernet/intel/igb/igb_ethtool.c 	eeprom_buff = kmalloc(max_len, GFP_KERNEL);
max_len           410 drivers/net/ethernet/intel/igc/igc_ethtool.c 	int max_len, first_word, last_word, ret_val = 0;
max_len           426 drivers/net/ethernet/intel/igc/igc_ethtool.c 	max_len = hw->nvm.word_size * 2;
max_len           430 drivers/net/ethernet/intel/igc/igc_ethtool.c 	eeprom_buff = kmalloc(max_len, GFP_KERNEL);
max_len           355 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	int i, max_len, first_word, last_word;
max_len           365 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	max_len = ixgb_get_eeprom_len(netdev);
max_len           372 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	if ((eeprom->offset + eeprom->len) > max_len)
max_len           373 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 		eeprom->len = (max_len - eeprom->offset);
max_len           403 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	int max_len, first_word, last_word;
max_len           412 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	max_len = ixgb_get_eeprom_len(netdev);
max_len           417 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	if ((eeprom->offset + eeprom->len) > max_len)
max_len           418 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 		eeprom->len = (max_len - eeprom->offset);
max_len           422 drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c 	eeprom_buff = kmalloc(max_len, GFP_KERNEL);
max_len           938 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	int max_len, first_word, last_word, ret_val = 0;
max_len           947 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	max_len = hw->eeprom.word_size * 2;
max_len           951 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	eeprom_buff = kmalloc(max_len, GFP_KERNEL);
max_len            49 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 	unsigned int max_len;
max_len            62 drivers/net/ethernet/netronome/nfp/ccm_mbox.c nfp_ccm_mbox_msg_init(struct sk_buff *skb, unsigned int exp_reply, int max_len)
max_len            68 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 	cb->max_len = max_len;
max_len            77 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 	return cb->max_len;
max_len           291 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 		if (length > cb->max_len) {
max_len           293 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 				   hdr.type, cb->max_len, length);
max_len           470 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 	unsigned int max_len;
max_len           503 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 	max_len = max(max_reply_size, round_up(skb->len, 4));
max_len           504 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 	if (max_len > mbox_max) {
max_len           511 drivers/net/ethernet/netronome/nfp/ccm_mbox.c 	nfp_ccm_mbox_msg_init(skb, reply_size, max_len);
max_len           390 drivers/net/ethernet/sfc/falcon/rx.c 	unsigned max_len = rx_buf->len - efx->type->rx_buffer_padding;
max_len           392 drivers/net/ethernet/sfc/falcon/rx.c 	if (likely(len <= max_len))
max_len           405 drivers/net/ethernet/sfc/falcon/rx.c 				  ef4_rx_queue_index(rx_queue), len, max_len,
max_len           413 drivers/net/ethernet/sfc/falcon/rx.c 				  ef4_rx_queue_index(rx_queue), len, max_len);
max_len           389 drivers/net/ethernet/sfc/rx.c 	unsigned max_len = rx_buf->len - efx->type->rx_buffer_padding;
max_len           391 drivers/net/ethernet/sfc/rx.c 	if (likely(len <= max_len))
max_len           402 drivers/net/ethernet/sfc/rx.c 			  efx_rx_queue_index(rx_queue), len, max_len);
max_len          8088 drivers/net/ethernet/sun/niu.c 		int max_len;
max_len          8109 drivers/net/ethernet/sun/niu.c 		max_len = 0;
max_len          8112 drivers/net/ethernet/sun/niu.c 			max_len = NIU_VPD_MODEL_MAX;
max_len          8116 drivers/net/ethernet/sun/niu.c 			max_len = NIU_VPD_BD_MODEL_MAX;
max_len          8120 drivers/net/ethernet/sun/niu.c 			max_len = NIU_VPD_VERSION_MAX;
max_len          8124 drivers/net/ethernet/sun/niu.c 			max_len = ETH_ALEN;
max_len          8128 drivers/net/ethernet/sun/niu.c 			max_len = 1;
max_len          8132 drivers/net/ethernet/sun/niu.c 			max_len = NIU_VPD_PHY_TYPE_MAX;
max_len          8136 drivers/net/ethernet/sun/niu.c 		if (max_len && prop_len > max_len) {
max_len          1112 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c 	unsigned int len, dma_desc_len, max_len;
max_len          1221 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c 		max_len = netdev->mtu + ETH_HLEN;
max_len          1224 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c 			max_len += VLAN_HLEN;
max_len          1226 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c 		if (skb->len > max_len) {
max_len           600 drivers/net/fddi/defza.c 	int len, min_len, max_len;
max_len           665 drivers/net/fddi/defza.c 	max_len = 4495;
max_len           666 drivers/net/fddi/defza.c 	if (len < min_len || len > max_len) {
max_len           398 drivers/net/veth.c 	unsigned int max_len;
max_len           424 drivers/net/veth.c 	max_len = rcv->mtu + rcv->hard_header_len + VLAN_HLEN;
max_len           431 drivers/net/veth.c 		if (unlikely(frame->len > max_len ||
max_len          1236 drivers/net/wireless/ath/ath10k/core.h 				     size_t max_len);
max_len           491 drivers/net/wireless/ath/carl9170/debug.c 	int i, max_len, err;						\
max_len           493 drivers/net/wireless/ath/carl9170/debug.c 	max_len = ARRAY_SIZE(name##_regs) * 80;				\
max_len           494 drivers/net/wireless/ath/carl9170/debug.c 	buf = vmalloc(max_len);						\
max_len           507 drivers/net/wireless/ath/carl9170/debug.c 		ADD(buf, *ret, max_len, "%22s = %" f "[+%" f "]\n",	\
max_len           521 drivers/net/wireless/ath/carl9170/debug.c 	int i, max_len, err;						\
max_len           523 drivers/net/wireless/ath/carl9170/debug.c 	max_len = ARRAY_SIZE(name##_regs) * 80;				\
max_len           524 drivers/net/wireless/ath/carl9170/debug.c 	buf = vmalloc(max_len);						\
max_len           535 drivers/net/wireless/ath/carl9170/debug.c 		ADD(buf, *ret, max_len, "%22s = %" f "\n",		\
max_len           547 drivers/net/wireless/ath/carl9170/debug.c 	int err = 0, i, n = 0, max_len = 32, res;
max_len           553 drivers/net/wireless/ath/carl9170/debug.c 	if (count > max_len)
max_len           724 drivers/net/wireless/ath/carl9170/debug.c 	int err = 0, max_len = 22, res;
max_len           730 drivers/net/wireless/ath/carl9170/debug.c 	if (count > max_len)
max_len            40 drivers/net/wireless/ath/carl9170/fw.c 	const struct carl9170fw_desc_head *head, unsigned int max_len)
max_len            46 drivers/net/wireless/ath/carl9170/fw.c 	if (max_len < sizeof(*pos))
max_len            49 drivers/net/wireless/ath/carl9170/fw.c 	max_len = min_t(unsigned int, CARL9170FW_DESC_MAX_LENGTH, max_len);
max_len            53 drivers/net/wireless/ath/carl9170/fw.c 	end_addr = pos_addr + max_len;
max_len            64 drivers/net/wireless/ath/carl9170/fw.c 		if (pos_length > max_len)
max_len            77 drivers/net/wireless/ath/carl9170/fw.c 		max_len -= pos_length;
max_len           167 drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.c void brcmu_pktq_init(struct pktq *pq, int num_prec, int max_len)
max_len           177 drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.c 	pq->max = (u16) max_len;
max_len           157 drivers/net/wireless/broadcom/brcm80211/include/brcmu_utils.h void brcmu_pktq_init(struct pktq *pq, int num_prec, int max_len);
max_len          1246 drivers/net/wireless/intel/iwlwifi/pcie/rx.c 	int max_len = PAGE_SIZE << trans_pcie->rx_page_order;
max_len          1252 drivers/net/wireless/intel/iwlwifi/pcie/rx.c 	dma_unmap_page(trans->dev, rxb->page_dma, max_len, DMA_FROM_DEVICE);
max_len          1254 drivers/net/wireless/intel/iwlwifi/pcie/rx.c 	while (offset + sizeof(u32) + sizeof(struct iwl_cmd_header) < max_len) {
max_len          1264 drivers/net/wireless/intel/iwlwifi/pcie/rx.c 			.truesize = max_len,
max_len          2967 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	int max_len = PAGE_SIZE << trans_pcie->rx_page_order;
max_len          2982 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		dma_unmap_page(trans->dev, rxb->page_dma, max_len,
max_len          2985 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		rb_len += sizeof(**data) + sizeof(*rb) + max_len;
max_len          2988 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		(*data)->len = cpu_to_le32(sizeof(*rb) + max_len);
max_len          2991 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		memcpy(rb->data, page_address(rxb->page), max_len);
max_len          2994 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 						     max_len,
max_len          3636 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	int max_len, res;
max_len          3638 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	max_len = param_len - PRISM2_HOSTAPD_RID_HDR_LEN;
max_len          3639 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	if (max_len < 0)
max_len          3657 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	int max_len;
max_len          3659 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	max_len = param_len - PRISM2_HOSTAPD_RID_HDR_LEN;
max_len          3660 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	if (max_len < 0 || max_len < param->u.rid.len)
max_len          3714 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	int max_len, len;
max_len          3717 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	max_len = param_len - PRISM2_HOSTAPD_GENERIC_ELEMENT_HDR_LEN;
max_len          3718 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 	if (max_len < 0 || max_len < len)
max_len          1542 drivers/net/wireless/marvell/mwifiex/main.h 				   char *version, int max_len);
max_len          1084 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c 			       int max_len)
max_len          1095 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c 	snprintf(version, max_len, driver_version, fw_ver);
max_len            42 drivers/net/wireless/mediatek/mt76/mt7603/init.c 	int max_len = 1792;
max_len            45 drivers/net/wireless/mediatek/mt76/mt7603/init.c 	int max_beacon_len = 512 * 4 + max_len;
max_len            46 drivers/net/wireless/mediatek/mt76/mt7603/init.c 	int max_mcast_pages = 4 * max_len / page_size;
max_len           267 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c 	int len, err = 0, pos = 0, max_len = max_payload - 8;
max_len           275 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c 		len = min_t(int, data_len, max_len);
max_len           566 drivers/nvme/host/lightnvm.c 	int i, max_len;
max_len           573 drivers/nvme/host/lightnvm.c 	max_len = min_t(unsigned int, ctrl->max_hw_sectors << 9, 256 * 1024);
max_len           575 drivers/nvme/host/lightnvm.c 	dev_meta = kmalloc(max_len, GFP_KERNEL);
max_len           590 drivers/nvme/host/lightnvm.c 		len = min_t(unsigned int, left, max_len);
max_len           592 drivers/nvme/host/lightnvm.c 		memset(dev_meta, 0, max_len);
max_len            90 drivers/s390/char/sclp_rw.c sclp_initialize_mto(struct sclp_buffer *buffer, int max_len)
max_len           100 drivers/s390/char/sclp_rw.c 	msg_size = sizeof(struct msg_buf) + max_len;
max_len            87 drivers/s390/net/ism.h 		u32 max_len;
max_len           147 drivers/scsi/esp_scsi.c static void esp_send_dma_cmd(struct esp *esp, int len, int max_len, int cmd)
max_len           161 drivers/scsi/esp_scsi.c 				       len, max_len, 0, cmd);
max_len          3594 drivers/scsi/qla2xxx/qla_sup.c 	int len, max_len;
max_len          3621 drivers/scsi/qla2xxx/qla_sup.c 	max_len = FCP_PRIO_CFG_SIZE - FCP_PRIO_CFG_HDR_SIZE;
max_len          3624 drivers/scsi/qla2xxx/qla_sup.c 			fcp_prio_addr << 2, (len < max_len ? len : max_len));
max_len           265 drivers/spi/spi-tegra114.c 	unsigned max_len;
max_len           280 drivers/spi/spi-tegra114.c 		max_len = min(remain_len, tspi->max_buf_size);
max_len           281 drivers/spi/spi-tegra114.c 		tspi->curr_dma_words = max_len/tspi->bytes_per_word;
max_len           282 drivers/spi/spi-tegra114.c 		total_fifo_words = (max_len + 3) / 4;
max_len           261 drivers/spi/spi-tegra20-slink.c 	unsigned max_len;
max_len           277 drivers/spi/spi-tegra20-slink.c 		max_len = min(remain_len, tspi->max_buf_size);
max_len           278 drivers/spi/spi-tegra20-slink.c 		tspi->curr_dma_words = max_len/tspi->bytes_per_word;
max_len           279 drivers/spi/spi-tegra20-slink.c 		total_fifo_words = max_len/4;
max_len           746 drivers/staging/most/core.c 	size_t max_len = min_t(size_t, len + 1, STRING_SIZE);
max_len           748 drivers/staging/most/core.c 	strlcpy(buffer, buf, max_len);
max_len            84 drivers/staging/rtl8723bs/hal/hal_sdio.c 	u32 deviceId, max_len;
max_len            90 drivers/staging/rtl8723bs/hal/hal_sdio.c 		max_len = pHalData->sdio_tx_max_len[HI_QUEUE_IDX];
max_len            94 drivers/staging/rtl8723bs/hal/hal_sdio.c 		max_len = pHalData->sdio_tx_max_len[MID_QUEUE_IDX];
max_len            98 drivers/staging/rtl8723bs/hal/hal_sdio.c 		max_len = pHalData->sdio_tx_max_len[LOW_QUEUE_IDX];
max_len           102 drivers/staging/rtl8723bs/hal/hal_sdio.c 		max_len = pHalData->sdio_tx_max_len[MID_QUEUE_IDX];
max_len           106 drivers/staging/rtl8723bs/hal/hal_sdio.c 	return max_len;
max_len          1619 drivers/staging/rts5208/sd.c 	int max_len, final_path_idx;
max_len          1678 drivers/staging/rts5208/sd.c 	max_len = 0;
max_len          1682 drivers/staging/rts5208/sd.c 		if (path[i].len > max_len) {
max_len          1683 drivers/staging/rts5208/sd.c 			max_len = path[i].len;
max_len          1698 drivers/staging/rts5208/sd.c 			if (max_len > 15) {
max_len          1699 drivers/staging/rts5208/sd.c 				int temp_mid = (max_len - 16) / 2;
max_len          1702 drivers/staging/rts5208/sd.c 					(max_len - (6 + temp_mid));
max_len          1711 drivers/staging/rts5208/sd.c 			if (max_len > 12) {
max_len          1712 drivers/staging/rts5208/sd.c 				int temp_mid = (max_len - 13) / 2;
max_len          1715 drivers/staging/rts5208/sd.c 					(max_len - (3 + temp_mid));
max_len           323 drivers/usb/musb/cppi_dma.c 	cppi_ch->channel.max_len = 0x7fffffff;
max_len           717 drivers/usb/musb/musb_cppi41.c 		musb_dma->max_len = SZ_4M;
max_len           117 drivers/usb/musb/musb_dma.h 	size_t			max_len;
max_len           277 drivers/usb/musb/musb_gadget.c 					musb_ep->dma->max_len);
max_len           650 drivers/usb/musb/musb_gadget.c 							channel->max_len);
max_len           693 drivers/usb/musb/musb_gadget.c 							channel->max_len);
max_len           594 drivers/usb/musb/musb_host.c 	if (*length > channel->max_len)
max_len           595 drivers/usb/musb/musb_host.c 		*length = channel->max_len;
max_len           123 drivers/usb/musb/musbhsdma.c 			channel->max_len = 0x100000;
max_len           466 drivers/usb/musb/tusb6010_omap.c 	channel->max_len = 0x7fffffff;
max_len           310 drivers/usb/musb/ux500_dma.c 			dma_channel->max_len = SZ_16M;
max_len           113 drivers/video/fbdev/core/fbcon.h 	__u32 max_len;
max_len           114 drivers/video/fbdev/core/fbcon.h 	max_len = max(info->var.green.length, info->var.red.length);
max_len           115 drivers/video/fbdev/core/fbcon.h 	max_len = max(info->var.blue.length, max_len);
max_len           116 drivers/video/fbdev/core/fbcon.h 	return (~(0xfff << max_len)) & 0xff;
max_len            17 fs/btrfs/export.c static int btrfs_encode_fh(struct inode *inode, u32 *fh, int *max_len,
max_len            21 fs/btrfs/export.c 	int len = *max_len;
max_len            25 fs/btrfs/export.c 		*max_len = BTRFS_FID_SIZE_CONNECTABLE;
max_len            28 fs/btrfs/export.c 		*max_len = BTRFS_FID_SIZE_NON_CONNECTABLE;
max_len            56 fs/btrfs/export.c 	*max_len = len;
max_len          6012 fs/btrfs/volumes.c 		u64 max_len = stripe_len - stripe_offset;
max_len          6035 fs/btrfs/volumes.c 				max_len = stripe_len * data_stripes -
max_len          6039 fs/btrfs/volumes.c 		len = min_t(u64, em->len - offset, max_len);
max_len            35 fs/ceph/export.c static int ceph_encode_snapfh(struct inode *inode, u32 *rawfh, int *max_len,
max_len            45 fs/ceph/export.c 	if (*max_len < snap_handle_length) {
max_len            46 fs/ceph/export.c 		*max_len = snap_handle_length;
max_len            78 fs/ceph/export.c 	*max_len = snap_handle_length;
max_len            85 fs/ceph/export.c static int ceph_encode_fh(struct inode *inode, u32 *rawfh, int *max_len,
max_len            95 fs/ceph/export.c 		return ceph_encode_snapfh(inode, rawfh, max_len, parent_inode);
max_len            97 fs/ceph/export.c 	if (parent_inode && (*max_len < connected_handle_length)) {
max_len            98 fs/ceph/export.c 		*max_len = connected_handle_length;
max_len           100 fs/ceph/export.c 	} else if (*max_len < handle_length) {
max_len           101 fs/ceph/export.c 		*max_len = handle_length;
max_len           111 fs/ceph/export.c 		*max_len = connected_handle_length;
max_len           117 fs/ceph/export.c 		*max_len = handle_length;
max_len           731 fs/cifs/misc.c 		int max_len;
max_len           756 fs/cifs/misc.c 		max_len = data_end - temp;
max_len           757 fs/cifs/misc.c 		node->path_name = cifs_strndup_from_utf16(temp, max_len,
max_len           766 fs/cifs/misc.c 		max_len = data_end - temp;
max_len           767 fs/cifs/misc.c 		node->node_name = cifs_strndup_from_utf16(temp, max_len,
max_len           704 fs/cifs/readdir.c 		char *scratch_buf, unsigned int max_len)
max_len           720 fs/cifs/readdir.c 	if (de.namelen > max_len) {
max_len           740 fs/cifs/readdir.c 					      (size_t)max_len), nlt, map_type);
max_len           799 fs/cifs/readdir.c 	unsigned int max_len;
max_len           848 fs/cifs/readdir.c 	max_len = tcon->ses->server->ops->calc_smb_size(
max_len           851 fs/cifs/readdir.c 	end_of_smb = cifsFile->srch_inf.ntwrk_buf_start + max_len;
max_len           872 fs/cifs/readdir.c 				  tmp_buf, max_len);
max_len          4714 fs/cifs/smb2pdu.c 	int resp_buftype, max_len, min_len;
max_len          4720 fs/cifs/smb2pdu.c 		max_len = sizeof(FILE_SYSTEM_DEVICE_INFO);
max_len          4723 fs/cifs/smb2pdu.c 		max_len = sizeof(FILE_SYSTEM_ATTRIBUTE_INFO);
max_len          4726 fs/cifs/smb2pdu.c 		max_len = sizeof(struct smb3_fs_ss_info);
max_len          4729 fs/cifs/smb2pdu.c 		max_len = sizeof(struct smb3_fs_vol_info) + MAX_VOL_LABEL_LEN;
max_len          4736 fs/cifs/smb2pdu.c 	rc = build_qfs_info_req(&iov, tcon, level, max_len,
max_len          4765 fs/cifs/smb2pdu.c 			rsp_len, max_len));
max_len           182 fs/crypto/fname.c 				  u32 max_len, u32 *encrypted_len_ret)
max_len           189 fs/crypto/fname.c 	if (orig_len > max_len)
max_len           193 fs/crypto/fname.c 	*encrypted_len_ret = min(encrypted_len, max_len);
max_len           271 fs/crypto/fscrypt_private.h 					 u32 orig_len, u32 max_len,
max_len           126 fs/crypto/hooks.c 			      unsigned int max_len,
max_len           158 fs/crypto/hooks.c 					  max_len - sizeof(struct fscrypt_symlink_data),
max_len           359 fs/exportfs/expfs.c 		int *max_len, struct inode *parent)
max_len           361 fs/exportfs/expfs.c 	int len = *max_len;
max_len           365 fs/exportfs/expfs.c 		*max_len = 4;
max_len           368 fs/exportfs/expfs.c 		*max_len = 2;
max_len           381 fs/exportfs/expfs.c 	*max_len = len;
max_len           386 fs/exportfs/expfs.c 			     int *max_len, struct inode *parent)
max_len           391 fs/exportfs/expfs.c 		return nop->encode_fh(inode, fid->raw, max_len, parent);
max_len           393 fs/exportfs/expfs.c 	return export_encode_fh(inode, fid, max_len, parent);
max_len           397 fs/exportfs/expfs.c int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, int *max_len,
max_len           413 fs/exportfs/expfs.c 	error = exportfs_encode_inode_fh(inode, fid, max_len, parent);
max_len           210 fs/f2fs/dir.c  	int max_len = 0;
max_len           221 fs/f2fs/dir.c  			max_len++;
max_len           235 fs/f2fs/dir.c  		if (max_slots && max_len > *max_slots)
max_len           236 fs/f2fs/dir.c  			*max_slots = max_len;
max_len           237 fs/f2fs/dir.c  		max_len = 0;
max_len           244 fs/f2fs/dir.c  	if (max_slots && max_len > *max_slots)
max_len           245 fs/f2fs/dir.c  		*max_slots = max_len;
max_len           743 fs/f2fs/f2fs.h 			struct discard_info *front, unsigned int max_len)
max_len           746 fs/f2fs/f2fs.h 		(back->len + front->len <= max_len);
max_len           750 fs/f2fs/f2fs.h 			struct discard_info *back, unsigned int max_len)
max_len           752 fs/f2fs/f2fs.h 	return __is_discard_mergeable(back, cur, max_len);
max_len           756 fs/f2fs/f2fs.h 			struct discard_info *front, unsigned int max_len)
max_len           758 fs/f2fs/f2fs.h 	return __is_discard_mergeable(cur, front, max_len);
max_len           717 fs/fuse/inode.c static int fuse_encode_fh(struct inode *inode, u32 *fh, int *max_len,
max_len           724 fs/fuse/inode.c 	if (*max_len < len) {
max_len           725 fs/fuse/inode.c 		*max_len = len;
max_len           745 fs/fuse/inode.c 	*max_len = len;
max_len           485 fs/gfs2/bmap.c 		max_len += mp->mp_list[hgt] * factor;
max_len           499 fs/gfs2/bmap.c 		if (len > max_len)
max_len           500 fs/gfs2/bmap.c 			ptrs = DIV_ROUND_UP_ULL(max_len, factor);
max_len           513 fs/gfs2/bmap.c 		if (len >= max_len)
max_len           515 fs/gfs2/bmap.c 		max_len -= len;
max_len           113 fs/isofs/export.c 		       int *max_len,
max_len           117 fs/isofs/export.c 	int len = *max_len;
max_len           128 fs/isofs/export.c 		*max_len = 5;
max_len           131 fs/isofs/export.c 		*max_len = 3;
max_len           149 fs/isofs/export.c 	*max_len = len;
max_len            35 fs/nfs/export.c nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent)
max_len            43 fs/nfs/export.c 		__func__, *max_len, inode, parent);
max_len            45 fs/nfs/export.c 	if (*max_len < len || IS_AUTOMOUNT(inode)) {
max_len            47 fs/nfs/export.c 			__func__, *max_len, len);
max_len            48 fs/nfs/export.c 		*max_len = len;
max_len            57 fs/nfs/export.c 	*max_len = len;
max_len            59 fs/nfs/export.c 		__func__, NFS_FILEID(inode), inode->i_mode, *max_len);
max_len            60 fs/nfs/export.c 	return *max_len;
max_len           798 fs/ocfs2/cluster/tcp.c int o2net_register_handler(u32 msg_type, u32 key, u32 max_len,
max_len           807 fs/ocfs2/cluster/tcp.c 	if (max_len > O2NET_MAX_PAYLOAD_BYTES) {
max_len           809 fs/ocfs2/cluster/tcp.c 			max_len);
max_len           837 fs/ocfs2/cluster/tcp.c 	nmh->nh_max_len = max_len;
max_len            89 fs/ocfs2/cluster/tcp.h int o2net_register_handler(u32 msg_type, u32 key, u32 max_len,
max_len           194 fs/ocfs2/export.c static int ocfs2_encode_fh(struct inode *inode, u32 *fh_in, int *max_len,
max_len           197 fs/ocfs2/export.c 	int len = *max_len;
max_len           211 fs/ocfs2/export.c 		*max_len = 6;
max_len           215 fs/ocfs2/export.c 		*max_len = 3;
max_len           245 fs/ocfs2/export.c 	*max_len = len;
max_len           347 fs/orangefs/super.c 		    int *max_len,
max_len           354 fs/orangefs/super.c 	if (*max_len < len) {
max_len           356 fs/orangefs/super.c 		*max_len = len;
max_len           382 fs/orangefs/super.c 	*max_len = len;
max_len           251 fs/overlayfs/export.c static int ovl_dentry_to_fh(struct dentry *dentry, u32 *fid, int *max_len)
max_len           253 fs/overlayfs/export.c 	int res, len = *max_len << 2;
max_len           262 fs/overlayfs/export.c 	*max_len = (len + 3) >> 2;
max_len           266 fs/overlayfs/export.c static int ovl_encode_fh(struct inode *inode, u32 *fid, int *max_len,
max_len           280 fs/overlayfs/export.c 	type = ovl_dentry_to_fh(dentry, fid, max_len);
max_len           947 fs/proc/base.c 		size_t this_len, max_len;
max_len           955 fs/proc/base.c 		max_len = min_t(size_t, PAGE_SIZE, count);
max_len           956 fs/proc/base.c 		this_len = min(max_len, this_len);
max_len           255 fs/ubifs/io.c  	if (c->ranges[type].max_len == 0) {
max_len           259 fs/ubifs/io.c  		   node_len > c->ranges[type].max_len)
max_len           361 fs/ubifs/log.c 	int err, i, max_len, len;
max_len           367 fs/ubifs/log.c 	max_len = UBIFS_CS_NODE_SZ + c->jhead_cnt * UBIFS_REF_NODE_SZ;
max_len           368 fs/ubifs/log.c 	max_len = ALIGN(max_len, c->min_io_size);
max_len           369 fs/ubifs/log.c 	buf = cs = kmalloc(max_len, GFP_NOFS);
max_len           209 fs/ubifs/master.c 	    c->zroot.len > c->ranges[UBIFS_IDX_NODE].max_len) {
max_len           577 fs/ubifs/super.c 	c->ranges[UBIFS_AUTH_NODE].max_len = UBIFS_AUTH_NODE_SZ +
max_len           580 fs/ubifs/super.c 	c->ranges[UBIFS_SIG_NODE].max_len = c->leb_size - UBIFS_SB_NODE_SZ;
max_len           583 fs/ubifs/super.c 	c->ranges[UBIFS_INO_NODE].max_len  = UBIFS_MAX_INO_NODE_SZ;
max_len           586 fs/ubifs/super.c 	c->ranges[UBIFS_ORPH_NODE].max_len = c->leb_size;
max_len           588 fs/ubifs/super.c 	c->ranges[UBIFS_DENT_NODE].max_len = UBIFS_MAX_DENT_NODE_SZ;
max_len           590 fs/ubifs/super.c 	c->ranges[UBIFS_XENT_NODE].max_len = UBIFS_MAX_XENT_NODE_SZ;
max_len           592 fs/ubifs/super.c 	c->ranges[UBIFS_DATA_NODE].max_len = UBIFS_MAX_DATA_NODE_SZ;
max_len           602 fs/ubifs/super.c 	c->ranges[UBIFS_IDX_NODE].max_len = INT_MAX;
max_len           672 fs/ubifs/super.c 	c->ranges[UBIFS_IDX_NODE].max_len = tmp;
max_len           344 fs/ubifs/tnc_misc.c 		if (c->ranges[type].max_len == 0) {
max_len           353 fs/ubifs/tnc_misc.c 			   zbr->len > c->ranges[type].max_len) {
max_len           358 fs/ubifs/tnc_misc.c 				  c->ranges[type].max_len);
max_len           827 fs/ubifs/ubifs.h 	int max_len;
max_len          5201 fs/xfs/libxfs/xfs_bmap.c 	xfs_fileoff_t		max_len;
max_len          5233 fs/xfs/libxfs/xfs_bmap.c 		max_len = min(len, xfs_refcount_max_unmap(tp->t_log_res));
max_len          5235 fs/xfs/libxfs/xfs_bmap.c 		max_len = len;
max_len          5274 fs/xfs/libxfs/xfs_bmap.c 	       (nexts == 0 || extno < nexts) && max_len > 0) {
max_len          5319 fs/xfs/libxfs/xfs_bmap.c 		if (max_len < del.br_blockcount) {
max_len          5320 fs/xfs/libxfs/xfs_bmap.c 			del.br_startoff += del.br_blockcount - max_len;
max_len          5322 fs/xfs/libxfs/xfs_bmap.c 				del.br_startblock += del.br_blockcount - max_len;
max_len          5323 fs/xfs/libxfs/xfs_bmap.c 			del.br_blockcount = max_len;
max_len          5458 fs/xfs/libxfs/xfs_bmap.c 		max_len -= del.br_blockcount;
max_len           510 fs/xfs/xfs_bmap_util.c 	int64_t			bmv_end, max_len;
max_len           547 fs/xfs/xfs_bmap_util.c 		max_len = 1LL << 32;
max_len           556 fs/xfs/xfs_bmap_util.c 			max_len = mp->m_super->s_maxbytes;
max_len           558 fs/xfs/xfs_bmap_util.c 			max_len = XFS_ISIZE(ip);
max_len           583 fs/xfs/xfs_bmap_util.c 			max_len = mp->m_super->s_maxbytes;
max_len           585 fs/xfs/xfs_bmap_util.c 			max_len = XFS_ISIZE(ip);
max_len           604 fs/xfs/xfs_bmap_util.c 		max_len = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, max_len));
max_len           605 fs/xfs/xfs_bmap_util.c 		bmv->bmv_length = max(0LL, max_len - bmv->bmv_offset);
max_len            45 fs/xfs/xfs_export.c 	int		*max_len,
max_len            78 fs/xfs/xfs_export.c 	if (*max_len < len) {
max_len            79 fs/xfs/xfs_export.c 		*max_len = len;
max_len            82 fs/xfs/xfs_export.c 	*max_len = len;
max_len           194 include/linux/exportfs.h 	int (*encode_fh)(struct inode *inode, __u32 *fh, int *max_len,
max_len           214 include/linux/exportfs.h 				    int *max_len, struct inode *parent);
max_len           216 include/linux/exportfs.h 	int *max_len, int connectable);
max_len           264 include/linux/fscrypt.h 				     unsigned int max_len,
max_len           531 include/linux/fscrypt.h 					    unsigned int max_len,
max_len           731 include/linux/fscrypt.h 					  unsigned int max_len,
max_len           735 include/linux/fscrypt.h 		return __fscrypt_prepare_symlink(dir, len, max_len, disk_link);
max_len           739 include/linux/fscrypt.h 	if (disk_link->len > max_len)
max_len           405 include/linux/iio/iio.h 			int max_len,
max_len          1318 include/net/bluetooth/hci.h 	__le16   max_len;
max_len           125 include/rdma/uverbs_ioctl.h 			u16				max_len;
max_len           525 include/rdma/uverbs_ioctl.h 			  .u2.objs_arr.max_len = _max_len,                     \
max_len          4908 include/uapi/linux/nl80211.h 	__u32 min_len, max_len, bufsize;
max_len           657 include/uapi/linux/openvswitch.h 	__u32 max_len; /* Max packet size in bytes. */
max_len            87 kernel/debug/kdb/kdb_private.h extern int kallsyms_symbol_complete(char *prefix_name, int max_len);
max_len           186 kernel/debug/kdb/kdb_support.c int kallsyms_symbol_complete(char *prefix_name, int max_len)
max_len           198 kernel/debug/kdb/kdb_support.c 				prev_len = min_t(int, max_len-1,
max_len           512 kernel/events/core.c 	u64 max_len = READ_ONCE(perf_sample_allowed_ns);
max_len           517 kernel/events/core.c 	if (max_len == 0)
max_len           532 kernel/events/core.c 	if (avg_len <= max_len)
max_len           536 kernel/events/core.c 	__report_allowed = max_len;
max_len           263 net/bluetooth/amp.c 	cp.max_len = cpu_to_le16(hdev->amp_assoc_size);
max_len           282 net/bluetooth/amp.c 	cp.max_len = cpu_to_le16(hdev->amp_assoc_size);
max_len           302 net/bluetooth/amp.c 	cp.max_len = cpu_to_le16(hdev->amp_assoc_size);
max_len          6401 net/bluetooth/mgmt.c 	u8 max_len = HCI_MAX_AD_LENGTH;
max_len          6407 net/bluetooth/mgmt.c 			max_len -= 3;
max_len          6410 net/bluetooth/mgmt.c 			max_len -= 3;
max_len          6413 net/bluetooth/mgmt.c 			max_len -= calculate_name_len(hdev);
max_len          6416 net/bluetooth/mgmt.c 			max_len -= 4;
max_len          6419 net/bluetooth/mgmt.c 	return max_len;
max_len          6448 net/bluetooth/mgmt.c 	u8 max_len;
max_len          6450 net/bluetooth/mgmt.c 	max_len = tlv_data_max_len(hdev, adv_flags, is_adv_data);
max_len          6452 net/bluetooth/mgmt.c 	if (len > max_len)
max_len           477 net/can/gw.c   		int max_len = nskb->len - offsetof(struct canfd_frame, data);
max_len           480 net/can/gw.c   		if (cf->len > max_len) {
max_len          3238 net/core/filter.c 	u32 max_len = __bpf_skb_max_len(skb);
max_len          3242 net/core/filter.c 	if (unlikely(flags || new_len > max_len || new_len < min_len))
max_len          3314 net/core/filter.c 	u32 max_len = __bpf_skb_max_len(skb);
max_len          3318 net/core/filter.c 	if (unlikely(flags || (!skb_is_gso(skb) && new_len > max_len) ||
max_len          5232 net/core/skbuff.c 				      unsigned int max_len) {
max_len          5237 net/core/skbuff.c 		return seg_len <= max_len;
max_len          5243 net/core/skbuff.c 		if (seg_len + skb_headlen(iter) > max_len)
max_len          1772 net/ipv4/tcp_output.c 	u32 partial, needed, window, max_len;
max_len          1775 net/ipv4/tcp_output.c 	max_len = mss_now * max_segs;
max_len          1777 net/ipv4/tcp_output.c 	if (likely(max_len <= window && skb != tcp_write_queue_tail(sk)))
max_len          1778 net/ipv4/tcp_output.c 		return max_len;
max_len          1782 net/ipv4/tcp_output.c 	if (max_len <= needed)
max_len          1783 net/ipv4/tcp_output.c 		return max_len;
max_len            17 net/netfilter/ipvs/ip_vs_pe_sip.c 	size_t max_len = 64;
max_len            18 net/netfilter/ipvs/ip_vs_pe_sip.c 	size_t len = min3(max_len, callid_len, buf_len - *idx - 1);
max_len          1217 net/openvswitch/actions.c 			if (skb->len > trunc->max_len)
max_len          1218 net/openvswitch/actions.c 				OVS_CB(skb)->cutlen = skb->len - trunc->max_len;
max_len          3014 net/openvswitch/flow_netlink.c 			if (trunc->max_len < ETH_HLEN)
max_len          3314 net/sctp/socket.c 		int min_len, max_len;
max_len          3319 net/sctp/socket.c 		max_len = SCTP_MAX_CHUNK_LEN - datasize;
max_len          3321 net/sctp/socket.c 		if (val < min_len || val > max_len)
max_len          11434 net/wireless/nl80211.c 		if (tok->len > rdev->wiphy.wowlan->tcp->tok->max_len)
max_len            56 net/x25/x25_out.c 	int max_len = x25_pacsize_to_bytes(x25->facilities.pacsize_out);
max_len            58 net/x25/x25_out.c 	if (skb->len - header_len > max_len) {
max_len            67 net/x25/x25_out.c 			skbn = sock_alloc_send_skb(sk, frontlen + max_len,
max_len            83 net/x25/x25_out.c 			len = max_len > skb->len ? skb->len : max_len;
max_len            51 sound/usb/6fire/firmware.c 	u8 max_len; /* maximum record length in whole ihex */
max_len           147 sound/usb/6fire/firmware.c 	record->max_len = 0;
max_len           151 sound/usb/6fire/firmware.c 		record->max_len = max(record->len, record->max_len);
max_len          1356 tools/lib/bpf/btf_dump.c 		const size_t max_len = 256;
max_len          1357 tools/lib/bpf/btf_dump.c 		char new_name[max_len];
max_len          1359 tools/lib/bpf/btf_dump.c 		snprintf(new_name, max_len, "%s___%zu", orig_name, dup_cnt);
max_len            75 tools/perf/ui/tui/util.c 	int max_len = 60, nr_lines = 0;
max_len            86 tools/perf/ui/tui/util.c 		if (max_len < len)
max_len            87 tools/perf/ui/tui/util.c 			max_len = len;
max_len            96 tools/perf/ui/tui/util.c 	max_len += 2;
max_len            99 tools/perf/ui/tui/util.c 	x = SLtt_Screen_Cols / 2 - max_len / 2;
max_len           102 tools/perf/ui/tui/util.c 	SLsmg_draw_box(y, x++, nr_lines, max_len);
max_len           109 tools/perf/ui/tui/util.c 	max_len -= 2;
max_len           111 tools/perf/ui/tui/util.c 				   nr_lines, max_len, 1);
max_len           116 tools/perf/ui/tui/util.c 		SLsmg_write_nstring((char *)" ", max_len);
max_len           118 tools/perf/ui/tui/util.c 	SLsmg_draw_box(y++, x + 1, 3, max_len - 2);
max_len           121 tools/perf/ui/tui/util.c 	SLsmg_write_nstring((char *)exit_msg, max_len);
max_len           166 tools/perf/ui/tui/util.c 	int max_len = 0, nr_lines = 0;
max_len           177 tools/perf/ui/tui/util.c 		if (max_len < len)
max_len           178 tools/perf/ui/tui/util.c 			max_len = len;
max_len           185 tools/perf/ui/tui/util.c 	max_len += 2;
max_len           190 tools/perf/ui/tui/util.c 	x = SLtt_Screen_Cols / 2 - max_len / 2;
max_len           193 tools/perf/ui/tui/util.c 	SLsmg_draw_box(y, x++, nr_lines, max_len);
max_len           201 tools/perf/ui/tui/util.c 	max_len -= 2;
max_len           203 tools/perf/ui/tui/util.c 				   nr_lines, max_len, 1);
max_len           206 tools/perf/ui/tui/util.c 		SLsmg_write_nstring((char *)" ", max_len);
max_len           208 tools/perf/ui/tui/util.c 		SLsmg_write_nstring((char *)exit_msg, max_len);
max_len          1987 tools/perf/util/parse-events.c 		int len_str, max_len, cut = 0;
max_len          2001 tools/perf/util/parse-events.c 		max_len = width - len_str;
max_len          2009 tools/perf/util/parse-events.c 		strncpy(buf, event + cut, max_len);
max_len          2015 tools/perf/util/parse-events.c 		if ((len_event - cut) > max_len) {
max_len          2016 tools/perf/util/parse-events.c 			buf[max_len - 1] = buf[max_len - 2] = '.';
max_len          2017 tools/perf/util/parse-events.c 			buf[max_len] = 0;
max_len            60 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c 	int max_len, max_buildid_len, usize, ksize, total_size;
max_len            69 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c 	max_len = MAX_STACK_RAWTP * sizeof(__u64);
max_len            73 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c 					      max_len, 0);
max_len            74 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c 	data->user_stack_size = bpf_get_stack(ctx, data->user_stack, max_len,
max_len            86 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c 	usize = bpf_get_stack(ctx, raw_data, max_len, BPF_F_USER_STACK);
max_len            90 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c 	ksize = bpf_get_stack(ctx, raw_data + usize, max_len - usize, 0);
max_len            95 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c 	if (total_size > 0 && total_size <= max_len)
max_len            53 tools/testing/selftests/bpf/progs/test_stacktrace_build_id.c 	__u32 max_len = sizeof(struct bpf_stack_build_id)
max_len            68 tools/testing/selftests/bpf/progs/test_stacktrace_build_id.c 			bpf_get_stack(args, stack_p, max_len,
max_len            56 tools/testing/selftests/bpf/progs/test_stacktrace_map.c 	__u32 max_len = PERF_MAX_STACK_DEPTH * sizeof(__u64);
max_len            70 tools/testing/selftests/bpf/progs/test_stacktrace_map.c 			bpf_get_stack(ctx, stack_p, max_len, 0);
max_len            19 tools/testing/selftests/cgroup/cgroup_util.c static ssize_t read_text(const char *path, char *buf, size_t max_len)
max_len            28 tools/testing/selftests/cgroup/cgroup_util.c 	len = read(fd, buf, max_len - 1);
max_len           422 tools/testing/selftests/net/udpgso_bench_tx.c 	int max_len, hdrlen;
max_len           513 tools/testing/selftests/net/udpgso_bench_tx.c 	max_len = ETH_MAX_MTU - hdrlen;
max_len           517 tools/testing/selftests/net/udpgso_bench_tx.c 	if (cfg_payload_len > max_len)
max_len           519 tools/testing/selftests/net/udpgso_bench_tx.c 		      cfg_payload_len, max_len);
max_len           195 tools/usb/usbip/libsrc/vhci_driver.c 	int max_len[] = {(int)host_len, (int)port_len, SYSFS_BUS_ID_SIZE};
max_len           223 tools/usb/usbip/libsrc/vhci_driver.c 		if (end == NULL || (end - start) > max_len[part]) {