/external/ltp/testcases/kernel/syscalls/link/ |
link05.c | 67 static int nlinks = 1000; variable 79 nlinks = atoi(links_arg); 81 if (nlinks == 0) { 83 "nlinks is not a positive number"); 93 for (cnt = 1; cnt < nlinks; cnt++) { 107 for (cnt = 1; cnt < nlinks; cnt++) { 117 fname, fname, nlinks, 118 TEST_RETURN, nlinks, 123 if (cnt >= nlinks) { 127 fname, fname, nlinks, TEST_RETURN [all...] |
link03.c | 60 static int nlinks = 0; variable 78 nlinks = atoi(links_arg); 80 if (nlinks == 0) { 82 "nlinks is not a positive number"); 85 if (nlinks > 1000) { 87 "nlinks > 1000 - may get errno:%d (EMLINK)", 97 if (nlinks) 98 links = nlinks;
|
/external/autotest/server/cros/ |
lockfile.py | 235 nlinks = os.stat(self.unique_name).st_nlink 236 if nlinks == 2:
|
/bionic/libc/bionic/ |
fts.c | 545 int nitems, cderrno, descend, level, nlinks, nostat = 0, doadjust; local 565 * Nlinks is the number of possible entries of type directory in the 570 nlinks = 0; 572 nlinks = cur->fts_nlink - (ISSET(FTS_SEEDOT) ? 0 : 2); 575 nlinks = -1; 580 (void)printf("nlinks == %d (cur: %u)\n", nlinks, cur->fts_nlink); 600 if (nlinks || type == BREAD) { 602 if (nlinks && type == BREAD) 693 if (nlinks) { [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
mhlib.py | 161 nlinks = os.stat(fullname).st_nlink
162 if nlinks <= 2:
173 nlinks = nlinks - 1
174 if nlinks <= 2:
188 nlinks = os.stat(fullname).st_nlink
189 if nlinks <= 2:
205 nlinks = nlinks - 1
206 if nlinks <= 2: [all...] |
/external/python/cpython2/Lib/ |
mhlib.py | 161 nlinks = os.stat(fullname).st_nlink 162 if nlinks == 2: 173 nlinks = nlinks - 1 174 if nlinks == 2: 188 nlinks = os.stat(fullname).st_nlink 189 if nlinks == 2: 205 nlinks = nlinks - 1 206 if nlinks == 2 [all...] |
/external/u-boot/include/ |
ext_common.h | 167 __le16 nlinks; member in struct:ext2_inode
|
/external/icu/icu4c/source/tools/tzcode/ |
zic.c | 303 static int nlinks; variable 736 for (i = 0; i < nlinks; ++i) { 743 for (j = 0; j < nlinks; ++j) [all...] |
/external/u-boot/fs/ext4/ |
ext4_write.c | 918 file_inode->nlinks = cpu_to_le16(1);
|