/fs/xfs/ |
D | xfs_sysctl.c | 77 .extra2 = &xfs_params.sgid_inherit.max 86 .extra2 = &xfs_params.symlink_mode.max 95 .extra2 = &xfs_params.panic_mask.max 105 .extra2 = &xfs_params.error_level.max 114 .extra2 = &xfs_params.syncd_timer.max 123 .extra2 = &xfs_params.inherit_sync.max 132 .extra2 = &xfs_params.inherit_nodump.max 141 .extra2 = &xfs_params.inherit_noatim.max 150 .extra2 = &xfs_params.inherit_nosym.max 159 .extra2 = &xfs_params.rotorstep.max [all …]
|
/fs/ext4/ |
D | mballoc.c | 417 ext4_grpblk_t max, ext4_grpblk_t minblocks); 490 static inline int mb_find_next_zero_bit(void *addr, int max, int start) in mb_find_next_zero_bit() argument 494 tmpmax = max + fix; in mb_find_next_zero_bit() 498 if (ret > max) in mb_find_next_zero_bit() 499 return max; in mb_find_next_zero_bit() 503 static inline int mb_find_next_bit(void *addr, int max, int start) in mb_find_next_bit() argument 507 tmpmax = max + fix; in mb_find_next_bit() 511 if (ret > max) in mb_find_next_bit() 512 return max; in mb_find_next_bit() 516 static void *mb_find_buddy(struct ext4_buddy *e4b, int order, int *max) in mb_find_buddy() argument [all …]
|
D | extents_status.c | 1667 struct ext4_inode_info *ei, *max = NULL; in ext4_seq_es_shrinker_info_show() local 1677 if (max && max->i_es_all_nr < ei->i_es_all_nr) in ext4_seq_es_shrinker_info_show() 1678 max = ei; in ext4_seq_es_shrinker_info_show() 1679 else if (!max) in ext4_seq_es_shrinker_info_show() 1680 max = ei; in ext4_seq_es_shrinker_info_show() 1700 max->vfs_inode.i_ino, max->i_es_all_nr, max->i_es_shk_nr, in ext4_seq_es_shrinker_info_show()
|
/fs/xfs/libxfs/ |
D | xfs_types.c | 170 unsigned long long *max) in xfs_icount_range() argument 181 *max = nr_inos; in xfs_icount_range() 190 unsigned long long min, max; in xfs_verify_icount() local 192 xfs_icount_range(mp, &min, &max); in xfs_verify_icount() 193 return icount >= min && icount <= max; in xfs_verify_icount()
|
D | xfs_trans_resv.c | 341 return XFS_DQUOT_LOGRES(mp) + max(t4, max3(t1, t2, t3)); in xfs_calc_write_reservation() 413 return XFS_DQUOT_LOGRES(mp) + max(t4, max3(t1, t2, t3)); in xfs_calc_itruncate_reservation() 440 max((xfs_calc_inode_res(mp, 5) + in xfs_calc_rename_reservation() 480 max((xfs_calc_inode_res(mp, 2) + in xfs_calc_link_reservation() 518 max((xfs_calc_inode_res(mp, 2) + in xfs_calc_remove_reservation() 576 max(xfs_calc_icreate_resv_alloc(mp), in xfs_calc_icreate_reservation() 784 return max((xfs_calc_inode_res(mp, 1) + in xfs_calc_attrinval_reservation() 848 max((xfs_calc_inode_res(mp, 1) + in xfs_calc_attrrm_reservation()
|
D | xfs_da_btree.c | 490 int max; in xfs_da3_split() local 506 max = state->path.active - 1; in xfs_da3_split() 507 ASSERT((max >= 0) && (max < XFS_DA_NODE_MAXDEPTH)); in xfs_da3_split() 508 ASSERT(state->path.blk[max].magic == XFS_ATTR_LEAF_MAGIC || in xfs_da3_split() 509 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split() 511 addblk = &state->path.blk[max]; /* initial dummy value */ in xfs_da3_split() 512 for (i = max; (i >= 0) && addblk; state->path.active--, i--) { in xfs_da3_split() 561 max - i, &action); in xfs_da3_split() 589 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split() 1598 int max; in xfs_da3_node_lookup_int() local [all …]
|
/fs/ceph/ |
D | debugfs.c | 130 #define CEPH_LAT_METRIC_SHOW(name, total, avg, min, max, sq) { \ argument 134 _max = ktime_to_us(max); \ 143 #define CEPH_SZ_METRIC_SHOW(name, total, avg, min, max, sum) { \ argument 146 name, total, avg, _min, max, sum); \ 178 s64 total, avg, min, max, sq; in metrics_latency_show() local 190 max = m->latency_max; in metrics_latency_show() 193 CEPH_LAT_METRIC_SHOW(metric_str[i], total, avg, min, max, sq); in metrics_latency_show() 205 u64 sum, avg, min, max; in metrics_size_show() local 221 max = m->size_max; in metrics_size_show() 223 CEPH_SZ_METRIC_SHOW(metric_str[i], total, avg, min, max, sum); in metrics_size_show()
|
D | quota.c | 328 u64 max, rvalue; in check_quota_exceeded() local 363 max = ci->i_max_files; in check_quota_exceeded() 366 max = ci->i_max_bytes; in check_quota_exceeded() 373 exceeded = (max && (rvalue + delta > max)); in check_quota_exceeded() 376 if (max) { in check_quota_exceeded() 377 if (rvalue >= max) in check_quota_exceeded() 385 (((max - rvalue) >> 4) < delta); in check_quota_exceeded()
|
D | metric.c | 311 #define METRIC_UPDATE_MIN_MAX(min, max, new) \ argument 315 if (unlikely(new > max)) \ 316 max = new; \
|
/fs/hfsplus/ |
D | bitmap.c | 20 u32 offset, u32 *max) in hfsplus_block_allocate() argument 30 len = *max; in hfsplus_block_allocate() 155 *max = offset + (curr - pptr) * 32 + i - start; in hfsplus_block_allocate() 156 sbi->free_blocks -= *max; in hfsplus_block_allocate() 158 hfs_dbg(BITMAP, "-> %u,%u\n", start, *max); in hfsplus_block_allocate()
|
/fs/jfs/ |
D | jfs_extent.c | 303 s64 nb, nblks, daddr, max; in extBalloc() local 319 max = (s64) 1 << bmp->db_maxfreebud; in extBalloc() 320 if (*nblocks >= max && *nblocks > nbperpage) in extBalloc() 321 nb = nblks = (max > nbperpage) ? max : nbperpage; in extBalloc()
|
D | jfs_dmap.h | 55 tmp1 = max(*(cp+2), *(cp+3)); in TREEMAX() 56 tmp2 = max(*(cp), *(cp+1)); in TREEMAX() 58 return max(tmp1, tmp2); in TREEMAX()
|
/fs/omfs/ |
D | bitmap.c | 27 int addrlen, int bit, int max) in count_run() argument 36 if (x < nbits || count > max) in count_run() 37 return min(count, max); in count_run() 41 return min(count, max); in count_run()
|
/fs/jbd2/ |
D | recovery.c | 69 unsigned int max, nbufs, next; in do_readahead() local 76 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead() 77 if (max > journal->j_total_len) in do_readahead() 78 max = journal->j_total_len; in do_readahead() 85 for (next = start; next < max; next++) { in do_readahead() 905 int offset, max; in scan_revoke_records() local 918 max = rcount; in scan_revoke_records() 923 while (offset + record_len <= max) { in scan_revoke_records()
|
/fs/f2fs/ |
D | inline.c | 435 memcpy(dst.dentry, src.dentry, SIZE_OF_DIR_ENTRY * src.max); in f2fs_move_inline_dirents() 436 memcpy(dst.filename, src.filename, src.max * F2FS_SLOT_LEN); in f2fs_move_inline_dirents() 472 while (bit_pos < d.max) { in f2fs_add_inline_entries() 634 bit_pos = f2fs_room_for_filename(d.bitmap, slots, d.max); in f2fs_add_inline_entry() 635 if (bit_pos >= d.max) { in f2fs_add_inline_entry() 724 bit_pos = find_next_bit_le(d.bitmap, d.max, bit_pos); in f2fs_empty_inline_dir() 728 if (bit_pos < d.max) in f2fs_empty_inline_dir() 745 if (ctx->pos == d.max) in f2fs_read_inline_dir() 764 ctx->pos = d.max; in f2fs_read_inline_dir()
|
D | dir.c | 262 while (bit_pos < d->max) { in f2fs_find_target_dentry() 651 bit_pos = f2fs_room_for_filename(d.bitmap, slots, d.max); in f2fs_has_enough_room() 653 return bit_pos < d.max; in f2fs_has_enough_room() 985 bit_pos = ((unsigned long)ctx->pos % d->max); in f2fs_fill_dentries() 990 while (bit_pos < d->max) { in f2fs_fill_dentries() 991 bit_pos = find_next_bit_le(d->bitmap, d->max, bit_pos); in f2fs_fill_dentries() 992 if (bit_pos >= d->max) in f2fs_fill_dentries() 1016 if (unlikely(bit_pos > d->max || in f2fs_fill_dentries()
|
/fs/hfs/ |
D | bitmap.c | 29 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/devpts/ |
D | inode.c | 101 int max; member 258 opts->max = NR_UNIX98_PTY_MAX; in parse_mount_options() 311 opts->max = option; in parse_mount_options() 416 if (opts->max < NR_UNIX98_PTY_MAX) in devpts_show_options() 417 seq_printf(seq, ",max=%d", opts->max); in devpts_show_options() 538 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
|
/fs/iomap/ |
D | swapfile.c | 40 if (unlikely(isi->nr_pages >= isi->sis->max)) in iomap_swapfile_add_extent() 42 max_pages = isi->sis->max - isi->nr_pages; in iomap_swapfile_add_extent() 190 sis->max = isi.nr_pages; in iomap_swapfile_activate()
|
/fs/nfs/ |
D | pnfs_nfs.c | 243 int max) in pnfs_bucket_scan_ds_commit_list() argument 250 ret = nfs_scan_commit_list(src, dst, cinfo, max); in pnfs_bucket_scan_ds_commit_list() 261 int max) in pnfs_bucket_scan_array() argument 266 for (i = 0; i < nbuckets && max != 0; i++) { in pnfs_bucket_scan_array() 267 cnt = pnfs_bucket_scan_ds_commit_list(&buckets[i], cinfo, max); in pnfs_bucket_scan_array() 269 max -= cnt; in pnfs_bucket_scan_array() 277 int pnfs_generic_scan_commit_lists(struct nfs_commit_info *cinfo, int max) in pnfs_generic_scan_commit_lists() argument 289 array->nbuckets, max); in pnfs_generic_scan_commit_lists() 293 max -= cnt; in pnfs_generic_scan_commit_lists() 294 if (!max) in pnfs_generic_scan_commit_lists()
|
D | pnfs.h | 192 int max); 405 int pnfs_generic_scan_commit_lists(struct nfs_commit_info *cinfo, int max); 540 int max) in pnfs_scan_commit_lists() argument 546 return fl_cinfo->ops->scan_commit_lists(cinfo, max); in pnfs_scan_commit_lists() 855 int max) in pnfs_scan_commit_lists() argument
|
/fs/dlm/ |
D | member.c | 168 int max = 0; in dlm_slots_assign() local 200 if (!max || max < memb->slot) in dlm_slots_assign() 201 max = memb->slot; in dlm_slots_assign() 213 array_size = max + need; in dlm_slots_assign()
|
/fs/fuse/ |
D | ioctl.c | 75 u32 max = fc->max_pages << PAGE_SHIFT; in fuse_verify_ioctl_iov() local 78 if (iov->iov_len > (size_t) max) in fuse_verify_ioctl_iov() 80 max -= iov->iov_len; in fuse_verify_ioctl_iov() 241 max_pages = DIV_ROUND_UP(max(in_size, out_size), PAGE_SIZE); in fuse_do_ioctl()
|
/fs/ocfs2/ |
D | ocfs2.h | 919 static inline int ocfs2_find_next_zero_bit_unaligned(void *bitmap, int max, in ocfs2_find_next_zero_bit_unaligned() argument 924 tmpmax = max + fix; in ocfs2_find_next_zero_bit_unaligned() 928 if (ret > max) in ocfs2_find_next_zero_bit_unaligned() 929 return max; in ocfs2_find_next_zero_bit_unaligned()
|
/fs/reiserfs/ |
D | bitmap.c | 145 int min, int max, int unfm) in scan_bitmap_block() argument 192 if (end >= *beg + max || end >= boundary 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()
|