FreeBSD/sys/cam/cam_iosched.c
/*
 * helper functions to call the limsw functions.
 */
helper functions to call the limsw functions.
helper functions to call the limsw functions .
static int
cam_iosched_limiter_init(struct iop_stats *ios)
{
	int lim = ios->limiter;
	if (lim < none || lim >= limiter_max)
		return EINVAL;
	if (limsw[lim].l_init)
		return limsw[lim].l_init(ios);
	return 0;
}
static int cam_iosched_limiter_init ( struct iop_stats * ios ) { int lim = ios -> limiter ; if ( lim < none || lim >= limiter_max ) return EINVAL ; if ( limsw [ lim ] . l_init ) return limsw [ lim ] . l_init ( ios ) ; return 0 ; }
helper functions to call the limsw functions.
helper functions to call the limsw functions .
/* maybe this should be a kassert */