src/dpdk/lib/librte_eal/common/rte_service.c
static inline int
service_valid(uint32_t id)
{
	return !!(rte_services[id].internal_flags & SERVICE_F_REGISTERED);
}
/* returns 1 if service is registered and has not been unregistered
 * Returns 0 if service never registered, or has been unregistered
 */
returns 1 if service is registered and has not been unregistered
Returns 0 if service never registered, or has been unregistered
returns 1 if service is registered and has not been unregistered Returns 0 if service never registered or has been unregistered
static inline int
service_valid(uint32_t id)
{
	return !!(rte_services[id].internal_flags & SERVICE_F_REGISTERED);
}
static inline int service_valid ( uint32_t id ) { return ! ! ( rte_services [ id ] . internal_flags & SERVICE_F_REGISTERED ) ; }
returns 1 if service is registered and has not been unregistered
 Returns 0 if service never registered, or has been unregistered
returns 1 if service is registered and has not been unregistered Returns 0 if service never registered or has been unregistered