Searched refs:osd_weight (Results 1 – 3 of 3) sorted by relevance
1186 kvfree(map->osd_weight); in ceph_osdmap_destroy()1222 memcpy(weight, map->osd_weight, to_copy * sizeof(*weight)); in osdmap_set_max_osd()1225 kvfree(map->osd_weight); in osdmap_set_max_osd()1230 map->osd_weight = weight; in osdmap_set_max_osd()1234 map->osd_weight[i] = CEPH_OSD_OUT; in osdmap_set_max_osd()1716 sizeof(*map->osd_weight), e_inval); in osdmap_decode()1732 map->osd_weight[i] = ceph_decode_32(p); in osdmap_decode()1886 map->osd_weight[osd] = w; in decode_new_up_state_weight()2579 osdmap->osd_weight, osdmap->max_osd, pi->id); in pg_to_raw_osds()2607 osdmap->osd_weight[osd] == 0) { in apply_upmap()[all …]
86 ((map->osd_weight[i]*100) >> 16), in osdmap_show()
179 u32 *osd_weight; /* 0 = failed, 0x10000 = 100% normal */ member