Lines Matching refs:msg_type
420 unsigned int msg_type, const char *reply) in xenbus_command_reply() argument
429 msg.hdr.type = msg_type; in xenbus_command_reply()
446 static int xenbus_write_transaction(unsigned msg_type, in xenbus_write_transaction() argument
456 if (msg_type == XS_TRANSACTION_START) { in xenbus_write_transaction()
467 else if (msg_type == XS_TRANSACTION_END && in xenbus_write_transaction()
471 else if (msg_type == XS_TRANSACTION_END) { in xenbus_write_transaction()
496 static int xenbus_write_watch(unsigned msg_type, struct xenbus_file_priv *u) in xenbus_write_watch() argument
514 if (msg_type == XS_WATCH) { in xenbus_write_watch()
544 rc = xenbus_command_reply(u, msg_type, "OK"); in xenbus_write_watch()
555 uint32_t msg_type; in xenbus_file_write() local
622 msg_type = u->u.msg.type; in xenbus_file_write()
624 switch (msg_type) { in xenbus_file_write()
628 ret = xenbus_write_watch(msg_type, u); in xenbus_file_write()
633 ret = xenbus_write_transaction(msg_type, u); in xenbus_file_write()