Home
last modified time | relevance | path

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

/linux-6.1.9/fs/hpfs/
Dea.c15 void hpfs_ea_ext_remove(struct super_block *s, secno a, int ano, unsigned len) in hpfs_ea_ext_remove() argument
23 ano ? "anode" : "sectors", a, len); in hpfs_ea_ext_remove()
26 if (hpfs_ea_read(s, a, ano, pos, 4, ex)) return; in hpfs_ea_ext_remove()
30 ano ? "anode" : "sectors", a, pos); in hpfs_ea_ext_remove()
33 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 9, ex+4)) in hpfs_ea_ext_remove()
39 if (!ano) hpfs_free_sectors(s, a, (len+511) >> 9); in hpfs_ea_ext_remove()
51 static char *get_indirect_ea(struct super_block *s, int ano, secno a, int size) in get_indirect_ea() argument
58 if (hpfs_ea_read(s, a, ano, 0, size, ret)) { in get_indirect_ea()
66 static void set_indirect_ea(struct super_block *s, int ano, secno a, in set_indirect_ea() argument
69 hpfs_ea_write(s, a, ano, 0, size, data); in set_indirect_ea()
[all …]
Danode.c278 anode_secno ano = 0, oano; in hpfs_remove_btree() local
288 ano = le32_to_cpu(btree1->u.internal[pos].down); in hpfs_remove_btree()
291 if (hpfs_stop_cycles(s, ano, &d1, &d2, "hpfs_remove_btree #1")) in hpfs_remove_btree()
293 if (!(anode = hpfs_map_anode(s, ano, &bh))) return; in hpfs_remove_btree()
304 if (hpfs_stop_cycles(s, ano, &c1, &c2, "hpfs_remove_btree #2")) return; in hpfs_remove_btree()
305 hpfs_free_sectors(s, ano, 1); in hpfs_remove_btree()
306 oano = ano; in hpfs_remove_btree()
307 ano = le32_to_cpu(anode->up); in hpfs_remove_btree()
309 if (!(anode = hpfs_map_anode(s, ano, &bh))) return; in hpfs_remove_btree()
323 oano, level ? ano : -1); in hpfs_remove_btree()
[all …]
Dmap.c221 struct anode *hpfs_map_anode(struct super_block *s, anode_secno ano, struct buffer_head **bhp) in hpfs_map_anode() argument
224 if (hpfs_sb(s)->sb_chk) if (hpfs_chk_sectors(s, ano, 1, "anode")) return NULL; in hpfs_map_anode()
225 if ((anode = hpfs_map_sector(s, ano, bhp, ANODE_RD_AHEAD))) in hpfs_map_anode()
228 hpfs_error(s, "bad magic on anode %08x", ano); in hpfs_map_anode()
231 if (le32_to_cpu(anode->self) != ano) { in hpfs_map_anode()
232 hpfs_error(s, "self pointer invalid on anode %08x", ano); in hpfs_map_anode()
237 hpfs_error(s, "bad number of nodes in anode %08x", ano); in hpfs_map_anode()
242 hpfs_error(s, "bad first_free pointer in anode %08x", ano); in hpfs_map_anode()
Dalloc.c471 struct anode *hpfs_alloc_anode(struct super_block *s, secno near, anode_secno *ano, in hpfs_alloc_anode() argument
475 if (!(*ano = hpfs_alloc_sector(s, near, 1, ANODE_ALLOC_FWD))) return NULL; in hpfs_alloc_anode()
476 if (!(a = hpfs_get_sector(s, *ano, bh))) { in hpfs_alloc_anode()
477 hpfs_free_sectors(s, *ano, 1); in hpfs_alloc_anode()
482 a->self = cpu_to_le32(*ano); in hpfs_alloc_anode()