Searched refs:sf_buf (Results 1 - 25 of 49) sorted by relevance

12

/freebsd-11-stable/sys/pc98/include/
H A Dsf_buf.h6 #include <i386/sf_buf.h>
/freebsd-11-stable/sys/sparc64/include/
H A Dsf_buf.h32 void sf_buf_map(struct sf_buf *, int);
33 int sf_buf_unmap(struct sf_buf *);
/freebsd-11-stable/sys/i386/include/
H A Dsf_buf.h32 void sf_buf_map(struct sf_buf *, int);
33 int sf_buf_unmap(struct sf_buf *);
/freebsd-11-stable/sys/sys/
H A Dsf_buf.h65 * Different 32-bit architectures demand different requirements on sf_buf
68 * machine/sf_buf.h
71 * SFBUF This machine requires sf_buf hash.
75 * SFBUF_NOMD This machine doesn't have machine/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;
107 #include <machine/sf_buf.h>
114 struct sf_buf *sf_buf_allo
[all...]
H A Dimgact.h74 struct sf_buf *firstpage; /* first page that we mapped */
/freebsd-11-stable/sys/arm64/include/
H A Dsf_buf.h33 * On this machine, the only purpose for which sf_buf is used is to implement
35 * That pointer references the vm_page that is "mapped" by the sf_buf. The
39 sf_buf_kva(struct sf_buf *sf)
46 sf_buf_page(struct sf_buf *sf)
/freebsd-11-stable/sys/amd64/include/
H A Dsf_buf.h33 * On this machine, the only purpose for which sf_buf is used is to implement
35 * That pointer references the vm_page that is "mapped" by the sf_buf. The
39 sf_buf_kva(struct sf_buf *sf)
46 sf_buf_page(struct sf_buf *sf)
/freebsd-11-stable/sys/riscv/include/
H A Dsf_buf.h33 * On this machine, the only purpose for which sf_buf is used is to implement
35 * That pointer references the vm_page that is "mapped" by the sf_buf. The
39 sf_buf_kva(struct sf_buf *sf)
46 sf_buf_page(struct sf_buf *sf)
/freebsd-11-stable/sys/mips/include/
H A Dsf_buf.h35 sf_buf_kva(struct sf_buf *sf)
44 sf_buf_page(struct sf_buf *sf)
53 sf_buf_map(struct sf_buf *sf, int flags)
60 sf_buf_unmap(struct sf_buf *sf)
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dvm.h34 #include <sys/sf_buf.h>
47 zfs_map_page(vm_page_t pp, struct sf_buf **sfp)
54 zfs_unmap_page(struct sf_buf *sf)
/freebsd-11-stable/sys/arm/include/
H A Dsf_buf.h33 sf_buf_map(struct sf_buf *sf, int flags)
44 sf_buf_unmap(struct sf_buf *sf)
/freebsd-11-stable/sys/kern/
H A Dsubr_sfbuf.c37 #include <sys/sf_buf.h>
63 LIST_HEAD(sf_head, sf_buf);
73 static TAILQ_HEAD(, sf_buf) sf_buf_freelist;
87 struct sf_buf *sf_bufs;
102 sf_bufs = malloc(nsfbufs * sizeof(struct sf_buf), M_TEMP,
109 mtx_init(&sf_buf_lock, "sf_buf", NULL, MTX_DEF);
113 * Get an sf_buf from the freelist. May block if none are available.
115 struct sf_buf *
119 struct sf_buf *sf;
124 return ((struct sf_buf *)
[all...]
/freebsd-11-stable/sys/arm/arm/
H A Duio_machdep.c48 #include <sys/sf_buf.h>
69 struct sf_buf *sf;
/freebsd-11-stable/sys/powerpc/powerpc/
H A Duio_machdep.c48 #include <sys/sf_buf.h>
72 struct sf_buf *sf;
/freebsd-11-stable/sys/sparc64/sparc64/
H A Duio_machdep.c47 #include <sys/sf_buf.h>
65 struct sf_buf *sf;
H A Dvm_machdep.c57 #include <sys/sf_buf.h>
435 sf_buf_map(struct sf_buf *sf, int flags)
442 sf_buf_unmap(struct sf_buf *sf)
/freebsd-11-stable/sys/mips/mips/
H A Duio_machdep.c47 #include <sys/sf_buf.h>
64 struct sf_buf *sf;
/freebsd-11-stable/sys/i386/i386/
H A Duio_machdep.c48 #include <sys/sf_buf.h>
61 struct sf_buf *sf;
H A Dvm_machdep.c65 #include <sys/sf_buf.h>
573 * Get an sf_buf from the freelist. May block if none are available.
576 sf_buf_map(struct sf_buf *sf, int flags)
581 * Update the sf_buf's virtual-to-physical mapping, flushing the
583 * the sf_buf's old mapping was zero, that mapping is not
593 * Avoid unnecessary TLB invalidations: If the sf_buf's old
595 * that has invalidated the sf_buf's virtual address from its TLB
611 sf_buf_shootdown(struct sf_buf *sf, int flags)
639 sf_buf_unmap(struct sf_buf *sf)
646 sf_buf_invalidate(struct sf_buf *s
[all...]
/freebsd-11-stable/sys/vm/
H A Dvm_extern.h113 struct sf_buf *vm_imgact_map_page(vm_object_t object, vm_ooffset_t offset);
114 void vm_imgact_unmap_page(struct sf_buf *sf);
H A Dvm_glue.c78 #include <sys/sf_buf.h>
261 struct sf_buf *
277 vm_imgact_unmap_page(struct sf_buf *sf)
/freebsd-11-stable/sys/net/
H A Dbpf_zerocopy.c41 #include <sys/sf_buf.h>
98 struct sf_buf **zb_pages; /* Pages themselves. */
123 * Free an sf_buf with attached page.
126 zbuf_sfbuf_free(struct sf_buf *sf)
154 * Given a user pointer to a page of user memory, return an sf_buf for the
158 static struct sf_buf *
161 struct sf_buf *sf;
212 * Allocate the buffer and set up each page with is own sf_buf.
219 zb->zb_pages = malloc(sizeof(struct sf_buf *) *
/freebsd-11-stable/sys/x86/iommu/
H A Dintel_idpgtbl.c46 #include <sys/sf_buf.h>
113 struct sf_buf *sf;
354 int flags, vm_pindex_t *idxp, struct sf_buf **sf)
357 struct sf_buf *sfp;
425 struct sf_buf *sf;
560 struct sf_buf **sf, bool free_fs);
566 struct sf_buf *sf;
577 int flags, dmar_pte_t *pte, struct sf_buf **sf, bool free_sf)
609 struct sf_buf *sf;
/freebsd-11-stable/sys/riscv/riscv/
H A Dvm_machdep.c42 #include <sys/sf_buf.h>
/freebsd-11-stable/sys/dev/drm2/ttm/
H A Dttm_bo_api.h288 struct sf_buf *sf;

Completed in 381 milliseconds

12