Lines Matching defs:zp

192 	znode_t *zp;
200 zp = VTOZ(vp);
201 return zp != NULL && vp->v_type != VNON && zp->z_atime_dirty != 0
202 && !zp->z_unlinked;
220 znode_t *zp;
231 zp = VTOZ(vp);
233 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE);
234 zfs_sa_upgrade_txholds(tx, zp);
239 (void) sa_update(zp->z_sa_hdl, SA_ZPL_ATIME(zfsvfs),
240 (void *)&zp->z_atime, sizeof (zp->z_atime), tx);
241 zp->z_atime_dirty = 0;
258 znode_t *zp;
269 zp = VTOZ(vp);
270 zfsvfs = zp->z_zfsvfs;
271 object = zp->z_id;
274 ZFS_VERIFY_ZP(zp);
276 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zfsvfs),
328 znode_t *zp;
394 if (err = zfs_zget(zfsvfs, object, &zp)) {
398 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zfsvfs), &zp_gen,
403 if (zp->z_unlinked || zp_gen != fid_gen) {
405 VN_RELE(ZTOV(zp));
410 *vpp = ZTOV(zp);
1141 zfs_owner_overquota(zfsvfs_t *zfsvfs, znode_t *zp, boolean_t isgroup)
1148 fuid = isgroup ? zp->z_gid : zp->z_uid;
1800 znode_t *zp = NULL;
1857 if (error = zfs_zget(zfsvfs, zfsvfs->z_root, &zp)) {
1862 vp = ZTOV(zp);
2266 znode_t *zp;
2313 for (zp = list_head(&zfsvfs->z_all_znodes); zp != NULL;
2314 zp = list_next(&zfsvfs->z_all_znodes, zp))
2315 if (zp->z_sa_hdl) {
2317 ASSERT(vrefcnt(ZTOV(zp)) >= 0);
2319 ASSERT(ZTOV(zp)->v_count >= 0);
2321 zfs_znode_dmu_fini(zp);
2480 znode_t *zp;
2493 err = zfs_zget(zfsvfs, ino, &zp);
2494 if (err == 0 && zp->z_unlinked) {
2495 VN_RELE(ZTOV(zp));
2499 *vpp = ZTOV(zp);
2537 znode_t *zp;
2625 if (err = zfs_zget(zfsvfs, object, &zp)) {
2629 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zfsvfs), &zp_gen,
2634 if (zp->z_unlinked || zp_gen != fid_gen) {
2636 VN_RELE(ZTOV(zp));
2641 *vpp = ZTOV(zp);
2645 vnode_create_vobject(*vpp, zp->z_size, curthread);
2701 znode_t *zp;
2730 for (zp = list_head(&zfsvfs->z_all_znodes); zp;
2731 zp = list_next(&zfsvfs->z_all_znodes, zp)) {
2732 (void) zfs_rezget(zp);