| /linux/fs/jffs2/ |
| H A D | nodemgmt.c | 53 static int jffs2_do_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, 78 int jffs2_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_reserve_space() argument 84 minsize = PAD(minsize); in jffs2_reserve_space() 86 jffs2_dbg(1, "%s(): Requested 0x%x bytes\n", __func__, minsize); in jffs2_reserve_space() 201 ret = jffs2_do_reserve_space(c, minsize, len, sumsize); in jffs2_reserve_space() 216 int jffs2_reserve_space_gc(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_reserve_space_gc() argument 220 minsize = PAD(minsize); in jffs2_reserve_space_gc() 222 jffs2_dbg(1, "%s(): Requested 0x%x bytes\n", __func__, minsize); in jffs2_reserve_space_gc() 226 ret = jffs2_do_reserve_space(c, minsize, len, sumsize); in jffs2_reserve_space_gc() 358 static int jffs2_do_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_do_reserve_space() argument [all …]
|
| H A D | nodelist.h | 385 int jffs2_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, 387 int jffs2_reserve_space_gc(struct jffs2_sb_info *c, uint32_t minsize,
|
| /linux/fs/gfs2/ |
| H A D | inode.h | 76 u64 minsize, u64 maxsize) in gfs2_check_internal_file_size() argument 79 if (size < minsize || size > maxsize) in gfs2_check_internal_file_size()
|
| /linux/fs/iomap/ |
| H A D | ioend.c | 478 void iomap_bounce_read(struct iomap_ioend *orig_ioend, unsigned int minsize, 485 size_t total_len = round_up(orig_ioend->io_size, minsize); in iomap_bounce_read() 498 min(total_len / minsize, BIO_MAX_VECS), in iomap_bounce_read() 501 error = bio_alloc_bounce_folios(bio, total_len, minsize); in iomap_bounce_read() 479 iomap_bounce_read(struct iomap_ioend * orig_ioend,unsigned int minsize,void (* submit_ioend)(struct iomap_ioend * ioend)) iomap_bounce_read() argument
|
| /linux/block/ |
| H A D | bio.c | 1416 size_t minsize) in bio_alloc_bounce_folios() 1420 while (*size > minsize) { in bio_alloc_bounce_folios() 1444 int bio_alloc_bounce_folios(struct bio *bio, size_t total_len, size_t minsize) in bio_iov_iter_bounce_write() 1457 if (this_len > minsize * 2) in bio_iov_iter_bounce_write() 1463 folio = folio_alloc_greedy(GFP_KERNEL, &this_len, minsize); in bio_iov_iter_bounce_write() 1469 * this should not happen as minsize is expected to be a power in bio_iov_iter_bounce_write() 1473 this_len &= ~(minsize - 1); in bio_iov_iter_bounce_write() 1488 * @minsize: minimum folio allocation size 1497 size_t maxlen, size_t minsize) in bio_await() 1504 error = bio_alloc_bounce_folios(bio, total_len, minsize); in bio_await() 1362 folio_alloc_greedy(gfp_t gfp,size_t * size,size_t minsize) folio_alloc_greedy() argument 1390 bio_alloc_bounce_folios(struct bio * bio,size_t total_len,size_t minsize) bio_alloc_bounce_folios() argument 1443 bio_iov_iter_bounce_write(struct bio * bio,struct iov_iter * iter,size_t maxlen,size_t minsize) bio_iov_iter_bounce_write() argument [all...] |
| H A D | bdev.c | 251 int minsize = bdev_logical_block_size(sb->s_bdev); in sb_min_blocksize() local 252 if (size < minsize) in sb_min_blocksize() 253 size = minsize; in sb_min_blocksize()
|
| /linux/sound/usb/ |
| H A D | endpoint.c | 1111 unsigned int maxsize, minsize, packs_per_ms, max_packs_per_urb; in data_ep_set_params() 1225 minsize = (ep->freqn >> (16 - ep->datainterval)) * in data_ep_set_params() 1229 minsize -= minsize >> 3; in data_ep_set_params() 1230 minsize = max(minsize, 1u); in data_ep_set_params() 1233 max_packs_per_period = DIV_ROUND_UP(ep->cur_period_bytes, minsize); in data_ep_set_params() 1108 unsigned int maxsize, minsize, packs_per_ms, max_packs_per_urb; data_ep_set_params() local
|
| /linux/include/linux/ |
| H A D | bio.h | 533 int bio_alloc_bounce_folios(struct bio *bio, size_t total_len, size_t minsize); 536 size_t maxlen, size_t minsize);
|
| H A D | iomap.h | 613 void iomap_bounce_read(struct iomap_ioend *orig_ioend, unsigned int minsize,
|
| /linux/arch/alpha/kernel/ |
| H A D | setup.c | 1162 external_cache_probe(int minsize, int width) in external_cache_probe() argument 1166 long size = minsize, maxsize = MAX_BCACHE_SIZE * 2; in external_cache_probe()
|
| /linux/drivers/usb/core/ |
| H A D | usb.c | 955 unsigned char type, void **ptr, size_t minsize) in __usb_get_extra_descriptor() argument 971 if (header->bDescriptorType == type && header->bLength >= minsize) { in __usb_get_extra_descriptor()
|