Searched refs:nlinks (Results 1 – 9 of 9) sorted by relevance
/linux/usr/ |
H A D | gen_init_cpio.c | 325 unsigned int nlinks) in cpio_mkfile() argument 381 for (i = 1; i <= nlinks; i++) { in cpio_mkfile() 383 if (i == nlinks) in cpio_mkfile() 396 nlinks, /* nlink */ in cpio_mkfile() 465 int nlinks = 1; in cpio_mkfile_line() local 496 nlinks++; in cpio_mkfile_line() 503 mode, uid, gid, nlinks); in cpio_mkfile_line()
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-platform.c | 559 int nlinks; in acpi_validate_coresight_graph() local 561 nlinks = cs_graph->package.elements[2].integer.value; in acpi_validate_coresight_graph() 566 if (cs_graph->package.count != (nlinks + 3)) in acpi_validate_coresight_graph() 687 int i, nlinks; in acpi_coresight_parse_graph() local 701 nlinks = graph->package.elements[2].integer.value; in acpi_coresight_parse_graph() 702 if (!nlinks) in acpi_coresight_parse_graph() 705 for (i = 0; i < nlinks; i++) { in acpi_coresight_parse_graph()
|
/linux/fs/xfs/scrub/ |
H A D | nlinks.c | 29 #include "scrub/nlinks.h" 96 * overhead when live nlinks is /not/ running. Locking order for nlink 116 /* Update incore link count information. Caller must hold the nlinks lock. */ 128 if (!xnc->nlinks) in xchk_nlinks_update_incore() 131 error = xfarray_load_sparse(xnc->nlinks, ino, &nl); in xchk_nlinks_update_incore() 143 error = xfarray_store(xnc->nlinks, ino, &nl); in xchk_nlinks_update_incore() 610 error = xfarray_load_sparse(xnc->nlinks, ino, &nl); in xchk_nlinks_comparison_read() 616 error = xfarray_store(xnc->nlinks, ino, &nl); in xchk_nlinks_comparison_read() 912 while ((error = xfarray_iter(xnc->nlinks, &cur, &nl)) == 1) { in xchk_nlinks_compare() 934 /* Tear down everything associated with a nlinks chec [all...] |
H A D | nlinks_repair.c | 30 #include "scrub/nlinks.h" 155 error = xfarray_load_sparse(xnc->nlinks, ip->i_ino, &obs); in xrep_nlinks_repair_inode() 209 error = xfarray_load_sparse(xnc->nlinks, ip->i_ino, &obs); in xrep_nlinks_repair_inode()
|
H A D | nlinks.h | 14 struct xfarray *nlinks; member
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_bonding.c | 95 int nlinks; member 108 if (!ASSERT_LE(skeletons->nlinks+1, MAX_BPF_LINKS, "too many XDP programs attached")) in xdp_attach() 115 skeletons->links[skeletons->nlinks++] = link; in xdp_attach() 197 while (skeletons->nlinks) { in bonding_cleanup() 198 skeletons->nlinks--; in bonding_cleanup() 199 bpf_link__destroy(skeletons->links[skeletons->nlinks]); in bonding_cleanup()
|
/linux/fs/xfs/ |
H A D | Makefile | 186 nlinks.o \
|
/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mcu.c | 2306 unsigned int nlinks = hweight16(sta->valid_links); in mt7996_mcu_sta_mld_setup_tlv() local 2320 sizeof(struct mld_setup_link) * nlinks); in mt7996_mcu_sta_mld_setup_tlv() 2327 if (nlinks > 1) { in mt7996_mcu_sta_mld_setup_tlv() 2334 mld_setup->link_num = nlinks; in mt7996_mcu_sta_mld_setup_tlv()
|
/linux/Documentation/filesystems/xfs/ |
H A D | xfs-online-fsck-design.rst | 1432 :ref:`file link counts <nlinks>` are discussed in more detail in later 1495 :ref:`Quota usage <quotacheck>` and :ref:`file link count <nlinks>` 3749 <https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/log/?h=scrub-nlinks>`_ 4392 The :ref:`file link count fsck <nlinks>` code takes care of fixing link counts 3694 .. _nlinks: global() target
|