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

/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_dir.c575 int zp_is_dir = (vp->v_type == VDIR); local
585 if (zp_is_dir) {
594 if (zp->z_links >= ZFS_LINK_MAX - zp_is_dir) {
635 dzp->z_links += zp_is_dir;
710 int zp_is_dir = (vp->v_type == VDIR); local
723 if (zp_is_dir && !zfs_dirempty(zp))
736 if (zp->z_links <= zp_is_dir) {
740 zp_is_dir + 1);
741 zp->z_links = zp_is_dir + 1;
743 if (--zp->z_links == zp_is_dir) {
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_dir.c797 int zp_is_dir = S_ISDIR(ZTOI(zp)->i_mode); local
859 if (zp_is_dir)
942 int zp_is_dir = S_ISDIR(ZTOI(zp)->i_mode); local
953 if (zp_is_dir && !zfs_dirempty(zp)) {
969 if (ZTOI(zp)->i_nlink <= zp_is_dir) {
972 (int)ZTOI(zp)->i_nlink, zp_is_dir + 1);
973 set_nlink(ZTOI(zp), zp_is_dir + 1); local
976 if (ZTOI(zp)->i_nlink == zp_is_dir) {
1003 if (zp_is_dir)

Completed in 187 milliseconds