XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
folio_batch Struct Reference

#include <folio_batch.h>

Collaboration diagram for folio_batch:
Collaboration graph
[legend]

Public Attributes

unsigned char nr
 
unsigned char i
 
bool percpu_pvec_drained
 
struct folio * folios [FOLIO_BATCH_SIZE]
 

Detailed Description

struct folio_batch - A collection of folios.

The folio_batch is used to amortise the cost of retrieving and operating on a set of folios. The order of folios in the batch may be significant (eg delete_from_page_cache_batch()). Some users of the folio_batch store "exceptional" entries in it which can be removed by calling folio_batch_remove_exceptionals().

Member Data Documentation

◆ folios

struct folio* folio_batch::folios[FOLIO_BATCH_SIZE]

◆ i

unsigned char folio_batch::i

◆ nr

unsigned char folio_batch::nr

◆ percpu_pvec_drained

bool folio_batch::percpu_pvec_drained

The documentation for this struct was generated from the following file: