Lines Matching refs:ano
15 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()
78 int ano, len; in hpfs_read_ea() local
95 ano = fnode_in_anode(fnode); in hpfs_read_ea()
101 ano ? "anode" : "sectors", a, len); in hpfs_read_ea()
104 if (hpfs_ea_read(s, a, ano, pos, 4, ex)) return -EIO; in hpfs_read_ea()
105 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 1 + (ea_indirect(ea) ? 8 : 0), ex + 4)) in hpfs_read_ea()
112 if (hpfs_ea_read(s, a, ano, pos + 4 + ea->namelen + 1, ea_valuelen(ea), buf)) in hpfs_read_ea()
134 int ano, len; in hpfs_get_ea() local
152 ano = fnode_in_anode(fnode); in hpfs_get_ea()
159 ano ? "anode" : "sectors", a, len); in hpfs_get_ea()
162 if (hpfs_ea_read(s, a, ano, pos, 4, ex)) return NULL; in hpfs_get_ea()
163 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 1 + (ea_indirect(ea) ? 8 : 0), ex + 4)) in hpfs_get_ea()
172 if (hpfs_ea_read(s, a, ano, pos + 4 + ea->namelen + 1, ea_valuelen(ea), ret)) { in hpfs_get_ea()
196 int ano, len; in hpfs_set_ea() local
213 ano = fnode_in_anode(fnode); in hpfs_set_ea()
220 ano ? "anode" : "sectors", a, len); in hpfs_set_ea()
223 if (hpfs_ea_read(s, a, ano, pos, 4, ex)) return; in hpfs_set_ea()
224 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 1 + (ea_indirect(ea) ? 8 : 0), ex + 4)) in hpfs_set_ea()
233 hpfs_ea_write(s, a, ano, pos + 4 + ea->namelen + 1, size, data); in hpfs_set_ea()