Lines Matching defs:packet
732 * machines swap them before putting the packet on the wire (because
742 static void dlm_query_join_packet_to_wire(struct dlm_query_join_packet *packet,
747 response.packet = *packet;
752 struct dlm_query_join_packet *packet)
757 *packet = response.packet;
764 struct dlm_query_join_packet packet = {
785 packet.code = JOIN_DISALLOW;
789 packet.code = JOIN_OK_NO_MAP;
808 packet.code = JOIN_DISALLOW;
828 packet.code = JOIN_OK_NO_MAP;
831 packet.code = JOIN_DISALLOW;
835 packet.code = JOIN_DISALLOW;
839 packet.code = JOIN_DISALLOW;
844 packet.code = JOIN_DISALLOW;
855 packet.code = JOIN_PROTOCOL_MISMATCH;
859 packet.code = JOIN_PROTOCOL_MISMATCH;
861 packet.dlm_minor = query->dlm_proto.pv_minor;
862 packet.fs_minor = query->fs_proto.pv_minor;
863 packet.code = JOIN_OK;
874 mlog(0, "We respond with %u\n", packet.code);
876 dlm_query_join_packet_to_wire(&packet, &response);
1014 struct dlm_query_join_packet packet;
1037 dlm_query_join_wire_to_packet(join_resp, &packet);
1046 } else if (packet.code == JOIN_DISALLOW ||
1047 packet.code == JOIN_OK_NO_MAP) {
1048 *response = packet.code;
1049 } else if (packet.code == JOIN_PROTOCOL_MISMATCH) {
1061 *response = packet.code;
1062 } else if (packet.code == JOIN_OK) {
1063 *response = packet.code;
1065 dlm->dlm_locking_proto.pv_minor = packet.dlm_minor;
1066 dlm->fs_locking_proto.pv_minor = packet.fs_minor;
1078 packet.code, node);