each_segment
each_segment(p, cb_size_segment, &seginfo, 1);
each_segment(p, cb_put_phdr, &phc, 1);
error = each_segment(p, cb_put_fp, &fpc, 0);
error = each_segment(p, cb_fpcount_segment, &fpc.count, 0);
static int each_segment (struct proc *, segment_callback, void *, int);