Searched refs:alloc_size (Results 1 – 4 of 4) sorted by relevance
/kernel/dma/ |
D | swiotlb.c | 67 size_t alloc_size; member 312 mem->slots[i].alloc_size = 0; in swiotlb_init_io_tlb_mem() 369 size_t alloc_size; in swiotlb_init_remap() local 395 alloc_size = PAGE_ALIGN(array_size(sizeof(*mem->slots), nslabs)); in swiotlb_init_remap() 396 mem->slots = memblock_alloc(alloc_size, PAGE_SIZE); in swiotlb_init_remap() 399 __func__, alloc_size, PAGE_SIZE); in swiotlb_init_remap() 557 size_t alloc_size = mem->slots[index].alloc_size; in swiotlb_bounce() local 575 if (tlb_offset > alloc_size) { in swiotlb_bounce() 578 alloc_size, size, tlb_offset); in swiotlb_bounce() 583 alloc_size -= tlb_offset; in swiotlb_bounce() [all …]
|
/kernel/ |
D | relay.c | 90 if (length != (unsigned long)buf->chan->alloc_size) in relay_mmap_buf() 162 buf->start = relay_alloc_buf(buf, &chan->alloc_size); in relay_create_buf() 505 chan->alloc_size = PAGE_ALIGN(subbuf_size * n_subbufs); in relay_open() 1119 uint32_t alloc_size = (uint32_t) rbuf->chan->alloc_size; in subbuf_splice_actor() local 1120 size_t read_start = (size_t) do_div(pos, alloc_size); in subbuf_splice_actor() 1147 subbuf_pages = rbuf->chan->alloc_size >> PAGE_SHIFT; in subbuf_splice_actor()
|
/kernel/irq/ |
D | matrix.c | 28 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()
|
/kernel/bpf/ |
D | verifier.c | 1042 size_t alloc_size; in realloc_array() local 1048 alloc_size = kmalloc_size_roundup(size_mul(new_n, size)); in realloc_array() 1049 new_arr = krealloc(arr, alloc_size, GFP_KERNEL); in realloc_array() 2521 size_t alloc_size; in push_jmp_history() local 2524 alloc_size = kmalloc_size_roundup(size_mul(cnt, sizeof(*p))); in push_jmp_history() 2525 p = krealloc(cur->jmp_history, alloc_size, GFP_USER); in push_jmp_history()
|