Home
last modified time | relevance | path

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

/linux-6.1.9/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.c32 struct dnode *dnode; in hpfs_mkdir() local
45 dnode = hpfs_alloc_dnode(dir->i_sb, fno, &dno, &qbh0); in hpfs_mkdir()
46 if (!dnode) in hpfs_mkdir()
92 dnode->root_dnode = 1; in hpfs_mkdir()
93 dnode->up = cpu_to_le32(fno); in hpfs_mkdir()
94 de = hpfs_add_de(dir->i_sb, dnode, "\001\001", 2, 0); in hpfs_mkdir()
DMakefile8 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
Dalloc.c428 struct dnode *hpfs_alloc_dnode(struct super_block *s, secno near, in hpfs_alloc_dnode()
431 struct dnode *d; in hpfs_alloc_dnode()
Dhpfs.h281 struct dnode { struct
/linux-6.1.9/arch/powerpc/platforms/8xx/
Dtqm8xx_setup.c96 struct device_node *dnode; in init_ioports() local
104 dnode = of_find_node_by_name(NULL, "aliases"); in init_ioports()
105 if (dnode == NULL) in init_ioports()
107 prop = of_find_property(dnode, "ethernet1", &len); in init_ioports()
109 of_node_put(dnode); in init_ioports()
/linux-6.1.9/net/tipc/
Dname_distr.c151 u32 dnode, struct list_head *pls, u16 seqno) in named_distribute() argument
156 u32 msg_dsz = ((tipc_node_get_mtu(net, dnode, 0, false) - INT_H_SIZE) / in named_distribute()
165 dnode); in named_distribute()
206 void tipc_named_node_up(struct net *net, u32 dnode, u16 capabilities) in tipc_named_node_up() argument
221 named_distribute(net, &head, dnode, &nt->cluster_scope, seqno); in tipc_named_node_up()
222 tipc_node_xmit(net, &head, dnode, 0); in tipc_named_node_up()
Dnode.h101 int tipc_node_xmit(struct net *net, struct sk_buff_head *list, u32 dnode,
109 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port);
110 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port);
Dmsg.c82 u32 hsize, u32 dnode) in tipc_msg_init() argument
93 msg_set_destnode(m, dnode); in tipc_msg_init()
98 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create() argument
109 tipc_msg_init(onode, msg, user, type, hdr_sz, dnode); in tipc_msg_create()
517 u32 dnode, bool *new_bundle) in tipc_msg_try_bundle() argument
554 dnode); in tipc_msg_try_bundle()
Dname_distr.h73 void tipc_named_node_up(struct net *net, u32 dnode, u16 capabilities);
Dnode.c694 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port) in tipc_node_add_conn() argument
700 if (in_own_node(net, dnode)) in tipc_node_add_conn()
703 node = tipc_node_find(net, dnode); in tipc_node_add_conn()
705 pr_warn("Connecting sock to node 0x%x failed\n", dnode); in tipc_node_add_conn()
713 conn->peer_node = dnode; in tipc_node_add_conn()
725 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port) in tipc_node_remove_conn() argument
730 if (in_own_node(net, dnode)) in tipc_node_remove_conn()
733 node = tipc_node_find(net, dnode); in tipc_node_remove_conn()
1690 u32 dnode, int selector) in tipc_node_xmit() argument
1700 if (in_own_node(net, dnode)) { in tipc_node_xmit()
[all …]
Dsocket.c289 u32 dnode; in tipc_sk_respond() local
296 dnode = msg_destnode(buf_msg(skb)); in tipc_sk_respond()
298 tipc_node_xmit_skb(sock_net(sk), skb, dnode, selector); in tipc_sk_respond()
556 u32 dnode = tsk_peer_node(tsk); in __tipc_shutdown() local
585 tipc_node_remove_conn(net, dnode, tsk->portid); in __tipc_shutdown()
594 TIPC_CONN_MSG, SHORT_H_SIZE, 0, dnode, in __tipc_shutdown()
598 tipc_node_xmit_skb(net, skb, dnode, tsk->portid); in __tipc_shutdown()
908 u32 dnode, u32 dport, int dlen) in tipc_send_group_msg() argument
921 msg_set_destnode(hdr, dnode); in tipc_send_group_msg()
926 mtu = tipc_node_get_mtu(net, dnode, tsk->portid, false); in tipc_send_group_msg()
[all …]
Dgroup.h69 bool tipc_group_cong(struct tipc_group *grp, u32 dnode, u32 dport,
Dbcast.c293 u32 dnode, selector; in tipc_rcast_xmit() local
299 dnode = dst->node; in tipc_rcast_xmit()
300 if (!tipc_msg_pskb_copy(dnode, pkts, &_pkts)) in tipc_rcast_xmit()
304 if (tipc_node_xmit(net, &_pkts, dnode, selector) == -ELINKCONG) in tipc_rcast_xmit()
Dgroup.c417 bool tipc_group_cong(struct tipc_group *grp, u32 dnode, u32 dport, in tipc_group_cong() argument
424 m = tipc_group_find_dest(grp, dnode, dport); in tipc_group_cong()
672 { u32 dnode = tipc_own_addr(grp->net); in tipc_group_create_event() local
688 GROUP_H_SIZE, sizeof(evt), dnode, m->node, in tipc_group_create_event()
Dcrypto.c304 u16 gen, u8 mode, u32 dnode);
2194 u32 dnode = tipc_node_get_addr(dest); in tipc_crypto_key_distr() local
2206 dnode); in tipc_crypto_key_distr()
2229 u16 gen, u8 mode, u32 dnode) in tipc_crypto_key_xmit() argument
2245 INT_H_SIZE, dnode); in tipc_crypto_key_xmit()
2258 if (dnode) in tipc_crypto_key_xmit()
2259 rc = tipc_node_xmit(net, &pkts, dnode, 0); in tipc_crypto_key_xmit()
Dlink.c908 u32 dnode = tipc_own_addr(l->net); in link_schedule_user() local
914 dnode, l->addr, dport, 0, 0); in link_schedule_user()
1947 u32 dnode = l->addr; in tipc_link_create_dummy_tnl_msg() local
1952 dnode, onode, 0, 0, 0); in tipc_link_create_dummy_tnl_msg()
1964 BASIC_H_SIZE, dnode); in tipc_link_create_dummy_tnl_msg()
2519 u32 dnode = msg_destnode(hdr); in tipc_link_bc_nack_rcv() local
2535 if (dnode == tipc_own_addr(l->net)) { in tipc_link_bc_nack_rcv()
Dmsg.h1163 uint data_sz, u32 dnode, u32 onode,
1167 u32 dnode, bool *new_bundle);
/linux-6.1.9/Documentation/filesystems/
Dhpfs.rst163 the old one so the new name doesn't fit in directory node (dnode). And that
193 Old versions of this driver created sometimes unbalanced dnode trees. OS/2