Home
last modified time | relevance | path

Searched refs:anode (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/fs/hpfs/
Danode.c18 struct anode *anode; in hpfs_bplus_lookup() local
28 if (!(anode = hpfs_map_anode(s, a, &bh))) return -1; in hpfs_bplus_lookup()
29 btree = &anode->btree; in hpfs_bplus_lookup()
63 struct anode *anode = NULL, *ranode = NULL; in hpfs_add_sector_to_btree() local
75 if (!(anode = hpfs_map_anode(s, node, &bh))) return -1; in hpfs_add_sector_to_btree()
76 btree = &anode->btree; in hpfs_add_sector_to_btree()
92 if (!(anode = hpfs_map_anode(s, a, &bh))) return -1; in hpfs_add_sector_to_btree()
93 btree = &anode->btree; in hpfs_add_sector_to_btree()
124 up = a != node ? le32_to_cpu(anode->up) : -1; in hpfs_add_sector_to_btree()
125 if (!(anode = hpfs_alloc_anode(s, a, &na, &bh1))) { in hpfs_add_sector_to_btree()
[all …]
Dmap.c175 struct anode *hpfs_map_anode(struct super_block *s, anode_secno ano, struct buffer_head **bhp) in hpfs_map_anode()
177 struct anode *anode; in hpfs_map_anode() local
179 if ((anode = hpfs_map_sector(s, ano, bhp, ANODE_RD_AHEAD))) in hpfs_map_anode()
181 if (le32_to_cpu(anode->magic) != ANODE_MAGIC) { in hpfs_map_anode()
185 if (le32_to_cpu(anode->self) != ano) { in hpfs_map_anode()
189 if ((unsigned)anode->btree.n_used_nodes + (unsigned)anode->btree.n_free_nodes != in hpfs_map_anode()
190 (anode->btree.internal ? 60 : 40)) { in hpfs_map_anode()
194 if (le16_to_cpu(anode->btree.first_free) != in hpfs_map_anode()
195 8 + anode->btree.n_used_nodes * (anode->btree.internal ? 8 : 12)) { in hpfs_map_anode()
200 return anode; in hpfs_map_anode()
Dea.c34 hpfs_ea_remove(s, ea_sec(ea), ea->anode, ea_len(ea)); in hpfs_ea_ext_remove()
41 struct anode *anode; in hpfs_ea_ext_remove() local
42 if ((anode = hpfs_map_anode(s, a, &bh))) { in hpfs_ea_ext_remove()
43 hpfs_remove_btree(s, &anode->btree); in hpfs_ea_ext_remove()
122 if (hpfs_ea_read(s, ea_sec(ea), ea->anode, 0, ea_len(ea), buf)) in hpfs_read_ea()
140 return get_indirect_ea(s, ea->anode, ea_sec(ea), *size = ea_len(ea)); in hpfs_get_ea()
166 return get_indirect_ea(s, ea->anode, ea_sec(ea), *size = ea_len(ea)); in hpfs_get_ea()
204 set_indirect_ea(s, ea->anode, ea_sec(ea), data, size); in hpfs_set_ea()
228 set_indirect_ea(s, ea->anode, ea_sec(ea), data, size); in hpfs_set_ea()
DMakefile7 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
Dhpfs.h500 struct anode struct
536 u8 anode: 1; /* 1 -> sector is an anode member
543 u8 anode: 1; /* 1 -> sector is an anode
Dhpfs_fn.h202 struct anode *hpfs_alloc_anode(struct super_block *, secno, anode_secno *, struct buffer_head **);
283 struct anode *hpfs_map_anode(struct super_block *s, anode_secno, struct buffer_head **);
Dalloc.c408 struct anode *hpfs_alloc_anode(struct super_block *s, secno near, anode_secno *ano, in hpfs_alloc_anode()
411 struct anode *a; in hpfs_alloc_anode()
/linux-2.6.39/Documentation/filesystems/
Dhpfs.txt250 Fixed a bug that it set badly one flag in large anode tree (it was not
284 Fixed crash when allocation of anode failed due to full disk