Lines Matching refs:psref_cpu
97 struct percpu *prc_percpu; /* struct psref_cpu */
103 * struct psref_cpu
108 struct psref_cpu {
164 class->prc_percpu = percpu_alloc(sizeof(struct psref_cpu));
176 const struct psref_cpu *pcpu = p;
208 percpu_free(class->prc_percpu, sizeof(struct psref_cpu));
231 psref_exist(struct psref_cpu *pcpu, struct psref *psref)
243 psref_check_duplication(struct psref_cpu *pcpu, struct psref *psref,
256 psref_check_existence(struct psref_cpu *pcpu, struct psref *psref,
287 struct psref_cpu *pcpu;
314 psref->psref_cpu = curcpu();
341 struct psref_cpu *pcpu;
360 KASSERTMSG((psref->psref_cpu == curcpu()),
362 cpu_index(psref->psref_cpu), cpu_index(curcpu()));
408 struct psref_cpu *pcpu;
424 KASSERTMSG((pfrom->psref_cpu == curcpu()),
426 cpu_index(pfrom->psref_cpu), cpu_index(curcpu()));
439 pto->psref_cpu = curcpu();
549 const struct psref_cpu *pcpu;
570 KASSERTMSG((psref->psref_cpu == curcpu()),
572 cpu_index(psref->psref_cpu), cpu_index(curcpu()));