Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/smatch/src/
H A Dsymbol.c154 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 Dshow-parse.c170 …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 Dexpand.c933 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 Dc2xml.c166 newNumProp(node, "bit-offset", sym->bit_offset); in examine_layout()
H A Dsymbol.h169 unsigned int bit_offset:8, member
H A Devaluate.c210 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 Dcompile-i386.c1796 …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 Dlinearize.c1007 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/
H A Dbasl.h98 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 Dbasl.c137 const uint8_t bit_width, const uint8_t bit_offset, in basl_fill_gas() argument
144 gas->BitOffset = bit_offset; in basl_fill_gas()
590 const uint8_t bit_width, const uint8_t bit_offset, argument
596 .BitOffset = bit_offset,
/illumos-gate/usr/src/uts/common/xen/public/
H A Dplatform.h223 uint32_t bit_offset; member
266 uint8_t bit_offset; member
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_vm.c329 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()