Home
last modified time | relevance | path

Searched refs:account_mode (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/iommu/iommufd/
Dioas.c337 cmd->val64 = ictx->account_mode == IOPT_PAGES_ACCOUNT_MM; in iommufd_option_rlimit_mode()
351 ictx->account_mode = IOPT_PAGES_ACCOUNT_USER; in iommufd_option_rlimit_mode()
353 ictx->account_mode = IOPT_PAGES_ACCOUNT_MM; in iommufd_option_rlimit_mode()
Dio_pagetable.h200 u8 account_mode; member
Dio_pagetable.c418 if (ictx->account_mode == IOPT_PAGES_ACCOUNT_MM && in iopt_map_user_pages()
419 elm.pages->account_mode == IOPT_PAGES_ACCOUNT_USER) in iopt_map_user_pages()
420 elm.pages->account_mode = IOPT_PAGES_ACCOUNT_MM; in iopt_map_user_pages()
Dmain.c247 ictx->account_mode = IOPT_PAGES_ACCOUNT_MM; in iommufd_fops_open()
Diommufd_private.h28 u8 account_mode; member
Dpages.c863 switch (pages->account_mode) { in do_update_pinned()
1173 pages->account_mode = IOPT_PAGES_ACCOUNT_NONE; in iopt_alloc_pages()
1175 pages->account_mode = IOPT_PAGES_ACCOUNT_USER; in iopt_alloc_pages()