Lines Matching defs:from
98 * a performance degradation occurs from copyout overhead.
181 * sd_lock while trying to get data from the stream
484 * return value from dld_autopush():
604 * This is called from closef() on the last close of an open stream.
698 * Holding sd_lock prevents q_next from changing in
753 /* Prevent qenable from re-enabling the stream head queue */
889 * from closef for all closes, whereas strclose is called only for the
961 * Retrieve the next message from the logical stream head read queue
975 /* Holding sd_lock prevents the read queue from changing */
997 * to prevent strrput from nacking ioctls immediately.
1063 * many bytes to retrieve from the queue via getq_noenab().
1136 * a read in progress. The 0 length message is removed from the queue
1143 * are unlinked from and M_DATA blocks in the message, the protos are
1158 #define _LASTMARK 0x8000 /* Distinct from MSG*MARK */
1540 * Stream read put procedure. Called from downstream driver/module
1658 * Carry any MSGMARKNEXT and MSGNOTMARKNEXT from the
2664 /* Have to check canput before consuming data from the uio */
2677 /* Copyin data from the uio */
2760 /* get these values from them cached in the stream head */
3011 strcopyin_strioctl(void *from, void *to, int flag, int copyflag)
3020 if (copyin(from, &strioc32, sizeof (strioc32)))
3030 if (copyin(from, to, sizeof (struct strioctl))) {
3038 bcopy(from, to, sizeof (struct strioctl));
3044 strcopyout_strioctl(void *from, void *to, int flag, int copyflag)
3053 striocp = (struct strioctl *)from;
3065 if (copyout(from, to, sizeof (struct strioctl))) {
3073 bcopy(from, to, sizeof (struct strioctl));
3082 strcopyin_strioctl(void *from, void *to, int flag, int copyflag)
3084 return (strcopyin(from, to, sizeof (struct strioctl), copyflag));
3089 strcopyout_strioctl(void *from, void *to, int flag, int copyflag)
3091 return (strcopyout(from, to, sizeof (struct strioctl), copyflag));
3316 * More importantly, removing ioctls from this list should
3511 * Stream ioctl. Read in an strioctl buffer from the user
3541 * only get these messages from the stream head.
3634 * Drop down from size_t to the "int" required by the
3670 * Drop down from size_t to the "int" required by the
3897 "I_POP:%p from %p", q, stp);
4358 * Link a multiplexor: Call must originate from kernel.
4603 * arg is zero, remove the proc from register list.
4655 * Remove proc from register list.
4708 * ss_events is zero, remove the proc from register list.
4811 * Remove proc from register list.
4877 /* Prevent the pidp from being reassigned */
5195 /* get these values from those cached in the stream head */
5269 * from the start of the control portion of the message.
5728 * driver from changing
5764 /* Now get the q_next value from this qp. */
5769 * from this one claim the stream, set the mate, and
5773 * will prevent it from changing on us.
6068 * If the reply has already arrived, don't sleep. If awakened from
6105 * INFTIM) from the case where we failed with ETIME waiting on
6341 * special used to retrieve information from modules/drivers a stream without
6388 /* cb_len comes from sc_len, which has already been checked */
6415 * don't sleep. If awakened from the sleep, fail only if the reply
6479 * downstream from their open routine.
6493 * Get the next message from the read queue. If the message is
6520 #define _LASTMARK 0x8000 /* Distinct from MSG*MARK */
6589 * from the stream head. If the caller is interested
7045 * Get the next message from the read queue. If the message is
7086 #define _LASTMARK 0x8000 /* Distinct from MSG*MARK */
7792 /* get these values from those cached in the stream head */
7989 /* get these values from those cached in the stream head */
8070 * from concurrently trying to modify e.g.
8365 * head. (getq() holds sd_lock when it removes messages from
8404 * Carry any MSGMARKNEXT and MSGNOTMARKNEXT from q_first
8440 * received, need to move that from the stream head to the q_last
8576 * Clean up the console PIDS, from previous I_SETSIG,