Home
last modified time | relevance | path

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

/net/ceph/
Dosdmap.c661 int ceph_pg_compare(const struct ceph_pg *lhs, const struct ceph_pg *rhs) in ceph_pg_compare() argument
663 if (lhs->pool < rhs->pool) in ceph_pg_compare()
665 if (lhs->pool > rhs->pool) in ceph_pg_compare()
667 if (lhs->seed < rhs->seed) in ceph_pg_compare()
669 if (lhs->seed > rhs->seed) in ceph_pg_compare()
675 int ceph_spg_compare(const struct ceph_spg *lhs, const struct ceph_spg *rhs) in ceph_spg_compare() argument
679 ret = ceph_pg_compare(&lhs->pgid, &rhs->pgid); in ceph_spg_compare()
683 if (lhs->shard < rhs->shard) in ceph_spg_compare()
685 if (lhs->shard > rhs->shard) in ceph_spg_compare()
2220 const struct ceph_osds *rhs) in __osds_equal() argument
[all …]
Dosd_client.c1716 const struct ceph_hobject_id *rhs) in hoid_compare() argument
1722 if (lhs->is_max < rhs->is_max) in hoid_compare()
1724 if (lhs->is_max > rhs->is_max) in hoid_compare()
1727 if (lhs->pool < rhs->pool) in hoid_compare()
1729 if (lhs->pool > rhs->pool) in hoid_compare()
1732 if (hoid_get_bitwise_key(lhs) < hoid_get_bitwise_key(rhs)) in hoid_compare()
1734 if (hoid_get_bitwise_key(lhs) > hoid_get_bitwise_key(rhs)) in hoid_compare()
1738 rhs->nspace, rhs->nspace_len); in hoid_compare()
1743 hoid_get_effective_key(rhs, &effective_key2, &effective_key2_len); in hoid_compare()
1749 ret = compare_names(lhs->oid, lhs->oid_len, rhs->oid, rhs->oid_len); in hoid_compare()
[all …]