Searched refs:bufhead (Results 1 – 2 of 2) sorted by relevance
662 hm->bufhead = 0; in xfs_healthmon_reset_outbuf()797 ASSERT(hm->bufhead + sizeof(hme) <= hm->bufsize); in xfs_healthmon_format_v0()800 if (hm->bufhead + sizeof(hme) <= hm->bufsize) { in xfs_healthmon_format_v0()801 memcpy(hm->buffer + hm->bufhead, &hme, sizeof(hme)); in xfs_healthmon_format_v0()802 hm->bufhead += sizeof(hme); in xfs_healthmon_format_v0()813 if (hm->bufhead > hm->buftail) in xfs_healthmon_outbuf_bytes()814 return hm->bufhead - hm->buftail; in xfs_healthmon_outbuf_bytes()883 if (hm->bufhead + sizeof(*event) > hm->bufsize) in xfs_healthmon_format_pop()923 hm->bufhead = 0; in xfs_healthmon_alloc_outbuf()
1919 u16 pageno, pageofs, bufhead; in MoxaPortWriteData() local1933 bufhead = readw(ofsAddr + Ofs_txb); in MoxaPortWriteData()1941 ofs = baseAddr + DynPage_addr + bufhead + tail; in MoxaPortWriteData()1976 u16 pageno, pageofs, bufhead, head; in MoxaPortReadData() local1991 bufhead = readw(ofsAddr + Ofs_rxb); in MoxaPortReadData()1994 ofs = baseAddr + DynPage_addr + bufhead + head; in MoxaPortReadData()