Lines Matching refs:ncookies
2149 struct ldc_trans_cookie *cookies, int ncookies, in ldc_map_sg() argument
2167 if (err > ncookies) in ldc_map_sg()
2195 struct ldc_trans_cookie *cookies, int ncookies, in ldc_map_single() argument
2203 if ((map_perm & ~LDC_MAP_ALL) || (ncookies < 1)) in ldc_map_single()
2226 BUG_ON(state.nc > ncookies); in ldc_map_single()
2246 int ncookies) in ldc_unmap() argument
2253 for (i = 0; i < ncookies; i++) { in ldc_unmap()
2265 struct ldc_trans_cookie *cookies, int ncookies) in ldc_copy() argument
2293 for (i = 0; i < ncookies; i++) { in ldc_copy()
2354 struct ldc_trans_cookie *cookies, int *ncookies, in ldc_alloc_exp_dring() argument
2367 err = ldc_map_single(lp, buf, len, cookies, *ncookies, map_perm); in ldc_alloc_exp_dring()
2372 *ncookies = err; in ldc_alloc_exp_dring()
2379 struct ldc_trans_cookie *cookies, int ncookies) in ldc_free_exp_dring() argument
2381 ldc_unmap(lp, cookies, ncookies); in ldc_free_exp_dring()