Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 9 of 9) sorted by relevance

/kernel/dma/
Dswiotlb.c595 unsigned int sz = 0; in swiotlb_bounce() local
599 sz = min_t(size_t, PAGE_SIZE - offset, size); in swiotlb_bounce()
604 memcpy_from_page(vaddr, page, offset, sz); in swiotlb_bounce()
606 memcpy_to_page(page, offset, vaddr, sz); in swiotlb_bounce()
609 size -= sz; in swiotlb_bounce()
611 vaddr += sz; in swiotlb_bounce()
/kernel/debug/kdb/
Dkdb_io.c61 static int kdb_handle_escape(char *buf, size_t sz) in kdb_handle_escape() argument
63 char *lastkey = buf + sz - 1; in kdb_handle_escape()
65 switch (sz) { in kdb_handle_escape()
/kernel/irq/
Dgeneric-chip.c297 size_t sz; in __irq_alloc_domain_generic_chips() local
310 sz = dgc_sz + numchips * gc_sz; in __irq_alloc_domain_generic_chips()
312 tmp = dgc = kzalloc(sz, GFP_KERNEL); in __irq_alloc_domain_generic_chips()
/kernel/bpf/preload/iterators/
Diterators.lskel.h83 skel->ctx.sz = (void *)&skel->links - (void *)skel; in iterators_bpf__open()
/kernel/
Dkexec_file.c495 unsigned long sz = end - start + 1; in locate_mem_hole_callback() local
503 if (sz < kbuf->memsz) in locate_mem_hole_callback()
1234 void **addr, unsigned long *sz) in crash_prepare_elf64_headers() argument
1328 *sz = elf_sz; in crash_prepare_elf64_headers()
/kernel/bpf/
Dbtf.c3222 u32 off, int sz, struct btf_field_info *info) in btf_find_struct() argument
3226 if (t->size != sz) in btf_find_struct()
3233 u32 off, int sz, struct btf_field_info *info) in btf_find_kptr() argument
3268 const char *name, int sz, int align, in btf_find_struct_field() argument
3295 ret = btf_find_struct(btf, member_type, off, sz, in btf_find_struct_field()
3301 ret = btf_find_kptr(btf, member_type, off, sz, in btf_find_struct_field()
3320 const char *name, int sz, int align, in btf_find_datasec_var() argument
3337 if (vsi->size != sz) in btf_find_datasec_var()
3345 ret = btf_find_struct(btf, var_type, off, sz, in btf_find_datasec_var()
3351 ret = btf_find_kptr(btf, var_type, off, sz, in btf_find_datasec_var()
[all …]
Dsyscall.c973 u8 *sz = &off_arr->field_sz[off_arr->cnt]; in bpf_map_alloc_off_arr() local
977 *sz++ = sizeof(u64); in bpf_map_alloc_off_arr()
Dverifier.c13317 int i, sz = prog->aux->size_poke_tab; in adjust_poke_descs() local
13320 for (i = 0; i < sz; i++) { in adjust_poke_descs()
/kernel/trace/
Dbpf_trace.c909 BPF_CALL_3(bpf_d_path, struct path *, path, char *, buf, u32, sz) in BPF_CALL_3() argument
915 if (!sz) in BPF_CALL_3()
927 p = d_path(&copy, buf, sz); in BPF_CALL_3()
931 len = buf + sz - p; in BPF_CALL_3()