Home
last modified time | relevance | path

Searched refs:osd (Results 1 – 3 of 3) sorted by relevance

/include/linux/ceph/
A Dosdmap.h161 int osd; member
201 static inline bool ceph_osd_exists(struct ceph_osdmap *map, int osd) in ceph_osd_exists() argument
203 return osd >= 0 && osd < map->max_osd && in ceph_osd_exists()
204 (map->osd_state[osd] & CEPH_OSD_EXISTS); in ceph_osd_exists()
207 static inline bool ceph_osd_is_up(struct ceph_osdmap *map, int osd) in ceph_osd_is_up() argument
209 return ceph_osd_exists(map, osd) && in ceph_osd_is_up()
210 (map->osd_state[osd] & CEPH_OSD_UP); in ceph_osd_is_up()
215 return !ceph_osd_is_up(map, osd); in ceph_osd_is_down()
222 int osd) in ceph_osd_addr() argument
224 if (osd >= map->max_osd) in ceph_osd_addr()
[all …]
A Dosd_client.h232 int osd; member
316 struct ceph_osd *osd; member
/include/uapi/linux/
A Dcec-funcs.h1195 const char *osd) in cec_msg_set_osd_string() argument
1197 unsigned int len = strlen(osd); in cec_msg_set_osd_string()
1204 memcpy(msg->msg + 3, osd, len); in cec_msg_set_osd_string()
1209 char *osd) in cec_ops_set_osd_string() argument
1216 memcpy(osd, msg->msg + 3, len); in cec_ops_set_osd_string()
1217 osd[len] = '\0'; in cec_ops_set_osd_string()

Completed in 15 milliseconds