Home
last modified time | relevance | path

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

/linux-4.1.27/fs/hpfs/
Ddnode.c11 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 …]
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 …
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 *);
Dmap.c229 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 …]
DMakefile7 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
Dnamei.c30 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()
Dalloc.c427 struct dnode *hpfs_alloc_dnode(struct super_block *s, secno near, in hpfs_alloc_dnode()
430 struct dnode *d; in hpfs_alloc_dnode()
Dhpfs.h280 struct dnode { struct
/linux-4.1.27/net/tipc/
Dname_distr.c92 u32 dnode; in named_cluster_distribute() local
96 dnode = node->addr; in named_cluster_distribute()
97 if (in_own_node(net, dnode)) in named_cluster_distribute()
104 msg_set_destnode(buf_msg(oskb), dnode); in named_cluster_distribute()
105 tipc_link_xmit_skb(net, oskb, dnode, dnode); in named_cluster_distribute()
169 u32 dnode, struct list_head *pls) in named_distribute() argument
174 uint msg_dsz = (tipc_node_get_mtu(net, dnode, 0) / ITEM_SIZE) * in named_distribute()
182 dnode); in named_distribute()
212 void tipc_named_node_up(struct net *net, u32 dnode) in tipc_named_node_up() argument
220 named_distribute(net, &head, dnode, in tipc_named_node_up()
[all …]
Dmsg.c74 u32 hsize, u32 dnode) in tipc_msg_init() argument
85 msg_set_destnode(m, dnode); in tipc_msg_init()
90 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create() argument
101 tipc_msg_init(onode, msg, user, type, hdr_sz, dnode); in tipc_msg_create()
108 msg_set_destnode(msg, dnode); in tipc_msg_create()
432 bool tipc_msg_make_bundle(struct sk_buff **skb, u32 mtu, u32 dnode) in tipc_msg_make_bundle() argument
456 INT_H_SIZE, dnode); in tipc_msg_make_bundle()
473 bool tipc_msg_reverse(u32 own_addr, struct sk_buff *buf, u32 *dnode, in tipc_msg_reverse() argument
499 *dnode = msg_orignode(&ohdr); in tipc_msg_reverse()
503 *dnode = 0; in tipc_msg_reverse()
[all …]
Dsocket.c258 u32 dnode; in tsk_rej_rx_queue() local
262 if (tipc_msg_reverse(own_node, skb, &dnode, TIPC_ERR_NO_PORT)) in tsk_rej_rx_queue()
263 tipc_link_xmit_skb(sock_net(sk), skb, dnode, 0); in tsk_rej_rx_queue()
412 u32 dnode, probing_state; in tipc_release() local
429 dnode = tsk_peer_node(tsk); in tipc_release()
441 tipc_node_remove_conn(net, dnode, tsk->portid); in tipc_release()
443 if (tipc_msg_reverse(tsk_own_node(tsk), skb, &dnode, in tipc_release()
445 tipc_link_xmit_skb(net, skb, dnode, 0); in tipc_release()
457 TIPC_CONN_MSG, SHORT_H_SIZE, 0, dnode, in tipc_release()
461 tipc_link_xmit_skb(net, skb, dnode, tsk->portid); in tipc_release()
[all …]
Dnode.c167 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port) in tipc_node_add_conn() argument
173 if (in_own_node(net, dnode)) in tipc_node_add_conn()
176 node = tipc_node_find(net, dnode); in tipc_node_add_conn()
178 pr_warn("Connecting sock to node 0x%x failed\n", dnode); in tipc_node_add_conn()
186 conn->peer_node = dnode; in tipc_node_add_conn()
198 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port) in tipc_node_remove_conn() argument
203 if (in_own_node(net, dnode)) in tipc_node_remove_conn()
206 node = tipc_node_find(net, dnode); in tipc_node_remove_conn()
Dnode.h154 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port);
155 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port);
Dname_distr.h73 void tipc_named_node_up(struct net *net, u32 dnode);
Dmsg.h767 bool tipc_msg_reverse(u32 own_addr, struct sk_buff *buf, u32 *dnode,
772 uint data_sz, u32 dnode, u32 onode,
777 bool tipc_msg_make_bundle(struct sk_buff **skb, u32 mtu, u32 dnode);
781 bool tipc_msg_lookup_dest(struct net *net, struct sk_buff *skb, u32 *dnode,
Dlink.c776 int tipc_link_xmit_skb(struct net *net, struct sk_buff *skb, u32 dnode, in tipc_link_xmit_skb() argument
783 rc = tipc_link_xmit(net, &head, dnode, selector); in tipc_link_xmit_skb()
799 int tipc_link_xmit(struct net *net, struct sk_buff_head *list, u32 dnode, in tipc_link_xmit() argument
806 node = tipc_node_find(net, dnode); in tipc_link_xmit()
818 if (likely(in_own_node(net, dnode))) { in tipc_link_xmit()
/linux-4.1.27/arch/powerpc/platforms/8xx/
Dtqm8xx_setup.c95 struct device_node *dnode; in init_ioports() local
103 dnode = of_find_node_by_name(NULL, "aliases"); in init_ioports()
104 if (dnode == NULL) in init_ioports()
106 prop = of_find_property(dnode, "ethernet1", &len); in init_ioports()
/linux-4.1.27/drivers/i2c/busses/
Di2c-cbus-gpio.c229 struct device_node *dnode = pdev->dev.of_node; in cbus_i2c_probe() local
230 if (of_gpio_count(dnode) != 3) in cbus_i2c_probe()
232 chost->clk_gpio = of_get_gpio(dnode, 0); in cbus_i2c_probe()
233 chost->dat_gpio = of_get_gpio(dnode, 1); in cbus_i2c_probe()
234 chost->sel_gpio = of_get_gpio(dnode, 2); in cbus_i2c_probe()
/linux-4.1.27/drivers/net/appletalk/
Dltpc.h50 unsigned char dnode; member
57 unsigned char dnode; member
Dltpc.c722 int dnode, snode, llaptype, len; in sendup_buffer() local
731 dnode = ltc->dnode; in sendup_buffer()
765 skb->data[0] = dnode; in sendup_buffer()
906 cbuf.dnode = skb->data[0]; in ltpc_xmit()
/linux-4.1.27/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