Lines Matching refs:pg_temp
1133 map->pg_temp = RB_ROOT; in ceph_osdmap_alloc()
1151 while (!RB_EMPTY_ROOT(&map->pg_temp)) { in ceph_osdmap_destroy()
1153 rb_entry(rb_first(&map->pg_temp), in ceph_osdmap_destroy()
1155 erase_pg_mapping(&map->pg_temp, pg); in ceph_osdmap_destroy()
1449 pg->pg_temp.len = len; in __decode_pg_temp()
1451 pg->pg_temp.osds[i] = ceph_decode_32(p); in __decode_pg_temp()
1461 return decode_pg_mapping(p, end, &map->pg_temp, __decode_pg_temp, in decode_pg_temp()
1467 return decode_pg_mapping(p, end, &map->pg_temp, __decode_pg_temp, in decode_new_pg_temp()
2781 pg = lookup_pg_mapping(&osdmap->pg_temp, pgid); in get_temp_osds()
2783 for (i = 0; i < pg->pg_temp.len; i++) { in get_temp_osds()
2784 if (ceph_osd_is_down(osdmap, pg->pg_temp.osds[i])) { in get_temp_osds()
2790 temp->osds[temp->size++] = pg->pg_temp.osds[i]; in get_temp_osds()