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

/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/hfs/
H A Dbitops.c20 hfs_u32 hfs_find_zero_bit(const hfs_u32 *start, hfs_u32 size, hfs_u32 offset)
22 const hfs_u32 *end = start + ((size + 31) >> 5);
23 const hfs_u32 *curr = start + (offset >> 5);
27 /* scan the first partial hfs_u32 for zero bits */
41 if (*curr == ~((hfs_u32)0)) {
70 hfs_u32 hfs_count_zero_bits(const hfs_u32 *star
[all...]
H A Dhfs.h229 hfs_u32 file_count; /* The number of
232 hfs_u32 dir_count; /* The number of
235 hfs_u32 next_id; /* The next available
237 hfs_u32 clumpablks; /* The number of allocation
240 hfs_u32 write_count; /* The number of MDB
243 hfs_u32 fs_start; /* The first 512-byte
246 hfs_u32 create_date; /* In network byte-order */
247 hfs_u32 modify_date; /* In network byte-order */
248 hfs_u32 backup_date; /* In network byte-order */
263 hfs_u32 alloc_blks
[all...]
H A Dhfs_btree.h140 hfs_u32 node; /* Node number */
156 hfs_u32 ndFLink;
157 hfs_u32 ndBLink;
192 hfs_u32 bthRoot;
193 hfs_u32 bthNRecs;
194 hfs_u32 bthFNode;
195 hfs_u32 bthLNode;
196 hfs_u32 bthNNodes;
197 hfs_u32 bthFree;
253 extern int hfs_bnode_bitop(struct hfs_btree *, hfs_u32, in
[all...]
H A Dbitmap.c166 hfs_u16 u32_nr; /* index of the current hfs_u32 in block */
167 hfs_u16 bit_nr; /* index of the current bit in hfs_u32 */
169 hfs_u32 *bitmap; /* the current bitmap block's contents */
191 bitmap = (hfs_u32 *)hfs_buffer_data(mdb->bitmap[block_nr]);
193 /* do any partial hfs_u32 at the start */
211 bitmap = (hfs_u32 *)
218 if (bitmap[u32_nr] != ((hfs_u32)0)) {
222 bitmap[u32_nr] = ~((hfs_u32)0);
231 bitmap = (hfs_u32 *)
237 /* do any partial hfs_u32 a
[all...]
H A Dballoc.c12 static hfs_buffer get_new_node(struct hfs_btree *tree, hfs_u32 node)
31 * hfs_u32 node: the node number to allocate
49 hfs_u32 node)
101 * hfs_u32: the node to use as a mapnode.
117 static struct hfs_bnode *init_mapnode(struct hfs_bnode *bn, hfs_u32 node)
175 * hfs_u32 bitnr: The node number to free
192 int hfs_bnode_bitop(struct hfs_btree *tree, hfs_u32 bitnr, int set)
197 hfs_u32 *u32; /* address of the u32 containing the bit */
223 u32 = (hfs_u32 *)hfs_buffer_data(bn->buf) + (bitnr >> 5);
266 hfs_u32 bitn
[all...]
H A Dfile_hdr.c147 hfs_u32 length = descr->length;
287 const struct inode *inode, hfs_u32 dates[3])
298 const hfs_u32 *dates)
300 hfs_u32 tmp;
383 length = sizeof(hfs_u32) + sizeof(hfs_u32) + 16 +
384 sizeof(hfs_u16) + layout->entries * (3 * sizeof(hfs_u32));
462 get_dates(entry, inode, (hfs_u32 *)tmp);
626 length = sizeof(hfs_u32) + sizeof(hfs_u32)
[all...]
H A Dbrec.c27 return ((HFS_SECTOR_SIZE - sizeof(hfs_u32)) <
81 hfs_u32 node;
H A Dbdelete.c81 hfs_u32 node;
159 * hfs_u32 left_node: node number of 'left' or zero if 'left' is invalid
163 * hfs_u32 right_node: node number of 'right' or zero if 'right' is invalid
190 static void delete_empty_bnode(hfs_u32 left_node, struct hfs_bnode_ref *left,
192 hfs_u32 right_node, struct hfs_bnode_ref *right)
288 hfs_u32 left_node, right_node;
H A Dcatalog.c96 static inline hfs_u32 brec_to_id(struct hfs_brec *brec)
331 hfs_u32 cnid;
589 static inline hfs_u32 new_cnid(struct hfs_mdb *mdb)
670 hfs_u32 cnid, struct hfs_cat_entry **result)
712 sizeof(hfs_u32) + sizeof(struct hfs_name));
1008 void hfs_cat_build_key(hfs_u32 parent, const struct hfs_name *cname,
1064 hfs_u16 count, hfs_u32 *cnid, hfs_u8 *type)
1133 sizeof(hfs_u32) + sizeof(struct hfs_name));
1152 hfs_u8 flags, hfs_u32 type, hfs_u32 creato
[all...]
H A Dfile.c276 hfs_s32 hfs_do_read(struct inode *inode, struct hfs_fork * fork, hfs_u32 pos,
277 char * buf, hfs_u32 count, int reada)
431 hfs_s32 hfs_do_write(struct inode *inode, struct hfs_fork * fork, hfs_u32 pos,
432 const char * buf, hfs_u32 count)
H A Dbnode.c65 * hfs_u32 node: the number of the desired node.
96 hfs_u32 node, int sticky)
415 hfs_u32 node, int lock_type)
H A Dbtree.c116 * hfs_u32 tsize: the size, in bytes, of the B-tree
117 * hfs_u32 csize: the size, in bytes, of the clump size for the B-tree
139 hfs_u32 tsize, hfs_u32 csize)
H A Ddir_cap.c159 hfs_u32 cnid;
175 hfs_u32 cnid;
H A Dfile_cap.c108 hfs_u32 pos;
174 hfs_u32 pos;
H A Dbinsert.c141 sizeof(hfs_u32), RECTBL(root, 2));
149 2*sizeof(hfs_u32), RECTBL(root, 3));
323 hfs_u32 node;
H A Dbfind.c273 hfs_u32 node;
H A Dbins_del.c195 * hfs_u32 node: the number of the node to check for.
206 int hfs_bnode_in_brec(hfs_u32 node, const struct hfs_brec *brec)
H A Dextent.c344 * hfs_u32 ablksz: number of sectors in an allocation block.
461 hfs_u32 ablksz = mdb->alloc_blksz;
520 hfs_u32 ablksz = mdb->alloc_blksz;
521 hfs_u32 blocks, clumpablks;
671 hfs_u32 blks, ablocks, ablksz;
H A Dpart_tbl.c75 hfs_u32 pmap_entries = hfs_get_hl(pm->pmMapBlkCnt);
H A Ddir_nat.c181 hfs_u32 cnid;
197 hfs_u32 cnid;
H A Ddir_dbl.c164 hfs_u32 cnid;
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dhfs_sysdep.h22 typedef __u32 hfs_u32; typedef
64 static inline hfs_u32 hfs_from_utc(hfs_s32 time)
69 static inline hfs_s32 hfs_to_utc(hfs_u32 time)
74 static inline hfs_u32 hfs_time(void) {
188 static inline int hfs_clear_bit(int bitnr, hfs_u32 *lword) {
192 static inline int hfs_set_bit(int bitnr, hfs_u32 *lword) {
196 static inline int hfs_test_bit(int bitnr, const hfs_u32 *lword) {
220 #define hfs_get_hl(addr) ntohl(get_unaligned((hfs_u32 *)(addr)))
221 #define hfs_get_nl(addr) get_unaligned((hfs_u32 *)(addr))
222 #define hfs_get_ahl(addr) ntohl(*((hfs_u32 *)(add
[all...]
H A Dhfs_fs.h125 hfs_u32 id; /* The Apple assigned ID for the entry type */
126 hfs_u32 offset; /* The offset to reach the entry */
127 hfs_u32 length; /* The length of the entry */
134 hfs_u32 magic; /* AppleSingle or AppleDouble */
135 hfs_u32 version; /* 0x00010000 or 0x00020000 */
167 hfs_u32 create_time; /* \ */
168 hfs_u32 modify_time; /* | id=8 (or 7) */
169 hfs_u32 backup_time; /* | */
170 hfs_u32 access_time; /* / (attributes with id=7) */
172 hfs_u32 fileinf
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dhfs_sysdep.h22 typedef __u32 hfs_u32; typedef
64 static inline hfs_u32 hfs_from_utc(hfs_s32 time)
69 static inline hfs_s32 hfs_to_utc(hfs_u32 time)
74 static inline hfs_u32 hfs_time(void) {
188 static inline int hfs_clear_bit(int bitnr, hfs_u32 *lword) {
192 static inline int hfs_set_bit(int bitnr, hfs_u32 *lword) {
196 static inline int hfs_test_bit(int bitnr, const hfs_u32 *lword) {
220 #define hfs_get_hl(addr) ntohl(get_unaligned((hfs_u32 *)(addr)))
221 #define hfs_get_nl(addr) get_unaligned((hfs_u32 *)(addr))
222 #define hfs_get_ahl(addr) ntohl(*((hfs_u32 *)(add
[all...]
H A Dhfs_fs.h125 hfs_u32 id; /* The Apple assigned ID for the entry type */
126 hfs_u32 offset; /* The offset to reach the entry */
127 hfs_u32 length; /* The length of the entry */
134 hfs_u32 magic; /* AppleSingle or AppleDouble */
135 hfs_u32 version; /* 0x00010000 or 0x00020000 */
167 hfs_u32 create_time; /* \ */
168 hfs_u32 modify_time; /* | id=8 (or 7) */
169 hfs_u32 backup_time; /* | */
170 hfs_u32 access_time; /* / (attributes with id=7) */
172 hfs_u32 fileinf
[all...]

Completed in 136 milliseconds