Home
last modified time | relevance | path

Searched refs:dnode (Results 1 - 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/fs/hpfs/
H A Ddnode.c3 * linux/fs/hpfs/dnode.c
7 * handling directory dnode tree - adding, deleteing & searching for dirents
12 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()
144 hpfs_error(s, "set_last_pointer: empty dnode %08x", le32_to_cpu(d->self)); in set_last_pointer()
149 hpfs_error(s, "set_last_pointer: dnode %08x has already last pointer %08x", in set_last_pointer()
154 hpfs_error(s, "set_last_pointer: bad last dirent in dnode %08x", le32_to_cpu(d->self)); in set_last_pointer()
161 hpfs_error(s, "set_last_pointer: too long dnode in set_last_pointer()
437 struct dnode *dnode; move_to_top() local
522 struct dnode *dnode; delete_empty_dnode() local
714 struct dnode *dnode = qbh->data; hpfs_remove_dirent() local
746 struct dnode *dnode; hpfs_count_dnodes() local
801 struct dnode *dnode; map_nth_dirent() local
853 struct dnode *dnode; map_pos_dirent() local
913 struct dnode *dnode; map_dirent() local
953 struct dnode *dnode; hpfs_remove_dtree() local
[all...]
H A Dhpfs_fn.h49 unsigned i_dno; /* (directories) root dnode */
71 unsigned sb_dmap; /* sector number of dnode bit map */
112 /* The first dir entry in a dnode */
114 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 CHKCOND(le32_to_cpu(dnode->first_free)>=0x14 && le32_to_cpu(dnode in dnode_end_de()
[all...]
H A Dmap.c253 * Load dnode to memory and do some checks
256 struct dnode *hpfs_map_dnode(struct super_block *s, unsigned secno, in hpfs_map_dnode()
259 struct dnode *dnode; in hpfs_map_dnode() local
261 if (hpfs_chk_sectors(s, secno, 4, "dnode")) return NULL; in hpfs_map_dnode()
263 hpfs_error(s, "dnode %08x not byte-aligned", secno); in hpfs_map_dnode()
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()
273 hpfs_error(s, "bad magic on dnode in hpfs_map_dnode()
[all...]
H A 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()
H A DMakefile8 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
/kernel/linux/linux-6.6/fs/hpfs/
H A Ddnode.c3 * linux/fs/hpfs/dnode.c
7 * handling directory dnode tree - adding, deleteing & searching for dirents
12 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()
144 hpfs_error(s, "set_last_pointer: empty dnode %08x", le32_to_cpu(d->self)); in set_last_pointer()
149 hpfs_error(s, "set_last_pointer: dnode %08x has already last pointer %08x", in set_last_pointer()
154 hpfs_error(s, "set_last_pointer: bad last dirent in dnode %08x", le32_to_cpu(d->self)); in set_last_pointer()
161 hpfs_error(s, "set_last_pointer: too long dnode in set_last_pointer()
437 struct dnode *dnode; move_to_top() local
522 struct dnode *dnode; delete_empty_dnode() local
714 struct dnode *dnode = qbh->data; hpfs_remove_dirent() local
746 struct dnode *dnode; hpfs_count_dnodes() local
801 struct dnode *dnode; map_nth_dirent() local
853 struct dnode *dnode; map_pos_dirent() local
913 struct dnode *dnode; map_dirent() local
953 struct dnode *dnode; hpfs_remove_dtree() local
[all...]
H A Dhpfs_fn.h49 unsigned i_dno; /* (directories) root dnode */
71 unsigned sb_dmap; /* sector number of dnode bit map */
112 /* The first dir entry in a dnode */
114 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 CHKCOND(le32_to_cpu(dnode->first_free)>=0x14 && le32_to_cpu(dnode in dnode_end_de()
[all...]
H A Dmap.c253 * Load dnode to memory and do some checks
256 struct dnode *hpfs_map_dnode(struct super_block *s, unsigned secno, in hpfs_map_dnode()
259 struct dnode *dnode; in hpfs_map_dnode() local
261 if (hpfs_chk_sectors(s, secno, 4, "dnode")) return NULL; in hpfs_map_dnode()
263 hpfs_error(s, "dnode %08x not byte-aligned", secno); in hpfs_map_dnode()
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()
273 hpfs_error(s, "bad magic on dnode in hpfs_map_dnode()
[all...]
H A 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()
89 dnode->root_dnode = 1; in hpfs_mkdir()
90 dnode->up = cpu_to_le32(fno); in hpfs_mkdir()
91 de = hpfs_add_de(dir->i_sb, dnode, "\001\001", 2, 0); in hpfs_mkdir()
H A DMakefile8 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
/kernel/linux/linux-6.6/arch/powerpc/platforms/8xx/
H A Dtqm8xx_setup.c93 struct device_node *dnode; in init_ioports() local
101 dnode = of_find_node_by_name(NULL, "aliases"); in init_ioports()
102 if (dnode == NULL) in init_ioports()
104 prop = of_find_property(dnode, "ethernet1", &len); in init_ioports()
106 of_node_put(dnode); in init_ioports()
/kernel/linux/linux-5.10/arch/powerpc/platforms/8xx/
H A 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()
/kernel/linux/linux-5.10/net/tipc/
H A Dmsg.c84 u32 hsize, u32 dnode) in tipc_msg_init()
95 msg_set_destnode(m, dnode); in tipc_msg_init()
100 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create()
111 tipc_msg_init(onode, msg, user, type, hdr_sz, dnode); in tipc_msg_create()
118 msg_set_destnode(msg, dnode); in tipc_msg_create()
512 * @dnode: destination node for the message
521 u32 dnode, bool *new_bundle) in tipc_msg_try_bundle()
558 dnode); in tipc_msg_try_bundle() local
703 u32 dport, dnode; in tipc_msg_lookup_dest() local
718 dnode in tipc_msg_lookup_dest()
83 tipc_msg_init(u32 own_node, struct tipc_msg *m, u32 user, u32 type, u32 hsize, u32 dnode) tipc_msg_init() argument
99 tipc_msg_create(uint user, uint type, uint hdr_sz, uint data_sz, u32 dnode, u32 onode, u32 dport, u32 oport, int errcode) tipc_msg_create() argument
520 tipc_msg_try_bundle(struct sk_buff *tskb, struct sk_buff **skb, u32 mss, u32 dnode, bool *new_bundle) tipc_msg_try_bundle() argument
[all...]
H A 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);
H A Dname_distr.c142 * @dnode: node to be updated
146 u32 dnode, struct list_head *pls, u16 seqno) in named_distribute()
151 u32 msg_dsz = ((tipc_node_get_mtu(net, dnode, 0, false) - INT_H_SIZE) / in named_distribute()
160 dnode); in named_distribute()
198 void tipc_named_node_up(struct net *net, u32 dnode, u16 capabilities) in tipc_named_node_up() argument
213 named_distribute(net, &head, dnode, &nt->cluster_scope, seqno); in tipc_named_node_up()
214 tipc_node_xmit(net, &head, dnode, 0); in tipc_named_node_up()
145 named_distribute(struct net *net, struct sk_buff_head *list, u32 dnode, struct list_head *pls, u16 seqno) named_distribute() argument
H A Dsocket.c278 u32 dnode; in tipc_sk_respond() local
285 dnode = msg_destnode(buf_msg(skb)); in tipc_sk_respond()
287 tipc_node_xmit_skb(sock_net(sk), skb, dnode, selector); in tipc_sk_respond() local
543 u32 dnode = tsk_peer_node(tsk); in __tipc_shutdown() local
572 tipc_node_remove_conn(net, dnode, tsk->portid); in __tipc_shutdown()
581 TIPC_CONN_MSG, SHORT_H_SIZE, 0, dnode, in __tipc_shutdown()
585 tipc_node_xmit_skb(net, skb, dnode, tsk->portid); in __tipc_shutdown()
880 * @dnode: destination node
886 u32 dnode, u32 dport, int dlen) in tipc_send_group_msg()
899 msg_set_destnode(hdr, dnode); in tipc_send_group_msg()
884 tipc_send_group_msg(struct net *net, struct tipc_sock *tsk, struct msghdr *m, struct tipc_member *mb, u32 dnode, u32 dport, int dlen) tipc_send_group_msg() argument
1269 u32 dnode = tsk_peer_node(tsk); tipc_sk_push_backlog() local
1410 u32 dport = 0, dnode = 0; __tipc_sendmsg() local
1557 u32 dnode = tsk_peer_node(tsk); __tipc_sendstream() local
1799 u32 dnode = tsk_peer_node(tsk); tipc_sk_build_ack() local
2479 u32 dnode, dport = 0; tipc_sk_rcv() local
[all...]
H A Dnode.c678 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port) in tipc_node_add_conn() argument
684 if (in_own_node(net, dnode)) in tipc_node_add_conn()
687 node = tipc_node_find(net, dnode); in tipc_node_add_conn()
689 pr_warn("Connecting sock to node 0x%x failed\n", dnode); in tipc_node_add_conn()
697 conn->peer_node = dnode; in tipc_node_add_conn()
709 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port) in tipc_node_remove_conn() argument
714 if (in_own_node(net, dnode)) in tipc_node_remove_conn()
717 node = tipc_node_find(net, dnode); in tipc_node_remove_conn()
1655 * @dnode: address of destination node
1661 u32 dnode, in in tipc_node_xmit()
1660 tipc_node_xmit(struct net *net, struct sk_buff_head *list, u32 dnode, int selector) tipc_node_xmit() argument
1732 tipc_node_xmit_skb(struct net *net, struct sk_buff *skb, u32 dnode, u32 selector) tipc_node_xmit_skb() argument
1749 u32 selector, dnode; tipc_node_distr_xmit() local
1850 u32 dnode = msg_destnode(hdr); tipc_node_bc_rcv() local
[all...]
H A Dname_distr.h73 void tipc_named_node_up(struct net *net, u32 dnode, u16 capabilities);
/kernel/linux/linux-5.10/drivers/net/appletalk/
H A Dltpc.h51 unsigned char dnode; member
58 unsigned char dnode; member
/kernel/linux/linux-6.6/net/tipc/
H A 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);
H A Dname_distr.c146 * @dnode: node to be updated
151 u32 dnode, struct list_head *pls, u16 seqno) in named_distribute()
156 u32 msg_dsz = ((tipc_node_get_mtu(net, dnode, 0, false) - INT_H_SIZE) / in named_distribute()
165 dnode); in named_distribute()
203 * @dnode: destination node
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()
150 named_distribute(struct net *net, struct sk_buff_head *list, u32 dnode, struct list_head *pls, u16 seqno) named_distribute() argument
H A Dmsg.c82 u32 hsize, u32 dnode) in tipc_msg_init()
93 msg_set_destnode(m, dnode); in tipc_msg_init()
98 uint hdr_sz, uint data_sz, u32 dnode, in tipc_msg_create()
109 tipc_msg_init(onode, msg, user, type, hdr_sz, dnode); in tipc_msg_create()
508 * @dnode: destination node for the message
517 u32 dnode, bool *new_bundle) in tipc_msg_try_bundle()
554 dnode); in tipc_msg_try_bundle() local
81 tipc_msg_init(u32 own_node, struct tipc_msg *m, u32 user, u32 type, u32 hsize, u32 dnode) tipc_msg_init() argument
97 tipc_msg_create(uint user, uint type, uint hdr_sz, uint data_sz, u32 dnode, u32 onode, u32 dport, u32 oport, int errcode) tipc_msg_create() argument
516 tipc_msg_try_bundle(struct sk_buff *tskb, struct sk_buff **skb, u32 mss, u32 dnode, bool *new_bundle) tipc_msg_try_bundle() argument
H A 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()
1684 * @dnode: address of destination node
1690 u32 dnode, in in tipc_node_xmit()
1689 tipc_node_xmit(struct net *net, struct sk_buff_head *list, u32 dnode, int selector) tipc_node_xmit() argument
1761 tipc_node_xmit_skb(struct net *net, struct sk_buff *skb, u32 dnode, u32 selector) tipc_node_xmit_skb() argument
1778 u32 selector, dnode; tipc_node_distr_xmit() local
1879 u32 dnode = msg_destnode(hdr); tipc_node_bc_rcv() local
[all...]
H A Dname_distr.h72 void tipc_named_node_up(struct net *net, u32 dnode, u16 capabilities);
H A Dsocket.c290 u32 dnode; in tipc_sk_respond() local
297 dnode = msg_destnode(buf_msg(skb)); in tipc_sk_respond()
299 tipc_node_xmit_skb(sock_net(sk), skb, dnode, selector); in tipc_sk_respond() local
557 u32 dnode = tsk_peer_node(tsk); in __tipc_shutdown() local
586 tipc_node_remove_conn(net, dnode, tsk->portid); in __tipc_shutdown()
595 TIPC_CONN_MSG, SHORT_H_SIZE, 0, dnode, in __tipc_shutdown()
599 tipc_node_xmit_skb(net, skb, dnode, tsk->portid); in __tipc_shutdown()
903 * @dnode: destination node
909 u32 dnode, u32 dport, int dlen) in tipc_send_group_msg()
922 msg_set_destnode(hdr, dnode); in tipc_send_group_msg()
907 tipc_send_group_msg(struct net *net, struct tipc_sock *tsk, struct msghdr *m, struct tipc_member *mb, u32 dnode, u32 dport, int dlen) tipc_send_group_msg() argument
1280 u32 dnode = tsk_peer_node(tsk); tipc_sk_push_backlog() local
1567 u32 dnode = tsk_peer_node(tsk); __tipc_sendstream() local
1800 u32 dnode = tsk_peer_node(tsk); tipc_sk_build_ack() local
2486 u32 dnode, dport = 0; tipc_sk_rcv() local
[all...]

Completed in 24 milliseconds

12