Lines Matching refs:sf_buf
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 *sf;
870 * Update the sf_buf's virtual-to-physical mapping, flushing the
872 * the sf_buf's old mapping was zero, that mapping is not
887 * Avoid unnecessary TLB invalidations: If the sf_buf's old
889 * that has invalidated the sf_buf's virtual address from its TLB
922 * Remove a reference from the given sf_buf, adding it to the free
923 * list when its reference count reaches zero. A freed sf_buf still,
928 sf_buf_free(struct sf_buf *sf)