Lines Matching defs:bs
805 uint64_t bs, bigbs, nextbs, ns;
812 bs = gh.gh_lba_start;
813 ns = gh.gh_lba_end - bs + 1;
816 bigbs = bs;
820 if (bs < nextbs && ns < nextbs - bs) {
821 ns = nextbs - bs;
822 bigbs = bs;
824 bs = sgp[i]->gp_lba_end + 1;
827 if (bs < nextbs && ns < nextbs - bs) {
828 ns = nextbs - bs;
829 bigbs = bs;
831 bs = bigbs;
838 *start = bs;
840 *end = bs + ns - 1;
848 uint64_t bs;
852 bs = gh.gh_lba_start;
854 if (gp[pn].gp_lba_start >= bs) {
855 bs = gp[pn].gp_lba_start;
857 rslt = lba_free(&bs, NULL);
864 bs = getuint64("Partition offset", bs, gh.gh_lba_start, gh.gh_lba_end);
868 if (bs >= gp[i].gp_lba_start && bs <= gp[i].gp_lba_end) {
875 gp[pn].gp_lba_start = bs;
884 uint64_t bs, nextbs, ns;
891 bs = gp[pn].gp_lba_start;
892 ns = gh.gh_lba_end - bs + 1;
895 if (nextbs > bs) {
896 ns = nextbs - bs;
902 gp[pn].gp_lba_end = bs + ns - 1;