Lines Matching refs:bs
158 unsigned long s, e, bs, be; in attach_free_block() local
175 bs = blk->start; in attach_free_block()
176 be = bs + blk->size; in attach_free_block()
178 if (next == NULL && s >= bs) in attach_free_block()
184 if (e == bs) in attach_free_block()
374 unsigned long s, e, m, bs, be; in rh_detach_region() local
398 bs = blk->start; in rh_detach_region()
400 if (s >= bs && e <= be) in rh_detach_region()
409 if (bs == s && be == e) { in rh_detach_region()
417 if (bs == s || be == e) { in rh_detach_region()
418 if (bs == s) in rh_detach_region()
424 blk->size = s - bs; in rh_detach_region()
531 unsigned long s, e, m, bs = 0, be = 0; in rh_alloc_fixed() local
555 bs = blk->start; in rh_alloc_fixed()
557 if (s >= bs && e <= be) in rh_alloc_fixed()
566 if (bs == s && be == e) { in rh_alloc_fixed()
579 if (bs == s || be == e) { in rh_alloc_fixed()
580 if (bs == s) in rh_alloc_fixed()
586 blk->size = s - bs; in rh_alloc_fixed()