Searched refs:nlink (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-9.3-release/tools/regression/pjdfstest/tests/link/
H A D12.t27 expect 1 stat ${n0} nlink
29 expect 2 stat ${n0} nlink
31 expect 1 stat ${n0} nlink
37 expect 1 stat ${n0} nlink
41 expect 2 stat ${n0} nlink
43 expect 1 stat ${n0} nlink
47 expect 2 stat ${n0} nlink
50 expect 1 stat ${n0} nlink
56 expect 2 stat ${n0} nlink
59 expect 1 stat ${n0} nlink
[all...]
H A D03.t19 expect 2 stat ${n0} nlink
20 expect 2 stat ${nx} nlink
23 expect 2 stat ${n0} nlink
24 expect 2 stat ${nx} nlink
27 expect 1 stat ${n0} nlink
H A D00.t22 expect ${type},1 lstat ${n0} type,nlink
25 expect ${type},2 lstat ${n0} type,nlink
26 expect ${type},2 lstat ${n1} type,nlink
29 expect ${type},3 lstat ${n0} type,nlink
30 expect ${type},3 lstat ${n1} type,nlink
31 expect ${type},3 lstat ${n2} type,nlink
36 expect ${type},0201,3,65534,65533 lstat ${n0} type,mode,nlink,uid,gid
37 expect ${type},0201,3,65534,65533 lstat ${n1} type,mode,nlink,uid,gid
38 expect ${type},0201,3,65534,65533 lstat ${n2} type,mode,nlink,uid,gid
41 expect ENOENT lstat ${n0} type,mode,nlink,ui
[all...]
H A D13.t29 expect 1 stat ${n0}/${n1} nlink
31 expect 2 stat ${n0}/${n1} nlink
33 expect 1 stat ${n0}/${n1} nlink
37 expect 1 stat ${n0}/${n1} nlink
40 expect 2 stat ${n0}/${n1} nlink
42 expect 1 stat ${n0}/${n1} nlink
46 expect 2 stat ${n0}/${n1} nlink
49 expect 1 stat ${n0}/${n1} nlink
53 expect 2 stat ${n0}/${n1} nlink
56 expect 1 stat ${n0}/${n1} nlink
[all...]
/freebsd-9.3-release/tools/regression/pjdfstest/tests/rename/
H A D00.t22 expect ${type},0644,1 lstat ${n0} type,mode,nlink
25 expect ENOENT lstat ${n0} type,mode,nlink
26 expect ${type},${inode},0644,1 lstat ${n1} type,inode,mode,nlink
28 expect ${type},${inode},0644,2 lstat ${n0} type,inode,mode,nlink
29 expect ${type},${inode},0644,2 lstat ${n1} type,inode,mode,nlink
31 expect ${type},${inode},0644,2 lstat ${n0} type,inode,mode,nlink
32 expect ENOENT lstat ${n1} type,mode,nlink
33 expect ${type},${inode},0644,2 lstat ${n2} type,inode,mode,nlink
/freebsd-9.3-release/bin/pax/
H A Dtables.h61 u_long nlink; /* expected link count */ member in struct:hrdlnk
H A Dtables.c179 if (--pt->nlink <= 1) {
196 pt->nlink = arcn->sb.st_nlink;
/freebsd-9.3-release/libexec/pppoed/
H A Dpppoed.c120 const struct linkinfo *nlink; local
169 nlink = &hlist->link[f];
173 nlink->ourhook, nlink->nodeinfo.id, nlink->peerhook);
175 if (!strcmp(nlink->ourhook, NG_ETHER_HOOK_ORPHAN) ||
176 !strcmp(nlink->ourhook, NG_ETHER_HOOK_DIVERT)) {
182 if (strcmp(nlink->nodeinfo.type, NG_PPPOE_NODE_TYPE)) {
184 epath, nlink->nodeinfo.type);
/freebsd-9.3-release/usr.sbin/ppp/
H A Dether.c458 const struct linkinfo *nlink; local
555 nlink = &hlist->link[f];
557 log_Printf(LogDEBUG, " Found %s -> %s\n", nlink->ourhook,
558 nlink->peerhook);
560 if (!strcmp(nlink->ourhook, NG_ETHER_HOOK_ORPHAN) ||
561 !strcmp(nlink->ourhook, NG_ETHER_HOOK_DIVERT)) {
567 if (!strcmp(nlink->nodeinfo.type, NG_PPPOE_NODE_TYPE))
569 snprintf(ngc.path, sizeof ngc.path, "[%x]:", nlink->nodeinfo.id);
572 path, nlink->nodeinfo.type);
H A Dnetgraph.c460 const struct linkinfo *nlink; local
605 nlink = &hlist->link[f];
607 log_Printf(LogDEBUG, " Found %s -> %s (type %s)\n", nlink->ourhook,
608 nlink->peerhook, nlink->nodeinfo.type);
610 if (!strcmp(nlink->ourhook, lasthook)) {
611 if (strcmp(nlink->peerhook, hook) ||
612 strcmp(nlink->nodeinfo.type, nodetype)) {
614 p->link.name, nlink->ourhook, path);
/freebsd-9.3-release/contrib/sendmail/contrib/
H A Dre-mqueue.pl155 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
/freebsd-9.3-release/contrib/amd/conf/nfs_prot/
H A Dnfs_prot_freebsd2.h73 #define na_nlink nlink
H A Dnfs_prot_freebsd3.h108 #define na_nlink nlink
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_utils.c134 xfs_nlink_t nlink,
173 code = xfs_ialloc(tp, dp, mode, nlink, rdev, credp, prid, okalloc,
271 code = xfs_ialloc(tp, dp, mode, nlink, rdev, credp, prid,
330 * Currently this happens when the nlink field overflows the old 16-bit value
452 * called from places where nlink is guaranteed to be 1
128 xfs_dir_ialloc( xfs_trans_t **tpp, xfs_inode_t *dp, mode_t mode, xfs_nlink_t nlink, xfs_dev_t rdev, cred_t *credp, prid_t prid, int okalloc, xfs_inode_t **ipp, int *committed) argument
H A Dxfs_inode.c1050 * The in-core inode is locked exclusively. Set mode, nlink, and rdev
1079 xfs_nlink_t nlink,
1124 ip->i_d.di_nlink = nlink;
1125 ASSERT(ip->i_d.di_nlink == nlink);
1075 xfs_ialloc( xfs_trans_t *tp, xfs_inode_t *pip, mode_t mode, xfs_nlink_t nlink, xfs_dev_t rdev, cred_t *cr, xfs_prid_t prid, int okalloc, xfs_buf_t **ialloc_context, boolean_t *call_again, xfs_inode_t **ipp) argument
/freebsd-9.3-release/sbin/fsck_ffs/
H A Dsuj.c1280 printf("Truncating and freeing ino %d, nlink %d, mode %o\n",
1308 int nlink; local
1312 nlink = DIP(ip, di_nlink);
1314 if (nlink < 1)
1315 err_suj("Inode %d link count %d invalid\n", ino, nlink);
1317 err_suj("Inode %d has a link of %d with 0 mode\n", ino, nlink);
1318 nlink--;
1323 if (nlink < reqlink) {
1326 ino, nlink, reqlink);
1330 DIP_SET(ip, di_nlink, nlink);
1345 nlink_t nlink; local
1631 int nlink; local
[all...]
/freebsd-9.3-release/tools/tools/build_option_survey/
H A Dreduce.sh22 mtree -k uid,gid,mode,nlink,size,link,type,flags \
/freebsd-9.3-release/sys/dev/cxgb/
H A Dbin2h.pl60 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
/freebsd-9.3-release/usr.sbin/makefs/
H A Dwalk.c189 cur->inode->nlink++;
230 cur->inode->nlink = 1;
273 if (cur->inode->nlink-- == 1)
569 if (cur->inode->nlink > 1)
570 printf(", nlinks=%d", cur->inode->nlink);
H A Dmakefs.h53 * refcount (nlink), and stat buffer
83 uint32_t nlink; /* number of links to this entry */ member in struct:__anon10934
H A Dffs.c642 dinp->di_nlink = cur->inode->nlink;
690 dinp->di_nlink = cur->inode->nlink;
771 root->inode->nlink++; /* count my parent's link */
773 root->inode->nlink++; /* count my child's link */
815 if (cur->inode->nlink > 1)
816 printf(", nlink %d", cur->inode->nlink);
/freebsd-9.3-release/contrib/ipfilter/perl/
H A DIpfanaly.pl438 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$junk)=stat REC;
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_read_support_format_xar.c194 unsigned int nlink; member in struct:xar_file
609 int nlink = (*hdlink)->cnt + 1; local
611 file->nlink = nlink;
614 f2->nlink = nlink;
678 /* Set proper nlink. */
682 archive_entry_set_nlink(entry, file->nlink);
1696 file->nlink = 1;
H A Darchive_entry.c1015 archive_entry_set_nlink(struct archive_entry *entry, unsigned int nlink) argument
1018 entry->ae_stat.aest_nlink = nlink;
/freebsd-9.3-release/include/rpcsvc/
H A Dnfs_prot.x120 unsigned nlink; /* # hard links */
401 uint32 nlink; /* # hard links */

Completed in 250 milliseconds

12