Searched refs:maxlen_reserve (Results 1 – 2 of 2) sorted by relevance
329 u32 plen, pbufn, maxlen_reserve; in ipath_diagpkt_write() local413 maxlen_reserve = 2 * sizeof(u32); in ipath_diagpkt_write()414 if (dp.len > dd->ipath_ibmaxlen - maxlen_reserve) { in ipath_diagpkt_write()
549 u32 plen, pbufn, maxlen_reserve; in qib_diagpkt_write() local599 maxlen_reserve = 2 * sizeof(u32); in qib_diagpkt_write()600 if (dp.len > ppd->ibmaxlen - maxlen_reserve) { in qib_diagpkt_write()