Home
last modified time | relevance | path

Searched refs:lel (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/format/
H A Dmenu_fdisk.c70 #define lel(val) (((unsigned)(les((val)&0x0000FFFF))<<16) | \ macro
76 #define lel(val) (val) macro
566 (fdisk_is_linux_swap(epp, lel(ip.relsect), NULL) != 0)) ||
580 pcyl = lel(ip.numsect) / (nhead * nsect);
581 xstart = lel(ip.relsect) / (nhead * nsect);
591 solaris_offset = (uint_t)lel(ip.relsect);
779 (fdisk_is_linux_swap(epp, lel(ip.relsect), NULL) != 0)) ||
787 solaris_offset = lel(ip.relsect);
797 pcyl = lel(ip.numsect) / (nhead * nsect);
907 (fdisk_is_linux_swap(epp, lel(ip.relsect), NULL) != 0)) ||
[all …]
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dpartition.c49 #define lel(val) (((unsigned)(les((val)&0x0000FFFF))<<16) | \ macro
53 #define lel(val) (val) macro
620 iparts[i].relsect = lel(iparts[i].relsect); in get_parts()
621 iparts[i].numsect = lel(iparts[i].numsect); in get_parts()
681 lel(log_drv->parts[0].relsect) + epp->ext_beg_sec); in get_parts()
682 iparts[j].numsect = lel(log_drv->parts[0].numsect); in get_parts()
683 tmpsect = lel(log_drv->parts[1].relsect); in get_parts()
/titanic_41/usr/src/cmd/rmformat/
H A Drmformat.h77 #define lel(val) (((unsigned)(les((val)&0x0000FFFF))<<16) | \ macro
81 #define lel(val) (val)
H A Drmf_slice.c1208 fdisk->part[i].relsect = lel(GET_32(&(part->relsect))); in get_fdisk()
1209 fdisk->part[i].numsect = lel(GET_32(&(part->numsect))); in get_fdisk()
1376 parts[i].numsect = lel(UNUSED); in write_default_label()
1377 parts[i].relsect = lel(UNUSED); in write_default_label()
1390 parts[0].relsect = lel(nhead * nsect); in write_default_label()
1391 parts[0].numsect = lel(((diskaddr_t)numcyl * nhead * nsect)); in write_default_label()
/titanic_41/usr/src/cmd/fdisk/
H A Dfdisk.c126 #define lel(val) (((unsigned)(les((val)&0x0000FFFF))<<16) | \ macro
130 #define lel(val) (val) macro
2388 Old_Table[i].relsect == lel(rsect) && in entry_from_old_table()
2389 Old_Table[i].numsect == lel(numsect)) { in entry_from_old_table()
2551 ((((diskaddr_t)lel(Table[i].relsect) + in verify_tbl()
2552 lel(Table[i].numsect)) > dev_capacity) || in verify_tbl()
2553 (((diskaddr_t)lel(Table[i].relsect) + in verify_tbl()
2554 lel(Table[i].numsect)) > DK_MAX_2TB))) { in verify_tbl()