Lines Matching refs:lix

287 	int lix;  in seg_padd_abuck()  local
305 lix = seg_pahcur; in seg_padd_abuck()
306 ASSERT(lix >= 0 && lix <= 1); in seg_padd_abuck()
307 if (hp->p_halink[lix].p_lnext != NULL) { in seg_padd_abuck()
308 ASSERT(hp->p_halink[lix].p_lprev != NULL); in seg_padd_abuck()
309 ASSERT(hp->p_halink[!lix].p_lnext == NULL); in seg_padd_abuck()
310 ASSERT(hp->p_halink[!lix].p_lprev == NULL); in seg_padd_abuck()
314 ASSERT(hp->p_halink[lix].p_lprev == NULL); in seg_padd_abuck()
321 if (hp->p_halink[!lix].p_lnext != NULL) { in seg_padd_abuck()
322 ASSERT(hp->p_halink[!lix].p_lprev != NULL); in seg_padd_abuck()
326 ASSERT(hp->p_halink[!lix].p_lprev == NULL); in seg_padd_abuck()
331 hp->p_halink[lix].p_lnext = &seg_pahhead[lix]; in seg_padd_abuck()
332 hp->p_halink[lix].p_lprev = seg_pahhead[lix].p_lprev; in seg_padd_abuck()
333 seg_pahhead[lix].p_lprev->p_lnext = &hp->p_halink[lix]; in seg_padd_abuck()
334 seg_pahhead[lix].p_lprev = &hp->p_halink[lix]; in seg_padd_abuck()
341 int lix; in seg_premove_abuck() local
359 lix = !seg_pahcur; in seg_premove_abuck()
360 ASSERT(hp->p_halink[lix].p_lnext != NULL); in seg_premove_abuck()
361 ASSERT(hp->p_halink[lix].p_lprev != NULL); in seg_premove_abuck()
362 ASSERT(hp->p_halink[!lix].p_lnext == NULL); in seg_premove_abuck()
363 ASSERT(hp->p_halink[!lix].p_lprev == NULL); in seg_premove_abuck()
364 hp->p_halink[lix].p_lnext->p_lprev = hp->p_halink[lix].p_lprev; in seg_premove_abuck()
365 hp->p_halink[lix].p_lprev->p_lnext = hp->p_halink[lix].p_lnext; in seg_premove_abuck()
366 hp->p_halink[lix].p_lnext = NULL; in seg_premove_abuck()
367 hp->p_halink[lix].p_lprev = NULL; in seg_premove_abuck()
372 lix = seg_pahcur; in seg_premove_abuck()
373 ASSERT(lix >= 0 && lix <= 1); in seg_premove_abuck()
379 if (hp->p_halink[lix].p_lnext != NULL) { in seg_premove_abuck()
380 ASSERT(hp->p_halink[lix].p_lprev != NULL); in seg_premove_abuck()
381 ASSERT(hp->p_halink[!lix].p_lnext == NULL); in seg_premove_abuck()
382 ASSERT(hp->p_halink[!lix].p_lprev == NULL); in seg_premove_abuck()
383 hp->p_halink[lix].p_lnext->p_lprev = hp->p_halink[lix].p_lprev; in seg_premove_abuck()
384 hp->p_halink[lix].p_lprev->p_lnext = hp->p_halink[lix].p_lnext; in seg_premove_abuck()
385 hp->p_halink[lix].p_lnext = NULL; in seg_premove_abuck()
386 hp->p_halink[lix].p_lprev = NULL; in seg_premove_abuck()
390 ASSERT(hp->p_halink[lix].p_lprev == NULL); in seg_premove_abuck()
399 lix = !lix; in seg_premove_abuck()
400 ASSERT(hp->p_halink[lix].p_lnext != NULL); in seg_premove_abuck()
401 ASSERT(hp->p_halink[lix].p_lprev != NULL); in seg_premove_abuck()
404 hp->p_halink[lix].p_lnext->p_lprev = hp->p_halink[lix].p_lprev; in seg_premove_abuck()
405 hp->p_halink[lix].p_lprev->p_lnext = hp->p_halink[lix].p_lnext; in seg_premove_abuck()
406 hp->p_halink[lix].p_lnext = NULL; in seg_premove_abuck()
407 hp->p_halink[lix].p_lprev = NULL; in seg_premove_abuck()