Searched refs:msize (Results 1 – 2 of 2) sorted by relevance
/kernel/bpf/ |
D | bpf_struct_ops.c | 296 u32 i, moff, msize, prev_mend = 0; in check_zero_holes() local 306 mtype = btf_resolve_size(btf_vmlinux, mtype, &msize); in check_zero_holes() 309 prev_mend = moff + msize; in check_zero_holes() 435 u32 msize; in bpf_struct_ops_map_update_elem() local 438 mtype = btf_resolve_size(btf_vmlinux, mtype, &msize); in bpf_struct_ops_map_update_elem() 444 if (memchr_inv(udata + moff, 0, msize)) { in bpf_struct_ops_map_update_elem()
|
D | btf.c | 5581 u32 i, moff, mtrue_end, msize = 0, total_nelems = 0; in btf_struct_walk() local 5682 mtype = __btf_resolve_size(btf, mtype, &msize, in btf_struct_walk() 5690 mtrue_end = moff + msize; in btf_struct_walk() 5742 msize /= total_nelems; in btf_struct_walk() 5743 elem_idx = (off - moff) / msize; in btf_struct_walk() 5744 moff += elem_idx * msize; in btf_struct_walk() 5772 if (msize != size || off != moff) { in btf_struct_walk()
|