Home
last modified time | relevance | path

Searched refs:pofs (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/mm/
Dgup.c2294 static struct folio *pofs_get_folio(struct pages_or_folios *pofs, long i) in pofs_get_folio() argument
2296 if (pofs->has_folios) in pofs_get_folio()
2297 return pofs->folios[i]; in pofs_get_folio()
2298 return page_folio(pofs->pages[i]); in pofs_get_folio()
2301 static void pofs_clear_entry(struct pages_or_folios *pofs, long i) in pofs_clear_entry() argument
2303 pofs->entries[i] = NULL; in pofs_clear_entry()
2306 static void pofs_unpin(struct pages_or_folios *pofs) in pofs_unpin() argument
2308 if (pofs->has_folios) in pofs_unpin()
2309 unpin_folios(pofs->folios, pofs->nr_entries); in pofs_unpin()
2311 unpin_user_pages(pofs->pages, pofs->nr_entries); in pofs_unpin()
[all …]
/linux-6.12.1/drivers/staging/media/ipu3/
Dipu3-css-params.c2748 struct imgu_fw_param_memory_offsets *pofs = (void *)css->fwp + in imgu_css_cfg_vmem0() local
2765 m, &pofs->vmem.lin, sizeof(*lin_vmem)); in imgu_css_cfg_vmem0()
2787 &pofs->vmem.tnr3, in imgu_css_cfg_vmem0()
2801 m, &pofs->vmem.xnr3, sizeof(*xnr_vmem)); in imgu_css_cfg_vmem0()
2828 struct imgu_fw_param_memory_offsets *pofs = (void *)css->fwp + in imgu_css_cfg_dmem0() local
2847 &pofs->dmem.tnr3, in imgu_css_cfg_dmem0()
2860 m, &pofs->dmem.xnr3, sizeof(*xnr_dmem)); in imgu_css_cfg_dmem0()