Searched refs:msize (Results 1 – 2 of 2) sorted by relevance
/kernel/bpf/ |
D | bpf_struct_ops.c | 292 u32 i, moff, msize, prev_mend = 0; in check_zero_holes() local 302 mtype = btf_resolve_size(btf_vmlinux, mtype, &msize); in check_zero_holes() 305 prev_mend = moff + msize; in check_zero_holes() 397 u32 msize; in bpf_struct_ops_map_update_elem() local 400 mtype = btf_resolve_size(btf_vmlinux, mtype, &msize); in bpf_struct_ops_map_update_elem() 406 if (memchr_inv(udata + moff, 0, msize)) { in bpf_struct_ops_map_update_elem()
|
D | btf.c | 4616 u32 i, moff, mtrue_end, msize = 0, total_nelems = 0; in btf_struct_walk() local 4717 mtype = __btf_resolve_size(btf_vmlinux, mtype, &msize, in btf_struct_walk() 4725 mtrue_end = moff + msize; in btf_struct_walk() 4777 msize /= total_nelems; in btf_struct_walk() 4778 elem_idx = (off - moff) / msize; in btf_struct_walk() 4779 moff += elem_idx * msize; in btf_struct_walk() 4806 if (msize != size || off != moff) { in btf_struct_walk()
|