fnode 423 fs/hpfs/alloc.c struct fnode *hpfs_alloc_fnode(struct super_block *s, secno near, fnode_secno *fno, fnode 426 fs/hpfs/alloc.c struct fnode *f; fnode 64 fs/hpfs/anode.c struct fnode *fnode; fnode 72 fs/hpfs/anode.c if (!(fnode = hpfs_map_fnode(s, node, &bh))) return -1; fnode 73 fs/hpfs/anode.c btree = &fnode->btree; fnode 172 fs/hpfs/anode.c if (!(fnode = hpfs_map_fnode(s, up, &bh))) return -1; fnode 173 fs/hpfs/anode.c btree = &fnode->btree; fnode 229 fs/hpfs/anode.c if (!(fnode = hpfs_map_fnode(s, node, &bh))) { fnode 233 fs/hpfs/anode.c btree = &fnode->btree; fnode 395 fs/hpfs/anode.c struct fnode *fnode; fnode 403 fs/hpfs/anode.c if (!(fnode = hpfs_map_fnode(s, f, &bh))) return; fnode 404 fs/hpfs/anode.c btree = &fnode->btree; fnode 478 fs/hpfs/anode.c struct fnode *fnode; fnode 481 fs/hpfs/anode.c if (!(fnode = hpfs_map_fnode(s, fno, &bh))) return; fnode 482 fs/hpfs/anode.c if (!fnode->dirflag) hpfs_remove_btree(s, &fnode->btree); fnode 483 fs/hpfs/anode.c else hpfs_remove_dtree(s, fnode->u.external[0].disk_secno); fnode 484 fs/hpfs/anode.c ea_end = fnode_end_ea(fnode); fnode 485 fs/hpfs/anode.c for (ea = fnode_ea(fnode); ea < ea_end; ea = next_ea(ea)) fnode 488 fs/hpfs/anode.c hpfs_ea_ext_remove(s, fnode->ea_secno, fnode->ea_anode, fnode->ea_size_l); fnode 79 fs/hpfs/dir.c struct fnode *fno; fnode 158 fs/hpfs/dir.c if (filldir(dirent, tempname, de->namelen, old_pos, de->fnode, DT_UNKNOWN) < 0) { fnode 223 fs/hpfs/dir.c ino = de->fnode; fnode 238 fs/hpfs/dnode.c struct fnode *fnode; fnode 338 fs/hpfs/dnode.c if (!(fnode = hpfs_map_fnode(i->i_sb, d->up, &bh))) { fnode 347 fs/hpfs/dnode.c fnode->u.external[0].disk_secno = rdno; fnode 532 fs/hpfs/dnode.c struct fnode *fnode; fnode 549 fs/hpfs/dnode.c if ((fnode = hpfs_map_fnode(i->i_sb, up, &bh))) { fnode 550 fs/hpfs/dnode.c fnode->u.external[0].disk_secno = down; fnode 996 fs/hpfs/dnode.c struct fnode *upf; fnode 1047 fs/hpfs/dnode.c if (de->fnode == fno) { fnode 1063 fs/hpfs/dnode.c if (de->fnode == fno) { fnode 80 fs/hpfs/ea.c struct extended_attribute *ea_end = fnode_end_ea(fnode); fnode 81 fs/hpfs/ea.c for (ea = fnode_ea(fnode); ea < ea_end; ea = next_ea(ea)) fnode 91 fs/hpfs/ea.c a = fnode->ea_secno; fnode 92 fs/hpfs/ea.c len = fnode->ea_size_l; fnode 93 fs/hpfs/ea.c ano = fnode->ea_anode; fnode 136 fs/hpfs/ea.c struct extended_attribute *ea_end = fnode_end_ea(fnode); fnode 137 fs/hpfs/ea.c for (ea = fnode_ea(fnode); ea < ea_end; ea = next_ea(ea)) fnode 149 fs/hpfs/ea.c a = fnode->ea_secno; fnode 150 fs/hpfs/ea.c len = fnode->ea_size_l; fnode 151 fs/hpfs/ea.c ano = fnode->ea_anode; fnode 198 fs/hpfs/ea.c struct extended_attribute *ea_end = fnode_end_ea(fnode); fnode 199 fs/hpfs/ea.c for (ea = fnode_ea(fnode); ea < ea_end; ea = next_ea(ea)) fnode 209 fs/hpfs/ea.c a = fnode->ea_secno; fnode 210 fs/hpfs/ea.c len = fnode->ea_size_l; fnode 211 fs/hpfs/ea.c ano = fnode->ea_anode; fnode 237 fs/hpfs/ea.c if (!fnode->ea_offs) { fnode 243 fs/hpfs/ea.c fnode->ea_offs = 0xc4; fnode 245 fs/hpfs/ea.c if (fnode->ea_offs < 0xc4 || fnode->ea_offs + fnode->acl_size_s + fnode->ea_size_s > 0x200) { fnode 248 fs/hpfs/ea.c fnode->ea_offs, fnode->ea_size_s); fnode 251 fs/hpfs/ea.c if ((fnode->ea_size_s || !fnode->ea_size_l) && fnode 252 fs/hpfs/ea.c fnode->ea_offs + fnode->acl_size_s + fnode->ea_size_s + strlen(key) + size + 5 <= 0x200) { fnode 253 fs/hpfs/ea.c ea = fnode_end_ea(fnode); fnode 259 fs/hpfs/ea.c fnode->ea_size_s += strlen(key) + size + 5; fnode 264 fs/hpfs/ea.c if (fnode->ea_size_s && !fnode->ea_size_l) { fnode 273 fs/hpfs/ea.c memcpy(data, fnode_ea(fnode), fnode->ea_size_s); fnode 274 fs/hpfs/ea.c fnode->ea_size_l = fnode->ea_size_s; fnode 275 fs/hpfs/ea.c fnode->ea_size_s = 0; fnode 276 fs/hpfs/ea.c fnode->ea_secno = n; fnode 277 fs/hpfs/ea.c fnode->ea_anode = 0; fnode 281 fs/hpfs/ea.c pos = fnode->ea_size_l + 5 + strlen(key) + size; fnode 282 fs/hpfs/ea.c len = (fnode->ea_size_l + 511) >> 9; fnode 286 fs/hpfs/ea.c if (!(fnode->ea_secno = hpfs_alloc_sector(s, fno, 1, 0, 1))) fnode 288 fs/hpfs/ea.c fnode->ea_anode = 0; fnode 290 fs/hpfs/ea.c } else if (!fnode->ea_anode) { fnode 291 fs/hpfs/ea.c if (hpfs_alloc_if_possible(s, fnode->ea_secno + len)) { fnode 319 fs/hpfs/ea.c if (!(b1 = hpfs_map_sector(s, fnode->ea_secno + i, &bh1, len - i - 1))) { fnode 333 fs/hpfs/ea.c hpfs_free_sectors(s, fnode->ea_secno, len); fnode 334 fs/hpfs/ea.c fnode->ea_secno = new_sec; fnode 338 fs/hpfs/ea.c if (fnode->ea_anode) { fnode 339 fs/hpfs/ea.c if (hpfs_add_sector_to_btree(s, fnode->ea_secno, fnode 351 fs/hpfs/ea.c if (hpfs_ea_write(s, fnode->ea_secno, fnode->ea_anode, fnode->ea_size_l, 4, h)) goto bail; fnode 352 fs/hpfs/ea.c if (hpfs_ea_write(s, fnode->ea_secno, fnode->ea_anode, fnode->ea_size_l + 4, h[1] + 1, key)) goto bail; fnode 353 fs/hpfs/ea.c if (hpfs_ea_write(s, fnode->ea_secno, fnode->ea_anode, fnode->ea_size_l + 5 + h[1], size, data)) goto bail; fnode 354 fs/hpfs/ea.c fnode->ea_size_l = pos; fnode 359 fs/hpfs/ea.c if (fnode->ea_secno) fnode 360 fs/hpfs/ea.c if (fnode->ea_anode) hpfs_truncate_btree(s, fnode->ea_secno, 1, (fnode->ea_size_l + 511) >> 9); fnode 361 fs/hpfs/ea.c else hpfs_free_sectors(s, fnode->ea_secno + ((fnode->ea_size_l + 511) >> 9), len - ((fnode->ea_size_l + 511) >> 9)); fnode 362 fs/hpfs/ea.c else fnode->ea_secno = fnode->ea_size_l = 0; fnode 36 fs/hpfs/file.c struct fnode *fnode; fnode 41 fs/hpfs/file.c if (!(fnode = hpfs_map_fnode(inode->i_sb, inode->i_ino, &bh))) return 0; fnode 42 fs/hpfs/file.c disk_secno = hpfs_bplus_lookup(inode->i_sb, inode, &fnode->btree, file_secno, bh); fnode 291 fs/hpfs/hpfs.h fnode_secno fnode; /* fnode giving allocation info */ fnode 145 fs/hpfs/hpfs_fn.h return (struct extended_attribute *)((char *)fnode + fnode->ea_offs + fnode->acl_size_s); fnode 150 fs/hpfs/hpfs_fn.h return (struct extended_attribute *)((char *)fnode + fnode->ea_offs + fnode->acl_size_s + fnode->ea_size_s); fnode 210 fs/hpfs/hpfs_fn.h struct fnode *hpfs_alloc_fnode(struct super_block *, secno, fnode_secno *, struct buffer_head **); fnode 288 fs/hpfs/hpfs_fn.h struct fnode *hpfs_map_fnode(struct super_block *s, ino_t, struct buffer_head **); fnode 45 fs/hpfs/inode.c struct fnode *fnode; fnode 51 fs/hpfs/inode.c if (!(fnode = hpfs_map_fnode(sb, i->i_ino, &bh))) { fnode 61 fs/hpfs/inode.c if ((ea = hpfs_get_ea(i->i_sb, fnode, "UID", &ea_size))) { fnode 68 fs/hpfs/inode.c if ((ea = hpfs_get_ea(i->i_sb, fnode, "GID", &ea_size))) { fnode 75 fs/hpfs/inode.c if ((ea = hpfs_get_ea(i->i_sb, fnode, "SYMLINK", &ea_size))) { fnode 86 fs/hpfs/inode.c if ((ea = hpfs_get_ea(i->i_sb, fnode, "MODE", &ea_size))) { fnode 96 fs/hpfs/inode.c if ((ea = hpfs_get_ea(i->i_sb, fnode, "DEV", &ea_size))) { fnode 113 fs/hpfs/inode.c if (fnode->dirflag) { fnode 118 fs/hpfs/inode.c hpfs_inode->i_parent_dir = fnode->up; fnode 119 fs/hpfs/inode.c hpfs_inode->i_dno = fnode->u.external[0].disk_secno; fnode 135 fs/hpfs/inode.c i->i_size = fnode->file_size; fnode 154 fs/hpfs/inode.c hpfs_set_ea(i, fnode, "UID", (char*)&ea, 2); fnode 159 fs/hpfs/inode.c hpfs_set_ea(i, fnode, "GID", (char *)&ea, 2); fnode 169 fs/hpfs/inode.c hpfs_set_ea(i, fnode, "MODE", (char *)&ea, 2); fnode 174 fs/hpfs/inode.c hpfs_set_ea(i, fnode, "DEV", (char *)&ea, 4); fnode 216 fs/hpfs/inode.c struct fnode *fnode; fnode 220 fs/hpfs/inode.c if (!(fnode = hpfs_map_fnode(i->i_sb, i->i_ino, &bh))) return; fnode 222 fs/hpfs/inode.c if (!(de = map_fnode_dirent(i->i_sb, i->i_ino, fnode, &qbh))) { fnode 228 fs/hpfs/inode.c fnode->file_size = i->i_size; fnode 231 fs/hpfs/inode.c fnode->file_size = 0; fnode 234 fs/hpfs/inode.c hpfs_write_inode_ea(i, fnode); fnode 118 fs/hpfs/map.c struct fnode *hpfs_map_fnode(struct super_block *s, ino_t ino, struct buffer_head **bhp) fnode 120 fs/hpfs/map.c struct fnode *fnode; fnode 124 fs/hpfs/map.c if ((fnode = hpfs_map_sector(s, ino, bhp, FNODE_RD_AHEAD))) { fnode 128 fs/hpfs/map.c if (fnode->magic != FNODE_MAGIC) { fnode 133 fs/hpfs/map.c if (!fnode->dirflag) { fnode 134 fs/hpfs/map.c if ((unsigned)fnode->btree.n_used_nodes + (unsigned)fnode->btree.n_free_nodes != fnode 135 fs/hpfs/map.c (fnode->btree.internal ? 12 : 8)) { fnode 141 fs/hpfs/map.c if (fnode->btree.first_free != fnode 142 fs/hpfs/map.c 8 + fnode->btree.n_used_nodes * (fnode->btree.internal ? 8 : 12)) { fnode 149 fs/hpfs/map.c if (fnode->ea_size_s && ((signed int)fnode->ea_offs < 0xc4 || fnode 150 fs/hpfs/map.c (signed int)fnode->ea_offs + fnode->acl_size_s + fnode->ea_size_s > 0x200)) { fnode 154 fs/hpfs/map.c fnode->ea_offs, fnode->ea_size_s); fnode 157 fs/hpfs/map.c ea = fnode_ea(fnode); fnode 158 fs/hpfs/map.c ea_end = fnode_end_ea(fnode); fnode 169 fs/hpfs/map.c return fnode; fnode 273 fs/hpfs/map.c struct fnode *fnode; fnode 276 fs/hpfs/map.c fnode = hpfs_map_fnode(s, ino, &bh); fnode 277 fs/hpfs/map.c if (!fnode) fnode 280 fs/hpfs/map.c dno = fnode->u.external[0].disk_secno; fnode 18 fs/hpfs/namei.c struct fnode *fnode; fnode 29 fs/hpfs/namei.c fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); fnode 30 fs/hpfs/namei.c if (!fnode) fnode 40 fs/hpfs/namei.c dee.fnode = fno; fnode 71 fs/hpfs/namei.c fnode->len = len; fnode 72 fs/hpfs/namei.c memcpy(fnode->name, name, len > 15 ? 15 : len); fnode 73 fs/hpfs/namei.c fnode->up = dir->i_ino; fnode 74 fs/hpfs/namei.c fnode->dirflag = 1; fnode 75 fs/hpfs/namei.c fnode->btree.n_free_nodes = 7; fnode 76 fs/hpfs/namei.c fnode->btree.n_used_nodes = 1; fnode 77 fs/hpfs/namei.c fnode->btree.first_free = 0x14; fnode 78 fs/hpfs/namei.c fnode->u.external[0].disk_secno = dno; fnode 79 fs/hpfs/namei.c fnode->u.external[0].file_secno = -1; fnode 87 fs/hpfs/namei.c de->fnode = fno; fnode 127 fs/hpfs/namei.c struct fnode *fnode; fnode 136 fs/hpfs/namei.c fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); fnode 137 fs/hpfs/namei.c if (!fnode) fnode 143 fs/hpfs/namei.c dee.fnode = fno; fnode 179 fs/hpfs/namei.c fnode->len = len; fnode 180 fs/hpfs/namei.c memcpy(fnode->name, name, len > 15 ? 15 : len); fnode 181 fs/hpfs/namei.c fnode->up = dir->i_ino; fnode 216 fs/hpfs/namei.c struct fnode *fnode; fnode 228 fs/hpfs/namei.c fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); fnode 229 fs/hpfs/namei.c if (!fnode) fnode 235 fs/hpfs/namei.c dee.fnode = fno; fnode 265 fs/hpfs/namei.c fnode->len = len; fnode 266 fs/hpfs/namei.c memcpy(fnode->name, name, len > 15 ? 15 : len); fnode 267 fs/hpfs/namei.c fnode->up = dir->i_ino; fnode 294 fs/hpfs/namei.c struct fnode *fnode; fnode 307 fs/hpfs/namei.c fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); fnode 308 fs/hpfs/namei.c if (!fnode) fnode 313 fs/hpfs/namei.c dee.fnode = fno; fnode 344 fs/hpfs/namei.c fnode->len = len; fnode 345 fs/hpfs/namei.c memcpy(fnode->name, name, len > 15 ? 15 : len); fnode 346 fs/hpfs/namei.c fnode->up = dir->i_ino; fnode 347 fs/hpfs/namei.c hpfs_set_ea(result, fnode, "SYMLINK", (char *)symlink, strlen(symlink)); fnode 400 fs/hpfs/namei.c fno = de->fnode; fnode 486 fs/hpfs/namei.c fno = de->fnode; fnode 515 fs/hpfs/namei.c struct fnode *fnode; fnode 521 fs/hpfs/namei.c if (!(fnode = hpfs_map_fnode(i->i_sb, i->i_ino, &bh))) fnode 523 fs/hpfs/namei.c err = hpfs_read_ea(i->i_sb, fnode, "SYMLINK", link, PAGE_SIZE); fnode 560 fs/hpfs/namei.c struct fnode *fnode; fnode 641 fs/hpfs/namei.c if ((fnode = hpfs_map_fnode(i->i_sb, i->i_ino, &bh))) { fnode 642 fs/hpfs/namei.c fnode->up = new_dir->i_ino; fnode 643 fs/hpfs/namei.c fnode->len = new_len; fnode 644 fs/hpfs/namei.c memcpy(fnode->name, new_name, new_len>15?15:new_len); fnode 645 fs/hpfs/namei.c if (new_len < 15) memset(&fnode->name[new_len], 0, 15 - new_len);