Home
last modified time | relevance | path

Searched refs:nlinks (Results 1 – 20 of 20) sorted by relevance

/freebsd-13.1/contrib/ncurses/
H A Dmk-1st.awk144 nlinks = 0;
145 links[nlinks++] = end_name;
148 links[nlinks++] = abi_name;
149 links[nlinks++] = rel_name;
151 links[nlinks++] = abi_name;
155 links[nlinks++] = abi_name;
156 links[nlinks++] = lib_name;
158 links[nlinks++] = lib_name;
161 for (j = 0; j < nlinks; ++j) {
/freebsd-13.1/sys/arm64/coresight/
H A Dcoresight_acpi.c216 int nlinks; in cs_acpi_validate_coresight_graph() local
218 nlinks = cs_graph->Package.Elements[2].Integer.Value; in cs_acpi_validate_coresight_graph()
219 if (cs_graph->Package.Count != (nlinks + 3)) in cs_acpi_validate_coresight_graph()
304 int nlinks; in coresight_acpi_get_ports() local
314 nlinks = graph->Package.Elements[2].Integer.Value; in coresight_acpi_get_ports()
315 if (!nlinks) in coresight_acpi_get_ports()
318 for (i = 0; i < nlinks; i++) { in coresight_acpi_get_ports()
/freebsd-13.1/lib/libc/gen/
H A Dfts.c632 long nlinks; /* has to be signed because -1 is a magic value */ in fts_build() local
664 nlinks = 0; in fts_build()
669 nlinks = cur->fts_nlink - (ISSET(FTS_SEEDOT) ? 0 : 2); in fts_build()
671 nlinks = -1; in fts_build()
674 nlinks = -1; in fts_build()
699 if (nlinks || type == BREAD) { in fts_build()
701 if (nlinks && type == BREAD) in fts_build()
780 if (nlinks) { in fts_build()
786 } else if (nlinks == 0 in fts_build()
807 if (nlinks > 0 && (p->fts_info == FTS_D || in fts_build()
[all …]
H A Dfts-compat11.c635 long nlinks; /* has to be signed because -1 is a magic value */ in fts_build() local
667 nlinks = 0; in fts_build()
672 nlinks = cur->fts_nlink - (ISSET(FTS_SEEDOT) ? 0 : 2); in fts_build()
674 nlinks = -1; in fts_build()
677 nlinks = -1; in fts_build()
702 if (nlinks || type == BREAD) { in fts_build()
704 if (nlinks && type == BREAD) in fts_build()
784 if (nlinks) { in fts_build()
790 } else if (nlinks == 0 in fts_build()
811 if (nlinks > 0 && (p->fts_info == FTS_D || in fts_build()
[all …]
H A Dfts-compat.c669 nlinks = 0; in fts_build()
674 nlinks = cur->fts_nlink - (ISSET(FTS_SEEDOT) ? 0 : 2); in fts_build()
676 nlinks = -1; in fts_build()
679 nlinks = -1; in fts_build()
684 (void)printf("nlinks == %d (cur: %d)\n", nlinks, cur->fts_nlink); in fts_build()
704 if (nlinks || type == BREAD) { in fts_build()
706 if (nlinks && type == BREAD) in fts_build()
801 if (nlinks) { in fts_build()
807 } else if (nlinks == 0 in fts_build()
827 if (nlinks > 0 && (p->fts_info == FTS_D || in fts_build()
[all …]
/freebsd-13.1/contrib/libarchive/cpio/test/
H A Dtest_option_c.c56 nlinks(const char *p) in nlinks() function
200 assertEqualInt(nlinks("dir"), from_octal(e + 36, 6)); /* Nlink */ in DEFINE_TEST()
H A Dtest_format_newc.c74 nlinks(const char *p) in nlinks() function
284 assertEqualInt(nlinks("dir"), from_hex(e + 38, 8)); /* nlinks */ in DEFINE_TEST()
/freebsd-13.1/contrib/libarchive/test_utils/
H A Dtest_common.h228 #define assertFileNLinks(pathname, nlinks) \ argument
229 assertion_file_nlinks(__FILE__, __LINE__, pathname, nlinks)
H A Dtest_main.c1599 const char *pathname, int nlinks) in assertion_file_nlinks() argument
1607 if (r != 0 && bhfi.nNumberOfLinks == (DWORD)nlinks) in assertion_file_nlinks()
1610 pathname, (intmax_t)bhfi.nNumberOfLinks, nlinks); in assertion_file_nlinks()
1619 if (r == 0 && (int)st.st_nlink == nlinks) in assertion_file_nlinks()
1622 pathname, (intmax_t)st.st_nlink, nlinks); in assertion_file_nlinks()
/freebsd-13.1/usr.sbin/ppp/
H A Dmp.c673 int thislink, nlinks, nopenlinks, sendasip; in mp_FillPhysicalQueues() local
678 thislink = nlinks = nopenlinks = 0; in mp_FillPhysicalQueues()
687 nlinks++; in mp_FillPhysicalQueues()
700 for (dl = fdl; nlinks > 0; dl = dl->next, nlinks--, thislink++) { in mp_FillPhysicalQueues()
789 nlinks--; in mp_FillPhysicalQueues()
H A Dbundle.c457 int result, nlinks; in bundle_UpdateSet() local
464 for (nlinks = 0, dl = bundle->links; dl; dl = dl->next) in bundle_UpdateSet()
465 nlinks++; in bundle_UpdateSet()
467 if (nlinks) { in bundle_UpdateSet()
474 ifqueue = nlinks > bundle->cfg.ifqueue ? nlinks : bundle->cfg.ifqueue; in bundle_UpdateSet()
/freebsd-13.1/stand/libsa/
H A Dext2fs.c340 int nlinks = 0; in ext2fs_open() local
487 ++nlinks > MAXSYMLINKS) { in ext2fs_open()
H A Dnfs.c479 int nlinks = 0; in nfs_open() local
603 || ++nlinks > MAXSYMLINKS) { in nfs_open()
H A Dufs.c514 int nlinks = 0; in ufs_open() local
638 ++nlinks > MAXSYMLINKS) { in ufs_open()
/freebsd-13.1/usr.bin/find/
H A Dfunction.c1109 char *nlinks; in c_links() local
1112 nlinks = nextarg(option, argvp); in c_links()
1116 new->l_data = (nlink_t)find_parsenum(new, option->name, nlinks, NULL); in c_links()
/freebsd-13.1/contrib/tzcode/zic/
H A Dzic.c277 static int nlinks; variable
596 for (i = 0; i < nlinks; ++i) {
600 for (j = 0; j < nlinks; ++j)
1229 (int) ((nlinks + 1) * sizeof *links));
1230 links[nlinks++] = l;
/freebsd-13.1/contrib/libarchive/libarchive/test/
H A Dmain.c1456 const char *pathname, int nlinks) in assertion_file_nlinks() argument
1464 if (r != 0 && bhfi.nNumberOfLinks == (DWORD)nlinks) in assertion_file_nlinks()
1467 pathname, bhfi.nNumberOfLinks, nlinks); in assertion_file_nlinks()
1476 if (r == 0 && (int)st.st_nlink == nlinks) in assertion_file_nlinks()
1479 pathname, st.st_nlink, nlinks); in assertion_file_nlinks()
/freebsd-13.1/usr.sbin/fstyp/
H A Dhammer2_disk.h1003 uint64_t nlinks; /* 0068 hard links (typ only dirs) */ member
H A Dhammer_disk.h903 uint64_t nlinks; /* hard links */ member
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_read_support_format_iso9660.c287 int nlinks; member
1281 archive_entry_set_nlink(entry, file->nlinks); in archive_read_format_iso9660_read_header()
1972 file->nlinks = 1;/* Reset nlink. we'll calculate it later. */ in parse_file_info()
2187 file->nlinks in parse_rockridge()
2914 file->nlinks = count; in next_cache_entry()