Lines Matching full:lpm
24 * @lpm: path mask to adjust
27 * Shift @lpm right until @lpm and @mask have at least one bit in common or
28 * until @lpm is zero. Return the resulting lpm.
30 int lpm_adjust(int lpm, int mask) in lpm_adjust() argument
32 while (lpm && ((lpm & mask) == 0)) in lpm_adjust()
33 lpm >>= 1; in lpm_adjust()
34 return lpm; in lpm_adjust()
50 req->mask = lpm_adjust(req->mask >> 1, req->lpm); in ccwreq_next_path()
128 req->mask = req->lpm; in ccw_request_start()
131 req->mask = lpm_adjust(req->mask, req->lpm); in ccw_request_start()
238 u8 lpm; in ccwreq_log_status() member
243 data.lpm = (u8) req->mask; in ccwreq_log_status()