Home
last modified time | relevance | path

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

/linux-4.4.14/net/ceph/
Dosdmap.c680 kfree(map->osd_weight); in ceph_osdmap_destroy()
703 weight = krealloc(map->osd_weight, max*sizeof(*weight), GFP_NOFS); in osdmap_set_max_osd()
706 map->osd_weight = weight; in osdmap_set_max_osd()
715 map->osd_weight[i] = CEPH_OSD_OUT; in osdmap_set_max_osd()
1098 map->max_osd*(1 + sizeof(*map->osd_weight) + in osdmap_decode()
1110 map->osd_weight[i] = ceph_decode_32(p); in osdmap_decode()
1334 map->osd_weight[osd] = off; in osdmap_apply_incremental()
1514 osdmap->osd_weight, osdmap->max_osd); in pg_to_raw_osds()
Ddebugfs.c83 ((map->osd_weight[i]*100) >> 16), in osdmap_show()
/linux-4.4.14/include/linux/ceph/
Dosdmap.h97 u32 *osd_weight; /* 0 = failed, 0x10000 = 100% normal */ member