Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sparc/kernel/
Dioport.c268 unsigned long len_total = PAGE_ALIGN(len); in sbus_alloc_coherent() local
282 order = get_order(len_total); in sbus_alloc_coherent()
290 if (allocate_resource(&_sparc_dvma, res, len_total, in sbus_alloc_coherent()
292 printk("sbus_alloc_consistent: cannot occupy 0x%lx", len_total); in sbus_alloc_coherent()
302 if (sbus_map_dma_area(dev, dma_addrp, va, res->start, len_total) != 0) in sbus_alloc_coherent()
441 unsigned long len_total = PAGE_ALIGN(size); in arch_dma_alloc() local
453 order = get_order(len_total); in arch_dma_alloc()
456 printk("%s: no %ld pages\n", __func__, len_total>>PAGE_SHIFT); in arch_dma_alloc()
465 if (allocate_resource(&_sparc_dvma, res, len_total, in arch_dma_alloc()
467 printk("%s: cannot occupy 0x%lx", __func__, len_total); in arch_dma_alloc()
[all …]
/Linux-v4.19/include/linux/
Dbpf_verifier.h162 u32 len_total; member
167 return log->len_used >= log->len_total - 1; in bpf_verifier_log_full()
/Linux-v4.19/kernel/bpf/
Dbtf.c2169 log->len_total = log_size; in btf_parse()
2172 if (log->len_total < 128 || log->len_total > UINT_MAX >> 8 || in btf_parse()
Dverifier.c206 n = min(log->len_total - log->len_used - 1, n); in bpf_verifier_vlog()
5931 log->len_total = attr->log_size; in bpf_check()
5935 if (log->len_total < 128 || log->len_total > UINT_MAX >> 8 || in bpf_check()