Lines Matching refs:state
30 char *ceph_osdmap_state_str(char *str, int len, u32 state)
35 if ((state & CEPH_OSD_EXISTS) && (state & CEPH_OSD_UP))
37 else if (state & CEPH_OSD_EXISTS)
39 else if (state & CEPH_OSD_UP)
1199 u32 *state;
1209 state = kvmalloc(array_size(max, sizeof(*state)), GFP_NOFS);
1212 if (!state || !weight || !addr) {
1213 kvfree(state);
1221 memcpy(state, map->osd_state, to_copy * sizeof(*state));
1229 map->osd_state = state;