Home
last modified time | relevance | path

Searched refs:recpos (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.sbin/kldxref/
H A Dkldxref.c73 static int recpos; /* current write position */ variable
80 recpos = roundup2(recpos, sizeof(int)); in intalign()
100 recpos = 0; in record_start()
108 if (recpos == 0) { in record_end()
125 write_int(recpos); in record_end()
126 return (fwrite(recbuf, recpos, 1, fxref) != 1 ? errno : 0); in record_end()
133 if (MAXRECSIZE - recpos < size) in record_buf()
135 memcpy(recbuf + recpos, buf, size); in record_buf()
136 recpos += size; in record_buf()