Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Dbitmap.c1308 unsigned int i, halfwords; in bitmap_from_arr32() local
1310 halfwords = DIV_ROUND_UP(nbits, 32); in bitmap_from_arr32()
1311 for (i = 0; i < halfwords; i++) { in bitmap_from_arr32()
1313 if (++i < halfwords) in bitmap_from_arr32()
1319 bitmap[(halfwords - 1) / 2] &= BITMAP_LAST_WORD_MASK(nbits); in bitmap_from_arr32()
1331 unsigned int i, halfwords; in bitmap_to_arr32() local
1333 halfwords = DIV_ROUND_UP(nbits, 32); in bitmap_to_arr32()
1334 for (i = 0; i < halfwords; i++) { in bitmap_to_arr32()
1336 if (++i < halfwords) in bitmap_to_arr32()
1342 buf[halfwords - 1] &= (u32) (UINT_MAX >> ((-nbits) & 31)); in bitmap_to_arr32()
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/
Dactions-thumb.c33 unsigned int halfwords; in t32_simulate_table_branch() local
36 halfwords = ((u16 *)rnv)[rmv]; in t32_simulate_table_branch()
38 halfwords = ((u8 *)rnv)[rmv]; in t32_simulate_table_branch()
40 regs->ARM_pc = pc + 2 * halfwords; in t32_simulate_table_branch()