Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/ceph/
Dosdmap.h36 struct ceph_osdmap { struct
87 static inline int ceph_osd_is_up(struct ceph_osdmap *map, int osd) in ceph_osd_is_up()
92 static inline bool ceph_osdmap_flag(struct ceph_osdmap *map, int flag) in ceph_osdmap_flag()
99 static inline struct ceph_entity_addr *ceph_osd_addr(struct ceph_osdmap *map, in ceph_osd_addr()
107 extern struct ceph_osdmap *osdmap_decode(void **p, void *end);
108 extern struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end,
109 struct ceph_osdmap *map,
111 extern void ceph_osdmap_destroy(struct ceph_osdmap *map);
122 struct ceph_osdmap *osdmap);
123 extern int ceph_calc_pg_acting(struct ceph_osdmap *osdmap, struct ceph_pg pgid,
[all …]
Dosd_client.h119 struct ceph_osdmap *osdmap; /* current map */
/linux-2.6.39/net/ceph/
Dosdmap.c421 int ceph_pg_poolid_by_name(struct ceph_osdmap *map, const char *name) in ceph_pg_poolid_by_name()
468 static int __decode_pool_names(void **p, void *end, struct ceph_osdmap *map) in __decode_pool_names()
500 void ceph_osdmap_destroy(struct ceph_osdmap *map) in ceph_osdmap_destroy()
527 static int osdmap_set_max_osd(struct ceph_osdmap *map, int max) in osdmap_set_max_osd()
563 struct ceph_osdmap *osdmap_decode(void **p, void *end) in osdmap_decode()
565 struct ceph_osdmap *map; in osdmap_decode()
701 struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end, in osdmap_apply_incremental()
702 struct ceph_osdmap *map, in osdmap_apply_incremental()
995 struct ceph_osdmap *osdmap) in ceph_calc_object_layout()
1038 static int *calc_pg_raw(struct ceph_osdmap *osdmap, struct ceph_pg pgid, in calc_pg_raw()
[all …]
Dosd_client.c1336 struct ceph_osdmap *newmap = NULL, *oldmap; in ceph_osdc_handle_map()