… | |
… | |
112 | /* arrays for segments */ |
112 | /* arrays for segments */ |
113 | #ifndef CELL_SEGSIZE |
113 | #ifndef CELL_SEGSIZE |
114 | # define CELL_SEGSIZE 128 /* # of cells in one segment */ |
114 | # define CELL_SEGSIZE 128 /* # of cells in one segment */ |
115 | #endif |
115 | #endif |
116 | #ifndef CELL_NSEGMENT |
116 | #ifndef CELL_NSEGMENT |
117 | # define CELL_NSEGMENT 10 /* # of segments for cells */ |
117 | # define CELL_NSEGMENT 20 /* # of segments for cells */ |
118 | #endif |
118 | #endif |
119 | char *alloc_seg[CELL_NSEGMENT]; |
119 | char *alloc_seg[CELL_NSEGMENT]; |
120 | pointer cell_seg[CELL_NSEGMENT]; |
120 | pointer cell_seg[CELL_NSEGMENT]; |
121 | int cell_segsize[CELL_NSEGMENT]; |
121 | int cell_segsize[CELL_NSEGMENT]; |
122 | int last_cell_seg; |
122 | int last_cell_seg; |