Home
last modified time | relevance | path

Searched refs:minsize (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/fs/jffs2/
Dnodemgmt.c71 static int jffs2_do_reserve_space(struct jffs2_sb_info *c, uint32_t minsize,
74 int jffs2_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_reserve_space() argument
80 minsize = PAD(minsize); in jffs2_reserve_space()
82 jffs2_dbg(1, "%s(): Requested 0x%x bytes\n", __func__, minsize); in jffs2_reserve_space()
197 ret = jffs2_do_reserve_space(c, minsize, len, sumsize); in jffs2_reserve_space()
212 int jffs2_reserve_space_gc(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_reserve_space_gc() argument
216 minsize = PAD(minsize); in jffs2_reserve_space_gc()
218 jffs2_dbg(1, "%s(): Requested 0x%x bytes\n", __func__, minsize); in jffs2_reserve_space_gc()
222 ret = jffs2_do_reserve_space(c, minsize, len, sumsize); in jffs2_reserve_space_gc()
354 static int jffs2_do_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_do_reserve_space() argument
[all …]
Dnodelist.h385 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-6.1.9/arch/s390/kernel/
Dmachine_kexec_file.c240 unsigned long minsize; in kexec_file_add_components() local
252 minsize = PARMAREA + offsetof(struct parmarea, command_line); in kexec_file_add_components()
253 if (image->kernel_buf_len < minsize) in kexec_file_add_components()
259 if (minsize + max_command_line_size < minsize) in kexec_file_add_components()
262 if (image->kernel_buf_len < minsize + max_command_line_size) in kexec_file_add_components()
/linux-6.1.9/scripts/dtc/
Ddtc.c16 int minsize; /* Minimum blob size */ variable
178 minsize = 0; in main()
203 minsize = strtol(optarg, NULL, 0); in main()
277 if (minsize && padsize) in main()
Dflattree.c376 if (minsize > 0) { in dt_to_blob()
377 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
383 fdt32_to_cpu(fdt.totalsize), minsize); in dt_to_blob()
552 if (minsize > 0) { in dt_to_asm()
554 minsize, symprefix, symprefix); in dt_to_asm()
Ddtc.h39 extern int minsize; /* Minimum blob size */
/linux-6.1.9/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()
/linux-6.1.9/arch/powerpc/kernel/
Dprom_init.c1981 u32 minalign, minsize; in prom_initialize_tce_table() local
2024 if (prom_getprop(node, "tce-table-minsize", &minsize, in prom_initialize_tce_table()
2025 sizeof(minsize)) == PROM_ERROR) in prom_initialize_tce_table()
2026 minsize = 4UL << 20; in prom_initialize_tce_table()
2034 minsize = 4UL << 20; in prom_initialize_tce_table()
2037 align = max(minalign, minsize); in prom_initialize_tce_table()
2038 base = alloc_down(minsize, align, 1); in prom_initialize_tce_table()
2054 prom_setprop(node, path, "linux,tce-size", &minsize, sizeof(minsize)); in prom_initialize_tce_table()
2059 prom_debug("\tsize = 0x%x\n", minsize); in prom_initialize_tce_table()
2065 for (i = 0; i < (minsize >> 3) ;tce_entryp++, i++) { in prom_initialize_tce_table()
[all …]
/linux-6.1.9/sound/usb/
Dendpoint.c1078 unsigned int maxsize, minsize, packs_per_ms, max_packs_per_urb; in data_ep_set_params() local
1204 minsize = (ep->freqn >> (16 - ep->datainterval)) * in data_ep_set_params()
1208 minsize -= minsize >> 3; in data_ep_set_params()
1209 minsize = max(minsize, 1u); in data_ep_set_params()
1212 max_packs_per_period = DIV_ROUND_UP(ep->cur_period_bytes, minsize); in data_ep_set_params()
/linux-6.1.9/block/
Dbdev.c174 int minsize = bdev_logical_block_size(sb->s_bdev); in sb_min_blocksize() local
175 if (size < minsize) in sb_min_blocksize()
176 size = minsize; in sb_min_blocksize()
/linux-6.1.9/drivers/isdn/hardware/mISDN/
Davmfritz.c1028 unsigned short minsize; in setup_instance() local
1049 minsize = HDLC_FIFO_SIZE_V2; in setup_instance()
1051 minsize = HDLC_FIFO_SIZE_V1; in setup_instance()
1052 mISDN_initbchannel(&card->bch[i], MAX_DATA_MEM, minsize); in setup_instance()
/linux-6.1.9/drivers/usb/core/
Dusb.c881 unsigned char type, void **ptr, size_t minsize) in __usb_get_extra_descriptor() argument
897 if (header->bDescriptorType == type && header->bLength >= minsize) { in __usb_get_extra_descriptor()
/linux-6.1.9/arch/alpha/kernel/
Dsetup.c1247 external_cache_probe(int minsize, int width) in external_cache_probe() argument
1251 long size = minsize, maxsize = MAX_BCACHE_SIZE * 2; in external_cache_probe()