Home
last modified time | relevance | path

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

/linux/fs/xfs/scrub/
H A Dnlinks.c128 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()
639 error = xfarray_load_sparse(xnc->nlinks, ino, &nl); in xchk_nlinks_comparison_read()
645 error = xfarray_store(xnc->nlinks, ino, &nl); in xchk_nlinks_comparison_read()
941 while ((error = xfarray_iter(xnc->nlinks, &cur, &nl)) == 1) { in xchk_nlinks_compare()
975 if (xnc->nlinks) in xchk_nlinks_teardown_scan()
976 xfarray_destroy(xnc->nlinks); in xchk_nlinks_teardown_scan()
977 xnc->nlinks = NULL; in xchk_nlinks_teardown_scan()
1013 sizeof(struct xchk_nlink), &xnc->nlinks); in xchk_nlinks_setup_scan()
H A Dnlinks_repair.c155 error = xfarray_load_sparse(xnc->nlinks, I_INO(ip), &obs); in xrep_nlinks_repair_inode()
209 error = xfarray_load_sparse(xnc->nlinks, I_INO(ip), &obs); in xrep_nlinks_repair_inode()
/linux/usr/
H A Dgen_init_cpio.c360 unsigned int nlinks) in cpio_mkfile() argument
416 for (i = 1; i <= nlinks; i++) { in cpio_mkfile()
422 if (i == nlinks) in cpio_mkfile()
443 nlinks, /* nlink */ in cpio_mkfile()
526 int nlinks = 1; in cpio_mkfile_line() local
557 nlinks++; in cpio_mkfile_line()
564 mode, uid, gid, nlinks); in cpio_mkfile_line()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c95 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()
196 while (skeletons->nlinks) { in link_cleanup()
197 skeletons->nlinks--; in link_cleanup()
198 bpf_link__destroy(skeletons->links[skeletons->nlinks]); in link_cleanup()
/linux/fs/xfs/
H A DMakefile189 nlinks.o \
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c2718 unsigned int nlinks = hweight16(sta->valid_links); in mt7996_mcu_sta_mld_setup_tlv() local
2732 sizeof(struct mld_setup_link) * nlinks); in mt7996_mcu_sta_mld_setup_tlv()
2739 if (nlinks > 1) { in mt7996_mcu_sta_mld_setup_tlv()
2746 mld_setup->link_num = nlinks; in mt7996_mcu_sta_mld_setup_tlv()