Lines Matching refs:map_perm
1967 static u64 perm_to_mte(unsigned int map_perm) in perm_to_mte() argument
1973 if (map_perm & LDC_MAP_SHADOW) { in perm_to_mte()
1974 if (map_perm & LDC_MAP_R) in perm_to_mte()
1976 if (map_perm & LDC_MAP_W) in perm_to_mte()
1979 if (map_perm & LDC_MAP_DIRECT) { in perm_to_mte()
1980 if (map_perm & LDC_MAP_R) in perm_to_mte()
1982 if (map_perm & LDC_MAP_W) in perm_to_mte()
1984 if (map_perm & LDC_MAP_X) in perm_to_mte()
1987 if (map_perm & LDC_MAP_IO) { in perm_to_mte()
1988 if (map_perm & LDC_MAP_R) in perm_to_mte()
1990 if (map_perm & LDC_MAP_W) in perm_to_mte()
2087 unsigned int map_perm) in ldc_map_sg() argument
2095 if (map_perm & ~LDC_MAP_ALL) in ldc_map_sg()
2117 state.mte_base = perm_to_mte(map_perm); in ldc_map_sg()
2133 unsigned int map_perm) in ldc_map_single() argument
2140 if ((map_perm & ~LDC_MAP_ALL) || (ncookies < 1)) in ldc_map_single()
2160 state.mte_base = perm_to_mte(map_perm); in ldc_map_single()
2304 unsigned int map_perm) in ldc_alloc_exp_dring() argument
2316 err = ldc_map_single(lp, buf, len, cookies, *ncookies, map_perm); in ldc_alloc_exp_dring()