Home
last modified time | relevance | path

Searched refs:nbblks (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/fs/xfs/
Dxfs_log_recover.c75 int nbblks) in xlog_alloc_buffer() argument
81 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer()
83 nbblks); in xlog_alloc_buffer()
101 if (nbblks > 1 && log->l_sectBBsize > 1) in xlog_alloc_buffer()
102 nbblks += log->l_sectBBsize; in xlog_alloc_buffer()
103 nbblks = round_up(nbblks, log->l_sectBBsize); in xlog_alloc_buffer()
104 return kvzalloc(BBTOB(nbblks), GFP_KERNEL | __GFP_RETRY_MAYFAIL); in xlog_alloc_buffer()
123 unsigned int nbblks, in xlog_do_io() argument
129 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, blk_no, nbblks))) { in xlog_do_io()
132 blk_no, nbblks); in xlog_do_io()
[all …]
/linux-5.19.10/fs/xfs/libxfs/
Dxfs_dquot_buf.c22 unsigned int nbblks) /* basic block units */ in xfs_calc_dquots_per_chunk() argument
24 ASSERT(nbblks > 0); in xfs_calc_dquots_per_chunk()
25 return BBTOB(nbblks) / sizeof(struct xfs_dqblk); in xfs_calc_dquots_per_chunk()
Dxfs_quota_defs.h137 extern int xfs_calc_dquots_per_chunk(unsigned int nbblks);