mmap_state
enum pci_mmap_state mmap_state);
enum pci_mmap_state mmap_state);
enum pci_mmap_state mmap_state)
mmap_state == pci_mmap_mem ? "MEM" : "IO",
if (mmap_state == pci_mmap_mem) {
enum pci_mmap_state mmap_state, int write_combine)
if (mmap_state == pci_mmap_io) {
enum pci_mmap_state mmap_state;
fpriv->mmap_state = pci_mmap_io;
fpriv->mmap_state = pci_mmap_mem;
if (fpriv->mmap_state == pci_mmap_io) {
if (fpriv->mmap_state == pci_mmap_mem &&
fpriv->mmap_state, write_combine);
fpriv->mmap_state = pci_mmap_io;
enum pci_mmap_state mmap_state, int write_combine);
static void update_ksm_flags(struct mmap_state *map)
const struct mmap_state *map)
static int __mmap_setup(struct mmap_state *map, struct vm_area_desc *desc,
static int __mmap_new_file_vma(struct mmap_state *map,
static int __mmap_new_vma(struct mmap_state *map, struct vm_area_struct **vmap)
static void __mmap_complete(struct mmap_state *map, struct vm_area_struct *vma)
static void call_action_prepare(struct mmap_state *map,
static int call_mmap_prepare(struct mmap_state *map,
struct mmap_state *map)
static bool can_set_ksm_flags_early(struct mmap_state *map)
static int call_action_complete(struct mmap_state *map,
struct mmap_state name = { \