Lines Matching defs:raw
2444 * Map a raw PG (full precision ps) into an actual PG.
2456 * Map a raw PG (full precision ps) into a placement ps (placement
2544 * Calculate raw set (CRUSH output) for given PG and filter out
2545 * nonexistent OSDs. ->primary is undefined for a raw set.
2552 struct ceph_osds *raw,
2559 ceph_osds_init(raw);
2571 if (pi->size > ARRAY_SIZE(raw->osds)) {
2574 ARRAY_SIZE(raw->osds));
2578 len = do_crush(osdmap, ruleno, pps, raw->osds, pi->size,
2587 raw->size = len;
2588 remove_nonexistent_osds(osdmap, pi, raw);
2594 struct ceph_osds *raw)
2613 raw->osds[i] = pg->pg_upmap.osds[i];
2614 raw->size = pg->pg_upmap.len;
2631 for (j = 0; j < raw->size; j++) {
2632 int osd = raw->osds[j];
2647 raw->osds[pos] = to;
2653 * Given raw set, calculate up set and up primary. By definition of an
2665 /* ->primary is undefined for a raw set */