• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/vfs/

Lines Matching refs:buf_t

131 static void cluster_EOT(buf_t cbp_head, buf_t cbp_tail, int zero_offset);
132 static void cluster_wait_IO(buf_t cbp_head, int async);
133 static void cluster_complete_transaction(buf_t *cbp_head, void *callback_arg, int *retval, int flags, int needwait);
138 int flags, buf_t real_bp, struct clios *iostate, int (*)(buf_t, void *), void *callback_arg);
139 static int cluster_iodone(buf_t bp, void *callback_arg);
143 static void cluster_syncup(vnode_t vp, off_t newEOF, int (*)(buf_t, void *), void *callback_arg);
149 int (*)(buf_t, void *), void *callback_arg);
151 int flags, int (*)(buf_t, void *), void *callback_arg);
153 int (*)(buf_t, void *), void *callback_arg, int flags);
156 off_t headOff, off_t tailOff, int flags, int (*)(buf_t, void *), void *callback_arg);
158 int *write_type, u_int32_t *write_length, int flags, int (*)(buf_t, void *), void *callback_arg);
160 int *write_type, u_int32_t *write_length, int (*)(buf_t, void *), void *callback_arg, int bflag);
162 static int cluster_align_phys_io(vnode_t vp, struct uio *uio, addr64_t usr_paddr, u_int32_t xsize, int flags, int (*)(buf_t, void *), void *callback_arg);
164 static int cluster_read_prefetch(vnode_t vp, off_t f_offset, u_int size, off_t filesize, int (*callback)(buf_t, void *), void *callback_arg, int bflag);
165 static void cluster_read_ahead(vnode_t vp, struct cl_extent *extent, off_t filesize, struct cl_readahead *ra, int (*callback)(buf_t, void *), void *callback_arg, int bflag);
167 static int cluster_push_now(vnode_t vp, struct cl_extent *, off_t EOF, int flags, int (*)(buf_t, void *), void *callback_arg);
169 static int cluster_try_push(struct cl_writebehind *, vnode_t vp, off_t EOF, int push_flag, int (*)(buf_t, void *), void *callback_arg);
171 static void sparse_cluster_switch(struct cl_writebehind *, vnode_t vp, off_t EOF, int (*)(buf_t, void *), void *callback_arg);
172 static void sparse_cluster_push(struct cl_writebehind *, vnode_t vp, off_t EOF, int push_flag, int (*)(buf_t, void *), void *callback_arg);
173 static void sparse_cluster_add(struct cl_writebehind *, vnode_t vp, struct cl_extent *, off_t EOF, int (*)(buf_t, void *), void *callback_arg);
385 cluster_syncup(vnode_t vp, off_t newEOF, int (*callback)(buf_t, void *), void *callback_arg)
475 cluster_iodone(buf_t bp, void *callback_arg)
488 buf_t cbp;
489 buf_t cbp_head;
490 buf_t cbp_next;
491 buf_t real_bp;
495 cbp_head = (buf_t)(bp->b_trans_head);
563 int (*cliodone_func)(buf_t, void *) = (int (*)(buf_t, void *))(cbp_head->b_cliodone);
640 cluster_zero(upl_t upl, vm_offset_t upl_offset, int size, buf_t bp)
683 cluster_EOT(buf_t cbp_head, buf_t cbp_tail, int zero_offset)
690 cluster_wait_IO(buf_t cbp_head, int async)
692 buf_t cbp;
724 cluster_complete_transaction(buf_t *cbp_head, void *callback_arg, int *retval, int flags, int needwait)
726 buf_t cbp;
744 *cbp_head = (buf_t)NULL;
750 int flags, buf_t real_bp, struct clios *iostate, int (*callback)(buf_t, void *), void *callback_arg)
752 buf_t cbp;
759 buf_t cbp_head = NULL;
760 buf_t cbp_tail = NULL;
992 buf_t last_cbp;
1292 cbp->b_trans_next = (buf_t)NULL;
1319 real_bp = (buf_t)NULL;
1322 *(buf_t *)(&cbp->b_trans_head) = cbp_head;
1408 buf_t cbp_next;
1480 cluster_read_prefetch(vnode_t vp, off_t f_offset, u_int size, off_t filesize, int (*callback)(buf_t, void *), void *callback_arg, int bflag)
1507 cluster_read_ahead(vnode_t vp, struct cl_extent *extent, off_t filesize, struct cl_readahead *rap, int (*callback)(buf_t, void *), void *callback_arg,
1589 int size, off_t filesize, int flags, int (*callback)(buf_t, void *), void *callback_arg)
1662 local_flags, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg));
1676 int size, off_t filesize, int flags, int (*callback)(buf_t, void *), void *callback_arg)
1724 local_flags | CL_READ | CL_PAGEIN, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
1731 cluster_bp(buf_t bp)
1738 cluster_bp_ext(buf_t bp, int (*callback)(buf_t, void *), void *callback_arg)
1769 int xflags, int (*callback)(buf_t, void *), void *callback_arg)
1894 int flags, int (*callback)(buf_t, void *), void *callback_arg)
2124 io_size, io_flag, (buf_t)NULL, &iostate, callback, callback_arg);
2196 int (*callback)(buf_t, void *), void *callback_arg, int bflag)
2351 xsize, CL_DEV_MEMORY | CL_ASYNC | bflag, (buf_t)NULL, (struct clios *)&iostate, callback, callback_arg);
2414 off_t tailOff, int flags, int (*callback)(buf_t, void *), void *callback_arg)
2609 CL_READ | bflag, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
2645 CL_READ | bflag, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
3046 cluster_read_ext(vnode_t vp, struct uio *uio, off_t filesize, int xflags, int (*callback)(buf_t, void *), void *callback_arg)
3124 cluster_read_copy(vnode_t vp, struct uio *uio, u_int32_t io_req_size, off_t filesize, int flags, int (*callback)(buf_t, void *), void *callback_arg)
3390 io_size, CL_READ | CL_ASYNC | bflag, (buf_t)NULL, &iostate, callback, callback_arg);
3583 int flags, int (*callback)(buf_t, void *), void *callback_arg)
3893 retval = cluster_io(vp, upl, upl_offset, uio->uio_offset, io_size, io_flag, (buf_t)NULL, &iostate, callback, callback_arg);
3962 int (*callback)(buf_t, void *), void *callback_arg, int flags)
4130 (buf_t)NULL, &iostate, callback, callback_arg);
4266 advisory_read_ext(vnode_t vp, off_t filesize, off_t f_offset, int resid, int (*callback)(buf_t, void *), void *callback_arg, int bflag)
4417 CL_ASYNC | CL_READ | CL_COMMIT | CL_AGE | bflag, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
4448 cluster_push_ext(vnode_t vp, int flags, int (*callback)(buf_t, void *), void *callback_arg)
4527 cluster_try_push(struct cl_writebehind *wbp, vnode_t vp, off_t EOF, int push_flag, int (*callback)(buf_t, void *), void *callback_arg)
4702 cluster_push_now(vnode_t vp, struct cl_extent *cl, off_t EOF, int flags, int (*callback)(buf_t, void *), void *callback_arg)
4852 io_flags, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
4869 sparse_cluster_switch(struct cl_writebehind *wbp, vnode_t vp, off_t EOF, int (*callback)(buf_t, void *), void *callback_arg)
4903 sparse_cluster_push(struct cl_writebehind *wbp, vnode_t vp, off_t EOF, int push_flag, int (*callback)(buf_t, void *), void *callback_arg)
4936 sparse_cluster_add(struct cl_writebehind *wbp, vnode_t vp, struct cl_extent *cl, off_t EOF, int (*callback)(buf_t, void *), void *callback_arg)
4967 cluster_align_phys_io(vnode_t vp, struct uio *uio, addr64_t usr_paddr, u_int32_t xsize, int flags, int (*callback)(buf_t, void *), void *callback_arg)
5016 CL_READ | bflag, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);
5044 bflag, (buf_t)NULL, (struct clios *)NULL, callback, callback_arg);