Lines Matching refs:evbuf
112 struct evbuf_header *evbuf = (struct evbuf_header *)(sccb + 1); in abbrev_len() local
121 (evbuf->type == EVTYP_MSG || evbuf->type == EVTYP_VT220MSG)) in abbrev_len()
139 struct evbuf_header *evbuf, bool err) in sclp_trace_evbuf() argument
142 sclp_trace_bin(prio + 1, evbuf, in sclp_trace_evbuf()
143 min((int)evbuf->length, (int)SCLP_TRACE_EVENT_MAX_SIZE), in sclp_trace_evbuf()
144 err ? evbuf->length : 0); in sclp_trace_evbuf()
537 struct evbuf_header *evbuf; in sclp_dispatch_evbufs() local
546 offset += evbuf->length) { in sclp_dispatch_evbufs()
547 evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); in sclp_dispatch_evbufs()
549 if (evbuf->length == 0) in sclp_dispatch_evbufs()
555 if (reg->receive_mask & SCLP_EVTYP_MASK(evbuf->type)) in sclp_dispatch_evbufs()
563 evbuf, !reg); in sclp_dispatch_evbufs()
567 reg->receiver_fn(evbuf); in sclp_dispatch_evbufs()
629 struct evbuf_header *evbuf; in ok_response() local
642 evbuf = (struct evbuf_header *)(sccb + 1); in ok_response()
643 if (!(evbuf->flags & 0x80)) in ok_response()
820 sclp_state_change_cb(struct evbuf_header *evbuf) in sclp_state_change_cb() argument
827 scbuf = (struct sclp_statechangebuf *) evbuf; in sclp_state_change_cb()
921 struct evbuf_header *evbuf; in sclp_remove_processed() local
925 evbuf = (struct evbuf_header *) (sccb + 1); in sclp_remove_processed()
929 remaining -= evbuf->length; in sclp_remove_processed()
930 if (evbuf->flags & 0x80) { in sclp_remove_processed()
931 sccb->length -= evbuf->length; in sclp_remove_processed()
932 memcpy(evbuf, (void *) ((addr_t) evbuf + evbuf->length), in sclp_remove_processed()
936 evbuf = (struct evbuf_header *) in sclp_remove_processed()
937 ((addr_t) evbuf + evbuf->length); in sclp_remove_processed()