Lines Matching refs:state

88 	unsigned long state;
356 set_bit(MD_CLUSTER_SUSPEND_READ_BALANCING, &cinfo->state);
399 if (test_bit(MD_CLUSTER_BEGIN_JOIN_CLUSTER, &cinfo->state)) {
401 clear_bit(MD_CLUSTER_BEGIN_JOIN_CLUSTER, &cinfo->state);
403 clear_bit(MD_CLUSTER_SUSPEND_READ_BALANCING, &cinfo->state);
425 if (test_bit(MD_CLUSTER_ALREADY_IN_CLUSTER, &cinfo->state))
428 set_bit(MD_CLUSTER_PENDING_RECV_EVENT, &cinfo->state);
518 set_bit(MD_CLUSTER_WAITING_FOR_NEWDISK, &cinfo->state);
522 clear_bit(MD_CLUSTER_WAITING_FOR_NEWDISK, &cinfo->state);
535 test_bit(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state));
697 &cinfo->state)) {
699 &cinfo->state);
706 !test_and_set_bit(MD_CLUSTER_SEND_LOCK, &cinfo->state));
709 clear_bit_unlock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
718 clear_bit(MD_CLUSTER_SEND_LOCK, &cinfo->state);
870 set_bit(MD_CLUSTER_BEGIN_JOIN_CLUSTER, &cinfo->state);
950 set_bit(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
973 set_bit(MD_CLUSTER_ALREADY_IN_CLUSTER, &cinfo->state);
975 if (test_and_clear_bit(MD_CLUSTER_PENDING_RECV_EVENT, &cinfo->state))
1013 set_bit(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
1055 &cinfo->state);
1060 !test_and_set_bit(MD_CLUSTER_SEND_LOCK, &cinfo->state) ||
1061 test_and_clear_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state));
1065 clear_bit_unlock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
1070 clear_bit_unlock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
1096 clear_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state);
1104 clear_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state);
1392 test_bit(MD_CLUSTER_SUSPEND_READ_BALANCING, &cinfo->state))
1447 set_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state);
1456 clear_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state);
1464 if (!test_bit(MD_CLUSTER_WAITING_FOR_NEWDISK, &cinfo->state)) {