Home
last modified time | relevance | path

Searched refs:min (Results 1 – 25 of 157) sorted by relevance

1234567

/fs/xfs/
Dxfs_sysctl.c84 .extra1 = &xfs_params.sgid_inherit.min,
93 .extra1 = &xfs_params.symlink_mode.min,
102 .extra1 = &xfs_params.panic_mask.min,
112 .extra1 = &xfs_params.error_level.min,
121 .extra1 = &xfs_params.syncd_timer.min,
130 .extra1 = &xfs_params.inherit_sync.min,
139 .extra1 = &xfs_params.inherit_nodump.min,
148 .extra1 = &xfs_params.inherit_noatim.min,
157 .extra1 = &xfs_params.xfs_buf_timer.min,
166 .extra1 = &xfs_params.xfs_buf_age.min,
[all …]
Dxfs_sysctl.h28 int min; member
/fs/btrfs/
Dzlib.c121 workspace->strm.avail_in = min(len, PAGE_CACHE_SIZE); in zlib_compress_pages()
179 workspace->strm.avail_in = min(bytes_left, in zlib_compress_pages()
290 workspace->strm.avail_in = min(tmp, in zlib_decompress_biovec()
371 bytes = min(PAGE_CACHE_SIZE - pg_offset, in zlib_decompress()
373 bytes = min(bytes, bytes_left); in zlib_decompress()
Dlzo.c139 in_len = min(len, PAGE_CACHE_SIZE); in lzo_compress_pages()
229 in_len = min(bytes_left, PAGE_CACHE_SIZE); in lzo_compress_pages()
319 bytes = min(working_bytes, in_page_bytes_left); in lzo_decompress_biovec()
Dfile-item.c382 csum_end = min(csum_end, end + 1); in btrfs_lookup_csums_range()
808 diff = min(diff, MAX_CSUM_ITEMS(root, csum_size) * csum_size); in btrfs_csum_file_blocks()
811 diff = min(free_space, diff); in btrfs_csum_file_blocks()
828 tmp = min(tmp, (next_offset - file_key.offset) >> in btrfs_csum_file_blocks()
832 tmp = min(tmp, (u64)MAX_CSUM_ITEMS(root, csum_size)); in btrfs_csum_file_blocks()
/fs/ubifs/
Dgc.c248 struct list_head *nondata, int *min) in sort_nodes() argument
253 *min = INT_MAX; in sort_nodes()
290 if (snod->len < *min) in sort_nodes()
291 *min = snod->len; in sort_nodes()
351 int err, min; in move_nodes() local
365 err = sort_nodes(c, sleb, &nondata, &min); in move_nodes()
392 if (avail < min) in move_nodes()
/fs/reiserfs/
Dbitmap.c145 int min, int max, int unfm) in scan_bitmap_block() argument
170 if (bi->free_count < min) { in scan_bitmap_block()
183 if (*beg + min > boundary) { in scan_bitmap_block()
213 if (end - *beg >= min) { in scan_bitmap_block()
235 if (i >= *beg + min) { in scan_bitmap_block()
349 int min, int max, int unfm, sector_t file_block) in scan_bitmap() argument
392 min, max, unfm); in scan_bitmap()
402 scan_bitmap_block(th, bm, &off, off_max, min, max, unfm); in scan_bitmap()
408 scan_bitmap_block(th, bm, &off, end_off + 1, min, max, unfm); in scan_bitmap()
1153 b_blocknr_t finish, int min, in allocate_without_wrapping_disk() argument
[all …]
/fs/ext3/
Dresize.c355 unsigned *min = three; in ext3_list_backups() local
361 ret = *min; in ext3_list_backups()
362 *min += 1; in ext3_list_backups()
366 if (*five < *min) { in ext3_list_backups()
367 min = five; in ext3_list_backups()
370 if (*seven < *min) { in ext3_list_backups()
371 min = seven; in ext3_list_backups()
375 ret = *min; in ext3_list_backups()
376 *min *= mult; in ext3_list_backups()
/fs/jfs/
Djfs_dtree.c3214 len = min(d_namleft, DTLHDRDATALEN); in jfs_readdir()
3248 len = min(d_namleft, DTLHDRDATALEN_LEGACY); in jfs_readdir()
3271 len = min(d_namleft, DTSLOTDATALEN); in jfs_readdir()
3625 len = min(namlen, DTIHDRDATALEN); in dtCompare()
3628 len = min(klen, len); in dtCompare()
3640 len = min(namlen, DTSLOTDATALEN); in dtCompare()
3641 len = min(klen, len); in dtCompare()
3709 len = min(namlen, DTLHDRDATALEN); in ciCompare()
3711 len = min(namlen, DTLHDRDATALEN_LEGACY); in ciCompare()
3721 len = min(namlen, DTIHDRDATALEN); in ciCompare()
[all …]
Dresize.c148 min(newLogSize, MEGABYTE32 >> sbi->l2bsize); in jfs_extendfs()
326 nblocks = min(t64 - mapSize, XSize); in jfs_extendfs()
389 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); in jfs_extendfs()
Djfs_xtree.c196 *plen = min(next - lstart, llen); in xtLookup()
213 *plen = min(xend - lstart, llen); in xtLookup()
657 (xtlck->lwm.offset) ? min(index, in xtInsert()
748 min(skip, (int)xtlck->lwm.offset) : skip; in xtSplitUp()
918 min(skip, (int)xtlck->lwm.offset) : skip; in xtSplitUp()
1142 min(skip, (int)sxtlck->lwm.offset) : skip; in xtSplitPage()
1172 min(middle, (int)sxtlck->lwm.offset) : middle; in xtSplitPage()
1497 (xtlck->lwm.offset) ? min(index, in xtExtend()
1680 min(index, (int)xtlck->lwm.offset) : index; in xtTailgate()
2009 min(index0, (int)xtlck->lwm.offset) : index0; in xtUpdate()
[all …]
Djfs_dmap.c382 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbFree()
479 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap()
494 nbits = min(rbits, DBWORD - wbitno); in dbUpdatePMap()
1178 nb = min(rembits, DBWORD - wbitno); in dbAllocNext()
1275 lword = min(word + 4, LPERDMAP); in dbAllocNear()
2215 nb = min(rembits, DBWORD - wbitno); in dbAllocBits()
2364 nb = min(rembits, DBWORD - wbitno); in dbFreeBits()
2406 min(LITOL2BSZ in dbFreeBits()
3244 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbAllocBottomUp()
3303 nb = min(rembits, DBWORD - wbitno); in dbAllocDmapBU()
[all …]
/fs/jffs2/
Dread.c183 holesize = min(holesize, frag->ofs - offset); in jffs2_read_inode_range()
192 uint32_t holeend = min(end, frag->ofs + frag->size); in jffs2_read_inode_range()
206 readlen = min(frag->size - fragofs, end - offset); in jffs2_read_inode_range()
/fs/proc/
Dmeminfo.c72 pagecache -= min(pagecache / 2, wmark_low); in meminfo_proc_show()
80 min(global_page_state(NR_SLAB_RECLAIMABLE) / 2, wmark_low); in meminfo_proc_show()
/fs/ceph/
Ddebugfs.c132 int total, avail, used, reserved, min; in caps_show() local
134 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); in caps_show()
140 total, avail, used, reserved, min); in caps_show()
/fs/omfs/
Dbitmap.c36 return min(count, max); in count_run()
40 return min(count, max); in count_run()
/fs/hfs/
Dmdb.c108 size = min(HFS_SB(sb)->alloc_blksz, (u32)PAGE_SIZE); in hfs_mdb_get()
185 len = min((int)sb->s_blocksize - off2, size); in hfs_mdb_get()
317 len = min((int)sb->s_blocksize - off, size); in hfs_mdb_commit()
/fs/qnx4/
Dbitmap.c30 int bytes = min(size - total, QNX4_BLOCK_SIZE); in qnx4_count_free_blocks()
/fs/ext4/
Dresize.c667 unsigned *min = three; in ext4_list_backups() local
673 ret = *min; in ext4_list_backups()
674 *min += 1; in ext4_list_backups()
678 if (*five < *min) { in ext4_list_backups()
679 min = five; in ext4_list_backups()
682 if (*seven < *min) { in ext4_list_backups()
683 min = seven; in ext4_list_backups()
687 ret = *min; in ext4_list_backups()
688 *min *= mult; in ext4_list_backups()
Dmmp.c231 mmp_check_interval = max(min(EXT4_MMP_CHECK_MULT * diff / HZ, in kmmpd()
312 wait_time = min(mmp_check_interval * 2 + 1, in ext4_multi_mount_protect()
/fs/ntfs/
Dcollate.c33 rc = memcmp(data1, data2, min(data1_len, data2_len)); in ntfs_collate_binary()
/fs/affs/
Dfile.c526 tmp = min(bsize - boff, to - pos); in affs_do_readpage_ofs()
558 tmp = min(bsize - boff, newsize - size); in affs_extent_file_ofs()
577 tmp = min(bsize, newsize - size); in affs_extent_file_ofs()
705 tmp = min(bsize - boff, to - from); in affs_write_end_ofs()
756 tmp = min(bsize, to - from); in affs_write_end_ofs()
/fs/cifs/
Dnetmisc.c965 int sec, min, days, month, year; in cnvrtDosUnixTm() local
974 min = st->Minutes; in cnvrtDosUnixTm()
975 if ((sec > 59) || (min > 59)) in cnvrtDosUnixTm()
976 cifs_dbg(VFS, "illegal time min %d sec %d\n", min, sec); in cnvrtDosUnixTm()
977 sec += (min * 60); in cnvrtDosUnixTm()
/fs/hostfs/
Dhostfs.h62 unsigned int min; member
/fs/logfs/
Ddev_bdev.c86 max_pages = min(nr_pages, (size_t) bio_get_nr_vecs(super->s_bdev)); in __bdev_writeseg()
178 max_pages = min(nr_pages, (size_t) bio_get_nr_vecs(super->s_bdev)); in do_erase()

1234567