tag | line | file | source code |
i_nlink | 194 | fs/ext/freelists.c | if (inode->i_nlink) { |
i_nlink | 195 | fs/ext/freelists.c | printk("free_inode: inode has nlink=%d\n",inode->i_nlink); |
i_nlink | 283 | fs/ext/freelists.c | inode->i_nlink = 1; |
i_nlink | 28 | fs/ext/inode.c | if (inode->i_nlink) |
i_nlink | 373 | fs/ext/inode.c | inode->i_nlink = raw_inode->i_nlinks; |
i_nlink | 411 | fs/ext/inode.c | raw_inode->i_nlinks = inode->i_nlink; |
i_nlink | 327 | fs/ext/namei.c | inode->i_nlink--; |
i_nlink | 386 | fs/ext/namei.c | inode->i_nlink--; |
i_nlink | 429 | fs/ext/namei.c | inode->i_nlink--; |
i_nlink | 444 | fs/ext/namei.c | inode->i_nlink = 2; |
i_nlink | 454 | fs/ext/namei.c | inode->i_nlink=0; |
i_nlink | 460 | fs/ext/namei.c | dir->i_nlink++; |
i_nlink | 567 | fs/ext/namei.c | if (inode->i_nlink != 2) |
i_nlink | 568 | fs/ext/namei.c | printk("empty directory has nlink!=2 (%d)\n",inode->i_nlink); |
i_nlink | 573 | fs/ext/namei.c | inode->i_nlink=0; |
i_nlink | 575 | fs/ext/namei.c | dir->i_nlink--; |
i_nlink | 607 | fs/ext/namei.c | if (!inode->i_nlink) { |
i_nlink | 610 | fs/ext/namei.c | inode->i_nlink); |
i_nlink | 611 | fs/ext/namei.c | inode->i_nlink=1; |
i_nlink | 617 | fs/ext/namei.c | inode->i_nlink--; |
i_nlink | 647 | fs/ext/namei.c | inode->i_nlink--; |
i_nlink | 662 | fs/ext/namei.c | inode->i_nlink--; |
i_nlink | 671 | fs/ext/namei.c | inode->i_nlink--; |
i_nlink | 695 | fs/ext/namei.c | if (oldinode->i_nlink > 32000) { |
i_nlink | 717 | fs/ext/namei.c | oldinode->i_nlink++; |
i_nlink | 853 | fs/ext/namei.c | new_inode->i_nlink--; |
i_nlink | 861 | fs/ext/namei.c | old_dir->i_nlink--; |
i_nlink | 862 | fs/ext/namei.c | new_dir->i_nlink++; |
i_nlink | 211 | fs/ext2/ialloc.c | if (inode->i_nlink) { |
i_nlink | 213 | fs/ext2/ialloc.c | inode->i_nlink); |
i_nlink | 455 | fs/ext2/ialloc.c | inode->i_nlink = 1; |
i_nlink | 492 | fs/ext2/ialloc.c | inode->i_nlink = 0; |
i_nlink | 33 | fs/ext2/inode.c | if (inode->i_nlink || inode->i_ino == EXT2_ACL_IDX_INO || |
i_nlink | 530 | fs/ext2/inode.c | inode->i_nlink = raw_inode->i_links_count; |
i_nlink | 621 | fs/ext2/inode.c | raw_inode->i_links_count = inode->i_nlink; |
i_nlink | 388 | fs/ext2/namei.c | inode->i_nlink--; |
i_nlink | 452 | fs/ext2/namei.c | inode->i_nlink--; |
i_nlink | 487 | fs/ext2/namei.c | if (dir->i_nlink >= EXT2_LINK_MAX) { |
i_nlink | 501 | fs/ext2/namei.c | inode->i_nlink--; |
i_nlink | 517 | fs/ext2/namei.c | inode->i_nlink = 2; |
i_nlink | 527 | fs/ext2/namei.c | inode->i_nlink = 0; |
i_nlink | 540 | fs/ext2/namei.c | dir->i_nlink++; |
i_nlink | 673 | fs/ext2/namei.c | if (inode->i_nlink != 2) |
i_nlink | 676 | fs/ext2/namei.c | inode->i_nlink); |
i_nlink | 678 | fs/ext2/namei.c | inode->i_nlink = 0; |
i_nlink | 680 | fs/ext2/namei.c | dir->i_nlink--; |
i_nlink | 725 | fs/ext2/namei.c | if (!inode->i_nlink) { |
i_nlink | 728 | fs/ext2/namei.c | inode->i_ino, inode->i_nlink); |
i_nlink | 729 | fs/ext2/namei.c | inode->i_nlink = 1; |
i_nlink | 742 | fs/ext2/namei.c | inode->i_nlink--; |
i_nlink | 780 | fs/ext2/namei.c | inode->i_nlink--; |
i_nlink | 805 | fs/ext2/namei.c | inode->i_nlink--; |
i_nlink | 814 | fs/ext2/namei.c | inode->i_nlink--; |
i_nlink | 851 | fs/ext2/namei.c | if (oldinode->i_nlink >= EXT2_LINK_MAX) { |
i_nlink | 879 | fs/ext2/namei.c | oldinode->i_nlink++; |
i_nlink | 1016 | fs/ext2/namei.c | if (!new_inode && new_dir->i_nlink >= EXT2_LINK_MAX) |
i_nlink | 1046 | fs/ext2/namei.c | new_inode->i_nlink--; |
i_nlink | 1056 | fs/ext2/namei.c | old_dir->i_nlink--; |
i_nlink | 1059 | fs/ext2/namei.c | new_inode->i_nlink--; |
i_nlink | 1062 | fs/ext2/namei.c | new_dir->i_nlink++; |
i_nlink | 34 | fs/fat/inode.c | if (inode->i_nlink) { |
i_nlink | 379 | fs/fat/inode.c | inode->i_nlink = fat_subdirs(inode)+2; |
i_nlink | 406 | fs/fat/inode.c | inode->i_nlink = fat_subdirs(inode); |
i_nlink | 409 | fs/fat/inode.c | if (!inode->i_nlink) { |
i_nlink | 411 | fs/fat/inode.c | inode->i_nlink = 1; |
i_nlink | 436 | fs/fat/inode.c | inode->i_nlink = 1; |
i_nlink | 466 | fs/fat/inode.c | if (inode->i_ino == MSDOS_ROOT_INO || !inode->i_nlink) return; |
i_nlink | 694 | fs/hpfs/hpfs_fs.c | inode->i_nlink = 1; |
i_nlink | 722 | fs/hpfs/hpfs_fs.c | inode->i_nlink = 2 + n_subdirs; |
i_nlink | 423 | fs/inode.c | if (!inode->i_nlink) |
i_nlink | 511 | fs/inode.c | inode->i_nlink = 1; |
i_nlink | 474 | fs/isofs/inode.c | inode->i_nlink = 1; /* Set to 1. We know there are 2, but |
i_nlink | 481 | fs/isofs/inode.c | inode->i_nlink = 1; |
i_nlink | 616 | fs/isofs/inode.c | inode->i_nlink = 1; |
i_nlink | 297 | fs/isofs/rock.c | inode->i_nlink = isonum_733(rr->u.PX.n_links); |
i_nlink | 376 | fs/isofs/rock.c | inode->i_nlink = reloc->i_nlink; |
i_nlink | 193 | fs/minix/bitmap.c | if (inode->i_nlink) { |
i_nlink | 194 | fs/minix/bitmap.c | printk("free_inode: inode has nlink=%d\n",inode->i_nlink); |
i_nlink | 250 | fs/minix/bitmap.c | inode->i_nlink = 1; |
i_nlink | 26 | fs/minix/inode.c | if (inode->i_nlink) |
i_nlink | 662 | fs/minix/inode.c | inode->i_nlink = raw_inode->i_nlinks; |
i_nlink | 716 | fs/minix/inode.c | inode->i_nlink = raw_inode->i_nlinks; |
i_nlink | 781 | fs/minix/inode.c | raw_inode->i_nlinks = inode->i_nlink; |
i_nlink | 822 | fs/minix/inode.c | raw_inode->i_nlinks = inode->i_nlink; |
i_nlink | 232 | fs/minix/namei.c | inode->i_nlink--; |
i_nlink | 289 | fs/minix/namei.c | inode->i_nlink--; |
i_nlink | 322 | fs/minix/namei.c | if (dir->i_nlink >= MINIX_LINK_MAX) { |
i_nlink | 336 | fs/minix/namei.c | inode->i_nlink--; |
i_nlink | 347 | fs/minix/namei.c | inode->i_nlink = 2; |
i_nlink | 357 | fs/minix/namei.c | inode->i_nlink=0; |
i_nlink | 363 | fs/minix/namei.c | dir->i_nlink++; |
i_nlink | 469 | fs/minix/namei.c | if (inode->i_nlink != 2) |
i_nlink | 470 | fs/minix/namei.c | printk("empty directory has nlink!=2 (%d)\n",inode->i_nlink); |
i_nlink | 474 | fs/minix/namei.c | inode->i_nlink=0; |
i_nlink | 477 | fs/minix/namei.c | dir->i_nlink--; |
i_nlink | 520 | fs/minix/namei.c | if (!inode->i_nlink) { |
i_nlink | 523 | fs/minix/namei.c | inode->i_ino, inode->i_nlink); |
i_nlink | 524 | fs/minix/namei.c | inode->i_nlink=1; |
i_nlink | 531 | fs/minix/namei.c | inode->i_nlink--; |
i_nlink | 559 | fs/minix/namei.c | inode->i_nlink--; |
i_nlink | 574 | fs/minix/namei.c | inode->i_nlink--; |
i_nlink | 583 | fs/minix/namei.c | inode->i_nlink--; |
i_nlink | 608 | fs/minix/namei.c | if (oldinode->i_nlink >= MINIX_LINK_MAX) { |
i_nlink | 630 | fs/minix/namei.c | oldinode->i_nlink++; |
i_nlink | 753 | fs/minix/namei.c | if (!new_inode && new_dir->i_nlink >= MINIX_LINK_MAX) |
i_nlink | 778 | fs/minix/namei.c | new_inode->i_nlink--; |
i_nlink | 787 | fs/minix/namei.c | old_dir->i_nlink--; |
i_nlink | 790 | fs/minix/namei.c | new_inode->i_nlink--; |
i_nlink | 793 | fs/minix/namei.c | new_dir->i_nlink++; |
i_nlink | 407 | fs/msdos/namei.c | inode->i_nlink = 0; |
i_nlink | 409 | fs/msdos/namei.c | dir->i_nlink--; |
i_nlink | 451 | fs/msdos/namei.c | dir->i_nlink++; |
i_nlink | 452 | fs/msdos/namei.c | inode->i_nlink = 2; /* no need to mark them dirty */ |
i_nlink | 459 | fs/msdos/namei.c | dot->i_nlink = inode->i_nlink; |
i_nlink | 467 | fs/msdos/namei.c | dot->i_nlink = dir->i_nlink; |
i_nlink | 511 | fs/msdos/namei.c | inode->i_nlink = 0; |
i_nlink | 573 | fs/msdos/namei.c | new_dir->i_nlink--; |
i_nlink | 576 | fs/msdos/namei.c | new_inode->i_nlink = 0; |
i_nlink | 667 | fs/msdos/namei.c | new_inode->i_nlink = 0; |
i_nlink | 689 | fs/msdos/namei.c | new_dir->i_nlink--; |
i_nlink | 720 | fs/msdos/namei.c | old_dir->i_nlink--; |
i_nlink | 721 | fs/msdos/namei.c | new_dir->i_nlink++; |
i_nlink | 723 | fs/msdos/namei.c | dotdot_inode->i_nlink = new_dir->i_nlink; |
i_nlink | 91 | fs/ncpfs/inode.c | inode->i_nlink = 1; |
i_nlink | 617 | fs/nfs/dir.c | inode->i_nlink = fattr->nlink; |
i_nlink | 21 | fs/proc/inode.c | if (inode->i_nlink) |
i_nlink | 90 | fs/proc/inode.c | inode->i_nlink = de->nlink; |
i_nlink | 142 | fs/proc/inode.c | inode->i_nlink = 1; |
i_nlink | 157 | fs/proc/inode.c | inode->i_nlink = 2; |
i_nlink | 160 | fs/proc/inode.c | inode->i_nlink++; |
i_nlink | 171 | fs/proc/inode.c | inode->i_nlink = 2; |
i_nlink | 175 | fs/proc/inode.c | inode->i_nlink = 2; |
i_nlink | 202 | fs/proc/inode.c | inode->i_nlink = 4; |
i_nlink | 218 | fs/proc/inode.c | inode->i_nlink = 2; |
i_nlink | 96 | fs/smbfs/inode.c | inode->i_nlink = 1; |
i_nlink | 32 | fs/stat.c | tmp.st_nlink = inode->i_nlink; |
i_nlink | 56 | fs/stat.c | tmp.st_nlink = inode->i_nlink; |
i_nlink | 69 | fs/sysv/ialloc.c | if (inode->i_nlink) { |
i_nlink | 70 | fs/sysv/ialloc.c | printk("sysv_free_inode: inode has nlink=%d\n", inode->i_nlink); |
i_nlink | 135 | fs/sysv/ialloc.c | if (raw_inode->i_mode == 0 && raw_inode->i_nlink == 0) |
i_nlink | 153 | fs/sysv/ialloc.c | inode->i_nlink = 1; |
i_nlink | 201 | fs/sysv/ialloc.c | if (raw_inode->i_mode == 0 && raw_inode->i_nlink == 0) |
i_nlink | 37 | fs/sysv/inode.c | if (inode->i_nlink) |
i_nlink | 831 | fs/sysv/inode.c | inode->i_nlink = raw_inode->i_nlink; |
i_nlink | 917 | fs/sysv/inode.c | raw_inode->i_nlink = inode->i_nlink; |
i_nlink | 225 | fs/sysv/namei.c | inode->i_nlink--; |
i_nlink | 282 | fs/sysv/namei.c | inode->i_nlink--; |
i_nlink | 313 | fs/sysv/namei.c | if (dir->i_nlink >= dir->i_sb->sv_link_max) { |
i_nlink | 327 | fs/sysv/namei.c | inode->i_nlink--; |
i_nlink | 338 | fs/sysv/namei.c | inode->i_nlink = 2; |
i_nlink | 348 | fs/sysv/namei.c | inode->i_nlink=0; |
i_nlink | 354 | fs/sysv/namei.c | dir->i_nlink++; |
i_nlink | 461 | fs/sysv/namei.c | if (inode->i_nlink != 2) |
i_nlink | 462 | fs/sysv/namei.c | printk("empty directory has nlink!=2 (%d)\n",inode->i_nlink); |
i_nlink | 465 | fs/sysv/namei.c | inode->i_nlink=0; |
i_nlink | 467 | fs/sysv/namei.c | dir->i_nlink--; |
i_nlink | 511 | fs/sysv/namei.c | if (!inode->i_nlink) { |
i_nlink | 514 | fs/sysv/namei.c | inode->i_ino, inode->i_nlink); |
i_nlink | 515 | fs/sysv/namei.c | inode->i_nlink=1; |
i_nlink | 521 | fs/sysv/namei.c | inode->i_nlink--; |
i_nlink | 552 | fs/sysv/namei.c | inode->i_nlink--; |
i_nlink | 569 | fs/sysv/namei.c | inode->i_nlink--; |
i_nlink | 578 | fs/sysv/namei.c | inode->i_nlink--; |
i_nlink | 603 | fs/sysv/namei.c | if (oldinode->i_nlink >= oldinode->i_sb->sv_link_max) { |
i_nlink | 625 | fs/sysv/namei.c | oldinode->i_nlink++; |
i_nlink | 747 | fs/sysv/namei.c | if (!new_inode && new_dir->i_nlink >= new_dir->i_sb->sv_link_max) |
i_nlink | 770 | fs/sysv/namei.c | new_inode->i_nlink--; |
i_nlink | 779 | fs/sysv/namei.c | old_dir->i_nlink--; |
i_nlink | 782 | fs/sysv/namei.c | new_inode->i_nlink--; |
i_nlink | 785 | fs/sysv/namei.c | new_dir->i_nlink++; |
i_nlink | 397 | fs/umsdos/dir.c | inode->i_nlink = entry->nlink; |
i_nlink | 281 | fs/umsdos/inode.c | if (inode->i_nlink > 0){ |
i_nlink | 337 | fs/umsdos/inode.c | entry.nlink = inode->i_nlink; |
i_nlink | 648 | fs/umsdos/namei.c | oldinode->i_nlink++; |
i_nlink | 891 | fs/umsdos/namei.c | PRINTK (("isempty ret %d nlink %d ",ret,dir->i_nlink)); |
i_nlink | 962 | fs/umsdos/namei.c | PRINTK (("unlink nlink = %d ",inode->i_nlink)); |
i_nlink | 963 | fs/umsdos/namei.c | inode->i_nlink--; |
i_nlink | 964 | fs/umsdos/namei.c | if (inode->i_nlink == 0){ |
i_nlink | 1070 | fs/vfat/namei.c | dot->i_nlink = dir->i_nlink; |
i_nlink | 1074 | fs/vfat/namei.c | dot->i_nlink = parent->i_nlink; |
i_nlink | 1173 | fs/vfat/namei.c | inode->i_nlink = 0; |
i_nlink | 1176 | fs/vfat/namei.c | dir->i_nlink--; |
i_nlink | 1195 | fs/vfat/namei.c | inode->i_nlink = 0; |
i_nlink | 1325 | fs/vfat/namei.c | dir->i_nlink++; |
i_nlink | 1326 | fs/vfat/namei.c | inode->i_nlink = 2; /* no need to mark them dirty */ |
i_nlink | 1515 | fs/vfat/namei.c | old_dir->i_nlink--; |
i_nlink | 1516 | fs/vfat/namei.c | new_dir->i_nlink++; |
i_nlink | 1518 | fs/vfat/namei.c | dotdot_inode->i_nlink = new_dir->i_nlink; |
i_nlink | 287 | fs/xiafs/bitmap.c | || inode->i_nlink || !inode->i_sb || inode->i_ino < 3 |
i_nlink | 324 | fs/xiafs/bitmap.c | inode->i_nlink = 1; |
i_nlink | 30 | fs/xiafs/inode.c | if (inode->i_nlink) |
i_nlink | 398 | fs/xiafs/inode.c | inode->i_nlink = raw_inode->i_nlinks; |
i_nlink | 461 | fs/xiafs/inode.c | raw_inode->i_nlinks = inode->i_nlink; |
i_nlink | 265 | fs/xiafs/namei.c | inode->i_nlink--; |
i_nlink | 322 | fs/xiafs/namei.c | inode->i_nlink--; |
i_nlink | 348 | fs/xiafs/namei.c | if (dir->i_nlink > 64000) { |
i_nlink | 364 | fs/xiafs/namei.c | inode->i_nlink--; |
i_nlink | 379 | fs/xiafs/namei.c | inode->i_nlink = 2; |
i_nlink | 389 | fs/xiafs/namei.c | inode->i_nlink=0; |
i_nlink | 395 | fs/xiafs/namei.c | dir->i_nlink++; |
i_nlink | 521 | fs/xiafs/namei.c | if (inode->i_nlink != 2) |
i_nlink | 525 | fs/xiafs/namei.c | inode->i_nlink=0; |
i_nlink | 527 | fs/xiafs/namei.c | dir->i_nlink--; |
i_nlink | 567 | fs/xiafs/namei.c | if (!inode->i_nlink) { |
i_nlink | 569 | fs/xiafs/namei.c | inode->i_nlink=1; |
i_nlink | 575 | fs/xiafs/namei.c | inode->i_nlink--; |
i_nlink | 609 | fs/xiafs/namei.c | inode->i_nlink--; |
i_nlink | 623 | fs/xiafs/namei.c | inode->i_nlink--; |
i_nlink | 648 | fs/xiafs/namei.c | if (oldinode->i_nlink > 64000) { |
i_nlink | 670 | fs/xiafs/namei.c | oldinode->i_nlink++; |
i_nlink | 775 | fs/xiafs/namei.c | if (new_dir->i_nlink > 64000) |
i_nlink | 800 | fs/xiafs/namei.c | new_inode->i_nlink--; |
i_nlink | 808 | fs/xiafs/namei.c | old_dir->i_nlink--; |
i_nlink | 809 | fs/xiafs/namei.c | new_dir->i_nlink++; |
i_nlink | 269 | include/linux/fs.h | nlink_t i_nlink; |
i_nlink | 223 | include/linux/sysv_fs.h | unsigned short i_nlink; |