ThirdParty/sw_services/libmetal/src/libmetal/lib/scatterlist.h
static inline
int metal_scatterlist_get_ios(struct metal_scatter_list *sg_list,
			      struct metal_io_region **ios)
{
	*ios = sg_list->ios;
	return sg_list->nents;
}
/**
 * @brief Get I/O entries array of a scatter list
 *
 * @param[in]	sg_list	Scatter list handle
 * @param[out]	ios handle of I/O regions entries array
 * @return	of entries of the scatter list
 */
@brief Get I/O entries array of a scatter list
@param[in]   sg_list Scatter list handle
@param[out]  ios handle of I/O regions entries array
@return      of entries of the scatter list
@brief Get I / O entries array of a scatter list @param [ in ] sg_list Scatter list handle @param [ out ] ios handle of I / O regions entries array @return of entries of the scatter list
static inline
int metal_scatterlist_get_ios(struct metal_scatter_list *sg_list,
			      struct metal_io_region **ios)
{
	*ios = sg_list->ios;
	return sg_list->nents;
}
static inline int metal_scatterlist_get_ios ( struct metal_scatter_list * sg_list , struct metal_io_region * * ios ) { * ios = sg_list -> ios ; return sg_list -> nents ; }
@brief Get I/O entries array of a scatter list
 @param[in]   sg_list Scatter list handle
 @param[out]  ios handle of I/O regions entries array
 @return      of entries of the scatter list
@brief Get I / O entries array of a scatter list @param [ in ] sg_list Scatter list handle @param [ out ] ios handle of I / O regions entries array @return of entries of the scatter list