Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_ctldir.h39 #define zfs_has_ctldir(zdp) \ argument
40 ((zdp)->z_id == (zdp)->z_zfsvfs->z_root && \
41 ((zdp)->z_zfsvfs->z_ctldir != NULL))
42 #define zfs_show_ctldir(zdp) \ argument
43 (zfs_has_ctldir(zdp) && \
44 ((zdp)->z_zfsvfs->z_show_ctldir))
/titanic_41/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c55 zfs_retire_clear_data(fmd_hdl_t *hdl, zfs_retire_data_t *zdp) in zfs_retire_clear_data() argument
59 while ((zrp = zdp->zrd_repaired) != NULL) { in zfs_retire_clear_data()
60 zdp->zrd_repaired = zrp->zrr_next; in zfs_retire_clear_data()
277 zfs_retire_data_t *zdp = fmd_hdl_getspecific(hdl); in zfs_vdev_repair() local
298 for (zrp = zdp->zrd_repaired; zrp != NULL; zrp = zrp->zrr_next) { in zfs_vdev_repair()
344 zrp->zrr_next = zdp->zrd_repaired; in zfs_vdev_repair()
347 zdp->zrd_repaired = zrp; in zfs_vdev_repair()
360 zfs_retire_data_t *zdp = fmd_hdl_getspecific(hdl); in zfs_retire_recv() local
361 libzfs_handle_t *zhdl = zdp->zrd_hdl; in zfs_retire_recv()
405 zfs_retire_clear_data(hdl, zdp); in zfs_retire_recv()
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_acl.c2278 zfs_fastaccesschk_execute(znode_t *zdp, cred_t *cr) in zfs_fastaccesschk_execute() argument
2286 if (zdp->z_pflags & ZFS_AV_QUARANTINED) in zfs_fastaccesschk_execute()
2289 is_attr = ((zdp->z_pflags & ZFS_XATTR) && in zfs_fastaccesschk_execute()
2290 (ZTOV(zdp)->v_type == VDIR)); in zfs_fastaccesschk_execute()
2295 mutex_enter(&zdp->z_acl_lock); in zfs_fastaccesschk_execute()
2297 if (zdp->z_pflags & ZFS_NO_EXECS_DENIED) { in zfs_fastaccesschk_execute()
2298 mutex_exit(&zdp->z_acl_lock); in zfs_fastaccesschk_execute()
2302 if (FUID_INDEX(zdp->z_uid) != 0 || FUID_INDEX(zdp->z_gid) != 0) { in zfs_fastaccesschk_execute()
2303 mutex_exit(&zdp->z_acl_lock); in zfs_fastaccesschk_execute()
2307 if (uid == zdp->z_uid) { in zfs_fastaccesschk_execute()
[all …]
H A Dzfs_dir.c1064 zfs_sticky_remove_access(znode_t *zdp, znode_t *zp, cred_t *cr) in zfs_sticky_remove_access() argument
1069 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; in zfs_sticky_remove_access()
1071 if (zdp->z_zfsvfs->z_replay) in zfs_sticky_remove_access()
1074 if ((zdp->z_mode & S_ISVTX) == 0) in zfs_sticky_remove_access()
1077 downer = zfs_fuid_map_id(zfsvfs, zdp->z_uid, cr, ZFS_OWNER); in zfs_sticky_remove_access()
H A Dzfs_vnops.c1262 znode_t *zdp = VTOZ(dvp); in zfs_lookup() local
1263 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; in zfs_lookup()
1271 } else if (zdp->z_sa_hdl == NULL) { in zfs_lookup()
1276 error = zfs_fastaccesschk_execute(zdp, cr); in zfs_lookup()
1287 error = zfs_fastaccesschk_execute(zdp, cr); in zfs_lookup()
1306 ZFS_VERIFY_ZP(zdp); in zfs_lookup()
1323 if (zdp->z_pflags & ZFS_XATTR) { in zfs_lookup()
1356 if (error = zfs_zaccess(zdp, ACE_EXECUTE, 0, B_FALSE, cr)) { in zfs_lookup()
1367 error = zfs_dirlook(zdp, nm, vpp, flags, direntflags, realpnp); in zfs_lookup()