Home
last modified time | relevance | path

Searched refs:nbufs (Results 1 – 6 of 6) sorted by relevance

/fs/jbd2/
Drecovery.c70 unsigned int max, nbufs, next; in do_readahead() local
84 nbufs = 0; in do_readahead()
102 bufs[nbufs++] = bh; in do_readahead()
103 if (nbufs == MAXBUF) { in do_readahead()
104 ll_rw_block(REQ_OP_READ, 0, nbufs, bufs); in do_readahead()
105 journal_brelse_array(bufs, nbufs); in do_readahead()
106 nbufs = 0; in do_readahead()
112 if (nbufs) in do_readahead()
113 ll_rw_block(REQ_OP_READ, 0, nbufs, bufs); in do_readahead()
117 if (nbufs) in do_readahead()
[all …]
/fs/
Dsplice.c689 int nbufs = pipe->buffers; in iter_file_splice_write() local
690 struct bio_vec *array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write()
709 if (unlikely(nbufs < pipe->buffers)) { in iter_file_splice_write()
711 nbufs = pipe->buffers; in iter_file_splice_write()
712 array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write()
/fs/xfs/libxfs/
Dxfs_trans_resv.c49 uint nbufs, in xfs_calc_buf_res() argument
52 return nbufs * (size + xfs_buf_log_overhead()); in xfs_calc_buf_res()
Dxfs_ialloc.c274 int nbufs; in xfs_ialloc_inode_init() local
285 nbufs = length / M_IGEO(mp)->blocks_per_cluster; in xfs_ialloc_inode_init()
324 for (j = 0; j < nbufs; j++) { in xfs_ialloc_inode_init()
/fs/xfs/
Dxfs_log_recover.c3780 int nbufs; in xlog_recover_do_icreate_pass2() local
3846 nbufs = length / igeo->blocks_per_cluster; in xlog_recover_do_icreate_pass2()
3847 for (i = 0, cancel_count = 0; i < nbufs; i++) { in xlog_recover_do_icreate_pass2()
3866 ASSERT(!cancel_count || cancel_count == nbufs); in xlog_recover_do_icreate_pass2()
3868 if (cancel_count != nbufs) in xlog_recover_do_icreate_pass2()
Dxfs_inode.c2525 int nbufs; in xfs_ifree_cluster() local
2539 nbufs = igeo->ialloc_blks / igeo->blocks_per_cluster; in xfs_ifree_cluster()
2541 for (j = 0; j < nbufs; j++, inum += igeo->inodes_per_cluster) { in xfs_ifree_cluster()