Home
last modified time | relevance | path

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

123456

/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/hfsplus/
Dbnode.c30 l = min(len, (int)PAGE_CACHE_SIZE - off); in hfs_bnode_read()
36 l = min(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_read()
83 l = min(len, (int)PAGE_CACHE_SIZE - off); in hfs_bnode_write()
90 l = min(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_write()
113 l = min(len, (int)PAGE_CACHE_SIZE - off); in hfs_bnode_clear()
119 l = min(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_clear()
145 l = min(len, (int)PAGE_CACHE_SIZE - src); in hfs_bnode_copy()
152 l = min(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_copy()
173 l = min(len, l); in hfs_bnode_copy()
236 l = min(len, l); in hfs_bnode_move()
[all …]
/fs/btrfs/
Dzlib.c123 workspace->def_strm.avail_in = min(len, PAGE_CACHE_SIZE); in zlib_compress_pages()
181 workspace->def_strm.avail_in = min(bytes_left, in zlib_compress_pages()
293 workspace->inf_strm.avail_in = min(tmp, in zlib_decompress_biovec()
369 bytes = min(PAGE_CACHE_SIZE - pg_offset, in zlib_decompress()
371 bytes = min(bytes, bytes_left); in zlib_decompress()
Dlzo.c139 in_len = min(len, PAGE_CACHE_SIZE); in lzo_compress_pages()
227 in_len = min(bytes_left, PAGE_CACHE_SIZE); in lzo_compress_pages()
318 bytes = min(working_bytes, in_page_bytes_left); in lzo_decompress_biovec()
Dfile-item.c366 csum_end = min(csum_end, end + 1); in btrfs_lookup_csums_range()
817 diff = min(diff, MAX_CSUM_ITEMS(root, csum_size) * csum_size); in btrfs_csum_file_blocks()
820 diff = min(free_space, diff); in btrfs_csum_file_blocks()
837 tmp = min(tmp, (next_offset - file_key.offset) >> in btrfs_csum_file_blocks()
841 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.c136 int min, int max, int unfm) in scan_bitmap_block() argument
166 if (bi->free_count < min) { in scan_bitmap_block()
175 if (*beg + min > boundary) { /* search for a zero bit fails or the rest of bitmap block in scan_bitmap_block()
198 if (end - *beg >= min) { /* it seems we have found window of proper size */ in scan_bitmap_block()
209 if (i >= *beg + min) { /* we can continue with smaller set of allocated blocks, in scan_bitmap_block()
312 int min, int max, int unfm, sector_t file_block) in scan_bitmap() argument
356 min, max, unfm); in scan_bitmap()
366 scan_bitmap_block(th, bm, &off, off_max, min, max, unfm); in scan_bitmap()
372 scan_bitmap_block(th, bm, &off, end_off + 1, min, max, unfm); in scan_bitmap()
1085 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.c3210 len = min(d_namleft, DTLHDRDATALEN); in jfs_readdir()
3238 len = min(d_namleft, DTLHDRDATALEN_LEGACY); in jfs_readdir()
3262 len = min(d_namleft, DTSLOTDATALEN); in jfs_readdir()
3616 len = min(namlen, DTIHDRDATALEN); in dtCompare()
3619 len = min(klen, len); in dtCompare()
3631 len = min(namlen, DTSLOTDATALEN); in dtCompare()
3632 len = min(klen, len); in dtCompare()
3700 len = min(namlen, DTLHDRDATALEN); in ciCompare()
3702 len = min(namlen, DTLHDRDATALEN_LEGACY); in ciCompare()
3712 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_dmap.c383 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbFree()
481 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap()
496 nbits = min(rbits, DBWORD - wbitno); in dbUpdatePMap()
1182 nb = min(rembits, DBWORD - wbitno); in dbAllocNext()
1215 min((int)leaf[word], NLSTOL2BSZ(nwords)); in dbAllocNext()
1280 lword = min(word + 4, LPERDMAP); in dbAllocNear()
1916 nb = min(n, (s64)BPERDMAP); in dbAllocCtl()
2227 nb = min(rembits, DBWORD - wbitno); in dbAllocBits()
2276 size = min((int)leaf[word], NLSTOL2BSZ(nwords)); in dbAllocBits()
2376 nb = min(rembits, DBWORD - wbitno); in dbFreeBits()
[all …]
Djfs_xtree.c195 *plen = min(next - lstart, llen); in xtLookup()
212 *plen = min(xend - lstart, llen); in xtLookup()
656 (xtlck->lwm.offset) ? min(index, in xtInsert()
747 min(skip, (int)xtlck->lwm.offset) : skip; in xtSplitUp()
917 min(skip, (int)xtlck->lwm.offset) : skip; in xtSplitUp()
1141 min(skip, (int)sxtlck->lwm.offset) : skip; in xtSplitPage()
1171 min(middle, (int)sxtlck->lwm.offset) : middle; in xtSplitPage()
1496 (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 …]
/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/ceph/
Ddebugfs.c129 int total, avail, used, reserved, min; in caps_show() local
131 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); in caps_show()
137 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/hostfs/
Dhostfs.h62 unsigned int min; member
/fs/cifs/
Dnetmisc.c948 int sec, min, days, month, year; in cnvrtDosUnixTm() local
957 min = st->Minutes; in cnvrtDosUnixTm()
958 if ((sec > 59) || (min > 59)) in cnvrtDosUnixTm()
959 cifs_dbg(VFS, "illegal time min %d sec %d\n", min, sec); in cnvrtDosUnixTm()
960 sec += (min * 60); in cnvrtDosUnixTm()
/fs/affs/
Dfile.c523 tmp = min(bsize - boff, to - from); in affs_do_readpage_ofs()
555 tmp = min(bsize - boff, newsize - size); in affs_extent_file_ofs()
574 tmp = min(bsize, newsize - size); in affs_extent_file_ofs()
696 tmp = min(bsize - boff, to - from); in affs_write_end_ofs()
744 tmp = min(bsize, to - from); in affs_write_end_ofs()
/fs/squashfs/
Dzlib_wrapper.c79 int avail = min(length, msblk->devblksize - offset); in zlib_uncompress()

123456