off_t newEOF, int devblocksize, int flags);
static int cluster_align_phys_io(struct vnode *vp, struct uio *uio,
addr64_t usr_paddr, int xsize, int devblocksize, int flags);
off_t newEOF, int devblocksize, int flags);
static int cluster_align_phys_io(struct vnode *vp, struct uio *uio,
addr64_t usr_paddr, int xsize, int devblocksize, int flags);
-static int cluster_push_x(struct vnode *vp, off_t EOF, daddr_t first, daddr_t last, int can_delay);
+static int cluster_push_x(struct vnode *vp, off_t EOF, unsigned int first, unsigned int last, int can_delay);
static int cluster_try_push(struct vnode *vp, off_t EOF, int can_delay, int push_all);
static int sparse_cluster_switch(struct vnode *vp, off_t EOF);
static int cluster_try_push(struct vnode *vp, off_t EOF, int can_delay, int push_all);
static int sparse_cluster_switch(struct vnode *vp, off_t EOF);
cluster_push_x(vp, EOF, first, last, can_delay)
struct vnode *vp;
off_t EOF;
cluster_push_x(vp, EOF, first, last, can_delay)
struct vnode *vp;
off_t EOF;
- first = (daddr_t)(offset / PAGE_SIZE_64);
- last = (daddr_t)((offset + length) / PAGE_SIZE_64);
+ first = (unsigned int)(offset / PAGE_SIZE_64);
+ last = (unsigned int)((offset + length) / PAGE_SIZE_64);
cluster_push_x(vp, EOF, first, last, 0);
cluster_push_x(vp, EOF, first, last, 0);