Home
last modified time | relevance | path

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

12345

/fs/xfs/linux-2.6/
Dxfs_sysctl.c66 .extra1 = &xfs_params.sgid_inherit.min,
77 .extra1 = &xfs_params.symlink_mode.min,
88 .extra1 = &xfs_params.panic_mask.min,
100 .extra1 = &xfs_params.error_level.min,
111 .extra1 = &xfs_params.syncd_timer.min,
122 .extra1 = &xfs_params.inherit_sync.min,
133 .extra1 = &xfs_params.inherit_nodump.min,
144 .extra1 = &xfs_params.inherit_noatim.min,
155 .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()
82 l = min(len, (int)PAGE_CACHE_SIZE - off); in hfs_bnode_write()
89 l = min(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_write()
112 l = min(len, (int)PAGE_CACHE_SIZE - off); in hfs_bnode_clear()
118 l = min(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_clear()
144 l = min(len, (int)PAGE_CACHE_SIZE - src); in hfs_bnode_copy()
151 l = min(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_copy()
172 l = min(len, l); in hfs_bnode_copy()
234 l = min(len, l); in hfs_bnode_move()
[all …]
/fs/yaffs2/
Dyaffs_qsort.c78 #ifndef min
79 #define min(a, b) (((a) < (b)) ? (a) : (b)) macro
148 r = min(pa - (char *)a, pb - pa); in yaffs_qsort()
150 r = min((long)(pd - pc), (long)(pn - pd - es)); in yaffs_qsort()
/fs/btrfs/
Dzlib.c234 workspace->def_strm.avail_in = min(len, PAGE_CACHE_SIZE); in btrfs_zlib_compress_pages()
291 workspace->def_strm.avail_in = min(bytes_left, in btrfs_zlib_compress_pages()
448 bytes = min(PAGE_CACHE_SIZE - pg_offset, in btrfs_zlib_decompress_biovec()
450 bytes = min(bytes, working_bytes); in btrfs_zlib_decompress_biovec()
512 workspace->inf_strm.avail_in = min(tmp, in btrfs_zlib_decompress_biovec()
603 bytes = min(PAGE_CACHE_SIZE - pg_offset, in btrfs_zlib_decompress()
605 bytes = min(bytes, bytes_left); in btrfs_zlib_decompress()
/fs/reiserfs/
Dbitmap.c138 int min, int max, int unfm) in scan_bitmap_block() argument
168 if (bi->free_count < min) { in scan_bitmap_block()
177 if (*beg + min > boundary) { /* search for a zero bit fails or the rest of bitmap block in scan_bitmap_block()
200 if (end - *beg >= min) { /* it seems we have found window of proper size */ in scan_bitmap_block()
211 if (i >= *beg + min) { /* we can continue with smaller set of allocated blocks, in scan_bitmap_block()
314 int min, int max, int unfm, sector_t file_block) in scan_bitmap() argument
358 min, max, unfm); in scan_bitmap()
368 scan_bitmap_block(th, bm, &off, off_max, min, max, unfm); in scan_bitmap()
374 scan_bitmap_block(th, bm, &off, end_off + 1, min, max, unfm); in scan_bitmap()
1002 b_blocknr_t finish, int min, in allocate_without_wrapping_disk() argument
[all …]
/fs/ext3/
Dresize.c344 unsigned *min = three; in ext3_list_backups() local
350 ret = *min; in ext3_list_backups()
351 *min += 1; in ext3_list_backups()
355 if (*five < *min) { in ext3_list_backups()
356 min = five; in ext3_list_backups()
359 if (*seven < *min) { in ext3_list_backups()
360 min = seven; in ext3_list_backups()
364 ret = *min; in ext3_list_backups()
365 *min *= mult; in ext3_list_backups()
/fs/ext4/
Dresize.c322 unsigned *min = three; in ext4_list_backups() local
328 ret = *min; in ext4_list_backups()
329 *min += 1; in ext4_list_backups()
333 if (*five < *min) { in ext4_list_backups()
334 min = five; in ext4_list_backups()
337 if (*seven < *min) { in ext4_list_backups()
338 min = seven; in ext4_list_backups()
342 ret = *min; in ext4_list_backups()
343 *min *= mult; in ext4_list_backups()
/fs/jffs2/
Dread.c174 holesize = min(holesize, frag->ofs - offset); in jffs2_read_inode_range()
182 uint32_t holeend = min(end, frag->ofs + frag->size); in jffs2_read_inode_range()
194 readlen = min(frag->size - fragofs, end - offset); in jffs2_read_inode_range()
/fs/jfs/
Djfs_dtree.c3207 len = min(d_namleft, DTLHDRDATALEN); in jfs_readdir()
3235 len = min(d_namleft, DTLHDRDATALEN_LEGACY); in jfs_readdir()
3259 len = min(d_namleft, DTSLOTDATALEN); in jfs_readdir()
3613 len = min(namlen, DTIHDRDATALEN); in dtCompare()
3616 len = min(klen, len); in dtCompare()
3628 len = min(namlen, DTSLOTDATALEN); in dtCompare()
3629 len = min(klen, len); in dtCompare()
3697 len = min(namlen, DTLHDRDATALEN); in ciCompare()
3699 len = min(namlen, DTLHDRDATALEN_LEGACY); in ciCompare()
3709 len = min(namlen, DTIHDRDATALEN); in ciCompare()
[all …]
Djfs_xtree.c198 *plen = min(next - lstart, llen); in xtLookup()
215 *plen = min(xend - lstart, llen); in xtLookup()
356 plen = min(lend - xstart, xlen); in xtLookupList()
368 plen = min(xend - lstart, llen); in xtLookupList()
917 (xtlck->lwm.offset) ? min(index, in xtInsert()
1008 min(skip, (int)xtlck->lwm.offset) : skip; in xtSplitUp()
1178 min(skip, (int)xtlck->lwm.offset) : skip; in xtSplitUp()
1403 min(skip, (int)sxtlck->lwm.offset) : skip; in xtSplitPage()
1433 min(middle, (int)sxtlck->lwm.offset) : middle; in xtSplitPage()
1756 (xtlck->lwm.offset) ? min(index, in xtExtend()
[all …]
Djfs_dmap.c375 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbFree()
473 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap()
488 nbits = min(rbits, DBWORD - wbitno); in dbUpdatePMap()
1175 nb = min(rembits, DBWORD - wbitno); in dbAllocNext()
1208 min((int)leaf[word], NLSTOL2BSZ(nwords)); in dbAllocNext()
1273 lword = min(word + 4, LPERDMAP); in dbAllocNear()
1797 nb = min(n, (s64)BPERDMAP); in dbAllocCtl()
2108 nb = min(rembits, DBWORD - wbitno); in dbAllocBits()
2157 size = min((int)leaf[word], NLSTOL2BSZ(nwords)); in dbAllocBits()
2257 nb = min(rembits, DBWORD - wbitno); in dbFreeBits()
[all …]
Dresize.c147 min(newLogSize, MEGABYTE32 >> sbi->l2bsize); in jfs_extendfs()
325 nblocks = min(t64 - mapSize, XSize); in jfs_extendfs()
385 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); in jfs_extendfs()
/fs/isofs/
Dcompress.c86 maxpage = min(zisofs_block_pages, maxpage-offset); in zisofs_readpage()
204 stream.avail_in = min(bufsize-(cstart & bufmask), csize); in zisofs_readpage()
246 stream.avail_in = min(csize,bufsize); in zisofs_readpage()
/fs/omfs/
Dbitmap.c36 return min(count, max); in count_run()
40 return min(count, max); in count_run()
/fs/hfs/
Dmdb.c107 size = min(HFS_SB(sb)->alloc_blksz, (u32)PAGE_SIZE); in hfs_mdb_get()
184 len = min((int)sb->s_blocksize - off2, size); in hfs_mdb_get()
309 len = min((int)sb->s_blocksize - off, size); in hfs_mdb_commit()
/fs/hostfs/
Dhostfs_user.c68 int file_type(const char *path, int *maj, int *min) in file_type() argument
80 if (min != NULL) in file_type()
81 *min = minor(buf.st_rdev); in file_type()
Dhostfs.h63 extern int file_type(const char *path, int *maj, int *min);
/fs/squashfs/
Dblock.c170 avail = min(bytes, msblk->devblksize - offset); in squashfs_read_data()
235 in = min(bytes, msblk->devblksize - offset); in squashfs_read_data()
/fs/ubifs/
Dgc.c183 int avail, err, min = INT_MAX; in move_nodes() local
240 if (snod->len < min) in move_nodes()
241 min = snod->len; in move_nodes()
268 if (avail < min) in move_nodes()
/fs/ntfs/
Dcollate.c33 rc = memcmp(data1, data2, min(data1_len, data2_len)); in ntfs_collate_binary()
/fs/lockd/
Dsvc.c449 #define param_set_min_max(name, type, which_strtol, min, max) \ argument
454 if (endp == val || *endp || num < (min) || num > (max)) \
/fs/cifs/
Dnetmisc.c893 int sec, min, days, month, year; in cnvrtDosUnixTm() local
900 min = st->Minutes; in cnvrtDosUnixTm()
901 if ((sec > 59) || (min > 59)) in cnvrtDosUnixTm()
902 cERROR(1, ("illegal time min %d sec %d", min, sec)); in cnvrtDosUnixTm()
903 sec += (min * 60); in cnvrtDosUnixTm()
Dcifs_spnego.c152 cifs_dump_mem("SPNEGO reply blob:", msg->data, min(1024U, in cifs_get_spnego_key()
/fs/affs/
Dfile.c509 tmp = min(bsize - boff, to - from); in affs_do_readpage_ofs()
541 tmp = min(bsize - boff, newsize - size); in affs_extent_file_ofs()
560 tmp = min(bsize, newsize - size); in affs_extent_file_ofs()
682 tmp = min(bsize - boff, to - from); in affs_write_end_ofs()
730 tmp = min(bsize, to - from); in affs_write_end_ofs()

12345