Searched refs:bit_offset (Results 1 – 12 of 12) sorted by relevance
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | symbol.c | 154 unsigned long bit_offset = bit_size & align_bit_mask; in lay_out_struct() local 155 int room = bitfield_base_size(sym) - bit_offset; in lay_out_struct() 157 int width = base_size ? : (bit_offset ? room : 0); in lay_out_struct() 161 bit_offset = 0; in lay_out_struct() 163 sym->offset = bits_to_bytes(bit_size - bit_offset); in lay_out_struct() 164 sym->bit_offset = bit_offset; in lay_out_struct() 165 sym->ctype.base_type->bit_offset = bit_offset; in lay_out_struct()
|
H A D | show-parse.c | 170 …ld.%d", show_ident(sym->ident), sym->bit_size, sym->ctype.alignment, sym->offset, sym->bit_offset); in show_struct_member() 1054 int bit_offset; in show_position_expr() local 1056 bit_offset = ctype ? ctype->bit_offset : -1; in show_position_expr() 1059 expr->init_offset, bit_offset, in show_position_expr()
|
H A D | expand.c | 933 static unsigned long bit_offset(const struct expression *expr) in bit_offset() function 941 offset += expr->ctype->bit_offset; in bit_offset() 963 unsigned long a_pos = bit_offset(a); in compare_expressions() 964 unsigned long b_pos = bit_offset(b); in compare_expressions() 988 off = bit_offset(b); in verify_nonoverlapping()
|
H A D | c2xml.c | 166 newNumProp(node, "bit-offset", sym->bit_offset); in examine_layout()
|
H A D | symbol.h | 169 unsigned int bit_offset:8, member
|
H A D | evaluate.c | 210 orig->bit_offset == new->bit_offset; in same_cast_type() 332 if (old->ctype->bit_offset == type->bit_offset) { in cast_to() 2127 expr->r_bitpos += member->bit_offset; in evaluate_member_dereference()
|
H A D | compile-i386.c | 1796 …ld.%d", show_ident(sym->ident), sym->bit_size, sym->ctype.alignment, sym->offset, sym->bit_offset); in x86_struct_member() 2284 expr->init_offset, ctype->bit_offset, in x86_position_expr()
|
H A D | linearize.c | 1007 unsigned int shift = ctype->bit_offset; in linearize_bitfield_insert() 1105 unsigned int off = ctype->bit_offset; in linearize_bitfield_extract()
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | basl.h | 98 uint8_t bit_width, uint8_t bit_offset, uint8_t access_width, 120 uint8_t bit_width, uint8_t bit_offset, uint8_t access_width,
|
H A D | basl.c | 148 const uint8_t bit_width, const uint8_t bit_offset, in basl_fill_gas() argument 155 gas->BitOffset = bit_offset; in basl_fill_gas() 611 const uint8_t bit_width, const uint8_t bit_offset, argument 617 .BitOffset = bit_offset,
|
/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | platform.h | 223 uint32_t bit_offset; member 266 uint8_t bit_offset; member
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_vm.c | 329 const size_t bit_offset = pfn_offset / 8; in vmspace_bits_operate() local 332 if (bit_input && (bitmap[bit_offset] & bit_mask) == 0) { in vmspace_bits_operate() 340 bitmap[bit_offset] &= ~bit_mask; in vmspace_bits_operate() 394 bitmap[bit_offset] |= bit_mask; in vmspace_bits_operate() 396 bitmap[bit_offset] &= ~bit_mask; in vmspace_bits_operate()
|