/linux-6.6.21/drivers/mtd/maps/ |
D | nettel.c | 167 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 …]
|
/linux-6.6.21/fs/erofs/ |
D | dir.c | 11 unsigned int nameoff, unsigned int maxsize) in erofs_fill_dentries() argument 27 de_namelen = strnlen(de_name, maxsize - nameoff); in erofs_fill_dentries() 32 if (nameoff + de_namelen > maxsize || in erofs_fill_dentries() 64 unsigned int nameoff, maxsize; in erofs_readdir() local 82 maxsize = min_t(unsigned int, dirsize - ctx->pos + ofs, bsz); in erofs_readdir() 95 nameoff, maxsize); in erofs_readdir() 99 ctx->pos = erofs_pos(sb, i) + maxsize; in erofs_readdir()
|
/linux-6.6.21/lib/ |
D | iov_iter.c | 1033 struct page ***pages, size_t maxsize, in iter_xarray_get_pages() argument 1045 count = want_pages_array(pages, maxsize, offset, maxpages); in iter_xarray_get_pages() 1052 maxsize = min_t(size_t, nr * PAGE_SIZE - offset, maxsize); in iter_xarray_get_pages() 1053 i->iov_offset += maxsize; in iter_xarray_get_pages() 1054 i->count -= maxsize; in iter_xarray_get_pages() 1055 return maxsize; in iter_xarray_get_pages() 1097 struct page ***pages, size_t maxsize, in __iov_iter_get_pages_alloc() argument 1102 if (maxsize > i->count) in __iov_iter_get_pages_alloc() 1103 maxsize = i->count; in __iov_iter_get_pages_alloc() 1104 if (!maxsize) in __iov_iter_get_pages_alloc() [all …]
|
D | scatterlist.c | 1108 ssize_t maxsize, in extract_user_to_sg() argument 1125 res = iov_iter_extract_pages(iter, &pages, maxsize, sg_max, in extract_user_to_sg() 1131 maxsize -= len; in extract_user_to_sg() 1147 } while (maxsize > 0 && sg_max > 0); in extract_user_to_sg() 1162 ssize_t maxsize, in extract_bvec_to_sg() argument 1182 len = min_t(size_t, maxsize, len - start); in extract_bvec_to_sg() 1191 maxsize -= len; in extract_bvec_to_sg() 1192 if (maxsize <= 0 || sg_max == 0) in extract_bvec_to_sg() 1208 ssize_t maxsize, in extract_kvec_to_sg() argument 1232 len = min_t(size_t, maxsize, len - start); in extract_kvec_to_sg() [all …]
|
/linux-6.6.21/fs/smb/client/ |
D | cifsencrypt.c | 30 static int cifs_shash_bvec(const struct iov_iter *iter, ssize_t maxsize, in cifs_shash_bvec() argument 48 len = min_t(size_t, maxsize, len - start); in cifs_shash_bvec() 57 maxsize -= len; in cifs_shash_bvec() 58 if (maxsize <= 0) in cifs_shash_bvec() 69 static int cifs_shash_kvec(const struct iov_iter *iter, ssize_t maxsize, in cifs_shash_kvec() argument 86 len = min_t(size_t, maxsize, len - start); in cifs_shash_kvec() 90 maxsize -= len; in cifs_shash_kvec() 92 if (maxsize <= 0) in cifs_shash_kvec() 103 static ssize_t cifs_shash_xarray(const struct iov_iter *iter, ssize_t maxsize, in cifs_shash_xarray() argument 114 if (maxsize == 0) in cifs_shash_xarray() [all …]
|
D | smbdirect.c | 2437 ssize_t maxsize) in smb_extract_bvec_to_rdma() argument 2453 len = min_t(size_t, maxsize, len - start); in smb_extract_bvec_to_rdma() 2460 maxsize -= len; in smb_extract_bvec_to_rdma() 2461 if (rdma->nr_sge >= rdma->max_sge || maxsize <= 0) in smb_extract_bvec_to_rdma() 2476 ssize_t maxsize) in smb_extract_kvec_to_rdma() argument 2496 len = min_t(size_t, maxsize, len - start); in smb_extract_kvec_to_rdma() 2499 maxsize -= len; in smb_extract_kvec_to_rdma() 2517 if (rdma->nr_sge >= rdma->max_sge || maxsize <= 0) in smb_extract_kvec_to_rdma() 2531 ssize_t maxsize) in smb_extract_xarray_to_rdma() argument 2552 len = min_t(size_t, maxsize, folio_size(folio) - off); in smb_extract_xarray_to_rdma() [all …]
|
/linux-6.6.21/include/linux/comedi/ |
D | comedi_isadma.h | 35 unsigned int maxsize; member 70 unsigned int maxsize, char dma_dir); 103 unsigned int maxsize, char dma_dir) in comedi_isadma_alloc() argument
|
/linux-6.6.21/drivers/comedi/drivers/ |
D | comedi_isadma.c | 154 unsigned int maxsize, char dma_dir) in comedi_isadma_alloc() argument 205 desc->maxsize = maxsize; in comedi_isadma_alloc() 206 desc->virt_addr = dma_alloc_coherent(dma->dev, desc->maxsize, in comedi_isadma_alloc() 238 dma_free_coherent(dma->dev, desc->maxsize, in comedi_isadma_free()
|
D | ni_labpc_isadma.c | 59 desc->size = labpc_suggest_transfer_size(dev, s, desc->maxsize); in labpc_setup_dma()
|
/linux-6.6.21/fs/gfs2/ |
D | inode.h | 78 u64 minsize, u64 maxsize) in gfs2_check_internal_file_size() argument 81 if (size < minsize || size > maxsize) in gfs2_check_internal_file_size()
|
/linux-6.6.21/fs/nfsd/ |
D | nfsfh.h | 239 fh_init(struct svc_fh *fhp, int maxsize) in fh_init() argument 242 fhp->fh_maxsize = maxsize; in fh_init()
|
D | nfsctl.c | 312 int maxsize; in write_filehandle() local 335 len = get_int(&mesg, &maxsize); in write_filehandle() 339 if (maxsize < NFS_FHSIZE) in write_filehandle() 341 maxsize = min(maxsize, NFS3_FHSIZE); in write_filehandle() 346 trace_nfsd_ctl_filehandle(netns(file), dname, path, maxsize); in write_filehandle() 353 len = exp_rootfh(netns(file), dom, path, &fh, maxsize); in write_filehandle()
|
D | export.h | 117 char *path, struct knfsd_fh *, int maxsize);
|
D | nfsfh.c | 416 int maxsize = (fhp->fh_maxsize - fhp->fh_handle.fh_size)/4; in _fh_update() local 420 exportfs_encode_fh(dentry, fid, &maxsize, fh_flags); in _fh_update() 424 fhp->fh_handle.fh_size += maxsize * 4; in _fh_update()
|
/linux-6.6.21/include/net/9p/ |
D | transport.h | 44 int maxsize; /* max message size of transport */ member
|
/linux-6.6.21/include/linux/ |
D | uio.h | 288 size_t maxsize, unsigned maxpages, size_t *start); 290 size_t maxsize, size_t *start); 398 size_t maxsize, unsigned int maxpages,
|
/linux-6.6.21/drivers/usb/dwc2/ |
D | gadget.c | 670 unsigned int maxsize; in get_ep_limit() local 674 maxsize = DXEPTSIZ_XFERSIZE_LIMIT + 1; in get_ep_limit() 677 maxsize = 64 + 64; in get_ep_limit() 686 maxsize--; in get_ep_limit() 693 if ((maxpkt * hs_ep->ep.maxpacket) < maxsize) in get_ep_limit() 694 maxsize = maxpkt * hs_ep->ep.maxpacket; in get_ep_limit() 696 return maxsize; in get_ep_limit() 729 unsigned int maxsize; in dwc2_gadget_get_chain_limit() local 734 maxsize = (hs_ep->dir_in ? DEV_DMA_ISOC_TX_NBYTES_LIMIT : in dwc2_gadget_get_chain_limit() 738 maxsize = DEV_DMA_NBYTES_LIMIT * MAX_DMA_DESC_NUM_GENERIC; in dwc2_gadget_get_chain_limit() [all …]
|
/linux-6.6.21/net/sctp/ |
D | output.c | 786 size_t psize, pmtu, maxsize; in sctp_packet_will_fit() local 828 maxsize = pmtu - packet->overhead; in sctp_packet_will_fit() 830 maxsize -= SCTP_PAD4(packet->auth->skb->len); in sctp_packet_will_fit() 831 if (chunk_len > maxsize) in sctp_packet_will_fit()
|
/linux-6.6.21/sound/usb/ |
D | endpoint.c | 1095 unsigned int maxsize, minsize, packs_per_ms, max_packs_per_urb; in data_ep_set_params() local 1150 maxsize = (((ep->freqmax << ep->datainterval) + 0xffff) >> 16) * in data_ep_set_params() 1153 maxsize += sizeof(__le32); /* Space for length descriptor */ in data_ep_set_params() 1155 if (ep->maxpacksize && ep->maxpacksize < maxsize) { in data_ep_set_params() 1157 unsigned int data_maxsize = maxsize = ep->maxpacksize; in data_ep_set_params() 1169 ep->curpacksize = maxsize; in data_ep_set_params() 1195 while (urb_packs > 1 && urb_packs * maxsize >= ep->cur_period_bytes) in data_ep_set_params() 1239 u->buffer_size = maxsize * u->packets; in data_ep_set_params()
|
/linux-6.6.21/drivers/spi/ |
D | spi.c | 3518 size_t maxsize, in __spi_split_transfer_maxsize() argument 3527 count = DIV_ROUND_UP(xfer->len, maxsize); in __spi_split_transfer_maxsize() 3550 xfers[0].len = min_t(size_t, maxsize, xfer[0].len); in __spi_split_transfer_maxsize() 3553 for (i = 1, offset = maxsize; i < count; offset += maxsize, i++) { in __spi_split_transfer_maxsize() 3565 xfers[i].len = min(maxsize, xfers[i].len - offset); in __spi_split_transfer_maxsize() 3596 size_t maxsize, in spi_split_transfers_maxsize() argument 3610 if (xfer->len > maxsize) { in spi_split_transfers_maxsize() 3612 maxsize, gfp); in spi_split_transfers_maxsize() 3649 size_t maxsize; in spi_split_transfers_maxwords() local 3652 maxsize = maxwords * roundup_pow_of_two(BITS_TO_BYTES(xfer->bits_per_word)); in spi_split_transfers_maxwords() [all …]
|
/linux-6.6.21/net/9p/ |
D | trans_xen.c | 259 .maxsize = 1 << (XEN_9PFS_RING_ORDER + XEN_PAGE_SHIFT - 2), 408 if (p9_xen_trans.maxsize > XEN_FLEX_RING_SIZE(max_ring_order)) in xen_9pfs_front_init() 409 p9_xen_trans.maxsize = XEN_FLEX_RING_SIZE(max_ring_order) / 2; in xen_9pfs_front_init()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | setup.c | 1250 long size = minsize, maxsize = MAX_BCACHE_SIZE * 2; in external_cache_probe() local 1252 if (maxsize > (max_low_pfn + 1) << PAGE_SHIFT) in external_cache_probe() 1253 maxsize = 1 << (ilog2(max_low_pfn + 1) + PAGE_SHIFT); in external_cache_probe() 1258 while (size < maxsize) { in external_cache_probe()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | nv50.c | 257 const u32 maxsize = (runl->cgid ? runl->cgid->nr : 0) + runl->chid->nr; in nv50_runl_alloc() local 262 maxsize * 2 * runl->func->size, 0, false, &runl->mem); in nv50_runl_alloc()
|
/linux-6.6.21/arch/arm/include/asm/ |
D | ecard.h | 195 unsigned long offset, unsigned long maxsize);
|
/linux-6.6.21/include/crypto/ |
D | if_alg.h | 242 struct af_alg_async_req *areq, size_t maxsize,
|