Searched refs:bufhead (Results 1 – 3 of 3) sorted by relevance
672 hm->bufhead = 0; in xfs_healthmon_reset_outbuf() 807 ASSERT(hm->bufhead + sizeof(hme) <= hm->bufsize); in xfs_healthmon_format_v0() 810 if (hm->bufhead + sizeof(hme) <= hm->bufsize) { in xfs_healthmon_format_v0() 811 memcpy(hm->buffer + hm->bufhead, &hme, sizeof(hme)); in xfs_healthmon_format_v0() 812 hm->bufhead += sizeof(hme); in xfs_healthmon_format_v0() 823 if (hm->bufhead > hm->buftail) in xfs_healthmon_outbuf_bytes() 824 return hm->bufhead - hm->buftail; in xfs_healthmon_outbuf_bytes() 893 if (hm->bufhead + sizeof(*event) > hm->bufsize) in xfs_healthmon_format_pop() 933 hm->bufhead = 0; in xfs_healthmon_alloc_outbuf()
5987 __entry->inpos = hm->bufhead;5989 if (hm->bufhead > hm->buftail)5990 __entry->to_copy = hm->bufhead - hm->buftail;
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()