| /NextBSD/sys/sys/ |
| HD | sf_buf.h | 92 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 …]
|
| HD | imgact.h | 71 struct sf_buf *firstpage; /* first page that we mapped */
|
| /NextBSD/sys/kern/ |
| HD | subr_sfbuf.c | 62 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/ |
| HD | sf_buf.h | 35 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/ |
| HD | sf_buf.h | 32 void sf_buf_map(struct sf_buf *, int); 33 int sf_buf_unmap(struct sf_buf *);
|
| /NextBSD/sys/i386/include/ |
| HD | sf_buf.h | 32 void sf_buf_map(struct sf_buf *, int); 33 int sf_buf_unmap(struct sf_buf *);
|
| /NextBSD/sys/amd64/include/ |
| HD | sf_buf.h | 39 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/ |
| HD | sf_buf.h | 39 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/ |
| HD | sf_buf.h | 39 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/ |
| HD | sf_buf.h | 33 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/ |
| HD | vm.h | 47 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/ |
| HD | intel_idpgtbl.c | 113 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()
|
| HD | intel_ctx.c | 81 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()
|
| HD | intel_utils.c | 311 struct sf_buf **sf) in dmar_map_pgtbl() 354 dmar_unmap_pgtbl(struct sf_buf *sf) in dmar_unmap_pgtbl()
|
| /NextBSD/sys/net/ |
| HD | bpf_zerocopy.c | 98 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/ |
| HD | vm_extern.h | 112 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/ |
| HD | vm_machdep.c | 778 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()
|
| HD | uio_machdep.c | 61 struct sf_buf *sf; in uiomove_fromphys()
|
| /NextBSD/sys/sparc64/sparc64/ |
| HD | vm_machdep.c | 449 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()
|
| HD | uio_machdep.c | 65 struct sf_buf *sf; in uiomove_fromphys()
|
| /NextBSD/sys/arm/arm/ |
| HD | uio_machdep.c | 69 struct sf_buf *sf; in uiomove_fromphys()
|
| /NextBSD/sys/powerpc/powerpc/ |
| HD | uio_machdep.c | 72 struct sf_buf *sf; in uiomove_fromphys()
|
| /NextBSD/sys/dev/drm2/i915/ |
| HD | i915_gem_gtt.c | 43 struct sf_buf *sf; in i915_ppgtt_clear_range() 118 struct sf_buf *sf; in i915_ppgtt_insert_pages()
|
| /NextBSD/sys/mips/mips/ |
| HD | uio_machdep.c | 64 struct sf_buf *sf; in uiomove_fromphys()
|
| /NextBSD/sys/dev/drm2/ttm/ |
| HD | ttm_bo_api.h | 288 struct sf_buf *sf;
|