/freebsd-10.1-release/sys/pc98/include/ |
H A D | sf_buf.h | 6 #include <i386/sf_buf.h>
|
/freebsd-10.1-release/sys/arm/include/ |
H A D | sf_buf.h | 36 struct sf_buf { struct 37 LIST_ENTRY(sf_buf) list_entry; /* list of buffers */ 38 TAILQ_ENTRY(sf_buf) free_entry; /* list of buffers */ 45 sf_buf_kva(struct sf_buf *sf) 52 sf_buf_page(struct sf_buf *sf) 58 struct sf_buf * sf_buf_alloc(struct vm_page *m, int flags); 59 void sf_buf_free(struct sf_buf *sf);
|
/freebsd-10.1-release/sys/mips/include/ |
H A D | sf_buf.h | 42 struct sf_buf; 44 static inline struct sf_buf * 48 return ((struct sf_buf *)m); 52 sf_buf_free(struct sf_buf *sf) 57 sf_buf_kva(struct sf_buf *sf) 66 sf_buf_page(struct sf_buf *sf) 75 struct sf_buf { struct 76 SLIST_ENTRY(sf_buf) free_list; /* list of free buffer slots */ 81 struct sf_buf * sf_buf_alloc(struct vm_page *m, int flags); 82 void sf_buf_free(struct sf_buf *s [all...] |
/freebsd-10.1-release/sys/amd64/include/ |
H A D | sf_buf.h | 37 * On this machine, the only purpose for which sf_buf is used is to implement 39 * That pointer references the vm_page that is "mapped" by the sf_buf. The 42 struct sf_buf; 44 static inline struct sf_buf * 48 return ((struct sf_buf *)m); 52 sf_buf_free(struct sf_buf *sf) 57 sf_buf_kva(struct sf_buf *sf) 64 sf_buf_page(struct sf_buf *sf)
|
/freebsd-10.1-release/sys/ia64/include/ |
H A D | sf_buf.h | 37 * On this machine, the only purpose for which sf_buf is used is to implement 39 * That pointer references the vm_page that is "mapped" by the sf_buf. The 42 struct sf_buf; 44 static inline struct sf_buf * 48 return ((struct sf_buf *)m); 52 sf_buf_free(struct sf_buf *sf) 57 sf_buf_page(struct sf_buf *sf) 64 sf_buf_kva(struct sf_buf *sf)
|
/freebsd-10.1-release/sys/sparc64/include/ |
H A D | sf_buf.h | 36 struct sf_buf { struct 37 SLIST_ENTRY(sf_buf) free_list; /* list of free buffer slots */ 42 struct sf_buf * sf_buf_alloc(struct vm_page *m, int flags); 43 void sf_buf_free(struct sf_buf *sf); 46 sf_buf_kva(struct sf_buf *sf) 53 sf_buf_page(struct sf_buf *sf)
|
/freebsd-10.1-release/sys/i386/include/ |
H A D | sf_buf.h | 37 struct sf_buf { struct 38 LIST_ENTRY(sf_buf) list_entry; /* list of buffers */ 39 TAILQ_ENTRY(sf_buf) free_entry; /* list of buffers */ 48 struct sf_buf * sf_buf_alloc(struct vm_page *m, int flags); 49 void sf_buf_free(struct sf_buf *sf); 52 sf_buf_kva(struct sf_buf *sf) 59 sf_buf_page(struct sf_buf *sf)
|
/freebsd-10.1-release/sys/powerpc/include/ |
H A D | sf_buf.h | 40 struct sf_buf { struct 41 LIST_ENTRY(sf_buf) list_entry; /* list of buffers */ 42 TAILQ_ENTRY(sf_buf) free_entry; /* list of buffers */ 48 struct sf_buf * sf_buf_alloc(struct vm_page *m, int flags); 49 void sf_buf_free(struct sf_buf *sf); 52 * On 32-bit OEA, the only purpose for which sf_buf is used is to implement 54 * That pointer references the vm_page that is "mapped" by the sf_buf. The 63 sf_buf_kva(struct sf_buf *sf) 72 sf_buf_page(struct sf_buf *sf)
|
/freebsd-10.1-release/sys/cddl/compat/opensolaris/sys/ |
H A D | vm.h | 34 #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-10.1-release/sys/powerpc/powerpc/ |
H A D | vm_machdep.c | 83 #include <sys/sf_buf.h> 128 LIST_HEAD(sf_head, sf_buf); 136 static TAILQ_HEAD(, sf_buf) sf_buf_freelist; 253 struct sf_buf *sf_bufs; 267 sf_bufs = malloc(nsfbufs * sizeof(struct sf_buf), M_TEMP, 275 mtx_init(&sf_buf_lock, "sf_buf", NULL, MTX_DEF); 279 * Get an sf_buf from the freelist. Will block if none are available. 281 struct sf_buf * 285 struct sf_buf *sf; 290 return ((struct sf_buf *) [all...] |
H A D | uio_machdep.c | 48 #include <sys/sf_buf.h> 72 struct sf_buf *sf;
|
/freebsd-10.1-release/sys/sys/ |
H A D | sf_buf.h | 52 #include <machine/sf_buf.h>
|
H A D | imgact.h | 70 struct sf_buf *firstpage; /* first page that we mapped */
|
/freebsd-10.1-release/sys/arm/arm/ |
H A D | uio_machdep.c | 48 #include <sys/sf_buf.h> 69 struct sf_buf *sf;
|
H A D | vm_machdep.c | 53 #include <sys/sf_buf.h> 104 LIST_HEAD(sf_head, sf_buf); 114 static TAILQ_HEAD(, sf_buf) sf_buf_freelist; 191 sf_buf_free(struct sf_buf *sf) 214 struct sf_buf *sf_bufs; 224 sf_bufs = malloc(nsfbufs * sizeof(struct sf_buf), M_TEMP, 231 mtx_init(&sf_buf_lock, "sf_buf", NULL, MTX_DEF); 235 * Get an sf_buf from the freelist. Will block if none are available. 237 struct sf_buf * 241 struct sf_buf *s [all...] |
/freebsd-10.1-release/sys/i386/i386/ |
H A D | uio_machdep.c | 48 #include <sys/sf_buf.h> 61 struct sf_buf *sf;
|
H A D | vm_machdep.c | 65 #include <sys/sf_buf.h> 135 LIST_HEAD(sf_head, sf_buf); 145 static TAILQ_HEAD(, sf_buf) sf_buf_freelist; 758 struct sf_buf *sf_bufs; 768 sf_bufs = malloc(nsfbufs * sizeof(struct sf_buf), M_TEMP, 775 mtx_init(&sf_buf_lock, "sf_buf", NULL, MTX_DEF); 787 struct sf_buf *sf; 812 * Get an sf_buf from the freelist. May block if none are available. 814 struct sf_buf * 819 struct sf_buf *s [all...] |
/freebsd-10.1-release/sys/mips/mips/ |
H A D | uio_machdep.c | 47 #include <sys/sf_buf.h> 64 struct sf_buf *sf;
|
H A D | vm_machdep.c | 80 #include <sys/sf_buf.h> 120 SLIST_HEAD(, sf_buf) sf_head; 522 struct sf_buf *sf_bufs; 532 sf_bufs = malloc(nsfbufs * sizeof(struct sf_buf), M_TEMP, 542 * Get an sf_buf from the freelist. Will block if none are available. 544 struct sf_buf * 547 struct sf_buf *sf; 581 sf_buf_free(struct sf_buf *sf)
|
/freebsd-10.1-release/sys/sparc64/sparc64/ |
H A D | uio_machdep.c | 47 #include <sys/sf_buf.h> 65 struct sf_buf *sf;
|
H A D | vm_machdep.c | 56 #include <sys/sf_buf.h> 110 SLIST_HEAD(, sf_buf) sf_head; 426 struct sf_buf *sf_bufs; 436 sf_bufs = malloc(nsfbufs * sizeof(struct sf_buf), M_TEMP, 446 * Get an sf_buf from the freelist. Will block if none are available. 448 struct sf_buf * 451 struct sf_buf *sf; 485 sf_buf_free(struct sf_buf *sf)
|
/freebsd-10.1-release/sys/vm/ |
H A D | vm_extern.h | 102 struct sf_buf *vm_imgact_map_page(vm_object_t object, vm_ooffset_t offset); 103 void vm_imgact_unmap_page(struct sf_buf *sf);
|
/freebsd-10.1-release/sys/net/ |
H A D | bpf_zerocopy.c | 41 #include <sys/sf_buf.h> 98 struct sf_buf **zb_pages; /* Pages themselves. */ 124 * Free an sf_buf with attached page. 127 zbuf_sfbuf_free(struct sf_buf *sf) 155 * Given a user pointer to a page of user memory, return an sf_buf for the 159 static struct sf_buf * 162 struct sf_buf *sf; 213 * Allocate the buffer and set up each page with is own sf_buf. 220 zb->zb_pages = malloc(sizeof(struct sf_buf *) *
|
/freebsd-10.1-release/sys/dev/drm2/i915/ |
H A D | i915_gem_gtt.c | 34 #include <sys/sf_buf.h> 43 struct sf_buf *sf; 121 struct sf_buf *sf;
|
/freebsd-10.1-release/sys/x86/iommu/ |
H A D | intel_idpgtbl.c | 46 #include <sys/sf_buf.h> 112 struct sf_buf *sf; 349 vm_pindex_t *idxp, struct sf_buf **sf) 352 struct sf_buf *sfp; 416 struct sf_buf *sf; 549 int lvl, int flags, dmar_pte_t *pte, struct sf_buf **sf, bool free_fs); 554 struct sf_buf *sf; 565 int flags, dmar_pte_t *pte, struct sf_buf **sf, bool free_sf) 596 struct sf_buf *sf;
|