Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 64) sorted by relevance

123

/fs/xfs/linux-2.6/
Dxfs_sysctl.c67 .extra2 = &xfs_params.sgid_inherit.max
78 .extra2 = &xfs_params.symlink_mode.max
89 .extra2 = &xfs_params.panic_mask.max
101 .extra2 = &xfs_params.error_level.max
112 .extra2 = &xfs_params.syncd_timer.max
123 .extra2 = &xfs_params.inherit_sync.max
134 .extra2 = &xfs_params.inherit_nodump.max
145 .extra2 = &xfs_params.inherit_noatim.max
156 .extra2 = &xfs_params.xfs_buf_timer.max
167 .extra2 = &xfs_params.xfs_buf_age.max
[all …]
Dxfs_sysctl.h30 int max; member
/fs/ext4/
Dmballoc.c394 static inline int mb_find_next_zero_bit(void *addr, int max, int start) in mb_find_next_zero_bit() argument
398 tmpmax = max + fix; in mb_find_next_zero_bit()
402 if (ret > max) in mb_find_next_zero_bit()
403 return max; in mb_find_next_zero_bit()
407 static inline int mb_find_next_bit(void *addr, int max, int start) in mb_find_next_bit() argument
411 tmpmax = max + fix; in mb_find_next_bit()
415 if (ret > max) in mb_find_next_bit()
416 return max; in mb_find_next_bit()
420 static void *mb_find_buddy(struct ext4_buddy *e4b, int order, int *max) in mb_find_buddy() argument
425 BUG_ON(max == NULL); in mb_find_buddy()
[all …]
Dextents.c287 int max; in ext4_ext_max_entries() local
291 max = ext4_ext_space_root(inode); in ext4_ext_max_entries()
293 max = ext4_ext_space_root_idx(inode); in ext4_ext_max_entries()
296 max = ext4_ext_space_block(inode); in ext4_ext_max_entries()
298 max = ext4_ext_space_block_idx(inode); in ext4_ext_max_entries()
301 return max; in ext4_ext_max_entries()
309 int max = 0; in __ext4_ext_check_header() local
323 max = ext4_ext_max_entries(inode, depth); in __ext4_ext_check_header()
324 if (unlikely(le16_to_cpu(eh->eh_max) > max)) { in __ext4_ext_check_header()
340 max, le16_to_cpu(eh->eh_depth), depth); in __ext4_ext_check_header()
/fs/jbd/
Drecovery.c72 unsigned int max, nbufs, next; in do_readahead() local
79 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead()
80 if (max > journal->j_maxlen) in do_readahead()
81 max = journal->j_maxlen; in do_readahead()
88 for (next = start; next < max; next++) { in do_readahead()
577 int offset, max; in scan_revoke_records() local
581 max = be32_to_cpu(header->r_count); in scan_revoke_records()
583 while (offset < max) { in scan_revoke_records()
/fs/hfsplus/
Dbitmap.c18 int hfsplus_block_allocate(struct super_block *sb, u32 size, u32 offset, u32 *max) in hfsplus_block_allocate() argument
27 len = *max; in hfsplus_block_allocate()
152 *max = offset + (curr - pptr) * 32 + i - start; in hfsplus_block_allocate()
153 HFSPLUS_SB(sb).free_blocks -= *max; in hfsplus_block_allocate()
155 dprint(DBG_BITMAP, "-> %u,%u\n", start, *max); in hfsplus_block_allocate()
/fs/jbd2/
Drecovery.c73 unsigned int max, nbufs, next; in do_readahead() local
80 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead()
81 if (max > journal->j_maxlen) in do_readahead()
82 max = journal->j_maxlen; in do_readahead()
89 for (next = start; next < max; next++) { in do_readahead()
720 int offset, max; in scan_revoke_records() local
725 max = be32_to_cpu(header->r_count); in scan_revoke_records()
730 while (offset + record_len <= max) { in scan_revoke_records()
/fs/omfs/
Dbitmap.c26 int addrlen, int bit, int max) in count_run() argument
35 if (x < nbits || count > max) in count_run()
36 return min(count, max); in count_run()
40 return min(count, max); in count_run()
/fs/hfs/
Dbitmap.c29 static u32 hfs_find_set_zero_bits(__be32 *bitmap, u32 size, u32 offset, u32 *max) in hfs_find_set_zero_bits() argument
36 len = *max; in hfs_find_set_zero_bits()
108 *max = (curr - bitmap) * 32 + i - start; in hfs_find_set_zero_bits()
/fs/jfs/
Djfs_extent.c525 s64 nb, nblks, daddr, max; in extBalloc() local
536 max = (s64) 1 << bmp->db_maxfreebud; in extBalloc()
537 if (*nblocks >= max && *nblocks > nbperpage) in extBalloc()
538 nb = nblks = (max > nbperpage) ? max : nbperpage; in extBalloc()
Djfs_dmap.h68 tmp1 = max(*(cp+2), *(cp+3)); in TREEMAX()
69 tmp2 = max(*(cp), *(cp+1)); in TREEMAX()
71 return max(tmp1, tmp2); in TREEMAX()
Djfs_debug.h115 #define HIGHWATERMARK(x,y) ((x) = max((x), (y)))
/fs/
Dread_write.c735 size_t count, loff_t max) in do_sendfile() argument
787 if (!max) in do_sendfile()
788 max = min(in_inode->i_sb->s_maxbytes, out_inode->i_sb->s_maxbytes); in do_sendfile()
794 if (unlikely(pos + count > max)) { in do_sendfile()
796 if (pos >= max) in do_sendfile()
798 count = max - pos; in do_sendfile()
821 if (*ppos > max) in do_sendfile()
Dselect.c323 int max; in max_select_fd() local
331 max = 0; in max_select_fd()
348 if (max) in max_select_fd()
352 max++; in max_select_fd()
355 max += n * __NFDBITS; in max_select_fd()
358 return max; in max_select_fd()
/fs/cifs/
DTODO90 restriction of wsize max being 127K)
116 1) check out max path names and max path name components against various server
117 types. Try nested symlinks (8 deep). Return max path name in stat -f information
/fs/xfs/
Dxfs_da_btree.c148 int max, action, error, i; in xfs_da_split() local
156 max = state->path.active - 1; in xfs_da_split()
157 ASSERT((max >= 0) && (max < XFS_DA_NODE_MAXDEPTH)); in xfs_da_split()
158 ASSERT(state->path.blk[max].magic == XFS_ATTR_LEAF_MAGIC || in xfs_da_split()
159 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da_split()
161 addblk = &state->path.blk[max]; /* initial dummy value */ in xfs_da_split()
162 for (i = max; (i >= 0) && addblk; state->path.active--, i--) { in xfs_da_split()
207 max - i, &action); in xfs_da_split()
1056 int probe, span, max, error, retval; in xfs_da_node_lookup_int() local
1092 max = be16_to_cpu(node->hdr.count); in xfs_da_node_lookup_int()
[all …]
Dxfs_rtalloc.h143 # define xfs_rtallocate_extent(t,b,min,max,l,a,f,p,rb) (ENOSYS) argument
Dxfs_attr_leaf.c1259 int count, totallen, max, space, swap; in xfs_attr_leaf_rebalance() local
1318 max = be16_to_cpu(hdr2->firstused) in xfs_attr_leaf_rebalance()
1320 max -= be16_to_cpu(hdr2->count) * sizeof(xfs_attr_leaf_entry_t); in xfs_attr_leaf_rebalance()
1321 if (space > max) { in xfs_attr_leaf_rebalance()
1350 max = be16_to_cpu(hdr1->firstused) in xfs_attr_leaf_rebalance()
1352 max -= be16_to_cpu(hdr1->count) * sizeof(xfs_attr_leaf_entry_t); in xfs_attr_leaf_rebalance()
1353 if (space > max) { in xfs_attr_leaf_rebalance()
1427 int count, max, index, totallen, half; in xfs_attr_leaf_figure_balance() local
1444 max = be16_to_cpu(hdr1->count) + be16_to_cpu(hdr2->count); in xfs_attr_leaf_figure_balance()
1445 half = (max+1) * sizeof(*entry); in xfs_attr_leaf_figure_balance()
[all …]
/fs/btrfs/
Dasync-thread.h99 void btrfs_init_workers(struct btrfs_workers *workers, char *name, int max);
Dasync-thread.c242 void btrfs_init_workers(struct btrfs_workers *workers, char *name, int max) in btrfs_init_workers() argument
249 workers->max_workers = max; in btrfs_init_workers()
Dinode-map.c82 search_start = max(search_start, BTRFS_FIRST_FREE_OBJECTID); in btrfs_find_free_objectid()
/fs/fat/
Dmisc.c182 month = max(1, (date >> 5) & 0xf); in fat_time_fat2unix()
183 day = max(1, date & 0x1f) - 1; in fat_time_fat2unix()
/fs/reiserfs/
Dbitmap.c138 int min, int max, int unfm) in scan_bitmap_block() argument
187 if (end >= *beg + max || end >= boundary 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()
/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/ocfs2/
Dstack_user.c403 struct ocfs2_protocol_version *max = in ocfs2_control_do_setversion_msg() local
437 if ((major != max->pv_major) || in ocfs2_control_do_setversion_msg()
438 (minor > max->pv_minor)) in ocfs2_control_do_setversion_msg()

123