dnode 396 fs/hpfs/alloc.c struct dnode *hpfs_alloc_dnode(struct super_block *s, secno near, dnode 400 fs/hpfs/alloc.c struct dnode *d; dnode 211 fs/hpfs/dnode.c struct dnode *dd; dnode 230 fs/hpfs/dnode.c struct dnode *d, *ad, *rd, *nd = NULL; dnode 375 fs/hpfs/dnode.c struct dnode *d; dnode 423 fs/hpfs/dnode.c struct dnode *dnode; dnode 434 fs/hpfs/dnode.c if (!(dnode = hpfs_map_dnode(i->i_sb, dno, &qbh))) return 0; dnode 436 fs/hpfs/dnode.c if (dnode->up != chk_up) { dnode 438 fs/hpfs/dnode.c dno, chk_up, dnode->up); dnode 444 fs/hpfs/dnode.c if (!(de = dnode_last_de(dnode))) { dnode 453 fs/hpfs/dnode.c while (!(de = dnode_pre_last_de(dnode))) { dnode 454 fs/hpfs/dnode.c dnode_secno up = dnode->up; dnode 461 fs/hpfs/dnode.c if (!(dnode = hpfs_map_dnode(i->i_sb, up, &qbh))) return 0; dnode 462 fs/hpfs/dnode.c if (dnode->root_dnode) { dnode 467 fs/hpfs/dnode.c de = dnode_last_de(dnode); dnode 473 fs/hpfs/dnode.c dnode->first_free -= 4; dnode 479 fs/hpfs/dnode.c t = get_pos(dnode, de); dnode 489 fs/hpfs/dnode.c hpfs_delete_de(i->i_sb, dnode, de); dnode 490 fs/hpfs/dnode.c set_last_pointer(i->i_sb, dnode, ddno); dnode 508 fs/hpfs/dnode.c struct dnode *dnode; dnode 515 fs/hpfs/dnode.c if (!(dnode = hpfs_map_dnode(i->i_sb, dno, &qbh))) return; dnode 516 fs/hpfs/dnode.c if (dnode->first_free > 56) goto end; dnode 517 fs/hpfs/dnode.c if (dnode->first_free == 52 || dnode->first_free == 56) { dnode 519 fs/hpfs/dnode.c int root = dnode->root_dnode; dnode 520 fs/hpfs/dnode.c up = dnode->up; dnode 521 fs/hpfs/dnode.c de = dnode_first_de(dnode); dnode 534 fs/hpfs/dnode.c struct dnode *d1; dnode 558 fs/hpfs/dnode.c if (!(dnode = hpfs_map_dnode(i->i_sb, up, &qbh))) return; dnode 560 fs/hpfs/dnode.c de_end = dnode_end_de(dnode); dnode 561 fs/hpfs/dnode.c for (de = dnode_first_de(dnode); de < de_end; de = de_next_de(de), p++) dnode 570 fs/hpfs/dnode.c dnode->first_free -= 4; dnode 572 fs/hpfs/dnode.c (char *)dnode + dnode->first_free - (char *)de_next_de(de)); dnode 574 fs/hpfs/dnode.c struct dnode *d1; dnode 584 fs/hpfs/dnode.c hpfs_error(i->i_sb, "delete_empty_dnode: dnode %08x, first_free == %03x", dno, dnode->first_free); dnode 591 fs/hpfs/dnode.c struct dnode *d1; dnode 600 fs/hpfs/dnode.c hpfs_delete_de(i->i_sb, dnode, de); dnode 616 fs/hpfs/dnode.c struct hpfs_dirent *de_prev = dnode_pre_last_de(dnode); dnode 618 fs/hpfs/dnode.c struct dnode *d1; dnode 665 fs/hpfs/dnode.c hpfs_delete_de(i->i_sb, dnode, de_prev); dnode 669 fs/hpfs/dnode.c dnode->first_free += 4; dnode 698 fs/hpfs/dnode.c struct dnode *dnode = qbh->data; dnode 708 fs/hpfs/dnode.c if (depth && (de->down || (de == dnode_first_de(dnode) && de_next_de(de)->last))) { dnode 718 fs/hpfs/dnode.c for_all_poss(i, hpfs_pos_del, (t = get_pos(dnode, de)) + 1, 1); dnode 719 fs/hpfs/dnode.c hpfs_delete_de(i->i_sb, dnode, de); dnode 737 fs/hpfs/dnode.c struct dnode *dnode; dnode 749 fs/hpfs/dnode.c if (!(dnode = hpfs_map_dnode(s, dno, &qbh))) return; dnode 750 fs/hpfs/dnode.c if (hpfs_sb(s)->sb_chk) if (odno && odno != -1 && dnode->up != odno) dnode 751 fs/hpfs/dnode.c hpfs_error(s, "hpfs_count_dnodes: bad up pointer; dnode %08x, down %08x points to %08x", odno, dno, dnode->up); dnode 752 fs/hpfs/dnode.c de = dnode_first_de(dnode); dnode 773 fs/hpfs/dnode.c if ((de = de_next_de(de)) < dnode_end_de(dnode)) goto next_de; dnode 775 fs/hpfs/dnode.c dno = dnode->up; dnode 776 fs/hpfs/dnode.c if (dnode->root_dnode) { dnode 792 fs/hpfs/dnode.c struct dnode *dnode; dnode 793 fs/hpfs/dnode.c dnode = hpfs_map_dnode(s, dno, qbh); dnode 794 fs/hpfs/dnode.c if (!dnode) return NULL; dnode 795 fs/hpfs/dnode.c if (dn) *dn=dnode; dnode 796 fs/hpfs/dnode.c de = dnode_first_de(dnode); dnode 797 fs/hpfs/dnode.c de_end = dnode_end_de(dnode); dnode 823 fs/hpfs/dnode.c if (up && ((struct dnode *)qbh.data)->up != up) dnode 824 fs/hpfs/dnode.c hpfs_error(s, "hpfs_de_as_down_as_possible: bad up pointer; dnode %08x, down %08x points to %08x", up, d, ((struct dnode *)qbh.data)->up); dnode 844 fs/hpfs/dnode.c struct dnode *dnode; dnode 845 fs/hpfs/dnode.c struct dnode *up_dnode; dnode 851 fs/hpfs/dnode.c if (!(de = map_nth_dirent(inode->i_sb, dno, pos, qbh, &dnode))) dnode 855 fs/hpfs/dnode.c if ((d = de_next_de(de)) < dnode_end_de(dnode)) { dnode 871 fs/hpfs/dnode.c if (dnode->root_dnode) goto bail; dnode 873 fs/hpfs/dnode.c if (!(up_dnode = hpfs_map_dnode(inode->i_sb, dnode->up, &qbh0))) dnode 881 fs/hpfs/dnode.c "map_pos_dirent: pos crossed dnode boundary; dnode = %08x", dnode->up); dnode 883 fs/hpfs/dnode.c *posp = ((loff_t) dnode->up << 4) + c; dnode 890 fs/hpfs/dnode.c dno, dnode->up); dnode 903 fs/hpfs/dnode.c struct dnode *dnode; dnode 912 fs/hpfs/dnode.c if (!(dnode = hpfs_map_dnode(inode->i_sb, dno, qbh))) return NULL; dnode 914 fs/hpfs/dnode.c de_end = dnode_end_de(dnode); dnode 915 fs/hpfs/dnode.c for (de = dnode_first_de(dnode); de < de_end; de = de_next_de(de)) { dnode 943 fs/hpfs/dnode.c struct dnode *dnode; dnode 947 fs/hpfs/dnode.c if (!(dnode = hpfs_map_dnode(s, dno, &qbh))) return; dnode 948 fs/hpfs/dnode.c de = dnode_first_de(dnode); dnode 966 fs/hpfs/dnode.c if (!(dnode = hpfs_map_dnode(s, dno = d1, &qbh))) return; dnode 967 fs/hpfs/dnode.c de = dnode_first_de(dnode); dnode 994 fs/hpfs/dnode.c struct dnode *d; dnode 124 fs/hpfs/hpfs_fn.h return (void *) dnode->dirent; dnode 131 fs/hpfs/hpfs_fn.h CHKCOND(dnode->first_free>=0x14 && dnode->first_free<=0xa00,("HPFS: dnode_end_de: dnode->first_free = %d\n",(int)dnode->first_free)); dnode 132 fs/hpfs/hpfs_fn.h return (void *) dnode + dnode->first_free; dnode 209 fs/hpfs/hpfs_fn.h struct dnode *hpfs_alloc_dnode(struct super_block *, secno, dnode_secno *, struct quad_buffer_head *, int); dnode 290 fs/hpfs/hpfs_fn.h struct dnode *hpfs_map_dnode(struct super_block *s, dnode_secno, struct quad_buffer_head *); dnode 206 fs/hpfs/map.c struct dnode *hpfs_map_dnode(struct super_block *s, unsigned secno, dnode 209 fs/hpfs/map.c struct dnode *dnode; dnode 217 fs/hpfs/map.c if ((dnode = hpfs_map_4sectors(s, secno, qbh, DNODE_RD_AHEAD))) dnode 220 fs/hpfs/map.c unsigned char *d = (char *)dnode; dnode 222 fs/hpfs/map.c if (dnode->magic != DNODE_MAGIC) { dnode 226 fs/hpfs/map.c if (dnode->self != secno) dnode 227 fs/hpfs/map.c hpfs_error(s, "bad self pointer on dnode %08x self = %08x", secno, dnode->self); dnode 230 fs/hpfs/map.c if (dnode->first_free > 2048/* || dnode->first_free < 84*/) { dnode 231 fs/hpfs/map.c hpfs_error(s, "dnode %08x has first_free == %08x", secno, dnode->first_free); dnode 234 fs/hpfs/map.c for (p = 20; p < dnode->first_free; p += d[p] + (d[p+1] << 8)) { dnode 235 fs/hpfs/map.c struct hpfs_dirent *de = (struct hpfs_dirent *)((char *)dnode + p); dnode 254 fs/hpfs/map.c if (p != dnode->first_free) { dnode 264 fs/hpfs/map.c return dnode; dnode 19 fs/hpfs/namei.c struct dnode *dnode; dnode 32 fs/hpfs/namei.c dnode = hpfs_alloc_dnode(dir->i_sb, fno, &dno, &qbh0, 1); dnode 33 fs/hpfs/namei.c if (!dnode) dnode 80 fs/hpfs/namei.c dnode->root_dnode = 1; dnode 81 fs/hpfs/namei.c dnode->up = fno; dnode 82 fs/hpfs/namei.c de = hpfs_add_de(dir->i_sb, dnode, "\001\001", 2, 0); dnode 252 net/tipc/msg.h m->hdr[2] = dnode; dnode 188 net/tipc/net.c u32 dnode; dnode 197 net/tipc/net.c dnode = addr_domain(msg_lookup_scope(msg)); dnode 198 net/tipc/net.c dport = tipc_nametbl_translate(msg_nametype(msg), msg_nameinst(msg), &dnode); dnode 200 net/tipc/net.c msg_nametype(msg), msg_nameinst(msg), dport, dnode); dnode 202 net/tipc/net.c msg_set_destnode(msg, dnode); dnode 214 net/tipc/net.c u32 dnode; dnode 236 net/tipc/net.c dnode = msg_short(msg) ? tipc_own_addr : msg_destnode(msg); dnode 237 net/tipc/net.c if (in_scope(dnode, tipc_own_addr)) { dnode 266 net/tipc/net.c tipc_link_send(buf, dnode, msg_link_selector(msg));