Home
last modified time | relevance | path

Searched refs:maxsize (Results 1 – 25 of 127) sorted by relevance

123456

/kernel/linux/linux-4.19/drivers/mtd/maps/
Dnettel.c166 unsigned long amdaddr, maxsize; in nettel_init() local
213 maxsize = AMD_WINDOW_MAXSIZE; in nettel_init()
215 *amdpar = SC520_PAR(SC520_PAR_BOOTCS, amdaddr, maxsize); in nettel_init()
219 nettel_amd_map.virt = ioremap_nocache(amdaddr, maxsize); in nettel_init()
244 maxsize = SC520_PAR_TO_SIZE(orig_romcs1par); in nettel_init()
245 if (maxsize < (32 * 1024 * 1024)) in nettel_init()
246 maxsize = (32 * 1024 * 1024); in nettel_init()
247 intel0addr = amdaddr + maxsize; in nettel_init()
263 maxsize = SC520_PAR_TO_SIZE(orig_bootcspar); in nettel_init()
274 maxsize = SC520_PAR_TO_SIZE(orig_romcs1par); in nettel_init()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/maps/
Dnettel.c167 unsigned long amdaddr, maxsize; in nettel_init() local
214 maxsize = AMD_WINDOW_MAXSIZE; in nettel_init()
216 *amdpar = SC520_PAR(SC520_PAR_BOOTCS, amdaddr, maxsize); in nettel_init()
220 nettel_amd_map.virt = ioremap(amdaddr, maxsize); in nettel_init()
245 maxsize = SC520_PAR_TO_SIZE(orig_romcs1par); in nettel_init()
246 if (maxsize < (32 * 1024 * 1024)) in nettel_init()
247 maxsize = (32 * 1024 * 1024); in nettel_init()
248 intel0addr = amdaddr + maxsize; in nettel_init()
264 maxsize = SC520_PAR_TO_SIZE(orig_bootcspar); in nettel_init()
275 maxsize = SC520_PAR_TO_SIZE(orig_romcs1par); in nettel_init()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/s390x/
Dmemop.c37 int rv, i, maxsize; in main() local
41 maxsize = kvm_check_cap(KVM_CAP_S390_MEM_OP); in main()
42 if (!maxsize) { in main()
46 if (maxsize > sizeof(mem1)) in main()
47 maxsize = sizeof(mem1); in main()
59 ksmo.size = maxsize; in main()
77 ksmo.size = maxsize; in main()
83 TEST_ASSERT(!memcmp(mem1, mem2, maxsize), in main()
110 ksmo.size = maxsize; in main()
120 ksmo.size = maxsize; in main()
[all …]
/kernel/linux/linux-5.10/fs/erofs/
Ddir.c26 unsigned int nameoff, unsigned int maxsize) in erofs_fill_dentries() argument
43 de_namelen = strnlen(de_name, maxsize - nameoff); in erofs_fill_dentries()
48 if (nameoff + de_namelen > maxsize || in erofs_fill_dentries()
64 *ofs = maxsize; in erofs_fill_dentries()
81 unsigned int nameoff, maxsize; in erofs_readdir() local
108 maxsize = min_t(unsigned int, in erofs_readdir()
121 nameoff, maxsize); in erofs_readdir()
/kernel/linux/linux-4.19/drivers/staging/erofs/
Ddir.c43 unsigned nameoff, unsigned maxsize) in erofs_fill_dentries() argument
64 de_namelen = strnlen(de_name, maxsize - nameoff); in erofs_fill_dentries()
69 if (unlikely(nameoff + de_namelen > maxsize || in erofs_fill_dentries()
83 *ofs = maxsize; in erofs_fill_dentries()
100 unsigned nameoff, maxsize; in erofs_readdir() local
127 maxsize = min_t(unsigned, dirsize - ctx->pos + ofs, PAGE_SIZE); in erofs_readdir()
138 err = erofs_fill_dentries(ctx, de, &ofs, nameoff, maxsize); in erofs_readdir()
/kernel/linux/linux-4.19/drivers/staging/comedi/drivers/
Dcomedi_isadma.h34 unsigned int maxsize; member
67 unsigned int maxsize, char dma_dir);
100 unsigned int maxsize, char dma_dir) in comedi_isadma_alloc() argument
Dcomedi_isadma.c156 unsigned int maxsize, char dma_dir) in comedi_isadma_alloc() argument
194 desc->maxsize = maxsize; in comedi_isadma_alloc()
195 desc->virt_addr = dma_alloc_coherent(NULL, desc->maxsize, in comedi_isadma_alloc()
227 dma_free_coherent(NULL, desc->maxsize, in comedi_isadma_free()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dcomedi_isadma.h35 unsigned int maxsize; member
70 unsigned int maxsize, char dma_dir);
103 unsigned int maxsize, char dma_dir) in comedi_isadma_alloc() argument
Dcomedi_isadma.c156 unsigned int maxsize, char dma_dir) in comedi_isadma_alloc() argument
207 desc->maxsize = maxsize; in comedi_isadma_alloc()
208 desc->virt_addr = dma_alloc_coherent(dma->dev, desc->maxsize, in comedi_isadma_alloc()
240 dma_free_coherent(dma->dev, desc->maxsize, in comedi_isadma_free()
/kernel/linux/linux-4.19/drivers/isdn/i4l/
Disdn_v110.c90 isdn_v110_open(unsigned char key, int hdrlen, int maxsize) in isdn_v110_open() argument
125 v->maxsize = maxsize - hdrlen; in isdn_v110_open()
126 if ((v->encodebuf = kmalloc(maxsize, GFP_ATOMIC)) == NULL) { in isdn_v110_open()
487 if ((nframes * 40) > v->maxsize) { in isdn_v110_encode()
488 size = v->maxsize; in isdn_v110_encode()
489 rlen = v->maxsize / 40; in isdn_v110_encode()
591 int maxsize = dev->drv[c->driver]->interface->maxbufsize; in isdn_v110_stat_callback() local
595 dev->v110[idx] = isdn_v110_open(V110_9600, hdrlen, maxsize); in isdn_v110_stat_callback()
598 dev->v110[idx] = isdn_v110_open(V110_19200, hdrlen, maxsize); in isdn_v110_stat_callback()
601 dev->v110[idx] = isdn_v110_open(V110_38400, hdrlen, maxsize); in isdn_v110_stat_callback()
/kernel/linux/linux-5.10/sound/usb/
Dendpoint.c634 unsigned int maxsize, minsize, packs_per_ms, max_packs_per_urb; in check_ep_params() local
686 maxsize = (((ep->freqmax << ep->datainterval) + 0xffff) >> 16) * in check_ep_params()
689 maxsize += sizeof(__le32); /* Space for length descriptor */ in check_ep_params()
691 if (ep->maxpacksize && ep->maxpacksize < maxsize) { in check_ep_params()
693 unsigned int data_maxsize = maxsize = ep->maxpacksize; in check_ep_params()
705 ret = ret && (ep->curpacksize == maxsize); in check_ep_params()
747 while (urb_packs > 1 && urb_packs * maxsize >= period_bytes) in check_ep_params()
806 unsigned int maxsize, minsize, packs_per_ms, max_packs_per_urb; in data_ep_set_params() local
857 maxsize = (((ep->freqmax << ep->datainterval) + 0xffff) >> 16) * in data_ep_set_params()
860 maxsize += sizeof(__le32); /* Space for length descriptor */ in data_ep_set_params()
[all …]
/kernel/linux/linux-4.19/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_shim.c161 size_t offset, size_t maxsize), in vchi_msg_queue() argument
192 size_t maxsize) in vchi_queue_kernel_message_callback() argument
194 memcpy(dest, context + offset, maxsize); in vchi_queue_kernel_message_callback()
195 return maxsize; in vchi_queue_kernel_message_callback()
218 size_t maxsize) in vchi_queue_user_message_callback() argument
222 if (copy_from_user(dest, copycontext->data + offset, maxsize)) in vchi_queue_user_message_callback()
225 return maxsize; in vchi_queue_user_message_callback()
/kernel/linux/linux-4.19/lib/
Diov_iter.c1159 size_t maxsize, in __pipe_get_pages() argument
1165 ssize_t n = push_pipe(i, maxsize, &idx, start); in __pipe_get_pages()
1169 maxsize = n; in __pipe_get_pages()
1177 return maxsize; in __pipe_get_pages()
1181 struct page **pages, size_t maxsize, unsigned maxpages, in pipe_get_pages() argument
1188 if (!maxsize) in pipe_get_pages()
1199 return __pipe_get_pages(i, min(maxsize, capacity), pages, idx, start); in pipe_get_pages()
1203 struct page **pages, size_t maxsize, unsigned maxpages, in iov_iter_get_pages() argument
1206 if (maxsize > i->count) in iov_iter_get_pages()
1207 maxsize = i->count; in iov_iter_get_pages()
[all …]
/kernel/linux/linux-5.10/lib/
Diov_iter.c1280 size_t maxsize, in __pipe_get_pages() argument
1287 ssize_t n = push_pipe(i, maxsize, &iter_head, start); in __pipe_get_pages()
1291 maxsize = n; in __pipe_get_pages()
1299 return maxsize; in __pipe_get_pages()
1303 struct page **pages, size_t maxsize, unsigned maxpages, in pipe_get_pages() argument
1309 if (!maxsize) in pipe_get_pages()
1320 return __pipe_get_pages(i, min(maxsize, capacity), pages, iter_head, start); in pipe_get_pages()
1324 struct page **pages, size_t maxsize, unsigned maxpages, in iov_iter_get_pages() argument
1327 if (maxsize > i->count) in iov_iter_get_pages()
1328 maxsize = i->count; in iov_iter_get_pages()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/controllers/
Daspeed-smc.c35 u32 maxsize; /* maximum size of chip window */ member
48 .maxsize = 64 * 1024 * 1024,
57 .maxsize = 64 * 1024 * 1024,
66 .maxsize = 256 * 1024 * 1024,
75 .maxsize = 128 * 1024 * 1024,
534 if (size > controller->info->maxsize) in aspeed_smc_chip_set_segment()
535 size = controller->info->maxsize; in aspeed_smc_chip_set_segment()
/kernel/linux/linux-4.19/drivers/mtd/spi-nor/
Daspeed-smc.c39 u32 maxsize; /* maximum size of chip window */ member
52 .maxsize = 64 * 1024 * 1024,
61 .maxsize = 64 * 1024 * 1024,
70 .maxsize = 256 * 1024 * 1024,
79 .maxsize = 128 * 1024 * 1024,
537 if (size > controller->info->maxsize) in aspeed_smc_chip_set_segment()
538 size = controller->info->maxsize; in aspeed_smc_chip_set_segment()
/kernel/linux/linux-5.10/fs/gfs2/
Dinode.h78 u64 minsize, u64 maxsize) in gfs2_check_internal_file_size() argument
81 if (size < minsize || size > maxsize) in gfs2_check_internal_file_size()
/kernel/linux/linux-4.19/sound/usb/
Dendpoint.c624 unsigned int maxsize, minsize, packs_per_ms, max_packs_per_urb; in data_ep_set_params() local
675 maxsize = (((ep->freqmax << ep->datainterval) + 0xffff) >> 16) * in data_ep_set_params()
678 maxsize += sizeof(__le32); /* Space for length descriptor */ in data_ep_set_params()
680 if (ep->maxpacksize && ep->maxpacksize < maxsize) { in data_ep_set_params()
682 unsigned int data_maxsize = maxsize = ep->maxpacksize; in data_ep_set_params()
694 ep->curpacksize = maxsize; in data_ep_set_params()
735 while (urb_packs > 1 && urb_packs * maxsize >= period_bytes) in data_ep_set_params()
779 u->buffer_size = maxsize * u->packets; in data_ep_set_params()
/kernel/linux/linux-4.19/fs/gfs2/
Dinode.h83 u64 minsize, u64 maxsize) in gfs2_check_internal_file_size() argument
86 if (size < minsize || size > maxsize) in gfs2_check_internal_file_size()
/kernel/linux/linux-4.19/drivers/usb/dwc2/
Dgadget.c617 unsigned int maxsize; in get_ep_limit() local
621 maxsize = DXEPTSIZ_XFERSIZE_LIMIT + 1; in get_ep_limit()
624 maxsize = 64 + 64; in get_ep_limit()
633 maxsize--; in get_ep_limit()
640 if ((maxpkt * hs_ep->ep.maxpacket) < maxsize) in get_ep_limit()
641 maxsize = maxpkt * hs_ep->ep.maxpacket; in get_ep_limit()
643 return maxsize; in get_ep_limit()
676 unsigned int maxsize; in dwc2_gadget_get_chain_limit() local
681 maxsize = (hs_ep->dir_in ? DEV_DMA_ISOC_TX_NBYTES_LIMIT : in dwc2_gadget_get_chain_limit()
685 maxsize = DEV_DMA_NBYTES_LIMIT * MAX_DMA_DESC_NUM_GENERIC; in dwc2_gadget_get_chain_limit()
[all …]
/kernel/linux/linux-4.19/include/net/9p/
Dtransport.h55 int maxsize; /* max message size of transport */ member
/kernel/linux/linux-5.10/include/net/9p/
Dtransport.h40 int maxsize; /* max message size of transport */ member
/kernel/linux/linux-5.10/fs/nfsd/
Dnfsfh.h189 fh_init(struct svc_fh *fhp, int maxsize) in fh_init() argument
192 fhp->fh_maxsize = maxsize; in fh_init()
/kernel/linux/linux-4.19/fs/nfsd/
Dnfsfh.h186 fh_init(struct svc_fh *fhp, int maxsize) in fh_init() argument
189 fhp->fh_maxsize = maxsize; in fh_init()
Dnfsctl.c350 int uninitialized_var(maxsize); in write_filehandle()
373 len = get_int(&mesg, &maxsize); in write_filehandle()
377 if (maxsize < NFS_FHSIZE) in write_filehandle()
379 maxsize = min(maxsize, NFS3_FHSIZE); in write_filehandle()
389 len = exp_rootfh(netns(file), dom, path, &fh, maxsize); in write_filehandle()

123456