Home
last modified time | relevance | path

Searched refs:kmalloc_size (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/kernel/bpf/
Dmemalloc.c981 unsigned int kmalloc_size, index; in bpf_mem_cache_adjust_size() local
983 kmalloc_size = kmalloc_size_roundup(size); in bpf_mem_cache_adjust_size()
984 if (kmalloc_size == size) in bpf_mem_cache_adjust_size()
987 if (kmalloc_size <= 192) in bpf_mem_cache_adjust_size()
988 index = size_index[(kmalloc_size - 1) / 8]; in bpf_mem_cache_adjust_size()
990 index = fls(kmalloc_size - 1) - 1; in bpf_mem_cache_adjust_size()
/Linux-v6.6/drivers/usb/chipidea/
Dhost.c412 size_t kmalloc_size; in ci_hdrc_alloc_dma_aligned_buffer() local
419 kmalloc_size = urb->transfer_buffer_length + in ci_hdrc_alloc_dma_aligned_buffer()
423 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in ci_hdrc_alloc_dma_aligned_buffer()
/Linux-v6.6/drivers/usb/musb/
Dmusb_host.c2589 size_t kmalloc_size; in musb_alloc_temp_buffer() local
2599 kmalloc_size = urb->transfer_buffer_length + in musb_alloc_temp_buffer()
2602 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in musb_alloc_temp_buffer()
/Linux-v6.6/drivers/usb/dwc2/
Dhcd.c2471 size_t kmalloc_size; in dwc2_alloc_dma_aligned_buffer() local
2483 kmalloc_size = urb->transfer_buffer_length + in dwc2_alloc_dma_aligned_buffer()
2487 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in dwc2_alloc_dma_aligned_buffer()