Searched refs:osd (Results 1 – 3 of 3) sorted by relevance
161 int osd; member201 static inline bool ceph_osd_exists(struct ceph_osdmap *map, int osd) in ceph_osd_exists() argument203 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() argument209 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() argument224 if (osd >= map->max_osd) in ceph_osd_addr()[all …]
232 int osd; member316 struct ceph_osd *osd; member
1195 const char *osd) in cec_msg_set_osd_string() argument1197 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() argument1216 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