Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_dir.c65 zfs_match_find(zfsvfs_t *zfsvfs, znode_t *dzp, char *name, boolean_t exact, in zfs_match_find() argument
86 error = zap_lookup_norm(zfsvfs->z_os, dzp->z_id, name, 8, 1, in zfs_match_find()
91 error = zap_lookup(zfsvfs->z_os, dzp->z_id, name, 8, 1, zoid); in zfs_match_find()
96 dnlc_update(ZTOV(dzp), name, DNLC_NO_VNODE); in zfs_match_find()
137 zfs_dirent_lock(zfs_dirlock_t **dlpp, znode_t *dzp, char *name, znode_t **zpp, in zfs_dirent_lock() argument
140 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dirent_lock()
157 zfs_has_ctldir(dzp) && strcmp(name, ZFS_CTLDIR_NAME) == 0) in zfs_dirent_lock()
221 rw_enter(&dzp->z_name_lock, RW_READER); in zfs_dirent_lock()
223 mutex_enter(&dzp->z_lock); in zfs_dirent_lock()
225 if (dzp->z_unlinked) { in zfs_dirent_lock()
[all …]
H A Dzfs_replay.c270 znode_t *dzp; in zfs_replay_create_acl() local
302 if ((error = zfs_zget(zfsvfs, lr->lr_doid, &dzp)) != 0) in zfs_replay_create_acl()
355 error = VOP_CREATE(ZTOV(dzp), name, &xva.xva_vattr, in zfs_replay_create_acl()
385 error = VOP_MKDIR(ZTOV(dzp), name, &xva.xva_vattr, in zfs_replay_create_acl()
396 VN_RELE(ZTOV(dzp)); in zfs_replay_create_acl()
410 znode_t *dzp; in zfs_replay_create() local
429 if ((error = zfs_zget(zfsvfs, lr->lr_doid, &dzp)) != 0) in zfs_replay_create()
484 error = VOP_CREATE(ZTOV(dzp), name, &xva.xva_vattr, in zfs_replay_create()
502 error = VOP_MKDIR(ZTOV(dzp), name, &xva.xva_vattr, in zfs_replay_create()
506 error = zfs_make_xattrdir(dzp, &xva.xva_vattr, &vp, kcred); in zfs_replay_create()
[all …]
H A Dzfs_events.c98 RZ_COUNTER_CB(znode_create, znode_t *dzp, znode_t *zp,
100 RZ_COUNTER_CB(znode_remove, znode_t *dzp, znode_t *zp,
102 RZ_COUNTER_CB(znode_link, znode_t *dzp, znode_t *zp, dmu_tx_t *tx, char *name)
103 RZ_COUNTER_CB(znode_symlink, znode_t *dzp, znode_t *zp,
H A Dzfs_vnops.c1405 znode_t *zp, *dzp = VTOZ(dvp); in zfs_create() local
1406 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_create()
1437 ZFS_VERIFY_ZP(dzp); in zfs_create()
1465 zp = dzp; in zfs_create()
1475 error = zfs_dirent_lock(&dl, dzp, name, &zp, zflg, in zfs_create()
1494 if (error = zfs_zaccess(dzp, ACE_ADD_FILE, 0, B_FALSE, cr)) { in zfs_create()
1505 if ((dzp->z_pflags & ZFS_XATTR) && in zfs_create()
1513 if (!have_acl && (error = zfs_acl_ids_create(dzp, 0, vap, in zfs_create()
1532 dmu_tx_hold_zap(tx, dzp->z_id, TRUE, name); in zfs_create()
1533 dmu_tx_hold_sa(tx, dzp->z_sa_hdl, B_FALSE); in zfs_create()
[all …]
H A Dzfs_log.c235 znode_t *dzp, znode_t *zp, char *name, vsecattr_t *vsecp, in zfs_log_create() argument
280 lr->lr_doid = dzp->z_id; in zfs_log_create()
343 rz_zev_callbacks->rz_zev_znode_create(dzp, zp, tx, name, in zfs_log_create()
353 znode_t *dzp, char *name, uint64_t foid) in zfs_log_remove() argument
364 lr->lr_doid = dzp->z_id; in zfs_log_remove()
377 znode_t *dzp, znode_t *zp, char *name) in zfs_log_link() argument
388 lr->lr_doid = dzp->z_id; in zfs_log_link()
396 rz_zev_callbacks->rz_zev_znode_link(dzp, zp, tx, name); in zfs_log_link()
405 znode_t *dzp, znode_t *zp, char *name, char *link) in zfs_log_symlink() argument
417 lr->lr_doid = dzp->z_id; in zfs_log_symlink()
[all …]
H A Dzfs_ctldir.c391 znode_t *dzp; in zfsctl_shares_fid() local
401 if ((error = zfs_zget(zfsvfs, zfsvfs->z_shares_dir, &dzp)) == 0) { in zfsctl_shares_fid()
402 error = VOP_FID(ZTOV(dzp), fidp, ct); in zfsctl_shares_fid()
403 VN_RELE(ZTOV(dzp)); in zfsctl_shares_fid()
955 znode_t *dzp; in zfsctl_shares_lookup() local
969 if ((error = zfs_zget(zfsvfs, zfsvfs->z_shares_dir, &dzp)) == 0) in zfsctl_shares_lookup()
970 error = VOP_LOOKUP(ZTOV(dzp), nm, vpp, pnp, in zfsctl_shares_lookup()
973 VN_RELE(ZTOV(dzp)); in zfsctl_shares_lookup()
1031 znode_t *dzp; in zfsctl_shares_readdir() local
1040 if ((error = zfs_zget(zfsvfs, zfsvfs->z_shares_dir, &dzp)) == 0) { in zfsctl_shares_readdir()
[all …]
H A Dzfs_acl.c1623 zfs_acl_ids_create(znode_t *dzp, int flag, vattr_t *vap, cred_t *cr, in zfs_acl_ids_create() argument
1627 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_acl_ids_create()
1661 if (acl_ids->z_fgid != dzp->z_gid && in zfs_acl_ids_create()
1667 if (dzp->z_mode & S_ISGID) { in zfs_acl_ids_create()
1671 acl_ids->z_fgid = dzp->z_gid; in zfs_acl_ids_create()
1701 if (!(flag & IS_ROOT_NODE) && (dzp->z_mode & S_ISGID) && in zfs_acl_ids_create()
1711 mutex_enter(&dzp->z_acl_lock); in zfs_acl_ids_create()
1712 mutex_enter(&dzp->z_lock); in zfs_acl_ids_create()
1714 (dzp->z_pflags & ZFS_INHERIT_ACE) && in zfs_acl_ids_create()
1715 !(dzp->z_pflags & ZFS_XATTR)) { in zfs_acl_ids_create()
[all …]
H A Dzfs_znode.c766 zfs_mknode(znode_t *dzp, vattr_t *vap, dmu_tx_t *tx, cred_t *cr, in zfs_mknode() argument
773 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_mknode()
839 dzp->z_id = obj; in zfs_mknode()
841 dzp_pflags = dzp->z_pflags; in zfs_mknode()
867 parent = dzp->z_id; in zfs_mknode()
991 *zpp = dzp; in zfs_mknode()
H A Dzfs_ioctl.c5017 zfs_smb_acl_purge(znode_t *dzp) in zfs_smb_acl_purge() argument
5021 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_smb_acl_purge()
5024 for (zap_cursor_init(&zc, zfsvfs->z_os, dzp->z_id); in zfs_smb_acl_purge()
5027 if ((error = VOP_REMOVE(ZTOV(dzp), zap.za_name, kcred, in zfs_smb_acl_purge()
5039 znode_t *dzp; in zfs_ioc_smb_acl() local
5062 dzp = VTOZ(vp); in zfs_ioc_smb_acl()
5063 zfsvfs = dzp->z_zfsvfs; in zfs_ioc_smb_acl()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_events.h27 typedef void (*rz_zev_znode_create_cb_t)(znode_t *dzp, znode_t *zp,
29 typedef void (*rz_zev_znode_remove_cb_t)(znode_t *dzp, znode_t *zp,
31 typedef void (*rz_zev_znode_link_cb_t)(znode_t *dzp, znode_t *zp,
33 typedef void (*rz_zev_znode_symlink_cb_t)(znode_t *dzp, znode_t *zp,
H A Dzfs_znode.h308 znode_t *dzp, znode_t *zp, char *name, vsecattr_t *, zfs_fuid_info_t *,
313 znode_t *dzp, char *name, uint64_t foid);
316 znode_t *dzp, znode_t *zp, char *name);
318 znode_t *dzp, znode_t *zp, char *name, char *link);
/titanic_41/usr/src/uts/common/fs/zev/
H A Dzev_callbacks.c270 zev_znode_create_cb(znode_t *dzp, in zev_znode_create_cb() argument
309 dzp->z_gen, in zev_znode_create_cb()
310 dzp->z_id, in zev_znode_create_cb()
329 ZEV_FILL_INODE_INFO(parent, dzp); in zev_znode_create_cb()
338 zev_znode_remove_cb(znode_t *dzp, in zev_znode_remove_cb() argument
350 if (zev_skip_pool(dzp->z_zfsvfs->z_os)) in zev_znode_remove_cb()
352 if (zev_skip_fs(dzp->z_zfsvfs)) in zev_znode_remove_cb()
368 dzp->z_gen, in zev_znode_remove_cb()
369 dzp->z_id, in zev_znode_remove_cb()
384 dsl_dataset_phys(dzp->z_zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_znode_remove_cb()
[all …]
/titanic_41/usr/src/lib/libdladm/common/
H A Dlinkprop.c1638 dld_ioc_zid_t *dzp; in set_zone() local
1643 dzp = (dld_ioc_zid_t *)vdp->vd_val; in set_zone()
1650 zid_new = dzp->diz_zid; in set_zone()
1681 dld_ioc_zid_t *dzp; in check_zone() local
1688 dzp = malloc(sizeof (dld_ioc_zid_t)); in check_zone()
1689 if (dzp == NULL) in check_zone()
1713 (void) memset(dzp, 0, sizeof (dld_ioc_zid_t)); in check_zone()
1715 dzp->diz_zid = zoneid; in check_zone()
1716 dzp->diz_linkid = linkid; in check_zone()
1718 vdp->vd_val = (uintptr_t)dzp; in check_zone()
[all …]
/titanic_41/usr/src/uts/common/io/dld/
H A Ddld_drv.c698 dld_ioc_zid_t *dzp = (dld_ioc_zid_t *)kprop->pr_val; in drv_ioc_prop_common() local
704 err = dls_devnet_setzid(dlh, dzp->diz_zid); in drv_ioc_prop_common()