Home
last modified time | relevance | path

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

/Linux-v5.15/fs/xfs/
Dxfs_log_recover.c82 int nbblks) in xlog_alloc_buffer() argument
88 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer()
90 nbblks); in xlog_alloc_buffer()
108 if (nbblks > 1 && log->l_sectBBsize > 1) in xlog_alloc_buffer()
109 nbblks += log->l_sectBBsize; in xlog_alloc_buffer()
110 nbblks = round_up(nbblks, log->l_sectBBsize); in xlog_alloc_buffer()
111 return kvzalloc(BBTOB(nbblks), GFP_KERNEL | __GFP_RETRY_MAYFAIL); in xlog_alloc_buffer()
130 unsigned int nbblks, in xlog_do_io() argument
136 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, blk_no, nbblks))) { in xlog_do_io()
139 blk_no, nbblks); in xlog_do_io()
[all …]
/Linux-v5.15/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(xfs_dqblk_t); in xfs_calc_dquots_per_chunk()
Dxfs_quota_defs.h121 extern int xfs_calc_dquots_per_chunk(unsigned int nbblks);