Searched defs:feature (Results 1 - 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/common/zfs/
H A Dzfeature_common.c44 * Set to disable all feature checks while opening pools, allowing pools with
52 * Valid characters for feature guids. This list is mainly for aesthetic
67 * Every feature guid must contain exactly one colon which separates a reverse
68 * dns organization name from the feature's "short" name (e.g.
100 zfeature_info_t *feature = &spa_feature_table[i]; local
101 if (strcmp(guid, feature->fi_guid) == 0)
111 zfeature_info_t *feature = &spa_feature_table[i]; local
112 if (strcmp(name, feature->fi_uname) == 0) {
125 zfeature_info_t *feature = &spa_feature_table[fid]; local
127 for (int i = 0; feature
135 deps_contains_feature(const spa_feature_t *deps, const spa_feature_t feature) argument
148 zfeature_info_t *feature = &spa_feature_table[fid]; local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfeature.c39 * ZFS feature flags are used to provide fine-grained versioning to the ZFS
40 * on-disk format. Once enabled on a pool feature flags replace the old
46 * keep feature guids unique they should consist of the reverse dns name of the
47 * organization which implemented the feature and a short name for the feature,
55 * disk for each feature:
57 * 1) If there is no reference count stored on disk the feature is disabled.
59 * feature, but the feature has not been used yet, so no on-disk
61 * 3) If the reference count is greater than 0 the feature i
226 feature_get_refcount(spa_t *spa, zfeature_info_t *feature, uint64_t *res) argument
243 feature_get_refcount_from_disk(spa_t *spa, zfeature_info_t *feature, uint64_t *res) argument
272 feature_get_enabled_txg(spa_t *spa, zfeature_info_t *feature, uint64_t *res) argument
296 feature_sync(spa_t *spa, zfeature_info_t *feature, uint64_t refcount, dmu_tx_t *tx) argument
331 feature_enable_sync(spa_t *spa, zfeature_info_t *feature, dmu_tx_t *tx) argument
392 zfeature_info_t *feature = &spa_feature_table[fid]; local
[all...]
H A Dspa_misc.c745 * setting SPA_FEATURE_DISABLED for all entries in the feature
1362 spa_activate_mos_feature(spa_t *spa, const char *feature, dmu_tx_t *tx) argument
1364 if (!nvlist_exists(spa->spa_label_features, feature)) {
1365 fnvlist_add_boolean(spa->spa_label_features, feature);
1379 spa_deactivate_mos_feature(spa_t *spa, const char *feature) argument
1381 if (nvlist_remove_all(spa->spa_label_features, feature) == 0)
1575 * We bump the feature refcount for each special vdev added to the pool
1884 * for the dRAID vdev feature). But always leave a reserve of
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vfs.c46 #define VFTBITS(feature) ((feature) & 0xFFFFFFFFLL)
102 * Query a vfs for a feature.
103 * Returns 1 if feature is present, 0 if not
107 vfs_has_feature(vfs_t *vfsp, vfs_feature_t feature) argument
111 if (vfs_features & VFTBITS(feature))
/illumos-gate/usr/src/cmd/nvmeadm/
H A Dnvmeadm_dev.c139 nvme_get_feature(int fd, uint8_t feature, uint32_t arg, uint64_t *res, argument
143 (uint64_t)feature << 32 | arg, res));
/illumos-gate/usr/src/cmd/zhack/
H A Dzhack.c71 " feature stat <pool>\n"
73 " feature enable [-d desc] <pool> <feature>\n"
74 " add a new enabled feature to the pool\n"
75 " -d <desc> sets the feature's description\n"
76 " feature ref [-md] <pool> <feature>\n"
77 " change the refcount on the given feature\n"
79 " -m add the feature to the label if increasing refcount\n"
81 " <feature>
258 zfeature_info_t *feature = arg; local
274 zfeature_info_t feature; local
340 zfeature_info_t *feature = arg; local
353 zfeature_info_t *feature = arg; local
370 zfeature_info_t feature; local
[all...]
/illumos-gate/usr/src/cmd/hal/utils/
H A Dcdutils.c189 get_configuration(int fd, uint16_t feature, int bufsize, uchar_t *buf) argument
199 scmd.uscsi_cdb[2] = (feature >> 8) & 0xff; /* starting feature # */
200 scmd.uscsi_cdb[3] = feature & 0xff;
/illumos-gate/usr/src/cmd/cdrw/
H A Dmmc.c246 get_configuration(int fd, uint16_t feature, int bufsize, uchar_t *buf) argument
264 scmd->uscsi_cdb[2] = (feature >> 8) & 0xff;
265 scmd->uscsi_cdb[3] = feature & 0xff;
712 * feature - the MMC Feature for which we'd like to know
720 ftr_supported(int fd, uint16_t feature) argument
733 if (get_configuration(fd, feature, response_len, bufp) == 1) {
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast.h153 char* feature; member in struct:__anon2698
/illumos-gate/usr/src/lib/libast/common/include/
H A Dast.h144 char* feature; member in struct:__anon2733
/illumos-gate/usr/src/lib/libast/common/port/
H A Dastconf.c289 static char* feature(const char*, const char*, const char*, unsigned int, Error_f);
360 feature(s, d, v, 0, 0);
747 * value==0 get feature name
748 * value!=0 set feature name
753 feature(const char* name, const char* path, const char* value, unsigned int flags, Error_f conferror) function
762 error(-2, "astconf feature name=%s path=%s value=%s flags=%04x fp=%p%s", name, path, value, flags, fp, state.synthesizing ? " SYNTHESIZING" : "");
1471 if ((look.standard < 0 || look.standard == CONF_AST) && look.call <= 0 && look.section <= 1 && (s = feature(look.name, path, value, flags, conferror)))
1629 if (!(s = feature(fp->name, path, NiL, 0, 0)) || !*s)
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast.h153 char* feature; member in struct:__anon2798
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast.h153 char* feature; member in struct:__anon2820
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast.h153 char* feature; member in struct:__anon2842
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba10_calls.c280 uint_t feature,
284 return (usb_clear_feature(dip, ph, type, feature, what, flags));
276 usba10_usb_clear_feature( dev_info_t *dip, usb_pipe_handle_t ph, uint_t type, uint_t feature, uint_t what, usb_flags_t flags) argument
H A Dusbai_util.c1471 * feature - feature to be cleared
1476 * USB_SUCCESS - on doing a successful clear feature
1484 uint_t feature,
1493 "usb_clear_feature: type = 0x%x, feature = 0x%x, what = 0x%x "
1494 "uf = 0x%x", type, feature, what, flags);
1505 /* issue Clear feature */
1509 feature,
1530 * feature - feature t
1481 usb_clear_feature(dev_info_t *dip, usb_pipe_handle_t ph, uint_t type, uint_t feature, uint_t what, usb_flags_t flags) argument
1548 usb_clr_feature( dev_info_t *dip, uint_t type, uint_t feature, uint_t what, usb_flags_t flags, void (*cb)( usb_pipe_handle_t ph, usb_opaque_t arg, int rval, usb_cb_flags_t flags), usb_opaque_t cb_arg) argument
1598 uint_t feature = ((uint_t)n >> 8) & 0xff; local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba10/
H A Dusba10.c308 uint_t feature,
312 return (usba10_usb_clear_feature(dip, ph, type, feature, what, flags));
304 usb_clear_feature( dev_info_t *dip, usb_pipe_handle_t ph, uint_t type, uint_t feature, uint_t what, usb_flags_t flags) argument
/illumos-gate/usr/src/uts/common/io/vioif/
H A Dvioif.c1459 vioif_has_feature(vioif_t *vif, uint32_t feature) argument
1461 return (virtio_feature_present(vif->vif_virtio, feature));
1558 * The legacy GSO feature represents the combination of
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_common.c1758 uchar_t feature,
1780 expect_drdy, cmd, feature, count,
1793 ddi_put8(io_hdl1, ata_ctlp->ac_feature, feature);
1806 expect_drdy, cmd, feature, count,
1832 expect_drdy, cmd, feature, count,
1850 uchar_t feature,
1856 ATC_SET_FEAT, feature, value, 0, 0, 0, 0);
1857 /* feature, count, sector, head, cyl_low, cyl_hi */
1863 ADBG_ERROR(("?ata_set_feature: (0x%x,0x%x) failed\n", feature, value));
2413 * feature
1751 ata_command( ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp, int expect_drdy, int silent, uint_t busy_wait, uchar_t cmd, uchar_t feature, uchar_t count, uchar_t sector, uchar_t head, uchar_t cyl_low, uchar_t cyl_hi) argument
1847 ata_set_feature( ata_ctl_t *ata_ctlp, ata_drv_t *ata_drvp, uchar_t feature, uchar_t value) argument
[all...]
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_vfs.c2109 * VFS feature routines
2112 #define VFTINDEX(feature) (((feature) >> 32) & 0xFFFFFFFF)
2113 #define VFTBITS(feature) ((feature) & 0xFFFFFFFFLL)
2115 /* Register a feature in the vfs */
2117 vfs_set_feature(vfs_t *vfsp, vfs_feature_t feature) argument
2123 vfsp->vfs_featureset[VFTINDEX(feature)] |= VFTBITS(feature);
2127 vfs_clear_feature(vfs_t *vfsp, vfs_feature_t feature) argument
2140 vfs_has_feature(vfs_t *vfsp, vfs_feature_t feature) argument
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Ddrive.c107 uchar_t feature[2]; /* common to all */ member in struct:conf_feature
235 struct conf_feature feature; member in struct:get_configuration
1254 struct conf_feature *feature; local
1259 feature = &config->feature;
1260 flen = feature->len / sizeof (struct profile_list);
1264 prof_num = (int)convnum(feature->features.plist[0].profile, 2);
/illumos-gate/usr/src/uts/common/io/nvme/
H A Dnvme.c2045 nvme_set_features(nvme_t *nvme, boolean_t user, uint32_t nsid, uint8_t feature, argument
2057 cmd->nc_sqe.sqe_cdw10 = feature;
2063 switch (feature) {
2081 feature, cmd->nc_cqe.cqe_sf.sf_sct,
2094 nvme_get_features(nvme_t *nvme, boolean_t user, uint32_t nsid, uint8_t feature, argument
2108 cmd->nc_sqe.sqe_cdw10 = feature;
2118 switch (feature) {
2199 /* Check if this is unsupported optional feature */
2202 switch (feature) {
2221 feature, cm
4129 uint8_t feature; local
[all...]
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dosl.c1103 AcpiOsValidateInterface(char *feature) argument
1107 ASSERT(feature != NULL);
1110 if (strcmp(feature, AcpiOSIFeatures[i].feature_name) != 0) {
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_i86.c4403 hat_supported(enum hat_features feature, void *arg) argument
4405 switch (feature) {
4420 panic("hat_supported() - unknown feature");
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c4673 * VFS feature routines
4676 #define VFTINDEX(feature) (((feature) >> 32) & 0xFFFFFFFF)
4677 #define VFTBITS(feature) ((feature) & 0xFFFFFFFFLL)
4679 /* Register a feature in the vfs */
4681 vfs_set_feature(vfs_t *vfsp, vfs_feature_t feature) argument
4687 vfsp->vfs_featureset[VFTINDEX(feature)] |= VFTBITS(feature);
4691 vfs_clear_feature(vfs_t *vfsp, vfs_feature_t feature) argument
4704 vfs_has_feature(vfs_t *vfsp, vfs_feature_t feature) argument
[all...]

Completed in 242 milliseconds

12