Lines Matching refs:w
326 struct crush_weight_set *w = &arg->weight_set[i]; in decode_choose_arg() local
328 w->weights = decode_array_32_alloc(p, end, &w->size); in decode_choose_arg()
329 if (IS_ERR(w->weights)) { in decode_choose_arg()
330 ret = PTR_ERR(w->weights); in decode_choose_arg()
331 w->weights = NULL; in decode_choose_arg()
1877 u32 w; in decode_new_up_state_weight() local
1881 w = ceph_decode_32(p); in decode_new_up_state_weight()
1883 osdmap_info(map, "osd%d weight 0x%x %s\n", osd, w, in decode_new_up_state_weight()
1884 w == CEPH_OSD_IN ? "(in)" : in decode_new_up_state_weight()
1885 (w == CEPH_OSD_OUT ? "(out)" : "")); in decode_new_up_state_weight()
1886 map->osd_weight[osd] = w; in decode_new_up_state_weight()
1892 if (w) { in decode_new_up_state_weight()