-int ubc_create_upl(vnode_t, off_t, int, upl_t *, upl_page_info_t **, int);
-int ubc_upl_map(upl_t, vm_offset_t *);
-int ubc_upl_unmap(upl_t);
-int ubc_upl_commit(upl_t);
-int ubc_upl_commit_range(upl_t, upl_offset_t, upl_size_t, int);
-int ubc_upl_abort(upl_t, int);
-int ubc_upl_abort_range(upl_t, upl_offset_t, upl_size_t, int);
+#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);
+int ubc_upl_commit_range(upl_t, upl_offset_t, upl_size_t, int);
+int ubc_upl_abort(upl_t, int);
+int ubc_upl_abort_range(upl_t, upl_offset_t, upl_size_t, int);
+void ubc_upl_range_needed(upl_t, int, int);