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()
532 struct evbuf_header *evbuf; in sclp_dispatch_evbufs() local
541 offset += evbuf->length) { in sclp_dispatch_evbufs()
542 evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); in sclp_dispatch_evbufs()
544 if (evbuf->length == 0) in sclp_dispatch_evbufs()
550 if (reg->receive_mask & SCLP_EVTYP_MASK(evbuf->type)) in sclp_dispatch_evbufs()
558 evbuf, !reg); in sclp_dispatch_evbufs()
562 reg->receiver_fn(evbuf); in sclp_dispatch_evbufs()
624 struct evbuf_header *evbuf; in ok_response() local
637 evbuf = (struct evbuf_header *)(sccb + 1); in ok_response()
638 if (!(evbuf->flags & 0x80)) in ok_response()
815 sclp_state_change_cb(struct evbuf_header *evbuf) in sclp_state_change_cb() argument
822 scbuf = (struct sclp_statechangebuf *) evbuf; in sclp_state_change_cb()
916 struct evbuf_header *evbuf; in sclp_remove_processed() local
920 evbuf = (struct evbuf_header *) (sccb + 1); in sclp_remove_processed()
924 remaining -= evbuf->length; in sclp_remove_processed()
925 if (evbuf->flags & 0x80) { in sclp_remove_processed()
926 sccb->length -= evbuf->length; in sclp_remove_processed()
927 memcpy(evbuf, (void *) ((addr_t) evbuf + evbuf->length), in sclp_remove_processed()
931 evbuf = (struct evbuf_header *) in sclp_remove_processed()
932 ((addr_t) evbuf + evbuf->length); in sclp_remove_processed()