Lines Matching defs:ref_count
152 * The ref_count field tracks references to the page. References that
154 * counted in the low bits of ref_count. The containing object's
156 * ref_count field. Additionally, the VPRC_BLOCKED bit is used to
162 * the page is unmapped, its wire count will not increase. The ref_count
241 u_int ref_count; /* page references (A) */
257 * Special bits used in the ref_count field.
259 * ref_count is normally used to count wirings that prevent the page from being
261 * prevent reclamation. Accesses to the ref_count field must be atomic unless
963 r = m->ref_count;
964 while (atomic_fcmpset_int(&m->ref_count, &r, r & (VPRC_BLOCKED |
984 old = atomic_fetchadd_int(&m->ref_count, -val);
1002 return (VPRC_WIRE_COUNT(m->ref_count) > 0);