OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:writepos
(Results
1 - 2
of
2
) sorted by null
/external/dropbear/
circbuffer.c
43
cbuf->
writepos
= 0;
69
dropbear_assert(((2*cbuf->size)+cbuf->
writepos
-cbuf->readpos)%cbuf->size == cbuf->used%cbuf->size);
70
dropbear_assert(((2*cbuf->size)+cbuf->readpos-cbuf->
writepos
)%cbuf->size == (cbuf->size-cbuf->used)%cbuf->size);
77
if (cbuf->readpos < cbuf->
writepos
) {
78
return cbuf->
writepos
- cbuf->readpos;
87
dropbear_assert(((2*cbuf->size)+cbuf->
writepos
-cbuf->readpos)%cbuf->size == cbuf->used%cbuf->size);
88
dropbear_assert(((2*cbuf->size)+cbuf->readpos-cbuf->
writepos
)%cbuf->size == (cbuf->size-cbuf->used)%cbuf->size);
95
if (cbuf->
writepos
< cbuf->readpos) {
96
return cbuf->readpos - cbuf->
writepos
;
99
return cbuf->size - cbuf->
writepos
;
[
all
...]
circbuffer.h
31
unsigned int
writepos
;
member in struct:circbuf
Completed in 309 milliseconds