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

123

/netbsd-6-1-5-RELEASE/sys/fs/v7fs/
H A Dv7fs_inode.h40 int16_t nlink; member in struct:v7fs_inode
57 #define v7fs_inode_nlink(i) ((i)->nlink)
H A Dv7fs_file.c181 inode.nlink = 1;
192 inode.nlink = 1;
195 inode.nlink = 2; /* . + .. */
263 inode.nlink = 0; /* remove this. */
266 --inode.nlink; /* regular file. */
267 DPRINTF("%s nlink=%d\n", name, inode.nlink);
275 if (inode.nlink == 0) {
332 parent_dir->nlink++;
383 parent_dir->nlink
[all...]
H A Dv7fs.h150 int16_t nlink; /* [DIR] # of child directories. [REG] link count. */ member in struct:v7fs_inode_diskimage
/netbsd-6-1-5-RELEASE/bin/pax/
H A Dtables.h62 u_long nlink; /* expected link count */ member in struct:hrdlnk
/netbsd-6-1-5-RELEASE/sbin/fsck_ffs/
H A Ddir.c388 int16_t nlink; local
392 nlink = iswap16(DIP(dp, nlink));
393 if (nlink == lcnt) {
428 nlink, nlink - lcnt);
438 DIP_SET(dp, nlink, iswap16(nlink - lcnt));
515 int16_t nlink; local
521 nlink
[all...]
/netbsd-6-1-5-RELEASE/sys/ufs/chfs/
H A Dchfs_build.c60 * chfs_build_set_vnodecache_nlink - set pvno and nlink in vnodecaches
63 * This function travels @vc's directory entries and sets the pvno and nlink
71 //dbg("set nlink\n");
88 if (child_vc->nlink < 1)
89 child_vc->nlink = 1;
102 child_vc->nlink++;
103 //dbg("child_vc->nlink++;\n");
104 //child_vc->nlink++;
105 vc->nlink++;
169 * Decrease nlink i
[all...]
H A Dchfs_write.c427 ip->chvc->nlink++;
428 parent->chvc->nlink++;
467 * This function set the nlink and vno of the node zero and write its dirent to the media.
491 if (fd->type == VDIR && ip->chvc->nlink == 2)
492 ip->chvc->nlink = 0;
494 ip->chvc->nlink--;
538 parent->chvc->nlink--;
/netbsd-6-1-5-RELEASE/sys/arch/zaurus/stand/zbsdmod/
H A Dcompat_linux.h74 unsigned short nlink; member in struct:proc_dir_entry
/netbsd-6-1-5-RELEASE/share/examples/puffs/pgfs/
H A Dnewfs.sql46 CREATE DOMAIN nlink AS int8 NOT NULL CHECK(VALUE >= 0); domain
55 -- having nlink here is somehow redundant as it could be calculated from
64 nlink nlink,
93 INSERT INTO file (fileid, type, mode, uid, gid, nlink, rev,
H A Dpgfs_subs.c443 long long nlink; local
474 CREATECMD(c, "SELECT type::text, mode, uid, gid, nlink, rev, "
490 error = FETCHNEXT(&s, types, &type, &mode, &uid, &gid, &nlink,
507 CREATECMD(c, "SELECT type::text, mode, uid, gid, nlink, rev "
515 error = FETCHNEXT(&s, types, &type, &mode, &uid, &gid, &nlink,
528 if (nlink > 0 && va->va_type == VDIR) {
529 nlink++; /* "." */
531 va->va_nlink = nlink;
621 "SET nlink = nlink
[all...]
/netbsd-6-1-5-RELEASE/sbin/fsdb/
H A Dfsdb.c378 int16_t nlink; local
382 nlink = iswap16(DIP(curinode, nlink));
383 nlink++;
384 DIP_SET(curinode, nlink, iswap16(nlink));
386 nlink);
393 int16_t nlink; local
397 nlink = iswap16(DIP(curinode, nlink));
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/conf/nfs_prot/
H A Dnfs_prot_freebsd2.h75 #define na_nlink nlink
H A Dnfs_prot_netbsd1_3.h87 #define na_nlink nlink
H A Dnfs_prot_bsdi3.h110 #define na_nlink nlink
H A Dnfs_prot_default.h80 #define na_nlink nlink
H A Dnfs_prot_freebsd3.h96 #define na_nlink nlink
H A Dnfs_prot_netbsd.h97 #define na_nlink nlink
H A Dnfs_prot_netbsd1_4.h111 #define na_nlink nlink
H A Dnfs_prot_openbsd.h108 #define na_nlink nlink
/netbsd-6-1-5-RELEASE/sbin/fsck_v7fs/
H A Dpathname.c252 if ((error = (cnt != p->nlink))) {
254 " dir:%d(inode) != %d(cnt)", ino, p->nlink, cnt);
259 p->nlink = cnt;
H A Dinode.c103 if (v7fs_inode_allocated(p) && !p->nlink) {
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/include/
H A Damu_nfs_prot.h109 #define na_nlink nlink
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/
H A Dmakefs.h62 * refcount (nlink), and stat buffer
92 uint32_t nlink; /* number of links to this entry */ member in struct:__anon10002
/netbsd-6-1-5-RELEASE/tests/util/mtree/
H A Dt_mtree.sh80 ( cd create && mtree -c -k type,nlink,link,size,sha256 ) >output.raw \
/netbsd-6-1-5-RELEASE/sys/fs/sysvbfs/
H A Dbfs.h79 uint32_t nlink; member in struct:bfs_fileattr

Completed in 232 milliseconds

123