if (p->ibp < p->isize) if (p->istate == 1) if (p->imax) return 0; if (p->otop > p->obp)
if (p->pstate != 3)
static int childisfinished(struct pipe_params *p){	if (p->ibp < p->isize)		if (p->istate == 1)			if (p->imax)				return 0;	if (p->otop > p->obp)		return 0;	if (p->ipp < p->psize)		if (p->pstate == 1)			if (p->chunkit || p->haslen == 0 || p->pmax)				return 0;	if (p->ibp > p->opp)		return 0;	return 1;}