Searched refs:pg_i (Results 1 – 2 of 2) sorted by relevance
244 int pg_i) in get_mapping_page() argument247 pg_i, map_obj->num_usr_pgs); in get_mapping_page()249 if (pg_i < 0 || pg_i >= map_obj->num_usr_pgs) { in get_mapping_page()251 __func__, pg_i); in get_mapping_page()255 return map_obj->pages[pg_i]; in get_mapping_page()603 ssize_t len, int pg_i) in build_dma_sg() argument612 page = get_mapping_page(map_obj, pg_i); in build_dma_sg()631 pg_i++, i++; in build_dma_sg()678 int pg_i, ret, sg_num; in memory_give_ownership() local685 pg_i = find_first_page_in_cache(map_obj, start); in memory_give_ownership()[all …]
1141 u32 pg_i = 0; in bridge_brd_mem_map() local1248 for (pg_i = 0; pg_i < num_usr_pgs; pg_i++) { in bridge_brd_mem_map()1278 for (pg_i = 0; pg_i < num_usr_pgs; pg_i++) { in bridge_brd_mem_map()1296 mapped_pages[pg_i] = mapped_page; in bridge_brd_mem_map()1320 if (pg_i) { in bridge_brd_mem_map()1322 (pg_i * PG_SIZE4K)); in bridge_brd_mem_map()