Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_project.c102 zfsxattr_t fsx; in zfs_project_load_projid() local
112 ret = ioctl(fd, ZFS_IOC_FSGETXATTR, &fsx); in zfs_project_load_projid()
118 zpc->zpc_expected_projid = fsx.fsx_projid; in zfs_project_load_projid()
127 zfsxattr_t fsx; in zfs_project_handle_one() local
140 ret = ioctl(fd, ZFS_IOC_FSGETXATTR, &fsx); in zfs_project_handle_one()
150 (void) printf("%5u %c %s\n", fsx.fsx_projid, in zfs_project_handle_one()
151 (fsx.fsx_xflags & ZFS_PROJINHERIT_FL) ? 'P' : '-', name); in zfs_project_handle_one()
154 if (fsx.fsx_projid == zpc->zpc_expected_projid && in zfs_project_handle_one()
155 fsx.fsx_xflags & ZFS_PROJINHERIT_FL) in zfs_project_handle_one()
165 if (fsx.fsx_projid != zpc->zpc_expected_projid) in zfs_project_handle_one()
[all …]
/illumos-gate/usr/src/lib/libelfsign/common/
H A Delfsignlib.c861 struct filesig_extraction fsx; in elfsign_extract_sig() local
868 version = filesig_extract(&fssp->filesig_sig, &fsx); in elfsign_extract_sig()
874 if (*sig_len >= fsx.fsx_sig_len) { in elfsign_extract_sig()
875 (void) memcpy((char *)sig, (char *)fsx.fsx_signature, in elfsign_extract_sig()
877 *sig_len = fsx.fsx_sig_len; in elfsign_extract_sig()
1026 struct filesig_extraction fsx; in elfsign_verify_signature() local
1059 ess->es_version = filesig_extract(fsgp, &fsx); in elfsign_verify_signature()
1074 fsx.fsx_signer_DN); in elfsign_verify_signature()
1076 fsx.fsx_sig_oid); in elfsign_verify_signature()
1079 esip->esi_format = fsx.fsx_format; in elfsign_verify_signature()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vnops.c306 zfsxattr_t fsx = { 0 }; in zfs_ioctl_getxattr() local
310 fsx.fsx_xflags = ZFS_PROJINHERIT_FL; in zfs_ioctl_getxattr()
312 fsx.fsx_projid = zp->z_projid; in zfs_ioctl_getxattr()
313 if (ddi_copyout(&fsx, (void *)data, sizeof (fsx), flag)) in zfs_ioctl_getxattr()
326 zfsxattr_t fsx; in zfs_ioctl_setxattr() local
331 if (ddi_copyin((void *)data, &fsx, sizeof (fsx), flags)) in zfs_ioctl_setxattr()
334 if (!zpl_is_valid_projid(fsx.fsx_projid)) in zfs_ioctl_setxattr()
337 if (fsx.fsx_xflags & ~ZFS_PROJINHERIT_FL) in zfs_ioctl_setxattr()
344 if (fsx.fsx_xflags & ZFS_PROJINHERIT_FL) in zfs_ioctl_setxattr()
348 xoap->xoa_projid = fsx.fsx_projid; in zfs_ioctl_setxattr()