Home
last modified time | relevance | path

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

/fs/hpfs/
Danode.c19 struct anode *anode; in hpfs_bplus_lookup() local
29 if (!(anode = hpfs_map_anode(s, a, &bh))) return -1; in hpfs_bplus_lookup()
30 btree = &anode->btree; in hpfs_bplus_lookup()
64 struct anode *anode = NULL, *ranode = NULL; in hpfs_add_sector_to_btree() local
76 if (!(anode = hpfs_map_anode(s, node, &bh))) return -1; in hpfs_add_sector_to_btree()
77 btree = &anode->btree; in hpfs_add_sector_to_btree()
93 if (!(anode = hpfs_map_anode(s, a, &bh))) return -1; in hpfs_add_sector_to_btree()
94 btree = &anode->btree; in hpfs_add_sector_to_btree()
125 up = a != node ? le32_to_cpu(anode->up) : -1; in hpfs_add_sector_to_btree()
126 if (!(anode = hpfs_alloc_anode(s, a, &na, &bh1))) { in hpfs_add_sector_to_btree()
[all …]
Dmap.c221 struct anode *hpfs_map_anode(struct super_block *s, anode_secno ano, struct buffer_head **bhp) in hpfs_map_anode()
223 struct anode *anode; in hpfs_map_anode() local
225 if ((anode = hpfs_map_sector(s, ano, bhp, ANODE_RD_AHEAD))) in hpfs_map_anode()
227 if (le32_to_cpu(anode->magic) != ANODE_MAGIC) { in hpfs_map_anode()
231 if (le32_to_cpu(anode->self) != ano) { in hpfs_map_anode()
235 if ((unsigned)anode->btree.n_used_nodes + (unsigned)anode->btree.n_free_nodes != in hpfs_map_anode()
236 (bp_internal(&anode->btree) ? 60 : 40)) { in hpfs_map_anode()
240 if (le16_to_cpu(anode->btree.first_free) != in hpfs_map_anode()
241 8 + anode->btree.n_used_nodes * (bp_internal(&anode->btree) ? 8 : 12)) { in hpfs_map_anode()
246 return anode; in hpfs_map_anode()
Dea.c42 struct anode *anode; in hpfs_ea_ext_remove() local
43 if ((anode = hpfs_map_anode(s, a, &bh))) { in hpfs_ea_ext_remove()
44 hpfs_remove_btree(s, &anode->btree); in hpfs_ea_ext_remove()
DMakefile8 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
Dhpfs_fn.h208 struct anode *hpfs_alloc_anode(struct super_block *, secno, anode_secno *, struct buffer_head **);
296 struct anode *hpfs_map_anode(struct super_block *s, anode_secno, struct buffer_head **);
Dalloc.c471 struct anode *hpfs_alloc_anode(struct super_block *s, secno near, anode_secno *ano, in hpfs_alloc_anode()
474 struct anode *a; in hpfs_alloc_anode()
Dhpfs.h491 struct anode struct