Home
last modified time | relevance | path

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

/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 ? 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 (anode->magic != ANODE_MAGIC || anode->self != ano) { in hpfs_map_anode()
185 if ((unsigned)anode->btree.n_used_nodes + (unsigned)anode->btree.n_free_nodes != in hpfs_map_anode()
186 (anode->btree.internal ? 60 : 40)) { in hpfs_map_anode()
190 if (anode->btree.first_free != in hpfs_map_anode()
191 8 + anode->btree.n_used_nodes * (anode->btree.internal ? 8 : 12)) { in hpfs_map_anode()
196 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()
203 set_indirect_ea(s, ea->anode, ea_sec(ea), data, size); in hpfs_set_ea()
227 set_indirect_ea(s, ea->anode, ea_sec(ea), data, size); in hpfs_set_ea()
Dhpfs.h431 struct anode struct
466 unsigned anode: 1; /* 1 -> sector is an anode member
DMakefile7 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
Dhpfs_fn.h211 struct anode *hpfs_alloc_anode(struct super_block *, secno, anode_secno *, struct buffer_head **);
289 struct anode *hpfs_map_anode(struct super_block *s, anode_secno, struct buffer_head **);
Dalloc.c440 struct anode *hpfs_alloc_anode(struct super_block *s, secno near, anode_secno *ano, in hpfs_alloc_anode()
443 struct anode *a; in hpfs_alloc_anode()