Home
last modified time | relevance | path

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

/drivers/iommu/iommufd/
A Dioas.c444 switch (pages->account_mode) { in need_charge_update()
467 unsigned int account_mode; in charge_current() local
470 for (account_mode = 0; account_mode != IOPT_PAGES_ACCOUNT_MODE_NUM; in charge_current()
471 account_mode++) { in charge_current()
472 if (!npinned[account_mode]) in charge_current()
475 tmp.account_mode = account_mode; in charge_current()
484 while (account_mode != 0) { in charge_current()
485 account_mode--; in charge_current()
486 if (!npinned[account_mode]) in charge_current()
488 tmp.account_mode = account_mode; in charge_current()
[all …]
A Dio_pagetable.h214 u8 account_mode; member
A Dio_pagetable.c414 if (ictx->account_mode == IOPT_PAGES_ACCOUNT_MM && in iopt_map_common()
415 elm.pages->account_mode == IOPT_PAGES_ACCOUNT_USER) in iopt_map_common()
416 elm.pages->account_mode = IOPT_PAGES_ACCOUNT_MM; in iopt_map_common()
A Dpages.c993 switch (pages->account_mode) { in iopt_pages_update_pinned()
1315 pages->account_mode = IOPT_PAGES_ACCOUNT_NONE; in iopt_alloc_pages()
1317 pages->account_mode = IOPT_PAGES_ACCOUNT_USER; in iopt_alloc_pages()
A Diommufd_private.h54 u8 account_mode; member
A Dmain.c284 ictx->account_mode = IOPT_PAGES_ACCOUNT_MM; in iommufd_fops_open()

Completed in 29 milliseconds