Lines Matching refs:desc
133 struct bpil_array_desc *desc; in get_bpf_prog_info_linear() local
136 desc = bpil_array_desc + i; in get_bpf_prog_info_linear()
139 if (info_len < desc->array_offset + sizeof(__u32) || in get_bpf_prog_info_linear()
140 info_len < desc->count_offset + sizeof(__u32) || in get_bpf_prog_info_linear()
141 (desc->size_offset > 0 && info_len < (__u32)desc->size_offset)) in get_bpf_prog_info_linear()
149 count = bpf_prog_info_read_offset_u32(&info, desc->count_offset); in get_bpf_prog_info_linear()
150 size = bpf_prog_info_read_offset_u32(&info, desc->size_offset); in get_bpf_prog_info_linear()
166 struct bpil_array_desc *desc; in get_bpf_prog_info_linear() local
172 desc = bpil_array_desc + i; in get_bpf_prog_info_linear()
173 count = bpf_prog_info_read_offset_u32(&info, desc->count_offset); in get_bpf_prog_info_linear()
174 size = bpf_prog_info_read_offset_u32(&info, desc->size_offset); in get_bpf_prog_info_linear()
176 desc->count_offset, count); in get_bpf_prog_info_linear()
178 desc->size_offset, size); in get_bpf_prog_info_linear()
180 desc->array_offset, in get_bpf_prog_info_linear()
195 struct bpil_array_desc *desc; in get_bpf_prog_info_linear() local
201 desc = bpil_array_desc + i; in get_bpf_prog_info_linear()
202 v1 = bpf_prog_info_read_offset_u32(&info, desc->count_offset); in get_bpf_prog_info_linear()
204 desc->count_offset); in get_bpf_prog_info_linear()
208 v1 = bpf_prog_info_read_offset_u32(&info, desc->size_offset); in get_bpf_prog_info_linear()
210 desc->size_offset); in get_bpf_prog_info_linear()
227 struct bpil_array_desc *desc; in bpil_addr_to_offs() local
233 desc = bpil_array_desc + i; in bpil_addr_to_offs()
235 desc->array_offset); in bpil_addr_to_offs()
238 desc->array_offset, offs); in bpil_addr_to_offs()
247 struct bpil_array_desc *desc; in bpil_offs_to_addr() local
253 desc = bpil_array_desc + i; in bpil_offs_to_addr()
255 desc->array_offset); in bpil_offs_to_addr()
258 desc->array_offset, addr); in bpil_offs_to_addr()