Searched refs:account_mode (Results 1 – 5 of 5) sorted by relevance
444 switch (pages->account_mode) { in need_charge_update()467 unsigned int account_mode; in charge_current() local470 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()476 rc = iopt_pages_update_pinned(&tmp, npinned[account_mode], true, 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()[all …]
213 u8 account_mode; member
405 if (ictx->account_mode == IOPT_PAGES_ACCOUNT_MM && in iopt_map_common()406 elm.pages->account_mode == IOPT_PAGES_ACCOUNT_USER) in iopt_map_common()407 elm.pages->account_mode = IOPT_PAGES_ACCOUNT_MM; in iopt_map_common()
221 ictx->account_mode = IOPT_PAGES_ACCOUNT_MM; in iommufd_fops_open()
993 switch (pages->account_mode) { in iopt_pages_update_pinned()1316 pages->account_mode = IOPT_PAGES_ACCOUNT_NONE; in iopt_alloc_pages()1318 pages->account_mode = IOPT_PAGES_ACCOUNT_USER; in iopt_alloc_pages()