Searched refs:map_perm (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/block/
H A Dsunvdc.c448 unsigned int map_perm; __send_request() local
453 map_perm = LDC_MAP_SHADOW | LDC_MAP_DIRECT | LDC_MAP_IO; __send_request()
456 map_perm |= LDC_MAP_W; __send_request()
459 map_perm |= LDC_MAP_R; __send_request()
474 map_perm); __send_request()
543 unsigned int map_perm; generic_request() local
559 map_perm = 0; generic_request()
564 map_perm = LDC_MAP_W; generic_request()
569 map_perm = LDC_MAP_R; generic_request()
574 map_perm = LDC_MAP_W; generic_request()
579 map_perm = LDC_MAP_R; generic_request()
584 map_perm = LDC_MAP_W; generic_request()
589 map_perm = LDC_MAP_R; generic_request()
594 map_perm = LDC_MAP_RW; generic_request()
599 map_perm = LDC_MAP_W; generic_request()
608 map_perm |= LDC_MAP_SHADOW | LDC_MAP_DIRECT | LDC_MAP_IO; generic_request()
618 if (map_perm & LDC_MAP_R) generic_request()
632 map_perm); generic_request()
671 if (map_perm & LDC_MAP_W) generic_request()
/linux-4.4.14/arch/sparc/include/asm/
H A Dldc.h100 unsigned int map_perm);
105 unsigned int map_perm);
134 int *ncookies, unsigned int map_perm);
/linux-4.4.14/arch/sparc/kernel/
H A Dldc.c1962 static u64 perm_to_mte(unsigned int map_perm) perm_to_mte() argument
1968 if (map_perm & LDC_MAP_SHADOW) { perm_to_mte()
1969 if (map_perm & LDC_MAP_R) perm_to_mte()
1971 if (map_perm & LDC_MAP_W) perm_to_mte()
1974 if (map_perm & LDC_MAP_DIRECT) { perm_to_mte()
1975 if (map_perm & LDC_MAP_R) perm_to_mte()
1977 if (map_perm & LDC_MAP_W) perm_to_mte()
1979 if (map_perm & LDC_MAP_X) perm_to_mte()
1982 if (map_perm & LDC_MAP_IO) { perm_to_mte()
1983 if (map_perm & LDC_MAP_R) perm_to_mte()
1985 if (map_perm & LDC_MAP_W) perm_to_mte()
2082 unsigned int map_perm) ldc_map_sg()
2091 if (map_perm & ~LDC_MAP_ALL) ldc_map_sg()
2111 state.mte_base = perm_to_mte(map_perm); ldc_map_sg()
2128 unsigned int map_perm) ldc_map_single()
2135 if ((map_perm & ~LDC_MAP_ALL) || (ncookies < 1)) ldc_map_single()
2153 state.mte_base = perm_to_mte(map_perm); ldc_map_single()
2287 unsigned int map_perm) ldc_alloc_exp_dring()
2299 err = ldc_map_single(lp, buf, len, cookies, *ncookies, map_perm); ldc_alloc_exp_dring()
2079 ldc_map_sg(struct ldc_channel *lp, struct scatterlist *sg, int num_sg, struct ldc_trans_cookie *cookies, int ncookies, unsigned int map_perm) ldc_map_sg() argument
2125 ldc_map_single(struct ldc_channel *lp, void *buf, unsigned int len, struct ldc_trans_cookie *cookies, int ncookies, unsigned int map_perm) ldc_map_single() argument
2285 ldc_alloc_exp_dring(struct ldc_channel *lp, unsigned int len, struct ldc_trans_cookie *cookies, int *ncookies, unsigned int map_perm) ldc_alloc_exp_dring() argument
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dsunvnet.c1003 unsigned int map_perm) vnet_skb_map()
1015 ncookies, map_perm); vnet_skb_map()
1030 map_perm); vnet_skb_map()
1001 vnet_skb_map(struct ldc_channel *lp, struct sk_buff *skb, struct ldc_trans_cookie *cookies, int ncookies, unsigned int map_perm) vnet_skb_map() argument

Completed in 428 milliseconds