Lines Matching refs:ai
305 struct anoninfo ai;
312 * ai.ani_max = MAX(anoninfo.ani_resv, anoninfo.ani_max) +
314 * ai.ani_free = amount of unallocated anonymous memory
316 * ai.ani_free = anoninfo.ani_free + (availrmem - swapfs_minfree);
317 * ai.ani_resv = total amount of reserved anonymous memory
318 * ai.ani_resv = anoninfo.ani_resv;
324 if (swapctl(SC_AINFO, &ai) == -1) {
329 allocated = ai.ani_max - ai.ani_free;
330 reserved = ai.ani_resv - allocated;
331 available = ai.ani_max - ai.ani_resv;