Searched refs:bytes (Results 1 – 8 of 8) sorted by relevance
/kernel/dma/ |
D | swiotlb.c | 242 static void *swiotlb_mem_remap(struct io_tlb_mem *mem, unsigned long bytes) in swiotlb_mem_remap() argument 249 vaddr = memremap(paddr, bytes, MEMREMAP_WB); in swiotlb_mem_remap() 252 &paddr, bytes); in swiotlb_mem_remap() 258 static void *swiotlb_mem_remap(struct io_tlb_mem *mem, unsigned long bytes) in swiotlb_mem_remap() argument 274 unsigned long bytes; in swiotlb_update_mem_attributes() local 279 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT); in swiotlb_update_mem_attributes() 280 set_memory_decrypted((unsigned long)vaddr, bytes >> PAGE_SHIFT); in swiotlb_update_mem_attributes() 282 mem->vaddr = swiotlb_mem_remap(mem, bytes); in swiotlb_update_mem_attributes() 292 unsigned long bytes = nslabs << IO_TLB_SHIFT, i; in swiotlb_init_io_tlb_mem() local 296 mem->end = mem->start + bytes; in swiotlb_init_io_tlb_mem() [all …]
|
D | Kconfig | 173 bool "Use mega bytes value only"
|
/kernel/ |
D | kexec_file.c | 745 unsigned long bytes = nullsz; in kexec_calculate_store_digests() local 747 if (bytes > zero_buf_sz) in kexec_calculate_store_digests() 748 bytes = zero_buf_sz; in kexec_calculate_store_digests() 749 ret = crypto_shash_update(desc, zero_buf, bytes); in kexec_calculate_store_digests() 752 nullsz -= bytes; in kexec_calculate_store_digests()
|
/kernel/trace/ |
D | blktrace.c | 215 static void __blk_add_trace(struct blk_trace *bt, sector_t sector, int bytes, in __blk_add_trace() argument 294 t->bytes = bytes; in __blk_add_trace() 1176 else if (t->bytes) in fill_rwbs() 1221 return te_blk_io_trace(ent)->bytes; in t_bytes() 1226 return te_blk_io_trace(ent)->bytes >> 9; in t_sec()
|
D | trace_events_user.c | 297 size_t copy_nofault(void *addr, size_t bytes, struct iov_iter *i) in copy_nofault() argument 303 ret = copy_from_iter_nocache(addr, bytes, i); in copy_nofault()
|
D | Kconfig | 833 The string written to the tracepoint is a static string of 128 bytes
|
/kernel/debug/kdb/ |
D | kdb_main.c | 287 static char *kdballocenv(size_t bytes) in kdballocenv() argument 294 if ((KDB_ENVBUFSIZE - envbufsize) >= bytes) { in kdballocenv() 296 envbufsize += bytes; in kdballocenv()
|
/kernel/bpf/ |
D | verifier.c | 1015 size_t bytes; in copy_array() local 1020 if (unlikely(check_mul_overflow(n, size, &bytes))) in copy_array() 1023 alloc_bytes = max(ksize(orig), kmalloc_size_roundup(bytes)); in copy_array() 1030 memcpy(dst, src, bytes); in copy_array()
|