Searched refs:mlock_fbatch (Results 1 – 1 of 1) sorted by relevance
31 struct mlock_fbatch { struct36 static DEFINE_PER_CPU(struct mlock_fbatch, mlock_fbatch) = { argument217 local_lock(&mlock_fbatch.lock); in mlock_drain_local()218 fbatch = this_cpu_ptr(&mlock_fbatch.fbatch); in mlock_drain_local()221 local_unlock(&mlock_fbatch.lock); in mlock_drain_local()229 fbatch = &per_cpu(mlock_fbatch.fbatch, cpu); in mlock_drain_remote()236 return folio_batch_count(&per_cpu(mlock_fbatch.fbatch, cpu)); in need_mlock_drain()247 local_lock(&mlock_fbatch.lock); in mlock_folio()248 fbatch = this_cpu_ptr(&mlock_fbatch.fbatch); in mlock_folio()261 local_unlock(&mlock_fbatch.lock); in mlock_folio()[all …]