Home
last modified time | relevance | path

Searched refs:dno (Results 1 – 5 of 5) sorted by relevance

/fs/hpfs/
Ddnode.c208 dnode_secno dno = le32_to_cpu(d->self); in fix_up_ptrs() local
214 if (le32_to_cpu(dd->up) != dno || dd->root_dnode) { in fix_up_ptrs()
215 dd->up = cpu_to_le32(dno); in fix_up_ptrs()
226 static int hpfs_add_to_dnode(struct inode *i, dnode_secno dno, in hpfs_add_to_dnode() argument
252 if (!(d = hpfs_map_dnode(i->i_sb, dno, &qbh))) { in hpfs_add_to_dnode()
259 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "hpfs_add_to_dnode")) { in hpfs_add_to_dnode()
305 for_all_poss(i, hpfs_pos_subst, ((loff_t)dno << 4) | pos, ((loff_t)adno << 4) | pos); in hpfs_add_to_dnode()
312 for_all_poss(i, hpfs_pos_subst, ((loff_t)dno << 4) | pos, 4); in hpfs_add_to_dnode()
319 for_all_poss(i, hpfs_pos_del, (loff_t)dno << 4, pos); in hpfs_add_to_dnode()
323 dno = le32_to_cpu(ad->up); in hpfs_add_to_dnode()
[all …]
Dalloc.c343 void hpfs_free_dnode(struct super_block *s, dnode_secno dno) in hpfs_free_dnode() argument
345 if (hpfs_sb(s)->sb_chk) if (dno & 3) { in hpfs_free_dnode()
346 hpfs_error(s, "hpfs_free_dnode: dnode %08x not aligned", dno); in hpfs_free_dnode()
349 if (dno < hpfs_sb(s)->sb_dirband_start || in hpfs_free_dnode()
350 dno >= hpfs_sb(s)->sb_dirband_start + hpfs_sb(s)->sb_dirband_size) { in hpfs_free_dnode()
351 hpfs_free_sectors(s, dno, 4); in hpfs_free_dnode()
355 unsigned ssec = (dno - hpfs_sb(s)->sb_dirband_start) / 4; in hpfs_free_dnode()
366 dnode_secno *dno, struct quad_buffer_head *qbh) in hpfs_alloc_dnode() argument
370 if (!(*dno = alloc_in_dirband(s, near))) in hpfs_alloc_dnode()
371 if (!(*dno = hpfs_alloc_sector(s, near, 4, 0))) return NULL; in hpfs_alloc_dnode()
[all …]
Dnamei.c22 dnode_secno dno; in hpfs_mkdir() local
32 dnode = hpfs_alloc_dnode(dir->i_sb, fno, &dno, &qbh0); in hpfs_mkdir()
48 hpfs_i(result)->i_dno = dno; in hpfs_mkdir()
77 fnode->u.external[0].disk_secno = cpu_to_le32(dno); in hpfs_mkdir()
109 hpfs_free_dnode(dir->i_sb, dno); in hpfs_mkdir()
363 dnode_secno dno; in hpfs_unlink() local
372 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh); in hpfs_unlink()
384 r = hpfs_remove_dirent(dir, dno, de, &qbh, 1); in hpfs_unlink()
437 dnode_secno dno; in hpfs_rmdir() local
445 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh); in hpfs_rmdir()
[all …]
Dmap.c278 dnode_secno dno; in hpfs_fnode_dno() local
284 dno = le32_to_cpu(fnode->u.external[0].disk_secno); in hpfs_fnode_dno()
286 return dno; in hpfs_fnode_dno()
Dhpfs_fn.h236 dnode_secno hpfs_de_as_down_as_possible(struct super_block *, dnode_secno dno);