Lines Matching +full:2 +full:nd
242 struct dnode *d, *ad, *rd, *nd = NULL; in hpfs_add_to_dnode() local
259 kfree(nd); in hpfs_add_to_dnode()
264 kfree(nd); in hpfs_add_to_dnode()
272 kfree(nd); in hpfs_add_to_dnode()
285 kfree(nd); in hpfs_add_to_dnode()
289 if (!nd) if (!(nd = kmalloc(0x924, GFP_NOFS))) { in hpfs_add_to_dnode()
300 memcpy(nd, d, le32_to_cpu(d->first_free)); in hpfs_add_to_dnode()
301 copy_de(de = hpfs_add_de(i->i_sb, nd, name, namelen, down_ptr), new_de); in hpfs_add_to_dnode()
302 for_all_poss(i, hpfs_pos_ins, get_pos(nd, de), 1); in hpfs_add_to_dnode()
303 h = ((char *)dnode_last_de(nd) - (char *)nd) / 2 + 10; in hpfs_add_to_dnode()
307 kfree(nd); in hpfs_add_to_dnode()
314 for (de = dnode_first_de(nd); (char *)de_next_de(de) - (char *)nd < h; de = de_next_de(de)) { in hpfs_add_to_dnode()
327 memmove((char *)nd + 20, de, le32_to_cpu(nd->first_free) + (char *)nd - (char *)de); in hpfs_add_to_dnode()
328 le32_add_cpu(&nd->first_free, -((char *)de - (char *)nd - 20)); in hpfs_add_to_dnode()
329 memcpy(d, nd, le32_to_cpu(nd->first_free)); in hpfs_add_to_dnode()
345 kfree(nd); in hpfs_add_to_dnode()
358 kfree(nd); in hpfs_add_to_dnode()
651 if (hpfs_sb(i->i_sb)->sb_chk >= 2) { in delete_empty_dnode()
658 if (hpfs_sb(i->i_sb)->sb_chk >= 2) { in delete_empty_dnode()
726 return 2; in hpfs_remove_dirent()
791 if (hpfs_stop_cycles(s, ptr, &d1, &d2, "hpfs_count_dnodes #2")) return; in hpfs_count_dnodes()
858 dno = pos >> 6 << 2; in map_pos_dirent()
1085 if (hpfs_stop_cycles(s, downd, &d1, &d2, "map_fnode_dirent #2")) { in map_fnode_dirent()