Home
last modified time | relevance | path

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

12

/Linux-v4.19/fs/hpfs/
Ddnode.c12 static loff_t get_pos(struct dnode *d, struct hpfs_dirent *fde) in get_pos()
120 static struct hpfs_dirent *dnode_pre_last_de(struct dnode *d) in dnode_pre_last_de()
130 static struct hpfs_dirent *dnode_last_de(struct dnode *d) in dnode_last_de()
140 static void set_last_pointer(struct super_block *s, struct dnode *d, dnode_secno ptr) in set_last_pointer()
173 struct hpfs_dirent *hpfs_add_de(struct super_block *s, struct dnode *d, in hpfs_add_de()
204 static void hpfs_delete_de(struct super_block *s, struct dnode *d, in hpfs_delete_de()
215 static void fix_up_ptrs(struct super_block *s, struct dnode *d) in fix_up_ptrs()
223 struct dnode *dd; in fix_up_ptrs()
242 struct dnode *d, *ad, *rd, *nd = NULL; in hpfs_add_to_dnode()
392 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.c256 struct dnode *hpfs_map_dnode(struct super_block *s, unsigned secno, in hpfs_map_dnode()
259 struct dnode *dnode; in hpfs_map_dnode() local
267 if ((dnode = hpfs_map_4sectors(s, secno, qbh, DNODE_RD_AHEAD))) in hpfs_map_dnode()
270 unsigned char *d = (unsigned char *)dnode; in hpfs_map_dnode()
272 if (le32_to_cpu(dnode->magic) != DNODE_MAGIC) { in hpfs_map_dnode()
276 if (le32_to_cpu(dnode->self) != secno) in hpfs_map_dnode()
277 hpfs_error(s, "bad self pointer on dnode %08x self = %08x", secno, le32_to_cpu(dnode->self)); in hpfs_map_dnode()
280 if (le32_to_cpu(dnode->first_free) > 2048) { in hpfs_map_dnode()
281 hpfs_error(s, "dnode %08x has first_free == %08x", secno, le32_to_cpu(dnode->first_free)); in hpfs_map_dnode()
284 for (p = 20; p < le32_to_cpu(dnode->first_free); p += d[p] + (d[p+1] << 8)) { in hpfs_map_dnode()
[all …]
Dnamei.c31 struct dnode *dnode; in hpfs_mkdir() local
44 dnode = hpfs_alloc_dnode(dir->i_sb, fno, &dno, &qbh0); in hpfs_mkdir()
45 if (!dnode) in hpfs_mkdir()
91 dnode->root_dnode = 1; in hpfs_mkdir()
92 dnode->up = cpu_to_le32(fno); in hpfs_mkdir()
93 de = hpfs_add_de(dir->i_sb, dnode, "\001\001", 2, 0); in hpfs_mkdir()
DMakefile7 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
/Linux-v4.19/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-v4.19/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-v4.19/net/tipc/
Dmsg.c76 u32 hsize, u32 dnode) in tipc_msg_init() argument
87 msg_set_destnode(m, dnode); in tipc_msg_init()
92 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create() argument
103 tipc_msg_init(onode, msg, user, type, hdr_sz, dnode); in tipc_msg_create()
110 msg_set_destnode(msg, dnode); in tipc_msg_create()
463 u32 mtu, u32 dnode) in tipc_msg_make_bundle() argument
486 INT_H_SIZE, dnode); in tipc_msg_make_bundle()
567 u32 dport, dnode; in tipc_msg_lookup_dest() local
582 dnode = tipc_scope2node(net, msg_lookup_scope(msg)); in tipc_msg_lookup_dest()
584 msg_nameinst(msg), &dnode); in tipc_msg_lookup_dest()
[all …]
Dname_distr.c141 u32 dnode, struct list_head *pls) in named_distribute() argument
146 u32 msg_dsz = ((tipc_node_get_mtu(net, dnode, 0) - INT_H_SIZE) / in named_distribute()
154 dnode); in named_distribute()
185 void tipc_named_node_up(struct net *net, u32 dnode) in tipc_named_node_up() argument
193 named_distribute(net, &head, dnode, &nt->cluster_scope); in tipc_named_node_up()
196 tipc_node_xmit(net, &head, dnode, 0); in tipc_named_node_up()
Dnode.h76 int tipc_node_xmit(struct net *net, struct sk_buff_head *list, u32 dnode,
84 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port);
85 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port);
Dsocket.c245 u32 dnode; in tipc_sk_respond() local
251 dnode = msg_destnode(buf_msg(skb)); in tipc_sk_respond()
253 tipc_node_xmit_skb(sock_net(sk), skb, dnode, selector); in tipc_sk_respond()
503 u32 dnode = tsk_peer_node(tsk); in __tipc_shutdown() local
521 tipc_node_remove_conn(net, dnode, tsk->portid); in __tipc_shutdown()
531 TIPC_CONN_MSG, SHORT_H_SIZE, 0, dnode, in __tipc_shutdown()
535 tipc_node_xmit_skb(net, skb, dnode, tsk->portid); in __tipc_shutdown()
536 tipc_node_remove_conn(net, dnode, tsk->portid); in __tipc_shutdown()
825 u32 dnode, u32 dport, int dlen) in tipc_send_group_msg() argument
838 msg_set_destnode(hdr, dnode); in tipc_send_group_msg()
[all …]
Dnode.c515 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port) in tipc_node_add_conn() argument
521 if (in_own_node(net, dnode)) in tipc_node_add_conn()
524 node = tipc_node_find(net, dnode); in tipc_node_add_conn()
526 pr_warn("Connecting sock to node 0x%x failed\n", dnode); in tipc_node_add_conn()
534 conn->peer_node = dnode; in tipc_node_add_conn()
546 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port) in tipc_node_remove_conn() argument
551 if (in_own_node(net, dnode)) in tipc_node_remove_conn()
554 node = tipc_node_find(net, dnode); in tipc_node_remove_conn()
1352 u32 dnode, int selector) in tipc_node_xmit() argument
1360 if (in_own_node(net, dnode)) { in tipc_node_xmit()
[all …]
Dbcast.c267 u32 dnode, selector; in tipc_rcast_xmit() local
273 dnode = dst->node; in tipc_rcast_xmit()
274 if (!tipc_msg_pskb_copy(dnode, pkts, &_pkts)) in tipc_rcast_xmit()
278 if (tipc_node_xmit(net, &_pkts, dnode, selector) == -ELINKCONG) in tipc_rcast_xmit()
Dname_distr.h72 void tipc_named_node_up(struct net *net, u32 dnode);
Dgroup.h68 bool tipc_group_cong(struct tipc_group *grp, u32 dnode, u32 dport,
/Linux-v4.19/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-v4.19/drivers/misc/mic/bus/
Dvop_bus.c146 struct vop_hw_ops *hw_ops, u8 dnode, struct mic_mw *aper, in vop_register_device() argument
165 vdev->dnode = dnode; in vop_register_device()
168 vdev->index = dnode - 1; in vop_register_device()
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()
Dvop_bus.h58 u8 dnode; member
115 struct vop_hw_ops *hw_ops, u8 dnode, struct mic_mw *aper,
Dscif_bus.h58 u8 dnode; member
117 struct scif_hw_ops *hw_ops, u8 dnode, u8 snode,
/Linux-v4.19/drivers/misc/mic/cosm_client/
Dcosm_scif_client.c198 __func__, __LINE__, spdev->dnode); in cosm_scif_probe()
201 if (spdev->dnode) in cosm_scif_probe()
237 __func__, __LINE__, spdev->dnode); in cosm_scif_remove()
239 if (spdev->dnode) in cosm_scif_remove()
/Linux-v4.19/drivers/net/appletalk/
Dltpc.h51 unsigned char dnode; member
58 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()
901 cbuf.dnode = skb->data[0]; in ltpc_xmit()
/Linux-v4.19/drivers/misc/mic/vop/
Dvop_main.c70 int dnode; member
469 int dnode) in _vop_add_device() argument
486 vdev->dnode = dnode; in _vop_add_device()
487 vdev->vdev.priv = (void *)(u64)dnode; in _vop_add_device()
590 bool remove, int dnode) in _vop_scan_devices() argument
639 _vop_add_device(d, i, vpdev, dnode); in _vop_scan_devices()
651 _vop_scan_devices(dp, vpdev, remove, vpdev->dnode); in vop_scan_devices()
698 if (vpdev->dnode) { in vop_driver_probe()
731 if (vpdev->dnode) { in vop_driver_remove()

12