Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_trans_resv.c80 uint num_ops) in xfs_allocfree_log_count() argument
84 blocks = num_ops * 2 * (2 * mp->m_ag_maxlevels - 1); in xfs_allocfree_log_count()
86 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_log_count()
88 blocks += num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_allocfree_log_count()
Dxfs_trans_resv.h107 uint xfs_allocfree_log_count(struct xfs_mount *mp, uint num_ops);
/fs/ceph/
Daddr.c836 int num_ops = 0, op_idx; in ceph_writepages_start() local
942 num_ops = 1 + do_sync; in ceph_writepages_start()
959 if (num_ops >= (pool ? CEPH_OSD_SLAB_OPS : in ceph_writepages_start()
966 num_ops++; in ceph_writepages_start()
1018 offset, &len, 0, num_ops, in ceph_writepages_start()
1028 min(num_ops, in ceph_writepages_start()
1095 BUG_ON(num_ops <= req->r_num_ops); in ceph_writepages_start()
1096 num_ops -= req->r_num_ops; in ceph_writepages_start()
1097 num_ops += do_sync; in ceph_writepages_start()
1114 BUG_ON(num_ops != req->r_num_ops); in ceph_writepages_start()