Searched refs:c_linkcount (Results 1 - 4 of 4) sorted by relevance

/xnu-2782.1.97/bsd/hfs/
H A Dhfs_link.c184 if ((cp->c_linkcount == 2) && !(cp->c_flag & C_HARDLINK)) {
530 if (cp->c_linkcount >= HFS_LINK_MAX) {
609 cp->c_linkcount++;
613 cp->c_linkcount--;
805 --cp->c_linkcount;
806 if (cp->c_linkcount < 1) {
H A Dhfs_cnode.h193 #define c_linkcount c_attr.ca_linkcount macro
H A Dhfs_vnops.c587 if (for_unlink && vp->v_type == VREG && cp->c_linkcount > 1) {
1072 VATTR_RETURN(vap, va_dirlinkcount, (uint32_t)cp->c_linkcount);
1077 VATTR_RETURN(vap, va_nlink, (u_int64_t)cp->c_linkcount);
2320 from_cp->c_linkcount = to_cp->c_linkcount;
2366 to_cp->c_linkcount = tempattr.ca_linkcount;
3789 if ((vnode_isdir(vp) == 1) && (cp->c_linkcount == 1) &&
4044 --cp->c_linkcount;
4203 --cp->c_linkcount;
4767 if (fcp->c_linkcount !
[all...]
H A Dhfs_hotfiles.c1856 if (!vnode_isreg(vp) || cp->c_linkcount != 1) {

Completed in 40 milliseconds