Home
last modified time | relevance | path

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

/include/drm/
Ddrm_fixed.h156 u64 rem; in drm_fixp_from_fraction() local
159 u64 res_abs = div64_u64_rem(a_abs, b_abs, &rem); in drm_fixp_from_fraction()
166 rem <<= 1; in drm_fixp_from_fraction()
168 if (rem >= b_abs) { in drm_fixp_from_fraction()
170 rem -= b_abs; in drm_fixp_from_fraction()
177 u64 summand = (rem << 1) >= b_abs; in drm_fixp_from_fraction()
/include/net/
Dnetlink.h898 #define nlmsg_for_each_attr(pos, nlh, hdrlen, rem) \ argument
900 nlmsg_attrlen(nlh, hdrlen), rem)
1064 #define nlmsg_for_each_msg(pos, head, len, rem) \ argument
1065 for (pos = head, rem = len; \
1066 nlmsg_ok(pos, rem); \
1067 pos = nlmsg_next(pos, &(rem)))
1920 #define nla_for_each_attr(pos, head, len, rem) \ argument
1921 for (pos = head, rem = len; \
1922 nla_ok(pos, rem); \
1923 pos = nla_next(pos, &(rem)))
[all …]
/include/linux/
Dmath.h116 typeof(x) rem = (x) % (denom); \
117 (quot * (numer)) + ((rem * (numer)) / (denom)); \
Dmpi.h106 void mpi_mod(MPI rem, MPI dividend, MPI divisor);
153 void mpi_tdiv_r(MPI rem, MPI num, MPI den);
154 void mpi_fdiv_r(MPI rem, MPI dividend, MPI divisor);
Dhrtimer.h335 ktime_t rem = ktime_sub(timer->node.expires, now); in __hrtimer_expires_remaining_adjusted() local
342 rem -= hrtimer_resolution; in __hrtimer_expires_remaining_adjusted()
343 return rem; in __hrtimer_expires_remaining_adjusted()