Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_dir.c708 int zp_is_dir = (vp->v_type == VDIR); in zfs_link_create() local
745 dzp->z_links += zp_is_dir; in zfs_link_create()
810 int zp_is_dir = (vp->v_type == VDIR); in zfs_link_destroy() local
830 if (zp_is_dir && !zfs_dirempty(zp)) { in zfs_link_destroy()
848 if (zp->z_links <= zp_is_dir) { in zfs_link_destroy()
853 zp_is_dir + 1); in zfs_link_destroy()
854 zp->z_links = zp_is_dir + 1; in zfs_link_destroy()
856 if (--zp->z_links == zp_is_dir) { in zfs_link_destroy()
883 dzp->z_links -= zp_is_dir; /* ".." link from zp */ in zfs_link_destroy()