/linux/fs/hpfs/ |
H A D | dnode.c | 3 * 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 D | hpfs_fn.h | 49 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 D | map.c | 253 * 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 D | namei.c | 31 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 D | Makefile | 8 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
|
H A D | alloc.c | 355 * Called before adding to dnode. If we run out of space while 356 * splitting dnodes, it would corrupt dnode tree. 408 hpfs_error(s, "hpfs_free_dnode: dnode %08x not aligned", dno); in hpfs_free_dnode() 428 struct dnode *hpfs_alloc_dnode(struct super_block *s, secno near, in hpfs_alloc_dnode() 431 struct dnode *d; in hpfs_alloc_dnode()
|
H A D | hpfs.h | 31 typedef secno dnode_secno; /* sector number of a dnode */ 98 __le32 dir_band_bitmap; /* free space map, 1 dnode per bit */ 170 __le32 spare_dnodes[100]; /* emergency free dnode list */ 265 corresponds to one 4-sector dnode, bit 0 of the map corresponding to 272 /* dnode: directory. 4 sectors long */ 275 contains one pointer, to the root dnode of the tree. The fnode 281 struct dnode { struct 283 __le32 first_free; /* offset from start of dnode to argument 286 u8 root_dnode: 1; /* Is it root dnode? */ argument 294 u8 root_dnode: 1; /* Is it root dnode argument 297 updnode global() argument 299 selfdnode global() argument 300 direntdnode global() argument [all...] |
/linux/arch/powerpc/platforms/8xx/ |
H A D | tqm8xx_setup.c | 93 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()
|
/linux/net/tipc/ |
H A D | name_distr.c | 146 * @dnode: node to be updated 151 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() 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()
|
H A D | node.h | 101 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 D | msg.c | 82 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() 512 * @dnode: destination node for the message 521 u32 dnode, bool *new_bundle) in tipc_msg_try_bundle() argument 558 dnode); in tipc_msg_try_bundle()
|
H A D | name_distr.h | 72 void tipc_named_node_up(struct net *net, u32 dnode, u16 capabilities);
|
H A D | node.c | 692 int tipc_node_add_conn(struct net *net, u32 dnode, u32 port, u32 peer_port) in tipc_node_add_conn() argument 698 if (in_own_node(net, dnode)) in tipc_node_add_conn() 701 node = tipc_node_find(net, dnode); in tipc_node_add_conn() 703 pr_warn("Connecting sock to node 0x%x failed\n", dnode); in tipc_node_add_conn() 711 conn->peer_node = dnode; in tipc_node_add_conn() 723 void tipc_node_remove_conn(struct net *net, u32 dnode, u32 port) in tipc_node_remove_conn() argument 728 if (in_own_node(net, dnode)) in tipc_node_remove_conn() 731 node = tipc_node_find(net, dnode); in tipc_node_remove_conn() 1682 * @dnode: address of destination node 1688 u32 dnode, in in tipc_node_xmit() argument 1759 tipc_node_xmit_skb(struct net * net,struct sk_buff * skb,u32 dnode,u32 selector) tipc_node_xmit_skb() argument 1776 u32 selector, dnode; tipc_node_distr_xmit() local 1877 u32 dnode = msg_destnode(hdr); tipc_node_bc_rcv() local [all...] |
H A D | socket.c | 287 u32 dnode; in tipc_sk_respond() local 294 dnode = msg_destnode(buf_msg(skb)); in tipc_sk_respond() 296 tipc_node_xmit_skb(sock_net(sk), skb, dnode, selector); in tipc_sk_respond() 554 u32 dnode = tsk_peer_node(tsk); in __tipc_shutdown() local 583 tipc_node_remove_conn(net, dnode, tsk->portid); in __tipc_shutdown() 592 TIPC_CONN_MSG, SHORT_H_SIZE, 0, dnode, in __tipc_shutdown() 596 tipc_node_xmit_skb(net, skb, dnode, tsk->portid); in __tipc_shutdown() 900 * @dnode: destination node 906 u32 dnode, u32 dport, int dlen) in tipc_send_group_msg() argument 919 msg_set_destnode(hdr, dnode); in tipc_send_group_msg() 1275 u32 dnode = tsk_peer_node(tsk); tipc_sk_push_backlog() local 1562 u32 dnode = tsk_peer_node(tsk); __tipc_sendstream() local 1795 u32 dnode = tsk_peer_node(tsk); tipc_sk_build_ack() local 2481 u32 dnode, dport = 0; tipc_sk_rcv() local [all...] |
H A D | group.h | 69 bool tipc_group_cong(struct tipc_group *grp, u32 dnode, u32 dport,
|
H A D | bcast.c | 293 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()
|
H A D | group.c | 417 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()
|
H A D | msg.h | 1163 uint data_sz, u32 dnode, u32 onode, 1167 u32 dnode, bool *new_bundle);
|
/linux/Documentation/filesystems/ |
H A D | hpfs.rst | 163 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
|