Home
last modified time | relevance | path

Searched refs:dnode (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/fs/hpfs/
Ddnode.c11 static loff_t get_pos(struct dnode *d, struct hpfs_dirent *fde) in get_pos()
109 static struct hpfs_dirent *dnode_pre_last_de(struct dnode *d) in dnode_pre_last_de()
119 static struct hpfs_dirent *dnode_last_de(struct dnode *d) in dnode_last_de()
129 static void set_last_pointer(struct super_block *s, struct dnode *d, dnode_secno ptr) in set_last_pointer()
162 struct hpfs_dirent *hpfs_add_de(struct super_block *s, struct dnode *d, in hpfs_add_de()
193 static void hpfs_delete_de(struct super_block *s, struct dnode *d, in hpfs_delete_de()
204 static void fix_up_ptrs(struct super_block *s, struct dnode *d) in fix_up_ptrs()
212 struct dnode *dd; in fix_up_ptrs()
231 struct dnode *d, *ad, *rd, *nd = NULL; in hpfs_add_to_dnode()
381 struct dnode *d; in hpfs_add_dirent()
[all …]
Dmap.c210 struct dnode *hpfs_map_dnode(struct super_block *s, unsigned secno, in hpfs_map_dnode()
213 struct dnode *dnode; in hpfs_map_dnode() local
221 if ((dnode = hpfs_map_4sectors(s, secno, qbh, DNODE_RD_AHEAD))) in hpfs_map_dnode()
224 unsigned char *d = (unsigned char *)dnode; in hpfs_map_dnode()
226 if (le32_to_cpu(dnode->magic) != DNODE_MAGIC) { in hpfs_map_dnode()
230 if (le32_to_cpu(dnode->self) != secno) in hpfs_map_dnode()
231 hpfs_error(s, "bad self pointer on dnode %08x self = %08x", secno, le32_to_cpu(dnode->self)); in hpfs_map_dnode()
234 if (le32_to_cpu(dnode->first_free) > 2048) { in hpfs_map_dnode()
235 hpfs_error(s, "dnode %08x has first_free == %08x", secno, le32_to_cpu(dnode->first_free)); in hpfs_map_dnode()
238 for (p = 20; p < le32_to_cpu(dnode->first_free); p += d[p] + (d[p+1] << 8)) { in hpfs_map_dnode()
[all …]
Dhpfs_fn.h108 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 …
237 struct hpfs_dirent *hpfs_add_de(struct super_block *, struct dnode *,
284 struct dnode *hpfs_map_dnode(struct super_block *s, dnode_secno, struct quad_buffer_head *);
DMakefile7 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
Dnamei.c19 struct dnode *dnode; in hpfs_mkdir() local
32 dnode = hpfs_alloc_dnode(dir->i_sb, fno, &dno, &qbh0); in hpfs_mkdir()
33 if (!dnode) in hpfs_mkdir()
79 dnode->root_dnode = 1; in hpfs_mkdir()
80 dnode->up = cpu_to_le32(fno); in hpfs_mkdir()
81 de = hpfs_add_de(dir->i_sb, dnode, "\001\001", 2, 0); in hpfs_mkdir()
Dalloc.c365 struct dnode *hpfs_alloc_dnode(struct super_block *s, secno near, in hpfs_alloc_dnode()
368 struct dnode *d; in hpfs_alloc_dnode()
Dhpfs.h280 struct dnode { struct
/linux-2.6.39/net/tipc/
Dnet.c116 u32 dnode; in net_route_named_msg() local
124 dnode = addr_domain(msg_lookup_scope(msg)); in net_route_named_msg()
125 dport = tipc_nametbl_translate(msg_nametype(msg), msg_nameinst(msg), &dnode); in net_route_named_msg()
127 msg_set_destnode(msg, dnode); in net_route_named_msg()
138 u32 dnode; in tipc_net_route_msg() local
156 dnode = msg_short(msg) ? tipc_own_addr : msg_destnode(msg); in tipc_net_route_msg()
157 if (tipc_in_scope(dnode, tipc_own_addr)) { in tipc_net_route_msg()
182 tipc_link_send(buf, dnode, msg_link_selector(msg)); in tipc_net_route_msg()
Dmsg.h342 static inline void msg_set_destnode_cache(struct tipc_msg *m, u32 dnode) in msg_set_destnode_cache() argument
344 m->hdr[2] = dnode; in msg_set_destnode_cache()
/linux-2.6.39/arch/powerpc/platforms/8xx/
Dtqm8xx_setup.c97 struct device_node *dnode; in init_ioports() local
105 dnode = of_find_node_by_name(NULL, "aliases"); in init_ioports()
106 if (dnode == NULL) in init_ioports()
108 prop = of_find_property(dnode, "ethernet1", &len); in init_ioports()
/linux-2.6.39/drivers/net/appletalk/
Dltpc.h50 unsigned char dnode; member
57 unsigned char dnode; member
Dltpc.c723 int dnode, snode, llaptype, len; in sendup_buffer() local
732 dnode = ltc->dnode; in sendup_buffer()
766 skb->data[0] = dnode; in sendup_buffer()
907 cbuf.dnode = skb->data[0]; in ltpc_xmit()
/linux-2.6.39/Documentation/filesystems/
Dhpfs.txt150 the old one so the new name doesn't fit in directory node (dnode). And that
178 Old versions of this driver created sometimes unbalanced dnode trees. OS/2