Home
last modified time | relevance | path

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

/linux-4.4.14/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.h114 static inline struct hpfs_dirent *dnode_first_de (struct dnode *dnode) in dnode_first_de() argument
116 return (void *) dnode->dirent; in dnode_first_de()
121 static inline struct hpfs_dirent *dnode_end_de (struct dnode *dnode) in dnode_end_de() argument
123 …o_cpu(dnode->first_free)>=0x14 && le32_to_cpu(dnode->first_free)<=0xa00,("HPFS: dnode_end_de: dnod… in dnode_end_de()
124 return (void *) dnode + le32_to_cpu(dnode->first_free); in dnode_end_de()
206 struct dnode *hpfs_alloc_dnode(struct super_block *, secno, dnode_secno *, struct quad_buffer_head …
247 struct hpfs_dirent *hpfs_add_de(struct super_block *, struct dnode *,
297 struct dnode *hpfs_map_dnode(struct super_block *s, dnode_secno, struct quad_buffer_head *);
Dmap.c255 struct dnode *hpfs_map_dnode(struct super_block *s, unsigned secno, in hpfs_map_dnode()
258 struct dnode *dnode; in hpfs_map_dnode() local
266 if ((dnode = hpfs_map_4sectors(s, secno, qbh, DNODE_RD_AHEAD))) in hpfs_map_dnode()
269 unsigned char *d = (unsigned char *)dnode; in hpfs_map_dnode()
271 if (le32_to_cpu(dnode->magic) != DNODE_MAGIC) { in hpfs_map_dnode()
275 if (le32_to_cpu(dnode->self) != secno) in hpfs_map_dnode()
276 hpfs_error(s, "bad self pointer on dnode %08x self = %08x", secno, le32_to_cpu(dnode->self)); in hpfs_map_dnode()
279 if (le32_to_cpu(dnode->first_free) > 2048) { in hpfs_map_dnode()
280 hpfs_error(s, "dnode %08x has first_free == %08x", secno, le32_to_cpu(dnode->first_free)); in hpfs_map_dnode()
283 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.4.14/drivers/misc/mic/scif/
Dscif_peer_bus.c34 struct scif_dev *scifdev = &scif_dev[sdev->dnode]; in scif_peer_release_dev()
53 spdev->dnode = scifdev->node; in scif_peer_initialize_device()
55 dev_set_name(&spdev->dev, "scif_peer-dev%u", spdev->dnode); in scif_peer_initialize_device()
63 scif_info.maxid = max_t(u32, spdev->dnode, scif_info.maxid); in scif_peer_initialize_device()
86 scnprintf(pool_name, sizeof(pool_name), "scif-%d", spdev->dnode); in scif_peer_add_device()
96 dev_dbg(&spdev->dev, "Added peer dnode %d\n", spdev->dnode); in scif_peer_add_device()
166 dev_dbg(&spdev->dev, "Removing peer dnode %d\n", spdev->dnode); in scif_peer_unregister_device()
Dscif_main.c149 struct scif_dev *scifdev = &scif_dev[sdev->dnode]; in scif_probe()
218 struct scif_dev *scifdev = &scif_dev[sdev->dnode]; in scif_remove()
/linux-4.4.14/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_node_xmit_skb(net, oskb, dnode, 0); 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()
433 u32 mtu, u32 dnode) in tipc_msg_make_bundle() argument
456 INT_H_SIZE, dnode); in tipc_msg_make_bundle()
535 u32 dport, dnode; in tipc_msg_lookup_dest() local
550 dnode = addr_domain(net, msg_lookup_scope(msg)); in tipc_msg_lookup_dest()
552 msg_nameinst(msg), &dnode); in tipc_msg_lookup_dest()
[all …]
Dsocket.c257 u32 dnode; in tipc_sk_respond() local
263 dnode = msg_destnode(buf_msg(skb)); in tipc_sk_respond()
265 tipc_node_xmit_skb(sock_net(sk), skb, dnode, selector); in tipc_sk_respond()
427 u32 dnode; in tipc_release() local
444 dnode = tsk_peer_node(tsk); in tipc_release()
456 tipc_node_remove_conn(net, dnode, tsk->portid); in tipc_release()
467 TIPC_CONN_MSG, SHORT_H_SIZE, 0, dnode, in tipc_release()
471 tipc_node_xmit_skb(net, skb, dnode, tsk->portid); in tipc_release()
472 tipc_node_remove_conn(net, dnode, tsk->portid); in tipc_release()
867 u32 dnode, dport; in __tipc_sendmsg() local
[all …]
Dnode.h148 int tipc_node_xmit(struct net *net, struct sk_buff_head *list, u32 dnode,
152 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port);
153 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port);
Dnode.c237 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port) in tipc_node_add_conn() argument
243 if (in_own_node(net, dnode)) in tipc_node_add_conn()
246 node = tipc_node_find(net, dnode); in tipc_node_add_conn()
248 pr_warn("Connecting sock to node 0x%x failed\n", dnode); in tipc_node_add_conn()
256 conn->peer_node = dnode; in tipc_node_add_conn()
268 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port) in tipc_node_remove_conn() argument
273 if (in_own_node(net, dnode)) in tipc_node_remove_conn()
276 node = tipc_node_find(net, dnode); in tipc_node_remove_conn()
1024 u32 dnode, int selector) in tipc_node_xmit() argument
1034 n = tipc_node_find(net, dnode); in tipc_node_xmit()
[all …]
Dname_distr.h73 void tipc_named_node_up(struct net *net, u32 dnode);
Dmsg.h788 uint data_sz, u32 dnode, u32 onode,
793 u32 mtu, u32 dnode);
Dlink.c1488 u32 dnode = msg_destnode(hdr); in tipc_link_bc_nack_rcv() local
1504 if (dnode == link_own_addr(l)) { in tipc_link_bc_nack_rcv()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/misc/mic/cosm_client/
Dcosm_scif_client.c192 __func__, __LINE__, spdev->dnode); in cosm_scif_probe()
195 if (spdev->dnode) in cosm_scif_probe()
231 __func__, __LINE__, spdev->dnode); in cosm_scif_remove()
233 if (spdev->dnode) in cosm_scif_remove()
/linux-4.4.14/drivers/misc/mic/bus/
Dscif_bus.c142 struct scif_hw_ops *hw_ops, u8 dnode, u8 snode, in scif_register_device() argument
160 sdev->dnode = dnode; in scif_register_device()
173 dev_set_name(&sdev->dev, "scif-dev%u", sdev->dnode); in scif_register_device()
Dscif_bus.h58 u8 dnode; member
117 struct scif_hw_ops *hw_ops, u8 dnode, u8 snode,
/linux-4.4.14/include/linux/
Dscif.h144 u8 dnode; member
/linux-4.4.14/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