Home
last modified time | relevance | path

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

123

/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-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()
Dni_labpc_isadma.c60 desc->size = labpc_suggest_transfer_size(dev, s, desc->maxsize); in labpc_setup_dma()
/kernel/linux/linux-5.10/sound/usb/
Dendpoint.c635 unsigned int maxsize, minsize, packs_per_ms, max_packs_per_urb; in check_ep_params() local
687 maxsize = (((ep->freqmax << ep->datainterval) + 0xffff) >> 16) * in check_ep_params()
690 maxsize += sizeof(__le32); /* Space for length descriptor */ in check_ep_params()
692 if (ep->maxpacksize && ep->maxpacksize < maxsize) { in check_ep_params()
694 unsigned int data_maxsize = maxsize = ep->maxpacksize; in check_ep_params()
706 ret = ret && (ep->curpacksize == maxsize); in check_ep_params()
748 while (urb_packs > 1 && urb_packs * maxsize >= period_bytes) in check_ep_params()
807 unsigned int maxsize, minsize, packs_per_ms, max_packs_per_urb; in data_ep_set_params() local
858 maxsize = (((ep->freqmax << ep->datainterval) + 0xffff) >> 16) * in data_ep_set_params()
861 maxsize += sizeof(__le32); /* Space for length descriptor */ in data_ep_set_params()
[all …]
/kernel/linux/build/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/
Dmem_debug02.sh45 local maxsize=$((2 * 1024 * 1024))
47 if [ $total_size -le $maxsize ]; then
/kernel/linux/linux-5.10/lib/
Diov_iter.c1266 size_t maxsize, in __pipe_get_pages() argument
1273 ssize_t n = push_pipe(i, maxsize, &iter_head, start); in __pipe_get_pages()
1277 maxsize = n; in __pipe_get_pages()
1285 return maxsize; in __pipe_get_pages()
1289 struct page **pages, size_t maxsize, unsigned maxpages, in pipe_get_pages() argument
1295 if (!maxsize) in pipe_get_pages()
1306 return __pipe_get_pages(i, min(maxsize, capacity), pages, iter_head, start); in pipe_get_pages()
1310 struct page **pages, size_t maxsize, unsigned maxpages, in iov_iter_get_pages() argument
1313 if (maxsize > i->count) in iov_iter_get_pages()
1314 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-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-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()
Dexport.h101 char *path, struct knfsd_fh *, int maxsize);
Dnfsctl.c354 int maxsize; in write_filehandle() local
377 len = get_int(&mesg, &maxsize); in write_filehandle()
381 if (maxsize < NFS_FHSIZE) in write_filehandle()
383 maxsize = min(maxsize, NFS3_FHSIZE); in write_filehandle()
393 len = exp_rootfh(netns(file), dom, path, &fh, maxsize); in write_filehandle()
Dnfsfh.c421 int maxsize = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4; in _fh_update() local
425 exportfs_encode_fh(dentry, fid, &maxsize, subtreecheck); in _fh_update()
426 fhp->fh_handle.fh_size += maxsize * 4; in _fh_update()
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dgadget.c671 unsigned int maxsize; in get_ep_limit() local
675 maxsize = DXEPTSIZ_XFERSIZE_LIMIT + 1; in get_ep_limit()
678 maxsize = 64 + 64; in get_ep_limit()
687 maxsize--; in get_ep_limit()
694 if ((maxpkt * hs_ep->ep.maxpacket) < maxsize) in get_ep_limit()
695 maxsize = maxpkt * hs_ep->ep.maxpacket; in get_ep_limit()
697 return maxsize; in get_ep_limit()
730 unsigned int maxsize; in dwc2_gadget_get_chain_limit() local
735 maxsize = (hs_ep->dir_in ? DEV_DMA_ISOC_TX_NBYTES_LIMIT : in dwc2_gadget_get_chain_limit()
739 maxsize = DEV_DMA_NBYTES_LIMIT * MAX_DMA_DESC_NUM_GENERIC; in dwc2_gadget_get_chain_limit()
[all …]
/kernel/linux/linux-5.10/net/sctp/
Doutput.c762 size_t psize, pmtu, maxsize; in sctp_packet_will_fit() local
804 maxsize = pmtu - packet->overhead; in sctp_packet_will_fit()
806 maxsize -= SCTP_PAD4(packet->auth->skb->len); in sctp_packet_will_fit()
807 if (chunk_len > maxsize) in sctp_packet_will_fit()
/kernel/linux/linux-5.10/include/linux/
Duio.h239 size_t maxsize, unsigned maxpages, size_t *start);
241 size_t maxsize, size_t *start);
/kernel/linux/linux-5.10/net/9p/
Dtrans_xen.c280 .maxsize = 1 << (XEN_9PFS_RING_ORDER + XEN_PAGE_SHIFT - 2),
424 if (p9_xen_trans.maxsize > XEN_FLEX_RING_SIZE(max_ring_order)) in xen_9pfs_front_probe()
425 p9_xen_trans.maxsize = XEN_FLEX_RING_SIZE(max_ring_order) / 2; in xen_9pfs_front_probe()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dsetup.c1266 long size = minsize, maxsize = MAX_BCACHE_SIZE * 2; in external_cache_probe() local
1268 if (maxsize > (max_low_pfn + 1) << PAGE_SHIFT) in external_cache_probe()
1269 maxsize = 1 << (ilog2(max_low_pfn + 1) + PAGE_SHIFT); in external_cache_probe()
1274 while (size < maxsize) { in external_cache_probe()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Decard.h195 unsigned long offset, unsigned long maxsize);
/kernel/linux/linux-5.10/drivers/spi/
Dspi.c3201 size_t maxsize, in __spi_split_transfer_maxsize() argument
3210 count = DIV_ROUND_UP(xfer->len, maxsize); in __spi_split_transfer_maxsize()
3231 xfers[0].len = min_t(size_t, maxsize, xfer[0].len); in __spi_split_transfer_maxsize()
3234 for (i = 1, offset = maxsize; i < count; offset += maxsize, i++) { in __spi_split_transfer_maxsize()
3246 xfers[i].len = min(maxsize, xfers[i].len - offset); in __spi_split_transfer_maxsize()
3276 size_t maxsize, in spi_split_transfers_maxsize() argument
3289 if (xfer->len > maxsize) { in spi_split_transfers_maxsize()
3291 maxsize, gfp); in spi_split_transfers_maxsize()
3534 size_t maxsize; in __spi_validate() local
3537 maxsize = (spi->bits_per_word + 7) / 8; in __spi_validate()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-rpc/
Decard.c859 unsigned long offset, unsigned long maxsize) in ecardm_iomap() argument
868 if (maxsize && end - start > maxsize) in ecardm_iomap()
869 end = start + maxsize; in ecardm_iomap()
/kernel/linux/linux-5.10/include/crypto/
Dif_alg.h244 struct af_alg_async_req *areq, size_t maxsize,

123