Home
last modified time | relevance | path

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

/fs/jbd2/
Drecovery.c69 unsigned int max, nbufs, next; in do_readahead() local
83 nbufs = 0; in do_readahead()
101 bufs[nbufs++] = bh; in do_readahead()
102 if (nbufs == MAXBUF) { in do_readahead()
103 ll_rw_block(REQ_OP_READ, 0, nbufs, bufs); in do_readahead()
104 journal_brelse_array(bufs, nbufs); in do_readahead()
105 nbufs = 0; in do_readahead()
111 if (nbufs) in do_readahead()
112 ll_rw_block(REQ_OP_READ, 0, nbufs, bufs); in do_readahead()
116 if (nbufs) in do_readahead()
[all …]
/fs/xfs/
Dxfs_icreate_item.c158 int nbufs; in xlog_recover_icreate_commit_pass2() local
224 nbufs = length / igeo->blocks_per_cluster; in xlog_recover_icreate_commit_pass2()
225 for (i = 0, cancel_count = 0; i < nbufs; i++) { in xlog_recover_icreate_commit_pass2()
244 ASSERT(!cancel_count || cancel_count == nbufs); in xlog_recover_icreate_commit_pass2()
246 if (cancel_count != nbufs) in xlog_recover_icreate_commit_pass2()
Dxfs_inode.c2539 int nbufs; in xfs_ifree_cluster() local
2544 nbufs = igeo->ialloc_blks / igeo->blocks_per_cluster; in xfs_ifree_cluster()
2546 for (j = 0; j < nbufs; j++, inum += igeo->inodes_per_cluster) { in xfs_ifree_cluster()
/fs/
Dsplice.c627 int nbufs = pipe->max_usage; in iter_file_splice_write() local
628 struct bio_vec *array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write()
648 if (unlikely(nbufs < pipe->max_usage)) { in iter_file_splice_write()
650 nbufs = pipe->max_usage; in iter_file_splice_write()
651 array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write()
665 for (n = 0; !pipe_empty(head, tail) && left && n < nbufs; tail++) { in iter_file_splice_write()
/fs/ntfs3/
Dntfs_fs.h123 u32 nbufs; member
1081 u32 i, nbufs = nb->nbufs; in nb_put() local
1083 if (!nbufs) in nb_put()
1086 for (i = 0; i < nbufs; i++) in nb_put()
1088 nb->nbufs = 0; in nb_put()
Dfsntfs.c1213 nb->nbufs = nbh; in ntfs_read_run_nb()
1250 nb->nbufs = 0; in ntfs_read_run_nb()
1334 nb->nbufs = nbh; in ntfs_get_bh()
1360 nb->nbufs = 0; in ntfs_get_bh()
1384 for (idx = 0; bytes && idx < nb->nbufs; idx += 1, off = 0) { in ntfs_write_bh()
Drecord.c390 if (!mi->nb.nbufs) { in mi_format_new()
/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.c272 int nbufs; in xfs_ialloc_inode_init() local
284 nbufs = length / M_IGEO(mp)->blocks_per_cluster; in xfs_ialloc_inode_init()
323 for (j = 0; j < nbufs; j++) { in xfs_ialloc_inode_init()