Home
last modified time | relevance | path

Searched refs:u8 (Results 1 – 25 of 198) sorted by relevance

12345678

/fs/hpfs/
Dhpfs.h45 u8 jmp[3];
46 u8 oem_id[8];
47 u8 bytes_per_sector[2]; /* 512 */
48 u8 sectors_per_cluster;
49 u8 n_reserved_sectors[2];
50 u8 n_fats;
51 u8 n_rootdir_entries[2];
52 u8 n_sectors_s[2];
53 u8 media_byte;
59 u8 drive_number;
[all …]
/fs/ocfs2/dlm/
Ddlmcommon.h72 u8 master;
73 u8 new_master;
112 u8 new_master;
113 u8 dead_node;
140 u8 node_num;
142 u8 joining_node;
215 u8 reco_master;
216 u8 dead_node;
222 u8 real_master;
223 u8 extra_ref;
[all …]
Ddlmrecovery.c55 static void dlm_do_local_recovery_cleanup(struct dlm_ctxt *dlm, u8 dead_node);
61 static int dlm_remaster_locks(struct dlm_ctxt *dlm, u8 dead_node);
62 static int dlm_init_recovery_area(struct dlm_ctxt *dlm, u8 dead_node);
64 u8 request_from, u8 dead_node);
65 static void dlm_destroy_recovery_area(struct dlm_ctxt *dlm, u8 dead_node);
71 u8 flags, u8 master);
74 u8 send_to,
82 u8 dead_node, u8 send_to);
83 static int dlm_send_begin_reco_message(struct dlm_ctxt *dlm, u8 dead_node);
85 struct list_head *list, u8 dead_node);
[all …]
/fs/ntfs/
Ddir.c89 u8 *index_end; in ntfs_lookup_inode_by_name()
96 u8 *kaddr; in ntfs_lookup_inode_by_name()
126 ir = (INDEX_ROOT*)((u8*)ctx->attr + in ntfs_lookup_inode_by_name()
128 index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); in ntfs_lookup_inode_by_name()
130 ie = (INDEX_ENTRY*)((u8*)&ir->index + in ntfs_lookup_inode_by_name()
136 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_lookup_inode_by_name()
138 if ((u8*)ie < (u8*)ctx->mrec || (u8*)ie + in ntfs_lookup_inode_by_name()
140 (u8*)ie + le16_to_cpu(ie->key_length) > in ntfs_lookup_inode_by_name()
211 u8 type = ie->key.file_name.file_name_type; in ntfs_lookup_inode_by_name()
212 u8 len = ie->key.file_name.file_name_length; in ntfs_lookup_inode_by_name()
[all …]
Dlayout.h53 u8 sectors_per_cluster; /* Size of a cluster in sectors. */
55 u8 fats; /* zero */
58 u8 media_type; /* 0xf8 = hard disk */
70 u8 jump[3]; /* Irrelevant (jump to boot up code).*/
73 u8 unused[4]; /* zero, NTFS diskedit.exe states that
89 u8 reserved0[3]; /* zero */
91 u8 reserved1[3]; /* zero */
94 /*0x54*/u8 bootstrap[426]; /* Irrelevant (boot up code). */
692 typedef u8 RESIDENT_ATTR_FLAGS;
703 /* 8*/ u8 non_resident; /* If 0, attribute is resident.
[all …]
Dindex.c131 u8 *index_end, *kaddr; in ntfs_index_lookup()
175 ir = (INDEX_ROOT*)((u8*)actx->attr + in ntfs_index_lookup()
177 index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); in ntfs_index_lookup()
179 ie = (INDEX_ENTRY*)((u8*)&ir->index + in ntfs_index_lookup()
185 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_index_lookup()
187 if ((u8*)ie < (u8*)actx->mrec || (u8*)ie + in ntfs_index_lookup()
189 (u8*)ie + le16_to_cpu(ie->length) > index_end) in ntfs_index_lookup()
217 ictx->data = (u8*)ie + in ntfs_index_lookup()
262 vcn = sle64_to_cpup((sle64*)((u8*)ie + le16_to_cpu(ie->length) - 8)); in ntfs_index_lookup()
287 kaddr = (u8*)page_address(page); in ntfs_index_lookup()
[all …]
Dattrib.c136 !memcmp((u8*)a + le16_to_cpu(a->name_offset), in ntfs_map_runlist_nolock()
258 (u8*)ctx->mrec + in ntfs_map_runlist_nolock()
259 ((u8*)old_ctx.attr - in ntfs_map_runlist_nolock()
260 (u8*)old_ctx.mrec)); in ntfs_map_runlist_nolock()
591 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) in ntfs_attr_find()
606 a = (ATTR_RECORD*)((u8*)ctx->attr + in ntfs_attr_find()
608 for (;; a = (ATTR_RECORD*)((u8*)a + le32_to_cpu(a->length))) { in ntfs_attr_find()
609 if ((u8*)a < (u8*)ctx->mrec || (u8*)a > (u8*)ctx->mrec + in ntfs_attr_find()
629 (ntfschar*)((u8*)a + le16_to_cpu(a->name_offset)), in ntfs_attr_find()
634 (ntfschar*)((u8*)a + in ntfs_attr_find()
[all …]
Dvolume.h55 u8 mft_zone_multiplier; /* Initial mft zone multiplier. */
56 u8 on_errors; /* What to do on filesystem errors. */
59 u8 sector_size_bits; /* log2(sector_size) */
62 u8 cluster_size_bits; /* log2(cluster_size) */
65 u8 mft_record_size_bits; /* log2(mft_record_size) */
68 u8 index_record_size_bits; /* log2(index_record_size) */
114 u8 major_ver; /* Ntfs major version of volume. */
115 u8 minor_ver; /* Ntfs minor version of volume. */
Dcompress.c61 static u8 *ntfs_compression_buffer;
103 u8 *kp = page_address(page); in zero_partial_compressed_page()
167 const int xpage, char *xpage_done, u8 *const cb_start, in ntfs_decompress()
175 u8 *cb_end = cb_start + cb_size; /* End of cb. */ in ntfs_decompress()
176 u8 *cb = cb_start; /* Current position in cb. */ in ntfs_decompress()
177 u8 *cb_sb_start = cb; /* Beginning of the current sb in the cb. */ in ntfs_decompress()
178 u8 *cb_sb_end; /* End of current sb / beginning of next sb. */ in ntfs_decompress()
182 u8 *dp_addr; /* Current pointer into dp. */ in ntfs_decompress()
183 u8 *dp_sb_start; /* Start of current sub-block in dp. */ in ntfs_decompress()
184 u8 *dp_sb_end; /* End of current sb in dp (dp_sb_start + in ntfs_decompress()
[all …]
Dbitmap.c48 const s64 count, const u8 value, const bool is_rollback) in __ntfs_bitmap_set_bits_in_run()
54 u8 *kaddr; in __ntfs_bitmap_set_bits_in_run()
56 u8 bit; in __ntfs_bitmap_set_bits_in_run()
92 u8 *byte = kaddr + pos; in __ntfs_bitmap_set_bits_in_run()
145 u8 *byte; in __ntfs_bitmap_set_bits_in_run()
/fs/hfs/
Dhfs.h88 u8 len;
89 u8 name[HFS_NAMELEN];
114 u8 fdUnused[8];
150 u8 key_len; /* number of bytes in the key */
151 u8 reserved; /* padding */
158 u8 key_len; /* number of bytes in the key */
159 u8 FkType; /* HFS_FK_{DATA,RSRC} */
165 u8 key_len; /* number of bytes in the key */
170 #define HFS_MAX_CAT_KEYLEN (sizeof(struct hfs_cat_key) - sizeof(u8))
171 #define HFS_MAX_EXT_KEYLEN (sizeof(struct hfs_ext_key) - sizeof(u8))
[all …]
Dbtree.h54 u8 type;
55 u8 height;
90 extern u8 hfs_bnode_read_u8(struct hfs_bnode *, int);
94 extern void hfs_bnode_write_u8(struct hfs_bnode *, int, u8);
127 u8 type; /* (F) The type of node */
128 u8 height; /* (F) The level of this node (leaves=1) */
150 u8 btree_type; /* (F) BTree type */
151 u8 reserved2;
/fs/crypto/
Dfscrypt_private.h42 u8 format;
43 u8 contents_encryption_mode;
44 u8 filenames_encryption_mode;
45 u8 flags;
46 u8 master_key_descriptor[FS_KEY_DESCRIPTOR_SIZE];
47 u8 nonce[FS_KEY_DERIVATION_NONCE_SIZE];
66 u8 ci_data_mode;
67 u8 ci_filename_mode;
68 u8 ci_flags;
71 u8 ci_master_key[FS_KEY_DESCRIPTOR_SIZE];
[all …]
/fs/jfs/
Djfs_txnmgr.h163 u8 offset; /* 1: */
164 u8 length; /* 1: */
177 u8 type; /* 1: */
178 u8 l2linesize; /* 1: log2 of linesize */
193 u8 type; /* 1: */
194 u8 l2linesize; /* 1: log2 of linesize */
220 u8 maxcnt; /* 2: */
221 u8 index; /* 2: next free maplock index */
224 u8 type; /* 1: */
225 u8 count; /* 1: number of pxd/xad */
[all …]
Djfs_dtree.h69 u8 namlen; /* 1: */
88 u8 namlen; /* 1: */
112 u8 rsrvd; /* 1: */
113 u8 flag; /* 1: 0 if free */
114 u8 slot; /* 1: slot within leaf page of entry */
115 u8 addr1; /* 1: upper 8 bits of leaf page address */
149 u8 flag; /* 1: */
150 u8 nextindex; /* 1: next free entry in stbl */
198 u8 flag; /* 1: */
199 u8 nextindex; /* 1: next entry index in stbl */
[all …]
Djfs_types.h145 u8 thresh; /* Alert Threshold (in percent) */
146 u8 delta; /* Alert Threshold delta (in percent) */
147 u8 rsrvd1;
148 u8 limit_hi; /* DASD limit (in logical blocks) */
150 u8 rsrvd2[3];
151 u8 used_hi; /* DASD usage (in logical blocks) */
/fs/btrfs/
Duuid-tree.c26 static void btrfs_uuid_to_key(u8 *uuid, u8 type, struct btrfs_key *key) in btrfs_uuid_to_key()
34 static int btrfs_uuid_tree_lookup(struct btrfs_root *uuid_root, u8 *uuid, in btrfs_uuid_tree_lookup()
35 u8 type, u64 subid) in btrfs_uuid_tree_lookup()
95 struct btrfs_root *uuid_root, u8 *uuid, u8 type, in btrfs_uuid_tree_add()
159 struct btrfs_root *uuid_root, u8 *uuid, u8 type, in btrfs_uuid_tree_rem()
240 static int btrfs_uuid_iter_rem(struct btrfs_root *uuid_root, u8 *uuid, u8 type, in btrfs_uuid_iter_rem()
261 int (*check_func)(struct btrfs_fs_info *, u8 *, u8, in btrfs_uuid_tree_iterate() argument
310 u8 uuid[BTRFS_UUID_SIZE]; in btrfs_uuid_tree_iterate()
/fs/ocfs2/cluster/
Dquorum.h29 void o2quo_hb_up(u8 node);
30 void o2quo_hb_down(u8 node);
31 void o2quo_hb_still_up(u8 node);
32 void o2quo_conn_up(u8 node);
33 void o2quo_conn_err(u8 node);
Dheartbeat.h82 int o2hb_check_node_heartbeating(u8 node_num);
83 int o2hb_check_node_heartbeating_no_sem(u8 node_num);
84 int o2hb_check_node_heartbeating_from_callback(u8 node_num);
87 int o2hb_get_all_regions(char *region_uuids, u8 numregions);
Dquorum.c177 static void o2quo_set_hold(struct o2quo_state *qs, u8 node) in o2quo_set_hold()
189 static void o2quo_clear_hold(struct o2quo_state *qs, u8 node) in o2quo_clear_hold()
210 void o2quo_hb_up(u8 node) in o2quo_hb_up()
234 void o2quo_hb_down(u8 node) in o2quo_hb_down()
259 void o2quo_hb_still_up(u8 node) in o2quo_hb_still_up()
278 void o2quo_conn_up(u8 node) in o2quo_conn_up()
304 void o2quo_conn_err(u8 node) in o2quo_conn_err()
/fs/hfsplus/
Dhfsplus_raw.h77 u8 rootflags;
78 u8 userflags;
154 u8 height;
178 u8 btree_type;
179 u8 key_type;
279 u8 fdUnused[8];
340 u8 fork_type;
341 u8 pad;
386 u8 reserved2[6];
388 u8 raw_bytes[HFSPLUS_MAX_INLINE_DATA_SIZE];
Dpart_tbl.c45 u8 pmPartName[32]; /* (null terminated?) string
48 u8 pmPartType[32]; /* (null terminated?) string
111 pm = (struct new_pmap *)((u8 *)pm + HFSPLUS_SECTOR_SIZE); in hfs_parse_new_pmap()
112 if ((u8 *)pm - (u8 *)buf >= buf_size) { in hfs_parse_new_pmap()
/fs/nls/
Dnls_base.c55 int utf8_to_utf32(const u8 *s, int inlen, unicode_t *pu) in utf8_to_utf32()
86 int utf32_to_utf8(unicode_t u, u8 *s, int maxout) in utf32_to_utf8()
104 *s = (u8) (t->cval | (l >> c)); in utf32_to_utf8()
108 *s = (u8) (0x80 | ((l >> c) & 0x3F)); in utf32_to_utf8()
132 int utf8s_to_utf16s(const u8 *s, int inlen, enum utf16_endian endian, in utf8s_to_utf16s()
187 u8 *s, int maxout) in utf16s_to_utf8s()
189 u8 *op; in utf16s_to_utf8s()
227 *op++ = (u8) u; in utf16s_to_utf8s()
/fs/gfs2/
Dtrace_gfs2.h64 static inline u8 glock_trace_state(unsigned int state) in glock_trace_state()
99 __field( u8, cur_state )
100 __field( u8, new_state )
101 __field( u8, dmt_state )
102 __field( u8, tgt_state )
138 __field( u8, cur_state )
170 __field( u8, cur_state )
171 __field( u8, dmt_state )
208 __field( u8, state )
238 __field( u8, state )
[all …]
/fs/logfs/
Dlogfs.h94 typedef u8 __bitwise level_t;
95 typedef u8 __bitwise gc_level_t;
101 (__force level_t)((__force u8)(level) - 1) )
194 u8 dist;
366 u8 s_ifile_levels; /* max level of ifile */
367 u8 s_iblock_levels; /* max level of regular files */
368 u8 s_data_levels; /* # of segments to leaf block*/
369 u8 s_total_levels; /* sum of above three */
459 u8 li_height;
657 static inline u8 logfs_type(struct inode *inode) in logfs_type()
[all …]

12345678