Searched refs:u16 (Results 1 - 25 of 42) sorted by relevance

12

/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dmst.c52 u16 usa_ofs, usa_count, usn;
53 u16 *usa_pos, *data_pos;
67 usa_pos = (u16*)b + usa_ofs/sizeof(u16);
70 * u16 values before they are fixed up. Note no need to care for
77 * Position in protected data of first u16 that needs fixing up.
79 data_pos = (u16*)b + NTFS_BLOCK_SIZE/sizeof(u16) - 1;
94 data_pos += NTFS_BLOCK_SIZE/sizeof(u16);
98 data_pos = (u16*)
[all...]
H A Dcompress.c110 if (cb == cb_end || !le16_to_cpup((u16*)cb) || dest == dest_end) {
125 cb_sb_end = cb_sb_start + (le16_to_cpup((u16*)cb) & NTFS_SB_SIZE_MASK)
130 if (!(le16_to_cpup((u16*)cb) & NTFS_SB_IS_COMPRESSED)) {
170 u16 lg, pt, length, max_non_overlap;
171 register u16 i;
204 pt = le16_to_cpup((u16*)cb);
527 *(u16*)cb_pos = 0;
H A Dlogfile.c59 u16 ra_ofs, usa_count, usa_ofs, usa_end = 0;
112 usa_end = usa_ofs + usa_count * sizeof(u16);
114 usa_end > NTFS_BLOCK_SIZE - sizeof(u16)) {
164 u16 ra_ofs, ra_len, ca_ofs;
176 NTFS_BLOCK_SIZE - sizeof(u16)) {
190 ra_ofs + ca_ofs > (u16)(NTFS_BLOCK_SIZE -
191 sizeof(u16))) {
279 u16 nr_clients, idx;
409 NTFS_BLOCK_SIZE - (int)sizeof(u16)) {
H A Dunistr.c135 u16 c1, c2;
192 u16 c1, c2;
235 u16 c1, c2;
328 u16 u;
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Dlogfile.h338 u16 usa_ofs; /* See NTFS_RECORD definition in layout.h.
342 u16 usa_count; /* See NTFS_RECORD definition in layout.h. */
349 u16 page_count;
350 u16 page_position;
353 u16 next_record_offset;
387 u16 seq_number;
388 u16 client_index;
410 u16 flags;
411 u16 reserved_or_alignment[3];
413 u16 redo_operatio
[all...]
H A Dendians.h85 (u16)((((u16)(x) & 0xff00) >> 8) | \
86 (((u16)(x) & 0x00ff) << 8))
114 #define __le16_to_cpu(x) ((__force u16)(x))
122 #define __constant_le16_to_cpu(x) ((__force u16)(x))
132 #define __le16_to_cpu(x) bswap_16((__force u16)(x))
133 #define __le32_to_cpu(x) bswap_32((__force u16)(x))
134 #define __le64_to_cpu(x) bswap_64((__force u16)(x))
136 #define __cpu_to_le16(x) (__force le16)bswap_16((__force u16)(x))
140 #define __constant_le16_to_cpu(x) __ntfs_bswap_constant_16((__force u16)(
[all...]
H A Dtypes.h40 typedef uint16_t u16; typedef
61 typedef u16 __bitwise le16;
69 typedef u16 __bitwise sle16;
73 typedef u16 __bitwise be16;
H A Dindex.h92 u16 data_len;
H A Dvolume.h165 u16 sector_size; /* Byte size of a sector. */
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dtlan.c79 static void TLan_EeSendStart(u16);
80 static int TLan_EeSendByte(u16, u8, int);
81 static void TLan_EeReceiveByte(u16, u8 *, int);
82 static int TLan_EeReadByte(u16 io_base, u8, u8 *);
102 static int TLan_MiiReadReg(struct nic *nic __unused, u16, u16, u16 *);
103 static void TLan_MiiSendData(u16, u32, unsigned);
104 static void TLan_MiiSync(u16);
105 static void TLan_MiiWriteReg(struct nic *nic __unused, u16, u1
[all...]
H A Dtlan.h45 typedef unsigned short u16; typedef
96 u16 vendorId;
97 u16 deviceId;
100 u16 addrOfs;
396 inline u8 TLan_DioRead8(u16 base_addr, u16 internal_addr)
406 inline u16 TLan_DioRead16(u16 base_addr, u16 internal_addr)
416 inline u32 TLan_DioRead32(u16 base_add
[all...]
H A Dpcnet32.c59 typedef unsigned short u16; typedef
216 u16 mode;
217 u16 tlen_rlen;
219 u16 reserved;
227 u16(*read_csr) (unsigned long, int);
228 void (*write_csr) (unsigned long, int, u16);
229 u16(*read_bcr) (unsigned long, int);
230 void (*write_bcr) (unsigned long, int, u16);
231 u16(*read_rap) (unsigned long);
232 void (*write_rap) (unsigned long, u16);
[all...]
H A Dsis900.c72 u16 vendor_id, device_id, flags;
91 u16 phy_id0;
92 u16 phy_id1;
109 u16 status;
131 static u16 sis900_read_eeprom(int location);
134 static u16 sis900_mdio_read(int phy_id, int location);
167 u16 signature;
171 signature = (u16) sis900_read_eeprom( EEPROMSignature);
179 ((u16 *)(nic->node_addr))[i] = sis900_read_eeprom(i+EEPROMMACAddr);
214 ((u16 *)(ni
[all...]
H A Dtulip.c122 typedef uint16_t u16; typedef
131 #define get_u16(ptr) (*(u16 *)(ptr))
279 static u16 t21041_csr13[] = { 0xEF01, 0xEF09, 0xEF09, 0xEF01, 0xEF09, };
280 static u16 t21041_csr14[] = { 0xFFFF, 0xF7FD, 0xF7FD, 0x7F3F, 0x7F3D, };
281 static u16 t21041_csr15[] = { 0x0008, 0x0006, 0x000E, 0x0008, 0x0008, };
284 static u16 t21142_csr13[] = { 0x0001, 0x0009, 0x0009, 0x0000, 0x0001, };
286 static u16 t21142_csr14[] = { 0xFFFF, 0x0705, 0x0705, 0x0000, 0x7F3D, };
288 static u16 t21142_csr15[] = { 0x0008, 0x0006, 0x000E, 0x0008, 0x0008, };
326 u16 defaultmedia;
425 u16 sym_advertis
[all...]
H A Dsundance.c57 typedef unsigned short u16; typedef
400 u16 addr16;
520 u16 nstype;
528 nstype = htons((u16) t);
589 u16 mii_ctl;
603 ((u16 *) ee_data)[i] =
711 u16 mii_advertise, mii_lpa;
870 u16 mc_filter[4]; /* Multicast hash filter */
H A Ddavicom.c54 typedef unsigned short u16; typedef
169 static void phy_write(int, u16);
214 u16 phy_data;
256 static void phy_write(int location, u16 phy_data)
258 u16 i, phy_addr=1;
H A Dns83820.c58 typedef unsigned short u16; typedef
398 u16 next_rx, next_empty;
406 u16 tx_done_idx;
407 u16 tx_idx;
408 u16 tx_intr_idx;
724 u16 nstype;
733 nstype = htons((u16) t);
H A Deepro100.c106 typedef unsigned short u16; typedef
247 u16 count;
248 u16 size;
555 u16 intr_status;
H A Dr8169.c57 typedef unsigned short u16; typedef
321 static const u16 rtl8169_intr_mask =
507 u16 nstype;
516 nstype = htons((u16) t);
H A Dw89c840.c89 typedef unsigned short u16; typedef
253 u16 advertising; /* NWay media advertisement */
521 w840private.tx_q_bytes = (u16) s;
615 u16 sum = 0;
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Drfc2268.c43 u16 S[64];
81 #define rotl16(x,n) (((x) << ((u16)(n))) | ((x) >> (16 - (u16)(n))))
82 #define rotr16(x,n) (((x) >> ((u16)(n))) | ((x) << (16 - (u16)(n))))
91 u16 word0 = 0, word1 = 0, word2 = 0, word3 = 0;
143 u16 word0 = 0, word1 = 0, word2 = 0, word3 = 0;
244 ctx->S[i] = ( (u16) S[i * 2] | (((u16) S[i * 2 + 1]) << 8));
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Drfc2268.c43 u16 S[64];
81 #define rotl16(x,n) (((x) << ((u16)(n))) | ((x) >> (16 - (u16)(n))))
82 #define rotr16(x,n) (((x) >> ((u16)(n))) | ((x) << (16 - (u16)(n))))
92 u16 word0 = 0, word1 = 0, word2 = 0, word3 = 0;
144 u16 word0 = 0, word1 = 0, word2 = 0, word3 = 0;
245 ctx->S[i] = ( (u16) S[i * 2] | (((u16) S[i * 2 + 1]) << 8));
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt_wrap/
H A Dcipher_wrap.h40 typedef grub_uint16_t u16; typedef
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_init.c867 u_int16_t u16; local
876 u16 = getpid();
877 memcpy(statp->_u._ext._rnd + 12, &u16, 2);
884 u_int16_t u16; local
888 u16 = (u_int16_t) (now.tv_sec ^ now.tv_usec);
890 memcpy(statp->_u._ext._rnd + 14, &u16, 2);
900 memcpy(&u16, statp->_u._ext._rnd + 14, 2);
901 return ((u_int) u16);
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Djfs.h99 typedef unsigned short u16; typedef
106 typedef u16 UniChar;

Completed in 94 milliseconds

12