Home
last modified time | relevance | path

Searched refs:alloc_size (Results 1 – 3 of 3) sorted by relevance

/kernel/dma/
Dswiotlb.c209 size_t alloc_size; in swiotlb_init_with_tbl() local
222 alloc_size = PAGE_ALIGN(io_tlb_nslabs * sizeof(int)); in swiotlb_init_with_tbl()
223 io_tlb_list = memblock_alloc(alloc_size, PAGE_SIZE); in swiotlb_init_with_tbl()
226 __func__, alloc_size, PAGE_SIZE); in swiotlb_init_with_tbl()
228 alloc_size = PAGE_ALIGN(io_tlb_nslabs * sizeof(phys_addr_t)); in swiotlb_init_with_tbl()
229 io_tlb_orig_addr = memblock_alloc(alloc_size, PAGE_SIZE); in swiotlb_init_with_tbl()
232 __func__, alloc_size, PAGE_SIZE); in swiotlb_init_with_tbl()
490 size_t alloc_size) in find_slots() argument
498 unsigned int nslots = nr_slots(alloc_size), stride; in find_slots()
510 if (alloc_size >= PAGE_SIZE) in find_slots()
[all …]
/kernel/
Drelay.c104 if (length != (unsigned long)buf->chan->alloc_size) in relay_mmap_buf()
177 buf->start = relay_alloc_buf(buf, &chan->alloc_size); in relay_create_buf()
593 chan->alloc_size = PAGE_ALIGN(subbuf_size * n_subbufs); in relay_open()
1207 uint32_t alloc_size = (uint32_t) rbuf->chan->alloc_size; in subbuf_splice_actor() local
1208 size_t read_start = (size_t) do_div(pos, alloc_size); in subbuf_splice_actor()
1235 subbuf_pages = rbuf->chan->alloc_size >> PAGE_SHIFT; in subbuf_splice_actor()
/kernel/irq/
Dmatrix.c28 unsigned int alloc_size; member
65 m->alloc_size = alloc_end - alloc_start; in irq_alloc_matrix()
85 cm->available = m->alloc_size; in irq_matrix_online()