Lines Matching refs:discovery_state
50 static atomic_t discovery_state; variable
350 return (atomic_test_bit(&discovery_state, DISC_OTS_FEATURE) && in is_discovery_complete()
351 atomic_test_bit(&discovery_state, DISC_OTS_NAME) && in is_discovery_complete()
352 atomic_test_bit(&discovery_state, DISC_OTS_TYPE) && in is_discovery_complete()
353 atomic_test_bit(&discovery_state, DISC_OTS_SIZE) && in is_discovery_complete()
354 atomic_test_bit(&discovery_state, DISC_OTS_ID) && in is_discovery_complete()
355 atomic_test_bit(&discovery_state, DISC_OTS_PROPERTIES) && in is_discovery_complete()
356 atomic_test_bit(&discovery_state, DISC_OTS_ACTION_CP) && in is_discovery_complete()
357 atomic_test_bit(&discovery_state, DISC_OTS_LIST_CP)); in is_discovery_complete()
383 atomic_set_bit(&discovery_state, DISC_OTS_FEATURE); in discover_func()
396 atomic_set_bit(&discovery_state, DISC_OTS_NAME); in discover_func()
409 atomic_set_bit(&discovery_state, DISC_OTS_TYPE); in discover_func()
422 atomic_set_bit(&discovery_state, DISC_OTS_SIZE); in discover_func()
435 atomic_set_bit(&discovery_state, DISC_OTS_ID); in discover_func()
448 atomic_set_bit(&discovery_state, DISC_OTS_PROPERTIES); in discover_func()
460 atomic_set_bit(&discovery_state, DISC_OTS_ACTION_CP); in discover_func()
472 atomic_set_bit(&discovery_state, DISC_OTS_LIST_CP); in discover_func()
547 discovery_state = ATOMIC_INIT(0); in disconnected()
651 discovery_state = ATOMIC_INIT(0); in main()