Home
last modified time | relevance | path

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

/linux/drivers/hid/bpf/
H A Dhid_bpf_struct_ops.c92 const struct hid_bpf_offset_write_range *write_range = &write_ranges[i]; in hid_bpf_ops_btf_struct_access() local
98 if (t == state && write_range->struct_name != cur) in hid_bpf_ops_btf_struct_access()
102 if (write_range->struct_name != cur) { in hid_bpf_ops_btf_struct_access()
103 type_id = btf_find_by_name_kind(reg->btf, write_range->struct_name, in hid_bpf_ops_btf_struct_access()
113 cur = write_range->struct_name; in hid_bpf_ops_btf_struct_access()
118 if (cur != write_range->struct_name && in hid_bpf_ops_btf_struct_access()
119 off + size > write_range->struct_length) { in hid_bpf_ops_btf_struct_access()
121 write_range->struct_name, off, size); in hid_bpf_ops_btf_struct_access()
126 if (off >= write_range->start && off + size <= write_range->end) in hid_bpf_ops_btf_struct_access()
129 cur = write_range->struct_name; in hid_bpf_ops_btf_struct_access()