Home
last modified time | relevance | path

Searched refs:nsplits (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/ceph/
H A Dinode.c338 unsigned i, split_by, nsplits; in ceph_fill_fragtree() local
343 nsplits = le32_to_cpu(fragtree->nsplits); in ceph_fill_fragtree()
344 if (nsplits != ci->i_fragtree_nsplits) { in ceph_fill_fragtree()
346 } else if (nsplits) { in ceph_fill_fragtree()
347 i = prandom_u32() % nsplits; in ceph_fill_fragtree()
365 if (nsplits > 1) { in ceph_fill_fragtree()
366 sort(fragtree->splits, nsplits, sizeof(fragtree->splits[0]), in ceph_fill_fragtree()
372 for (i = 0; i < nsplits; i++) { in ceph_fill_fragtree()
378 i, nsplits, i in ceph_fill_fragtree()
[all...]
H A Dmds_client.c123 le32_to_cpu(info->in->fragtree.nsplits); in parse_reply_info_in()
/kernel/linux/linux-6.6/fs/ceph/
H A Dinode.c460 unsigned i, split_by, nsplits; in ceph_fill_fragtree() local
465 nsplits = le32_to_cpu(fragtree->nsplits); in ceph_fill_fragtree()
466 if (nsplits != ci->i_fragtree_nsplits) { in ceph_fill_fragtree()
468 } else if (nsplits) { in ceph_fill_fragtree()
469 i = get_random_u32_below(nsplits); in ceph_fill_fragtree()
487 if (nsplits > 1) { in ceph_fill_fragtree()
488 sort(fragtree->splits, nsplits, sizeof(fragtree->splits[0]), in ceph_fill_fragtree()
494 for (i = 0; i < nsplits; i++) { in ceph_fill_fragtree()
500 i, nsplits, i in ceph_fill_fragtree()
[all...]
H A Dmds_client.c125 le32_to_cpu(info->in->fragtree.nsplits); in parse_reply_info_in()
/kernel/linux/linux-5.10/include/linux/ceph/
H A Dceph_fs.h492 __le32 nsplits; /* num ceph_frag_tree_split records */ member
/kernel/linux/linux-6.6/include/linux/ceph/
H A Dceph_fs.h559 __le32 nsplits; /* num ceph_frag_tree_split records */ member

Completed in 20 milliseconds