Home
last modified time | relevance | path

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

/linux-6.12.1/tools/net/ynl/
Dynl-gen-c.py326 self.is_bitfield = None
335 self.is_bitfield = True
337 self.is_bitfield = self.family.consts[self.attr['enum']]['type'] == 'flags'
339 self.is_bitfield = False
341 if not self.is_bitfield and 'enum' in self.attr:
349 if 'flags-mask' in self.checks or self.is_bitfield:
350 if self.is_bitfield:
/linux-6.12.1/tools/lib/bpf/
Dbtf.c2255 bool is_bitfield; in btf__add_field() local
2268 is_bitfield = bit_size || (bit_offset % 8 != 0); in btf__add_field()
2269 if (is_bitfield && (bit_size == 0 || bit_size > 255 || bit_offset > 0xffffff)) in btf__add_field()
2298 t->info = btf_type_info(btf_kind(t), btf_vlen(t) + 1, is_bitfield || btf_kflag(t)); in btf__add_field()