Searched refs:account_mode (Results 1 – 6 of 6) sorted by relevance
442 switch (pages->account_mode) { in need_charge_update()465 unsigned int account_mode; in charge_current() local468 for (account_mode = 0; account_mode != IOPT_PAGES_ACCOUNT_MODE_NUM; in charge_current()469 account_mode++) { in charge_current()470 if (!npinned[account_mode]) in charge_current()473 tmp.account_mode = account_mode; in charge_current()474 rc = iopt_pages_update_pinned(&tmp, npinned[account_mode], true, in charge_current()482 while (account_mode != 0) { in charge_current()483 account_mode--; in charge_current()484 if (!npinned[account_mode]) in charge_current()[all …]
242 u8 account_mode; member
419 if (ictx->account_mode == IOPT_PAGES_ACCOUNT_MM && in iopt_map_common()420 elm.pages->account_mode == IOPT_PAGES_ACCOUNT_USER) in iopt_map_common()421 elm.pages->account_mode = IOPT_PAGES_ACCOUNT_MM; in iopt_map_common()
1016 switch (pages->account_mode) { in iopt_pages_update_pinned()1389 pages->account_mode = IOPT_PAGES_ACCOUNT_NONE; in iopt_alloc_pages()1391 pages->account_mode = IOPT_PAGES_ACCOUNT_USER; in iopt_alloc_pages()1551 pages->account_mode = IOPT_PAGES_ACCOUNT_NONE; in iopt_alloc_dmabuf_pages()
55 u8 account_mode; member
309 ictx->account_mode = IOPT_PAGES_ACCOUNT_MM; in iommufd_fops_open()