Lines Matching refs:mode

726 		 * check to make sure we are still in fast mode
799 * FIFO is in streams mode.. let the stream head handle it
835 * Note: SW_SNDZERO can't be set in fast mode
869 * Note: we will be in streams mode if SW_SNDZERO is set
892 * if we are not in fast mode, let streams handle it
947 * check to make sure we're still in fast mode
1005 * allowed to go from fast mode to stream mode.
1013 * check to make sure we're still in fast mode
1038 * from fast mode to stream mode,
1072 * streams mode
1115 fifo_ioctl(vnode_t *vp, int cmd, intptr_t arg, int mode,
1120 * Once we go to streams mode we don't ever revert back
1125 fifo_fastioctl(vp, cmd, arg, mode, cr, rvalp) :
1126 fifo_strioctl(vp, cmd, arg, mode, cr, rvalp));
1130 fifo_fastioctl(vnode_t *vp, int cmd, intptr_t arg, int mode,
1158 * These will switch us to streams mode.
1189 return (strioctl(vp, cmd, arg, mode, U_TO_K, cr, rvalp));
1194 * XXX : We could just always go to stream mode; after all
1230 STRUCT_INIT(strpeek, mode);
1243 * can't have any high priority message when in fast mode
1304 error = strioctl(vp, cmd, arg, mode, U_TO_K, cr, rvalp);
1340 * Since no band data can ever get on a fifo in fast mode
1377 * streams mode
1380 return (fifo_strioctl(vp, cmd, arg, mode, cr, rvalp));
1385 * FIFO is in STREAMS mode; STREAMS framework does most of the work.
1388 fifo_strioctl(vnode_t *vp, int cmd, intptr_t arg, int mode,
1396 if (mode == FKIOCTL && fnp->fn_pcredp != NULL) {
1407 error = strioctl(vp, cmd, arg, mode, U_TO_K, cr, rvalp);
1551 fifo_access(vnode_t *vp, int mode, int flags, cred_t *crp, caller_context_t *ct)
1554 return (VOP_ACCESS(VTOF(vp)->fn_realvp, mode, flags, crp, ct));
1566 int mode, struct vnode **vpp, struct cred *cr, int flag,
1573 if (mode && (error = fifo_access(dvp, mode, 0, cr, ct)))
1798 * if not in fast mode, let the stream head take care of it
1829 * (Note: will go to STREAMS mode if band data is written)
1986 * Set the FIFOSTAYFAST flag so nobody can turn the fifo into stream mode.
1989 * If the fifo switches into stream mode while we are waiting, return failure.
2010 * - threads wanting to turn into stream mode waiting in fifo_fastoff(),