Searched refs:osd_weight (Results 1 – 3 of 3) sorted by relevance
1170 kvfree(map->osd_weight); in ceph_osdmap_destroy()1206 memcpy(weight, map->osd_weight, to_copy * sizeof(*weight)); in osdmap_set_max_osd()1209 kvfree(map->osd_weight); in osdmap_set_max_osd()1214 map->osd_weight = weight; in osdmap_set_max_osd()1218 map->osd_weight[i] = CEPH_OSD_OUT; in osdmap_set_max_osd()1699 sizeof(*map->osd_weight), e_inval); in osdmap_decode()1715 map->osd_weight[i] = ceph_decode_32(p); in osdmap_decode()1857 map->osd_weight[osd] = w; in decode_new_up_state_weight()2544 osdmap->osd_weight, osdmap->max_osd, pi->id); in pg_to_raw_osds()2572 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