Home
last modified time | relevance | path

Searched refs:__u16 (Results 1 – 17 of 17) sorted by relevance

/xen/tools/libfsimage/fat/
A Dfat.h28 typedef unsigned short __u16; typedef
46 __u16 fat_length; /* sectors/FAT */
47 __u16 secs_track; /* sectors per track */
48 __u16 heads; /* number of heads */
54 __u16 flags; /* bit 8: fat mirroring, low 4: active fat */
57 __u16 info_sector; /* filesystem info sector */
58 __u16 backup_boot; /* backup boot sector */
59 __u16 reserved2[6]; /* Unused */
62 #define FAT_CVT_U16(bytarr) (* (__u16*)(bytarr))
92 ((*((__u16 *) (entry+26)))+(*((__u16 *) (entry+20)) << 16))
A Dfsys_fat.c230 next_cluster = ((__u16 *) (FAT_BUF + (cached_pos >> 1)))[0]; in fat_read()
238 next_cluster |= ((__u16 *) (FAT_BUF + (cached_pos >> 1)))[1] << 16; in fat_read()
/xen/xen/include/xen/byteorder/
A Dswab.h18 __u16 __x = (x); \
19 ((__u16)( \
20 (((__u16)(__x) & (__u16)0x00ffU) << 8) | \
21 (((__u16)(__x) & (__u16)0xff00U) >> 8) )); \
49 ((__u16)( \
50 (((__u16)(x) & (__u16)0x00ffU) << 8) | \
51 (((__u16)(x) & (__u16)0xff00U) >> 8) ))
108 (__builtin_constant_p((__u16)(x)) ? \
126 static inline __attribute_const__ __u16 __fswab16(__u16 x) in __fswab16()
130 static inline __u16 __swab16p(const __u16 *x) in __swab16p()
[all …]
A Dbig_endian.h24 #define __constant_cpu_to_be16(x) ((__force __be16)(__u16)(x))
25 #define __constant_be16_to_cpu(x) ((__force __u16)(__be16)(x))
31 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
36 #define __cpu_to_be16(x) ((__force __be16)(__u16)(x))
37 #define __be16_to_cpu(x) ((__force __u16)(__be16)(x))
55 static inline __le16 __cpu_to_le16p(const __u16 *p) in __cpu_to_le16p()
59 static inline __u16 __le16_to_cpup(const __le16 *p) in __le16_to_cpup()
61 return __swab16p((__u16 *)p); in __le16_to_cpup()
79 static inline __be16 __cpu_to_be16p(const __u16 *p) in __cpu_to_be16p()
83 static inline __u16 __be16_to_cpup(const __be16 *p) in __be16_to_cpup()
[all …]
A Dlittle_endian.h18 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x))
19 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x))
30 #define __cpu_to_le16(x) ((__force __le16)(__u16)(x))
31 #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
37 #define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x))
55 static inline __le16 __cpu_to_le16p(const __u16 *p) in __cpu_to_le16p()
59 static inline __u16 __le16_to_cpup(const __le16 *p) in __le16_to_cpup()
61 return (__force __u16)*p; in __le16_to_cpup()
79 static inline __be16 __cpu_to_be16p(const __u16 *p) in __cpu_to_be16p()
83 static inline __u16 __be16_to_cpup(const __be16 *p) in __be16_to_cpup()
[all …]
/xen/tools/libfsimage/ext2fs/
A Dfsys_ext2fs.c38 typedef unsigned short __u16; typedef
75 __u16 s_pad;
122 __u16 s_reserved_word_pad;
138 __u16 bg_pad;
151 __u16 i_gid; /* Group Id */
185 __u16 i_pad1;
193 __u16 h_i_mode_high;
194 __u16 h_i_uid_high;
195 __u16 h_i_gid_high;
203 __u16 m_pad1;
[all …]
/xen/stubdom/grub.patches/
A D60ext4.diff6 typedef unsigned short __u16;
38 - __u16 s_pad;
68 + __u16 s_reserved_pad;
81 - __u16 bg_pad;
112 - __u16 i_pad1;
127 __u16 h_i_uid_high;
128 __u16 h_i_gid_high;
135 - __u16 m_pad1;
143 + __u16 i_extra_isize;
144 + __u16 i_pad1;
[all …]
A D40ext3_256byte_inode.diff10 __u16 s_def_resuid; /* Default uid for reserved blocks */
11 __u16 s_def_resgid; /* Default gid for reserved blocks */
27 + __u16 s_inode_size; /* size of inode structure */
28 + __u16 s_block_group_nr; /* block group # of this superblock */
42 + __u16 s_reserved_gdt_blocks;/* Per group table for online growth */
53 + __u16 s_reserved_word_pad;
A D61btrfs.diff81 +typedef unsigned short __u16;
89 +typedef __u16 u16;
108 +#define cpu_to_le16(x) ((__u16) (x))
109 +#define le16_to_cpu(x) ((__u16) (x))
A D99minios851 + __u16 dc_size; /* Disk child's used space. */
/xen/tools/libfsimage/reiserfs/
A Dfsys_reiserfs.c32 typedef unsigned short __u16; typedef
45 #define __cpu_to_le16(x) ((__u16) (x))
46 #define __le16_to_cpu(x) ((__u16) (x))
70 __u16 s_version;
225 __u16 dc_size; /* Disk child's used space. */
237 __u16 sd_mode; /* file type, permissions */
320 __u16 version;
322 __u16 tree_depth;
328 __u16 blocksize;
330 __u16 cached_slots;
[all …]
/xen/xen/include/xen/
A Dtypes.h39 typedef __u16 uint16_t;
48 typedef __u16 __le16;
49 typedef __u16 __be16;
A Dcper.h157 __u16 revision; /* must be CPER_RECORD_REV */
159 __u16 section_count;
179 __u16 revision; /* must be CPER_RECORD_REV */
/xen/xen/include/asm-x86/
A Dtypes.h10 typedef unsigned short __u16; typedef
A Dmsi.h105 __u16 entry_nr; /* specific enabled entry */
/xen/xen/include/asm-arm/
A Dtypes.h11 typedef unsigned short __u16; typedef
/xen/tools/include/xen-sys/Linux/
A Dprivcmd.h85 __u16 num;

Completed in 28 milliseconds