psref_cpu
class->prc_percpu = percpu_alloc(sizeof(struct psref_cpu));
const struct psref_cpu *pcpu = p;
percpu_free(class->prc_percpu, sizeof(struct psref_cpu));
psref_exist(struct psref_cpu *pcpu, struct psref *psref)
psref_check_duplication(struct psref_cpu *pcpu, struct psref *psref,
psref_check_existence(struct psref_cpu *pcpu, struct psref *psref,
struct psref_cpu *pcpu;
psref->psref_cpu = curcpu();
struct psref_cpu *pcpu;
KASSERTMSG((psref->psref_cpu == curcpu()),
cpu_index(psref->psref_cpu), cpu_index(curcpu()));
struct psref_cpu *pcpu;
KASSERTMSG((pfrom->psref_cpu == curcpu()),
cpu_index(pfrom->psref_cpu), cpu_index(curcpu()));
pto->psref_cpu = curcpu();
const struct psref_cpu *pcpu;
KASSERTMSG((psref->psref_cpu == curcpu()),
cpu_index(psref->psref_cpu), cpu_index(curcpu()));
struct cpu_info *psref_cpu;