Home
last modified time | relevance | path

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

12

/f-stack/tools/compat/include/sys/
H A Dsf_buf.h92 struct sf_buf { struct
103 struct sf_buf; argument
112 void sf_buf_free(struct sf_buf *);
113 void sf_buf_ref(struct sf_buf *);
116 sf_buf_kva(struct sf_buf *sf) in sf_buf_kva()
125 sf_buf_page(struct sf_buf *sf) in sf_buf_page()
144 sf_buf_unmap(struct sf_buf *sf) in sf_buf_unmap()
161 static inline struct sf_buf *
165 return ((struct sf_buf *)m); in sf_buf_alloc()
169 sf_buf_free(struct sf_buf *sf) in sf_buf_free()
[all …]
/f-stack/freebsd/sys/
H A Dsf_buf.h92 struct sf_buf { struct
103 struct sf_buf; argument
112 void sf_buf_free(struct sf_buf *);
113 void sf_buf_ref(struct sf_buf *);
116 sf_buf_kva(struct sf_buf *sf) in sf_buf_kva()
125 sf_buf_page(struct sf_buf *sf) in sf_buf_page()
144 sf_buf_unmap(struct sf_buf *sf) in sf_buf_unmap()
161 static inline struct sf_buf *
165 return ((struct sf_buf *)m); in sf_buf_alloc()
169 sf_buf_free(struct sf_buf *sf) in sf_buf_free()
[all …]
H A Dimgact.h77 struct sf_buf *firstpage; /* first page that we mapped */
/f-stack/freebsd/kern/
H A Dsubr_sfbuf.c63 LIST_HEAD(sf_head, sf_buf);
73 static TAILQ_HEAD(, sf_buf) sf_buf_freelist;
87 struct sf_buf *sf_bufs; in sf_buf_init()
100 sf_bufs = malloc(nsfbufs * sizeof(struct sf_buf), M_TEMP, in sf_buf_init()
113 struct sf_buf *
117 struct sf_buf *sf; in sf_buf_alloc()
121 return ((struct sf_buf *)m); in sf_buf_alloc()
177 sf_buf_free(struct sf_buf *sf) in sf_buf_free()
199 sf_buf_ref(struct sf_buf *sf) in sf_buf_ref()
216 sf_buf_process_page(vm_page_t m, void (*cb)(struct sf_buf *)) in sf_buf_process_page() argument
[all …]
/f-stack/freebsd/mips/include/
H A Dsf_buf.h37 sf_buf_kva(struct sf_buf *sf) in sf_buf_kva()
46 sf_buf_page(struct sf_buf *sf) in sf_buf_page()
55 sf_buf_map(struct sf_buf *sf, int flags) in sf_buf_map()
62 sf_buf_unmap(struct sf_buf *sf) in sf_buf_unmap()
/f-stack/freebsd/i386/include/
H A Dsf_buf.h34 void sf_buf_map(struct sf_buf *, int);
35 int sf_buf_unmap(struct sf_buf *);
H A Dpmap.h239 struct sf_buf;
276 void pmap_sf_buf_map(struct sf_buf *sf);
H A Dpmap_base.h54 void (*pm_sf_buf_map)(struct sf_buf *sf);
/f-stack/freebsd/arm64/include/
H A Dsf_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()
/f-stack/freebsd/amd64/include/
H A Dsf_buf.h41 sf_buf_kva(struct sf_buf *sf) in sf_buf_kva()
48 sf_buf_page(struct sf_buf *sf) in sf_buf_page()
/f-stack/freebsd/arm/include/
H A Dsf_buf.h35 sf_buf_map(struct sf_buf *sf, int flags) in sf_buf_map()
42 sf_buf_unmap(struct sf_buf *sf) in sf_buf_unmap()
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dvm.h61 zfs_map_page(vm_page_t pp, struct sf_buf **sfp) in zfs_map_page()
68 zfs_unmap_page(struct sf_buf *sf) in zfs_unmap_page()
H A Dkstat.h89 char *sf_buf; member
/f-stack/freebsd/net/
H A Dbpf_zerocopy.c100 struct sf_buf **zb_pages; /* Pages themselves. */
125 zbuf_sfbuf_free(struct sf_buf *sf) in zbuf_sfbuf_free()
157 static struct sf_buf *
160 struct sf_buf *sf; in zbuf_sfbuf_get()
214 zb->zb_pages = malloc(sizeof(struct sf_buf *) * in zbuf_setup()
/f-stack/freebsd/x86/iommu/
H A Dintel_idpgtbl.c116 struct sf_buf *sf; in domain_idmap_nextlvl()
357 int flags, vm_pindex_t *idxp, struct sf_buf **sf) in domain_pgtbl_map_pte()
360 struct sf_buf *sfp; in domain_pgtbl_map_pte()
428 struct sf_buf *sf; in domain_map_buf_locked()
571 struct sf_buf **sf, bool free_fs);
577 struct sf_buf *sf; in domain_free_pgtbl_pde()
588 int flags, dmar_pte_t *pte, struct sf_buf **sf, bool free_sf) in domain_unmap_clear_pte()
620 struct sf_buf *sf; in domain_unmap_buf_locked()
H A Dintel_ctx.c84 struct sf_buf *sf; in dmar_ensure_ctx_page()
114 dmar_map_ctx_entry(struct dmar_ctx *ctx, struct sf_buf **sfp) in dmar_map_ctx_entry()
527 struct sf_buf *sf; in dmar_get_ctx_for_dev1()
685 struct sf_buf *sf; in dmar_move_ctx_to_domain()
748 struct sf_buf *sf; in dmar_free_ctx_locked()
H A Dintel_dmar.h222 struct sf_buf **sf);
223 void dmar_unmap_pgtbl(struct sf_buf *sf);
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_procfs_list.c46 (void) vsnprintf(f->sf_buf, f->sf_size, fmt, adx); in seq_printf()
73 f.sf_buf = buf; in procfs_list_data()
/f-stack/freebsd/i386/i386/
H A Dvm_machdep.c571 sf_buf_map(struct sf_buf *sf, int flags) in sf_buf_map()
588 sf_buf_shootdown(struct sf_buf *sf, int flags) in sf_buf_shootdown()
617 sf_buf_unmap(struct sf_buf *sf) in sf_buf_unmap()
624 sf_buf_invalidate(struct sf_buf *sf) in sf_buf_invalidate()
H A Duio_machdep.c63 struct sf_buf *sf; in uiomove_fromphys()
/f-stack/freebsd/vm/
H A Dvm_extern.h125 struct sf_buf *vm_imgact_map_page(vm_object_t object, vm_ooffset_t offset);
126 void vm_imgact_unmap_page(struct sf_buf *sf);
H A Dvm_glue.c235 struct sf_buf *
251 vm_imgact_unmap_page(struct sf_buf *sf) in vm_imgact_unmap_page()
/f-stack/freebsd/arm/arm/
H A Duio_machdep.c71 struct sf_buf *sf; in uiomove_fromphys()
/f-stack/freebsd/mips/mips/
H A Duio_machdep.c66 struct sf_buf *sf; in uiomove_fromphys()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Ddmu_os.c105 struct sf_buf *sf; in dmu_write_pages()
161 struct sf_buf *sf; in dmu_read_pages()

12