Lines Matching defs:e
2248 struct protocol_entry *e;
2262 e = &protocol_table[i];
2263 assert(strncmp(e->pt_name, PROTOCOL_PREFIX,
2265 e->pt_name += strlen(PROTOCOL_PREFIX);
2271 e = &protocol_table[i];
2272 assert(e->pt_request == (REP_PROTOCOL_BASE + i));
2274 assert((e->pt_flags & ~PROTO_ALL_FLAGS) == 0);
2276 if (e->pt_flags & PROTO_FLAG_PANIC)
2277 assert(e->pt_in_size == 0 && e->pt_out_max == 0 &&
2278 e->pt_handler == NULL);
2280 assert(e->pt_in_size != 0 && e->pt_out_max != 0 &&
2281 (e->pt_handler != NULL ||
2282 e->pt_fd_handler != NULL));
2303 struct protocol_entry *e;
2374 e = &protocol_table[request_code - REP_PROTOCOL_BASE];
2376 assert(!(e->pt_flags & PROTO_FLAG_PANIC));
2378 if (e->pt_flags & PROTO_FLAG_VARINPUT) {
2379 if (arg_size < e->pt_in_size) {
2383 } else if (arg_size != e->pt_in_size) {
2388 if (retsize != e->pt_out_max) {
2389 retsize = e->pt_out_max;
2393 if (e->pt_flags & PROTO_FLAG_RETFD)
2394 e->pt_fd_handler(cp, argp, arg_size, retval, &retsize,
2395 e->pt_arg, &retfd);
2397 e->pt_handler(cp, argp, arg_size, retval, &retsize, e->pt_arg);