Searched refs:getbyte (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/uts/common/sys/fs/ |
H A D | pc_label.h | 112 #define getbyte(A, N) (((unsigned char *)(&(A)))[N]) 113 #define ltohs(S) ((getbyte(S, 1) << 8) | getbyte(S, 0)) 114 #define ltohi(I) ((getbyte(I, 3) << 24) | (getbyte(I, 2) << 16) | \ 115 (getbyte(I, 1) << 8) | getbyte(I, 0)) 116 #define htols(S) ((getbyte(S, 1) << 8) | getbyte(S, 0)) 117 #define htoli(I) ((getbyte(I, 3) << 24) | (getbyte(I, 2) << 16) | \ 118 (getbyte(I, 1) << 8) | getbyte(I, 0))
|
/titanic_50/usr/src/cmd/format/ |
H A D | menu_fdisk.c | 90 static int getbyte(uchar_t **); 101 static int getbyte(); 127 partp->bootid = getbyte((uchar_t **)&bootptr); in fill_ipart() 128 partp->beghead = getbyte((uchar_t **)&bootptr); in fill_ipart() 129 partp->begsect = getbyte((uchar_t **)&bootptr); in fill_ipart() 130 partp->begcyl = getbyte((uchar_t **)&bootptr); in fill_ipart() 131 partp->systid = getbyte((uchar_t **)&bootptr); in fill_ipart() 132 partp->endhead = getbyte((uchar_t **)&bootptr); in fill_ipart() 133 partp->endsect = getbyte((uchar_t **)&bootptr); in fill_ipart() 134 partp->endcyl = getbyte((uchar_t **)&bootptr); in fill_ipart() [all …]
|
/titanic_50/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 674 uchar_t getbyte(char **bp); 3976 partp->bootid = getbyte(&bootptr); 3977 partp->beghead = getbyte(&bootptr); 3978 partp->begsect = getbyte(&bootptr); 3979 partp->begcyl = getbyte(&bootptr); 3980 partp->systid = getbyte(&bootptr); 3981 partp->endhead = getbyte(&bootptr); 3982 partp->endsect = getbyte(&bootptr); 3983 partp->endcyl = getbyte(&bootptr); 3997 getbyte(char **bp) function
|
/titanic_50/usr/src/cmd/fdformat/ |
H A D | fdformat.c | 59 #define getbyte(A, N) (((unsigned char *)(&(A)))[N]) macro 60 #define htols(S) ((getbyte(S, 1) <<8) | getbyte(S, 0))
|