Home
last modified time | relevance | path

Searched refs:ano (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/fs/hpfs/
Dea.c14 void hpfs_ea_ext_remove(struct super_block *s, secno a, int ano, unsigned len) in hpfs_ea_ext_remove() argument
22 ano ? "anode" : "sectors", a, len); in hpfs_ea_ext_remove()
25 if (hpfs_ea_read(s, a, ano, pos, 4, ex)) return; in hpfs_ea_ext_remove()
29 ano ? "anode" : "sectors", a, pos); in hpfs_ea_ext_remove()
32 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 9, ex+4)) in hpfs_ea_ext_remove()
38 if (!ano) hpfs_free_sectors(s, a, (len+511) >> 9); in hpfs_ea_ext_remove()
50 static char *get_indirect_ea(struct super_block *s, int ano, secno a, int size) in get_indirect_ea() argument
57 if (hpfs_ea_read(s, a, ano, 0, size, ret)) { in get_indirect_ea()
65 static void set_indirect_ea(struct super_block *s, int ano, secno a, in set_indirect_ea() argument
68 hpfs_ea_write(s, a, ano, 0, size, data); in set_indirect_ea()
[all …]
Dmap.c175 struct anode *hpfs_map_anode(struct super_block *s, anode_secno ano, struct buffer_head **bhp) in hpfs_map_anode() argument
178 if (hpfs_sb(s)->sb_chk) if (hpfs_chk_sectors(s, ano, 1, "anode")) return NULL; in hpfs_map_anode()
179 if ((anode = hpfs_map_sector(s, ano, bhp, ANODE_RD_AHEAD))) in hpfs_map_anode()
182 hpfs_error(s, "bad magic on anode %08x", ano); in hpfs_map_anode()
185 if (le32_to_cpu(anode->self) != ano) { in hpfs_map_anode()
186 hpfs_error(s, "self pointer invalid on anode %08x", ano); in hpfs_map_anode()
191 hpfs_error(s, "bad number of nodes in anode %08x", ano); in hpfs_map_anode()
196 hpfs_error(s, "bad first_free pointer in anode %08x", ano); in hpfs_map_anode()
Danode.c272 anode_secno ano = 0, oano; in hpfs_remove_btree() local
282 ano = le32_to_cpu(btree1->u.internal[pos].down); in hpfs_remove_btree()
285 if (hpfs_stop_cycles(s, ano, &d1, &d2, "hpfs_remove_btree #1")) in hpfs_remove_btree()
287 if (!(anode = hpfs_map_anode(s, ano, &bh))) return; in hpfs_remove_btree()
298 if (hpfs_stop_cycles(s, ano, &c1, &c2, "hpfs_remove_btree #2")) return; in hpfs_remove_btree()
299 hpfs_free_sectors(s, ano, 1); in hpfs_remove_btree()
300 oano = ano; in hpfs_remove_btree()
301 ano = le32_to_cpu(anode->up); in hpfs_remove_btree()
303 if (!(anode = hpfs_map_anode(s, ano, &bh))) return; in hpfs_remove_btree()
317 oano, level ? ano : -1); in hpfs_remove_btree()
[all …]
Dalloc.c408 struct anode *hpfs_alloc_anode(struct super_block *s, secno near, anode_secno *ano, in hpfs_alloc_anode() argument
412 if (!(*ano = hpfs_alloc_sector(s, near, 1, ANODE_ALLOC_FWD))) return NULL; in hpfs_alloc_anode()
413 if (!(a = hpfs_get_sector(s, *ano, bh))) { in hpfs_alloc_anode()
414 hpfs_free_sectors(s, *ano, 1); in hpfs_alloc_anode()
419 a->self = cpu_to_le32(*ano); in hpfs_alloc_anode()