How to get a list of entities available in your Drupal?
You can just invoke hook_entity_info() and check the keys:

$info = module_invoke_all('entity_info');
$all_entity_machine_names = array_keys($info);