Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/lp/lib/msgs/
H A Dmlisten.c50 static int ConsSize= 0; variable
64 if (ConsSize > 0) in mlisteninit()
70 ConsSize = 20; in mlisteninit()
71 Connections = (MESG **) Malloc(ConsSize * MDSIZE); in mlisteninit()
72 PollFdList = (struct pollfd*) Malloc(ConsSize * sizeof(struct pollfd)); in mlisteninit()
98 slack = ConsSize - (NumCons + NumNewCons + 1); in mlistenadd()
102 ConsSize += 20; in mlistenadd()
103 Connections = (MESG **) Realloc(Connections, ConsSize * MDSIZE); in mlistenadd()
104 PollFdList = (struct pollfd*) Realloc(PollFdList, ConsSize * sizeof(struct pollfd)); in mlistenadd()
114 ConsSize -= 20; in mlistenadd()
[all …]