Searched refs:pre (Results 1 – 10 of 10) sorted by relevance
| /fs/cachefiles/ |
| A D | io.c | 653 size_t off, pre, post, len = subreq->len; in cachefiles_issue_write() local 663 pre = CACHEFILES_DIO_BLOCK_SIZE - off; in cachefiles_issue_write() 664 if (pre >= len) { in cachefiles_issue_write() 669 subreq->transferred += pre; in cachefiles_issue_write() 670 start += pre; in cachefiles_issue_write() 671 len -= pre; in cachefiles_issue_write() 672 iov_iter_advance(&subreq->io_iter, pre); in cachefiles_issue_write()
|
| /fs/xfs/ |
| A D | xfs_iomap.c | 361 struct xfs_dquot_pre *pre; in xfs_quota_need_throttle() local 368 pre = &dq->q_rtb_prealloc; in xfs_quota_need_throttle() 371 pre = &dq->q_blk_prealloc; in xfs_quota_need_throttle() 375 if (!pre->q_prealloc_hi_wmark) in xfs_quota_need_throttle() 395 struct xfs_dquot_pre *pre; in xfs_quota_calc_throttle() local 401 pre = NULL; in xfs_quota_calc_throttle() 404 pre = &dq->q_rtb_prealloc; in xfs_quota_calc_throttle() 407 pre = &dq->q_blk_prealloc; in xfs_quota_calc_throttle() 417 freesp = pre->q_prealloc_hi_wmark - res->reserved; in xfs_quota_calc_throttle() 420 if (freesp < pre->q_low_space[XFS_QLOWSP_3_PCNT]) in xfs_quota_calc_throttle() [all …]
|
| A D | xfs_dquot.c | 308 struct xfs_dquot_pre *pre, in xfs_dquot_set_prealloc() argument 313 pre->q_prealloc_hi_wmark = res->hardlimit; in xfs_dquot_set_prealloc() 314 pre->q_prealloc_lo_wmark = res->softlimit; in xfs_dquot_set_prealloc() 316 space = div_u64(pre->q_prealloc_hi_wmark, 100); in xfs_dquot_set_prealloc() 317 if (!pre->q_prealloc_lo_wmark) in xfs_dquot_set_prealloc() 318 pre->q_prealloc_lo_wmark = space * 95; in xfs_dquot_set_prealloc() 320 pre->q_low_space[XFS_QLOWSP_1_PCNT] = space; in xfs_dquot_set_prealloc() 321 pre->q_low_space[XFS_QLOWSP_3_PCNT] = space * 3; in xfs_dquot_set_prealloc() 322 pre->q_low_space[XFS_QLOWSP_5_PCNT] = space * 5; in xfs_dquot_set_prealloc()
|
| A D | xfs_qm.c | 2174 struct xfs_dquot_pre *pre; in xfs_inode_near_dquot_enforcement() local 2189 pre = &dqp->q_rtb_prealloc; in xfs_inode_near_dquot_enforcement() 2192 pre = &dqp->q_blk_prealloc; in xfs_inode_near_dquot_enforcement() 2196 if (!pre->q_prealloc_hi_wmark) in xfs_inode_near_dquot_enforcement() 2199 if (res->reserved < pre->q_prealloc_lo_wmark) in xfs_inode_near_dquot_enforcement() 2202 if (res->reserved >= pre->q_prealloc_hi_wmark) in xfs_inode_near_dquot_enforcement() 2205 freesp = pre->q_prealloc_hi_wmark - res->reserved; in xfs_inode_near_dquot_enforcement() 2206 if (freesp < pre->q_low_space[XFS_QLOWSP_5_PCNT]) in xfs_inode_near_dquot_enforcement()
|
| /fs/btrfs/ |
| A D | extent_map.c | 1035 int btrfs_split_extent_map(struct btrfs_inode *inode, u64 start, u64 len, u64 pre, in btrfs_split_extent_map() argument 1045 ASSERT(pre != 0); in btrfs_split_extent_map() 1046 ASSERT(pre < len); in btrfs_split_extent_map() 1077 split_pre->len = pre; in btrfs_split_extent_map() 1093 split_mid->start = em->start + pre; in btrfs_split_extent_map() 1094 split_mid->len = em->len - pre; in btrfs_split_extent_map() 1095 split_mid->disk_bytenr = btrfs_extent_map_block_start(em) + pre; in btrfs_split_extent_map()
|
| A D | extent_map.h | 174 int btrfs_split_extent_map(struct btrfs_inode *inode, u64 start, u64 len, u64 pre,
|
| /fs/erofs/ |
| A D | zdata.c | 744 struct z_erofs_pcluster *pcl, *pre; in z_erofs_register_pcluster() local 775 pre = __xa_cmpxchg(&sbi->managed_pslots, pcl->pos, in z_erofs_register_pcluster() 777 if (!pre || xa_is_err(pre) || z_erofs_get_pcluster(pre)) { in z_erofs_register_pcluster() 785 if (xa_is_err(pre)) { in z_erofs_register_pcluster() 786 err = xa_err(pre); in z_erofs_register_pcluster() 788 } else if (pre) { in z_erofs_register_pcluster() 789 fe->pcl = pre; in z_erofs_register_pcluster()
|
| A D | Kconfig | 98 Note that this feature, along with ongoing fanotify pre-content 175 after fanotify pre-content hooks are landed.
|
| /fs/ntfs3/ |
| A D | attrib.c | 155 CLST flen, vcn0 = vcn, pre = pre_alloc ? *pre_alloc : 0; in attr_allocate_clusters() local 159 err = ntfs_look_for_free_space(sbi, lcn, len + pre, &lcn, &flen, in attr_allocate_clusters() 162 if (err == -ENOSPC && pre) { in attr_allocate_clusters() 163 pre = 0; in attr_allocate_clusters()
|
| /fs/squashfs/ |
| A D | Kconfig | 165 Enabling this option restores performance to pre-regression levels by
|
Completed in 39 milliseconds