Home
last modified time | relevance | path

Searched refs:nr_slots (Results 1 – 2 of 2) sorted by relevance

/kernel/dma/
Dswiotlb.c231 static inline unsigned long nr_slots(u64 val) in nr_slots() function
633 return nr_slots(boundary_mask + 1); in get_max_slots()
659 unsigned int nslots = nr_slots(alloc_size), stride; in swiotlb_do_find_slots()
702 nr_slots(tbl_dma_addr), in swiotlb_do_find_slots()
807 for (i = 0; i < nr_slots(alloc_size + offset); i++) in swiotlb_tbl_map_single()
827 int nslots = nr_slots(mem->slots[index].alloc_size + offset); in swiotlb_release_slots()
/kernel/bpf/
Dverifier.c627 static bool is_spi_bounds_valid(struct bpf_func_state *state, int spi, int nr_slots) in is_spi_bounds_valid() argument
638 return spi - nr_slots + 1 >= 0 && spi < allocated_slots; in is_spi_bounds_valid()