Lines Matching refs:inOfs
776 WORD inOfs = *rxInOfsFp; in PktReceive() local
779 if (outOfs != inOfs) in PktReceive()
812 WORD inOfs = *rxInOfsFp; in PktBuffersUsed() local
815 if (inOfs >= outOfs) in PktBuffersUsed()
816 return (inOfs - outOfs) / sizeof(RX_ELEMENT); in PktBuffersUsed()
817 return (NUM_RX_BUF - (outOfs - inOfs) / sizeof(RX_ELEMENT)); in PktBuffersUsed()
875 WORD inOfs, outOfs; in PktBuffersUsed() local
878 inOfs = _farpeekw (_dos_ds, realBase+rxInOfs); in PktBuffersUsed()
881 if (inOfs >= outOfs) in PktBuffersUsed()
882 return (inOfs - outOfs) / sizeof(RX_ELEMENT); in PktBuffersUsed()
883 return (NUM_RX_BUF - (outOfs - inOfs) / sizeof(RX_ELEMENT)); in PktBuffersUsed()
941 WORD inOfs, outOfs; in PktBuffersUsed() local
944 inOfs = *(WORD*) (realBase+rxInOfs); in PktBuffersUsed()
947 if (inOfs >= outOfs) in PktBuffersUsed()
948 return (inOfs - outOfs) / sizeof(RX_ELEMENT); in PktBuffersUsed()
949 return (NUM_RX_BUF - (outOfs - inOfs) / sizeof(RX_ELEMENT)); in PktBuffersUsed()
993 WORD inOfs = rxInOfs; in PktBuffersUsed() local
996 if (inOfs >= outOfs) in PktBuffersUsed()
997 return ((inOfs - outOfs) / sizeof(RX_ELEMENT)); in PktBuffersUsed()
998 return (NUM_RX_BUF - (outOfs - inOfs) / sizeof(RX_ELEMENT)); in PktBuffersUsed()