Searched refs:dnode (Results 1 – 7 of 7) sorted by relevance
/fs/hpfs/ |
D | dnode.c | 11 static loff_t get_pos(struct dnode *d, struct hpfs_dirent *fde) in get_pos() 116 static struct hpfs_dirent *dnode_pre_last_de(struct dnode *d) in dnode_pre_last_de() 126 static struct hpfs_dirent *dnode_last_de(struct dnode *d) in dnode_last_de() 136 static void set_last_pointer(struct super_block *s, struct dnode *d, dnode_secno ptr) in set_last_pointer() 169 struct hpfs_dirent *hpfs_add_de(struct super_block *s, struct dnode *d, in hpfs_add_de() 200 static void hpfs_delete_de(struct super_block *s, struct dnode *d, in hpfs_delete_de() 211 static void fix_up_ptrs(struct super_block *s, struct dnode *d) in fix_up_ptrs() 219 struct dnode *dd; in fix_up_ptrs() 238 struct dnode *d, *ad, *rd, *nd = NULL; in hpfs_add_to_dnode() 388 struct dnode *d; in hpfs_add_dirent() [all …]
|
D | map.c | 229 struct dnode *hpfs_map_dnode(struct super_block *s, unsigned secno, in hpfs_map_dnode() 232 struct dnode *dnode; in hpfs_map_dnode() local 240 if ((dnode = hpfs_map_4sectors(s, secno, qbh, DNODE_RD_AHEAD))) in hpfs_map_dnode() 243 unsigned char *d = (unsigned char *)dnode; in hpfs_map_dnode() 245 if (le32_to_cpu(dnode->magic) != DNODE_MAGIC) { in hpfs_map_dnode() 249 if (le32_to_cpu(dnode->self) != secno) in hpfs_map_dnode() 250 hpfs_error(s, "bad self pointer on dnode %08x self = %08x", secno, le32_to_cpu(dnode->self)); in hpfs_map_dnode() 253 if (le32_to_cpu(dnode->first_free) > 2048) { in hpfs_map_dnode() 254 hpfs_error(s, "dnode %08x has first_free == %08x", secno, le32_to_cpu(dnode->first_free)); in hpfs_map_dnode() 257 for (p = 20; p < le32_to_cpu(dnode->first_free); p += d[p] + (d[p+1] << 8)) { in hpfs_map_dnode() [all …]
|
D | hpfs_fn.h | 108 static inline struct hpfs_dirent *dnode_first_de (struct dnode *dnode) in dnode_first_de() argument 110 return (void *) dnode->dirent; in dnode_first_de() 115 static inline struct hpfs_dirent *dnode_end_de (struct dnode *dnode) in dnode_end_de() argument 117 …o_cpu(dnode->first_free)>=0x14 && le32_to_cpu(dnode->first_free)<=0xa00,("HPFS: dnode_end_de: dnod… in dnode_end_de() 118 return (void *) dnode + le32_to_cpu(dnode->first_free); in dnode_end_de() 200 struct dnode *hpfs_alloc_dnode(struct super_block *, secno, dnode_secno *, struct quad_buffer_head … 238 struct hpfs_dirent *hpfs_add_de(struct super_block *, struct dnode *, 287 struct dnode *hpfs_map_dnode(struct super_block *s, dnode_secno, struct quad_buffer_head *);
|
D | namei.c | 30 struct dnode *dnode; in hpfs_mkdir() local 43 dnode = hpfs_alloc_dnode(dir->i_sb, fno, &dno, &qbh0); in hpfs_mkdir() 44 if (!dnode) in hpfs_mkdir() 90 dnode->root_dnode = 1; in hpfs_mkdir() 91 dnode->up = cpu_to_le32(fno); in hpfs_mkdir() 92 de = hpfs_add_de(dir->i_sb, dnode, "\001\001", 2, 0); in hpfs_mkdir()
|
D | Makefile | 7 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
|
D | alloc.c | 427 struct dnode *hpfs_alloc_dnode(struct super_block *s, secno near, in hpfs_alloc_dnode() 430 struct dnode *d; in hpfs_alloc_dnode()
|
D | hpfs.h | 280 struct dnode { struct
|