Searched refs:map (Results 1 – 5 of 5) sorted by relevance
/lib/ |
D | iommu-helper.c | 19 unsigned long iommu_area_alloc(unsigned long *map, unsigned long size, in iommu_area_alloc() argument 29 index = bitmap_find_next_zero_area(map, size, start, nr, align_mask); in iommu_area_alloc() 36 bitmap_set(map, index, nr); in iommu_area_alloc()
|
D | genalloc.c | 81 static int bitmap_set_ll(unsigned long *map, int start, int nr) in bitmap_set_ll() argument 83 unsigned long *p = map + BIT_WORD(start); in bitmap_set_ll() 116 static int bitmap_clear_ll(unsigned long *map, int start, int nr) in bitmap_clear_ll() argument 118 unsigned long *p = map + BIT_WORD(start); in bitmap_clear_ll() 442 unsigned long gen_pool_first_fit(unsigned long *map, unsigned long size, in gen_pool_first_fit() argument 445 return bitmap_find_next_zero_area(map, size, start, nr, 0); in gen_pool_first_fit() 461 unsigned long gen_pool_best_fit(unsigned long *map, unsigned long size, in gen_pool_best_fit() argument 468 index = bitmap_find_next_zero_area(map, size, start, nr, 0); in gen_pool_best_fit() 471 int next_bit = find_next_bit(map, size, index + nr); in gen_pool_best_fit() 478 index = bitmap_find_next_zero_area(map, size, in gen_pool_best_fit()
|
D | swiotlb.c | 717 phys_addr_t map, phys = page_to_phys(page) + offset; in swiotlb_map_page() local 730 map = map_single(dev, phys, size, dir); in swiotlb_map_page() 731 if (map == SWIOTLB_MAP_ERROR) { in swiotlb_map_page() 736 dev_addr = phys_to_dma(dev, map); in swiotlb_map_page() 740 swiotlb_tbl_unmap_single(dev, map, size, dir); in swiotlb_map_page() 865 phys_addr_t map = map_single(hwdev, sg_phys(sg), in swiotlb_map_sg_attrs() local 867 if (map == SWIOTLB_MAP_ERROR) { in swiotlb_map_sg_attrs() 876 sg->dma_address = phys_to_dma(hwdev, map); in swiotlb_map_sg_attrs()
|
D | bitmap.c | 276 void bitmap_set(unsigned long *map, int start, int nr) in bitmap_set() argument 278 unsigned long *p = map + BIT_WORD(start); in bitmap_set() 297 void bitmap_clear(unsigned long *map, int start, int nr) in bitmap_clear() argument 299 unsigned long *p = map + BIT_WORD(start); in bitmap_clear() 330 unsigned long bitmap_find_next_zero_area(unsigned long *map, in bitmap_find_next_zero_area() argument 338 index = find_next_zero_bit(map, size, start); in bitmap_find_next_zero_area() 346 i = find_next_bit(map, end, index); in bitmap_find_next_zero_area()
|
D | Kconfig.debug | 1109 Say Y to verify that the per_cpu map being accessed has
|