Home
last modified time | relevance | path

Searched refs:new_num (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/reiserfs/
Dfix_node.c31 static inline int old_item_num(int new_num, int affected_item_num, int mode) in old_item_num() argument
33 if (mode == M_PASTE || mode == M_CUT || new_num < affected_item_num) in old_item_num()
34 return new_num; in old_item_num()
38 RFALSE(new_num == 0, in old_item_num()
41 return new_num - 1; in old_item_num()
48 return new_num + 1; in old_item_num()
55 int new_num; in create_virtual_node() local
92 for (new_num = 0; new_num < vn->vn_nr_item; new_num++) { in create_virtual_node()
94 struct virtual_item *vi = vn->vn_vi + new_num; in create_virtual_node()
96 ((new_num != vn->vn_affected_item_num) ? 0 : 1); in create_virtual_node()
[all …]
/linux-4.19.296/fs/ceph/
Dmdsmap.c216 int new_num = max(mds + 1, m->m_num_mds * 2); in ceph_mdsmap_decode() local
218 new_num * sizeof(*m->m_info), in ceph_mdsmap_decode()
223 m->m_num_mds = new_num; in ceph_mdsmap_decode()