memlen            360 drivers/infiniband/hw/hfi1/file_ops.c 	ssize_t memlen = 0;
memlen            393 drivers/infiniband/hw/hfi1/file_ops.c 		memlen = PAGE_ALIGN(uctxt->sc->credits * PIO_BLOCK_SIZE);
memlen            413 drivers/infiniband/hw/hfi1/file_ops.c 		memlen = PAGE_SIZE;
memlen            425 drivers/infiniband/hw/hfi1/file_ops.c 		memlen = rcvhdrq_size(uctxt);
memlen            436 drivers/infiniband/hw/hfi1/file_ops.c 		memlen = uctxt->egrbufs.size;
memlen            437 drivers/infiniband/hw/hfi1/file_ops.c 		if ((vma->vm_end - vma->vm_start) != memlen) {
memlen            439 drivers/infiniband/hw/hfi1/file_ops.c 				   (vma->vm_end - vma->vm_start), memlen);
memlen            450 drivers/infiniband/hw/hfi1/file_ops.c 			memlen = uctxt->egrbufs.buffers[i].len;
memlen            460 drivers/infiniband/hw/hfi1/file_ops.c 				memlen,
memlen            464 drivers/infiniband/hw/hfi1/file_ops.c 			addr += memlen;
memlen            481 drivers/infiniband/hw/hfi1/file_ops.c 		memlen = PAGE_SIZE;
memlen            493 drivers/infiniband/hw/hfi1/file_ops.c 		memlen = PAGE_SIZE;
memlen            507 drivers/infiniband/hw/hfi1/file_ops.c 		memlen = PAGE_SIZE;
memlen            523 drivers/infiniband/hw/hfi1/file_ops.c 		memlen = PAGE_SIZE;
memlen            529 drivers/infiniband/hw/hfi1/file_ops.c 		memlen = PAGE_SIZE;
memlen            535 drivers/infiniband/hw/hfi1/file_ops.c 		memlen = rcvhdrq_size(uctxt) * uctxt->subctxt_cnt;
memlen            541 drivers/infiniband/hw/hfi1/file_ops.c 		memlen = uctxt->egrbufs.size * uctxt->subctxt_cnt;
memlen            554 drivers/infiniband/hw/hfi1/file_ops.c 		memlen = PAGE_ALIGN(sizeof(*cq->comps) * cq->nentries);
memlen            564 drivers/infiniband/hw/hfi1/file_ops.c 	if ((vma->vm_end - vma->vm_start) != memlen) {
memlen            567 drivers/infiniband/hw/hfi1/file_ops.c 			  (vma->vm_end - vma->vm_start), memlen);
memlen            575 drivers/infiniband/hw/hfi1/file_ops.c 		    ctxt, subctxt, type, mapio, vmf, memaddr, memlen,
memlen            584 drivers/infiniband/hw/hfi1/file_ops.c 					 memlen,
memlen            589 drivers/infiniband/hw/hfi1/file_ops.c 				      memlen,
memlen            594 drivers/infiniband/hw/hfi1/file_ops.c 				      memlen,
memlen            977 drivers/misc/fastrpc.c 	int memlen;
memlen           1017 drivers/misc/fastrpc.c 	memlen = ALIGN(max(INIT_FILELEN_MAX, (int)init.filelen * 4),
memlen           1019 drivers/misc/fastrpc.c 	err = fastrpc_buf_alloc(fl, fl->sctx->dev, memlen,
memlen           4123 drivers/usb/host/oxu210hp-hcd.c 				unsigned long memstart, unsigned long memlen,
memlen           4143 drivers/usb/host/oxu210hp-hcd.c 	hcd->rsrc_len = memlen;
memlen           4160 drivers/usb/host/oxu210hp-hcd.c 				unsigned long memstart, unsigned long memlen,
memlen           4177 drivers/usb/host/oxu210hp-hcd.c 	hcd = oxu_create(pdev, memstart, memlen, base, irq, 1);
memlen           4186 drivers/usb/host/oxu210hp-hcd.c 	hcd = oxu_create(pdev, memstart, memlen, base, irq, 0);
memlen           4211 drivers/usb/host/oxu210hp-hcd.c 	unsigned long memstart, memlen;
memlen           4237 drivers/usb/host/oxu210hp-hcd.c 	memlen = resource_size(res);
memlen           4256 drivers/usb/host/oxu210hp-hcd.c 	ret = oxu_init(pdev, memstart, memlen, base, irq);
memlen            553 drivers/video/fbdev/matrox/matroxfb_base.c 	unsigned int memlen;
memlen            574 drivers/video/fbdev/matrox/matroxfb_base.c 	memlen = var->xres_virtual * bpp * var->yres_virtual / 8;
memlen            575 drivers/video/fbdev/matrox/matroxfb_base.c 	if (memlen > vramlen) {
memlen            577 drivers/video/fbdev/matrox/matroxfb_base.c 		memlen = var->xres_virtual * bpp * var->yres_virtual / 8;
memlen            582 drivers/video/fbdev/matrox/matroxfb_base.c 	if (!minfo->capable.cross4MB && (memlen > 0x400000)) {
memlen            195 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	unsigned int memlen;
memlen            213 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	memlen = var->xres_virtual * var->yres_virtual * (var->bits_per_pixel >> 3);
memlen            214 drivers/video/fbdev/matrox/matroxfb_crtc2.c 	if (memlen > vramlen)
memlen            584 drivers/video/fbdev/neofb.c 	int memlen, vramlen;
memlen            694 drivers/video/fbdev/neofb.c 	memlen = var->xres_virtual * var->bits_per_pixel * var->yres_virtual >> 3;
memlen            696 drivers/video/fbdev/neofb.c 	if (memlen > vramlen) {
memlen            699 drivers/video/fbdev/neofb.c 		memlen = var->xres_virtual * var->bits_per_pixel *
memlen            765 drivers/video/fbdev/nvidia/nvidia.c 	int memlen, vramlen, mode_valid = 0;
memlen            875 drivers/video/fbdev/nvidia/nvidia.c 	memlen = pitch * var->yres_virtual;
memlen            877 drivers/video/fbdev/nvidia/nvidia.c 	if (memlen > vramlen) {
memlen            887 drivers/video/fbdev/nvidia/nvidia.c 			memlen = pitch * var->yres;
memlen            893 drivers/video/fbdev/nvidia/nvidia.c 				       memlen, var->xres_virtual,
memlen            158 drivers/video/fbdev/riva/nv_driver.c 	unsigned long memlen = 0;
memlen            174 drivers/video/fbdev/riva/nv_driver.c 					memlen = 1024 * 4;
memlen            177 drivers/video/fbdev/riva/nv_driver.c 					memlen = 1024 * 2;
memlen            180 drivers/video/fbdev/riva/nv_driver.c 					memlen = 1024 * 8;
memlen            184 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 8;
memlen            192 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 8;
memlen            195 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 4;
memlen            198 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 2;
memlen            205 drivers/video/fbdev/riva/nv_driver.c 			memlen = ((NV_RD32(chip->PFB, 0x00000000)>>12)&0x0F) *
memlen            210 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 32;
memlen            213 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 4;
memlen            216 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 8;
memlen            220 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 16;
memlen            233 drivers/video/fbdev/riva/nv_driver.c 			memlen = (((amt >> 6) & 31) + 1) * 1024;
memlen            238 drivers/video/fbdev/riva/nv_driver.c 			memlen = (((amt >> 4) & 127) + 1) * 1024;
memlen            243 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 2;
memlen            246 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 4;
memlen            249 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 8;
memlen            252 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 16;
memlen            255 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 32;
memlen            258 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 64;
memlen            261 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 128;
memlen            264 drivers/video/fbdev/riva/nv_driver.c 				memlen = 1024 * 16;
memlen            270 drivers/video/fbdev/riva/nv_driver.c 	return memlen;
memlen            868 drivers/video/fbdev/savage/savagefb_driver.c 	int memlen, vramlen, mode_valid = 0;
memlen            945 drivers/video/fbdev/savage/savagefb_driver.c 	memlen = var->xres_virtual * var->bits_per_pixel *
memlen            947 drivers/video/fbdev/savage/savagefb_driver.c 	if (memlen > vramlen) {
memlen            950 drivers/video/fbdev/savage/savagefb_driver.c 		memlen = var->xres_virtual * var->bits_per_pixel *
memlen            342 sound/pci/asihpi/hpioctl.c 	unsigned int memlen;
memlen            377 sound/pci/asihpi/hpioctl.c 			memlen = pci_resource_len(pci_dev, idx);
memlen            380 sound/pci/asihpi/hpioctl.c 				memlen);