Home
last modified time | relevance | path

Searched refs:rem (Results 1 – 4 of 4) sorted by relevance

/lib/
Ddiv64.c28 uint64_t rem = *n; in __div64_32() local
31 uint32_t high = rem >> 32; in __div64_32()
38 rem -= (uint64_t) (high*base) << 32; in __div64_32()
41 while ((int64_t)b > 0 && b < rem) { in __div64_32()
47 if (rem >= b) { in __div64_32()
48 rem -= b; in __div64_32()
56 return rem; in __div64_32()
Dnlattr.c127 int rem, err; in nla_validate() local
129 nla_for_each_attr(nla, head, len, rem) { in nla_validate()
185 int rem, err; in nla_parse() local
189 nla_for_each_attr(nla, head, len, rem) { in nla_parse()
203 if (unlikely(rem > 0)) in nla_parse()
205 "attributes.\n", rem); in nla_parse()
223 int rem; in nla_find() local
225 nla_for_each_attr(nla, head, len, rem) in nla_find()
Dbitmap.c115 int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_right() local
124 if (!rem || off + k + 1 >= lim) in __bitmap_shift_right()
134 dst[k] = upper << (BITS_PER_LONG - rem) | lower >> rem; in __bitmap_shift_right()
160 int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_left() local
168 if (rem && k > 0) in __bitmap_shift_left()
175 dst[k + off] = lower >> (BITS_PER_LONG - rem) | upper << rem; in __bitmap_shift_left()
Dbch.c437 int rem, c, r, p, k, param[m]; in solve_linear_system() local
444 rem = 0; in solve_linear_system()
454 rem = r+1; in solve_linear_system()
458 if (rem) { in solve_linear_system()
461 for (r = rem; r < m; r++) { in solve_linear_system()