Home
last modified time | relevance | path

Searched refs:ceph_osds (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/ceph/
H A Dosdmap.h259 struct ceph_osds { struct
265 static inline void ceph_osds_init(struct ceph_osds *set) in ceph_osds_init() argument
271 void ceph_osds_copy(struct ceph_osds *dest, const struct ceph_osds *src);
275 bool ceph_is_new_interval(const struct ceph_osds *old_acting,
276 const struct ceph_osds *new_acting,
277 const struct ceph_osds *old_up,
278 const struct ceph_osds *new_up,
290 bool ceph_osds_changed(const struct ceph_osds *old_acting,
291 const struct ceph_osds *new_acting,
306 struct ceph_osds *up,
[all …]
H A Dosd_client.h218 struct ceph_osds acting;
219 struct ceph_osds up;
/linux/net/ceph/
H A Dosdmap.c2232 static bool __osds_equal(const struct ceph_osds *lhs, in __osds_equal()
2233 const struct ceph_osds *rhs) in __osds_equal()
2245 static bool osds_equal(const struct ceph_osds *lhs, in osds_equal()
2246 const struct ceph_osds *rhs) in osds_equal()
2255 static bool osds_valid(const struct ceph_osds *set) in osds_valid()
2280 void ceph_osds_copy(struct ceph_osds *dest, const struct ceph_osds *src) in ceph_osds_copy()
2315 bool ceph_is_new_interval(const struct ceph_osds *old_acting, in ceph_is_new_interval()
2316 const struct ceph_osds *new_acting, in ceph_is_new_interval()
2317 const struct ceph_osds *old_up, in ceph_is_new_interval()
2318 const struct ceph_osds *new_up, in ceph_is_new_interval()
[all …]
H A Dosd_client.c1536 static int pick_random_replica(const struct ceph_osds *acting) in pick_random_replica()
1551 const struct ceph_osds *acting) in pick_closest_replica()
1587 struct ceph_osds up, acting; in calc_target()