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);
539 test_bit(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state));
700 &cinfo->state)) {
702 &cinfo->state);
709 !test_and_set_bit(MD_CLUSTER_SEND_LOCK, &cinfo->state));
712 clear_bit_unlock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
721 clear_bit(MD_CLUSTER_SEND_LOCK, &cinfo->state);
873 set_bit(MD_CLUSTER_BEGIN_JOIN_CLUSTER, &cinfo->state);
954 set_bit(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
977 set_bit(MD_CLUSTER_ALREADY_IN_CLUSTER, &cinfo->state);
979 if (test_and_clear_bit(MD_CLUSTER_PENDING_RECV_EVENT, &cinfo->state))
1017 set_bit(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
1059 &cinfo->state);
1064 !test_and_set_bit(MD_CLUSTER_SEND_LOCK, &cinfo->state) ||
1065 test_and_clear_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state));
1069 clear_bit_unlock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
1074 clear_bit_unlock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD, &cinfo->state);
1100 clear_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state);
1108 clear_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state);
1393 test_bit(MD_CLUSTER_SUSPEND_READ_BALANCING, &cinfo->state))
1448 set_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state);
1457 clear_bit(MD_CLUSTER_SEND_LOCKED_ALREADY, &cinfo->state);
1465 if (!test_bit(MD_CLUSTER_WAITING_FOR_NEWDISK, &cinfo->state)) {