int cluster_push(vnode_t, int);
int cluster_push_ext(vnode_t, int, int (*)(buf_t, void *), void *);
+int cluster_push_err(vnode_t, int, int (*)(buf_t, void *), void *, int *);
int cluster_bp(buf_t);
int cluster_bp_ext(buf_t, int (*)(buf_t, void *), void *);
void cluster_unlock_direct_read(cl_direct_read_lock_t *lck);
/* UPL routines */
+#ifndef XNU_KERNEL_PRIVATE
int ubc_create_upl(vnode_t, off_t, int, upl_t *, upl_page_info_t **, int);
+#endif /* XNU_KERNEL_PRIVATE */
int ubc_upl_map(upl_t, vm_offset_t *);
int ubc_upl_unmap(upl_t);
int ubc_upl_commit(upl_t);
#ifdef KERNEL_PRIVATE
+int ubc_create_upl_external(vnode_t, off_t, int, upl_t *, upl_page_info_t **, int);
+#ifdef XNU_KERNEL_PRIVATE
+int ubc_create_upl_kernel(vnode_t, off_t, int, upl_t *, upl_page_info_t **, int, vm_tag_t);
+#endif /* XNU_KERNEL_PRIVATE */
+
__attribute__((pure)) boolean_t ubc_is_mapped(const struct vnode *, boolean_t *writable);
__attribute__((pure)) boolean_t ubc_is_mapped_writable(const struct vnode *);