Home
last modified time | relevance | path

Searched refs:sf_buf (Results 1 – 25 of 40) sorted by relevance

12

/NextBSD/sys/sys/
HDsf_buf.h92 struct sf_buf { struct
93 LIST_ENTRY(sf_buf) list_entry; /* list of buffers */
94 TAILQ_ENTRY(sf_buf) free_entry; /* list of buffers */
103 struct sf_buf; argument
114 struct sf_buf *sf_buf_alloc(struct vm_page *, int);
115 void sf_buf_free(struct sf_buf *);
116 void sf_buf_ref(struct sf_buf *);
119 sf_buf_kva(struct sf_buf *sf) in sf_buf_kva()
130 sf_buf_page(struct sf_buf *sf) in sf_buf_page()
144 sf_buf_map(struct sf_buf *sf, int flags) in sf_buf_map()
[all …]
HDimgact.h71 struct sf_buf *firstpage; /* first page that we mapped */
/NextBSD/sys/kern/
HDsubr_sfbuf.c62 LIST_HEAD(sf_head, sf_buf);
72 static TAILQ_HEAD(, sf_buf) sf_buf_freelist;
86 struct sf_buf *sf_bufs; in sf_buf_init()
101 sf_bufs = malloc(nsfbufs * sizeof(struct sf_buf), M_TEMP, in sf_buf_init()
114 struct sf_buf *
118 struct sf_buf *sf; in sf_buf_alloc()
123 return ((struct sf_buf *)m); in sf_buf_alloc()
180 sf_buf_free(struct sf_buf *sf) in sf_buf_free()
204 sf_buf_ref(struct sf_buf *sf) in sf_buf_ref()
223 sf_buf_process_page(vm_page_t m, void (*cb)(struct sf_buf *)) in sf_buf_process_page() argument
[all …]
/NextBSD/sys/mips/include/
HDsf_buf.h35 sf_buf_kva(struct sf_buf *sf) in sf_buf_kva()
44 sf_buf_page(struct sf_buf *sf) in sf_buf_page()
53 sf_buf_map(struct sf_buf *sf, int flags) in sf_buf_map()
60 sf_buf_unmap(struct sf_buf *sf) in sf_buf_unmap()
/NextBSD/sys/sparc64/include/
HDsf_buf.h32 void sf_buf_map(struct sf_buf *, int);
33 int sf_buf_unmap(struct sf_buf *);
/NextBSD/sys/i386/include/
HDsf_buf.h32 void sf_buf_map(struct sf_buf *, int);
33 int sf_buf_unmap(struct sf_buf *);
/NextBSD/sys/amd64/include/
HDsf_buf.h39 sf_buf_kva(struct sf_buf *sf) in sf_buf_kva()
46 sf_buf_page(struct sf_buf *sf) in sf_buf_page()
/NextBSD/sys/arm64/include/
HDsf_buf.h39 sf_buf_kva(struct sf_buf *sf) in sf_buf_kva()
46 sf_buf_page(struct sf_buf *sf) in sf_buf_page()
/NextBSD/sys/riscv/include/
HDsf_buf.h39 sf_buf_kva(struct sf_buf *sf) in sf_buf_kva()
46 sf_buf_page(struct sf_buf *sf) in sf_buf_page()
/NextBSD/sys/arm/include/
HDsf_buf.h33 sf_buf_map(struct sf_buf *sf, int flags) in sf_buf_map()
44 sf_buf_unmap(struct sf_buf *sf) in sf_buf_unmap()
/NextBSD/sys/cddl/compat/opensolaris/sys/
HDvm.h47 zfs_map_page(vm_page_t pp, struct sf_buf **sfp) in zfs_map_page()
54 zfs_unmap_page(struct sf_buf *sf) in zfs_unmap_page()
/NextBSD/sys/x86/iommu/
HDintel_idpgtbl.c113 struct sf_buf *sf; in domain_idmap_nextlvl()
354 int flags, vm_pindex_t *idxp, struct sf_buf **sf) in domain_pgtbl_map_pte()
357 struct sf_buf *sfp; in domain_pgtbl_map_pte()
425 struct sf_buf *sf; in domain_map_buf_locked()
560 struct sf_buf **sf, bool free_fs);
566 struct sf_buf *sf; in domain_free_pgtbl_pde()
577 int flags, dmar_pte_t *pte, struct sf_buf **sf, bool free_sf) in domain_unmap_clear_pte()
609 struct sf_buf *sf; in domain_unmap_buf_locked()
HDintel_ctx.c81 struct sf_buf *sf; in dmar_ensure_ctx_page()
111 dmar_map_ctx_entry(struct dmar_ctx *ctx, struct sf_buf **sfp) in dmar_map_ctx_entry()
412 struct sf_buf *sf; in dmar_get_ctx_for_dev()
516 struct sf_buf *sf; in dmar_move_ctx_to_domain()
575 struct sf_buf *sf; in dmar_free_ctx_locked()
HDintel_utils.c311 struct sf_buf **sf) in dmar_map_pgtbl()
354 dmar_unmap_pgtbl(struct sf_buf *sf) in dmar_unmap_pgtbl()
/NextBSD/sys/net/
HDbpf_zerocopy.c98 struct sf_buf **zb_pages; /* Pages themselves. */
127 zbuf_sfbuf_free(struct sf_buf *sf) in zbuf_sfbuf_free()
159 static struct sf_buf *
162 struct sf_buf *sf; in zbuf_sfbuf_get()
220 zb->zb_pages = malloc(sizeof(struct sf_buf *) * in zbuf_setup()
/NextBSD/sys/vm/
HDvm_extern.h112 struct sf_buf *vm_imgact_map_page(vm_object_t object, vm_ooffset_t offset);
113 void vm_imgact_unmap_page(struct sf_buf *sf);
/NextBSD/sys/i386/i386/
HDvm_machdep.c778 sf_buf_map(struct sf_buf *sf, int flags) in sf_buf_map()
813 sf_buf_shootdown(struct sf_buf *sf, int flags) in sf_buf_shootdown()
841 sf_buf_unmap(struct sf_buf *sf) in sf_buf_unmap()
848 sf_buf_invalidate(struct sf_buf *sf) in sf_buf_invalidate()
HDuio_machdep.c61 struct sf_buf *sf; in uiomove_fromphys()
/NextBSD/sys/sparc64/sparc64/
HDvm_machdep.c449 sf_buf_map(struct sf_buf *sf, int flags) in sf_buf_map()
456 sf_buf_unmap(struct sf_buf *sf) in sf_buf_unmap()
HDuio_machdep.c65 struct sf_buf *sf; in uiomove_fromphys()
/NextBSD/sys/arm/arm/
HDuio_machdep.c69 struct sf_buf *sf; in uiomove_fromphys()
/NextBSD/sys/powerpc/powerpc/
HDuio_machdep.c72 struct sf_buf *sf; in uiomove_fromphys()
/NextBSD/sys/dev/drm2/i915/
HDi915_gem_gtt.c43 struct sf_buf *sf; in i915_ppgtt_clear_range()
118 struct sf_buf *sf; in i915_ppgtt_insert_pages()
/NextBSD/sys/mips/mips/
HDuio_machdep.c64 struct sf_buf *sf; in uiomove_fromphys()
/NextBSD/sys/dev/drm2/ttm/
HDttm_bo_api.h288 struct sf_buf *sf;

12