Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Dbitmap.c1157 unsigned int i, halfwords; in bitmap_from_arr32() local
1159 halfwords = DIV_ROUND_UP(nbits, 32); in bitmap_from_arr32()
1160 for (i = 0; i < halfwords; i++) { in bitmap_from_arr32()
1162 if (++i < halfwords) in bitmap_from_arr32()
1168 bitmap[(halfwords - 1) / 2] &= BITMAP_LAST_WORD_MASK(nbits); in bitmap_from_arr32()
1180 unsigned int i, halfwords; in bitmap_to_arr32() local
1182 halfwords = DIV_ROUND_UP(nbits, 32); in bitmap_to_arr32()
1183 for (i = 0; i < halfwords; i++) { in bitmap_to_arr32()
1185 if (++i < halfwords) in bitmap_to_arr32()
1191 buf[halfwords - 1] &= (u32) (UINT_MAX >> ((-nbits) & 31)); in bitmap_to_arr32()
/Linux-v4.19/arch/arm/probes/kprobes/
Dactions-thumb.c36 unsigned int halfwords; in t32_simulate_table_branch() local
39 halfwords = ((u16 *)rnv)[rmv]; in t32_simulate_table_branch()
41 halfwords = ((u8 *)rnv)[rmv]; in t32_simulate_table_branch()
43 regs->ARM_pc = pc + 2 * halfwords; in t32_simulate_table_branch()