/illumos-gate/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm_ofmt.c | 434 const nvme_feat_disc_t *feat = nlfo->nlfoa_feat; in nvmeadm_list_features_ofmt_cb() local 442 ret = strlcpy(buf, nvme_feat_disc_short(feat), buflen); in nvmeadm_list_features_ofmt_cb() 445 ret = strlcpy(buf, nvme_feat_disc_spec(feat), buflen); in nvmeadm_list_features_ofmt_cb() 448 ret = snprintf(buf, buflen, "0x%x", nvme_feat_disc_fid(feat)); in nvmeadm_list_features_ofmt_cb() 451 return (nvmeadm_bits_to_str(nvme_feat_disc_scope(feat), in nvmeadm_list_features_ofmt_cb() 455 switch (nvme_feat_disc_kind(feat)) { in nvmeadm_list_features_ofmt_cb() 467 nvme_feat_disc_kind(feat)); in nvmeadm_list_features_ofmt_cb() 472 if (nvme_feat_disc_csi(feat) == NVME_FEAT_CSI_NONE) { in nvmeadm_list_features_ofmt_cb() 477 return (nvmeadm_bits_to_str(nvme_feat_disc_csi(feat), in nvmeadm_list_features_ofmt_cb() 481 return (nvmeadm_bits_to_str(nvme_feat_disc_flags(feat), in nvmeadm_list_features_ofmt_cb() [all …]
|
H A D | nvmeadm.c | 2092 nvmeadm_features_t *feat; in optparse_list_features() local 2095 if ((feat = calloc(1, sizeof (nvmeadm_features_t))) == NULL) { in optparse_list_features() 2100 npa->npa_cmd_arg = feat; in optparse_list_features() 2105 feat->nf_unimpl = B_TRUE; in optparse_list_features() 2142 feat->nf_nfilts = (uint32_t)(npa->npa_argc - optind - 1); in optparse_list_features() 2143 feat->nf_filts = npa->npa_argv + optind + 1; in optparse_list_features() 2144 feat->nf_used = calloc(feat->nf_nfilts, sizeof (boolean_t)); in optparse_list_features() 2145 if (feat->nf_used == NULL) { in optparse_list_features() 2413 const nvme_feat_disc_t *disc, const nvmeadm_feature_t *feat, in do_get_feat_temp_thresh_one() argument 2433 feat->f_print(cdw0, (void *)label, 0, npa->npa_idctl, in do_get_feat_temp_thresh_one() [all …]
|
/illumos-gate/usr/src/uts/common/io/ena/ |
H A D | ena.c | 843 enahw_feat_offload_t *feat = &resp.erd_resp.erd_get_feat.ergf_offload; in ena_get_offloads() local 876 ena->ena_tx_l3_ipv4_csum = ENAHW_FEAT_OFFLOAD_TX_L3_IPV4_CSUM(feat); in ena_get_offloads() 879 ENAHW_FEAT_OFFLOAD_TX_L4_IPV4_CSUM_PART(feat); in ena_get_offloads() 881 ENAHW_FEAT_OFFLOAD_TX_L4_IPV4_CSUM_FULL(feat); in ena_get_offloads() 882 ena->ena_tx_l4_ipv4_lso = ENAHW_FEAT_OFFLOAD_TSO_IPV4(feat); in ena_get_offloads() 885 ENAHW_FEAT_OFFLOAD_TX_L4_IPV6_CSUM_PART(feat); in ena_get_offloads() 887 ENAHW_FEAT_OFFLOAD_TX_L4_IPV6_CSUM_FULL(feat); in ena_get_offloads() 888 ena->ena_tx_l4_ipv6_lso = ENAHW_FEAT_OFFLOAD_TSO_IPV6(feat); in ena_get_offloads() 890 ena->ena_rx_l3_ipv4_csum = ENAHW_FEAT_OFFLOAD_RX_L3_IPV4_CSUM(feat); in ena_get_offloads() 891 ena->ena_rx_l4_ipv4_csum = ENAHW_FEAT_OFFLOAD_RX_L4_IPV4_CSUM(feat); in ena_get_offloads() [all …]
|
/illumos-gate/usr/src/lib/libnvme/common/ |
H A D | libnvme_feature.c | 228 const nvme_feat_info_t *feat = in nvme_feat_discover_step() local 232 if (nvme_feat_discover_one(iter, feat)) { in nvme_feat_discover_step() 686 nvme_ioctl_get_feature_t feat; in nvme_get_feat_req_exec() local 702 (void) memset(&feat, 0, sizeof (nvme_ioctl_get_feature_t)); in nvme_get_feat_req_exec() 703 feat.nigf_common.nioc_nsid = req->gfr_nsid; in nvme_get_feat_req_exec() 704 feat.nigf_fid = req->gfr_fid; in nvme_get_feat_req_exec() 705 feat.nigf_sel = req->gfr_sel; in nvme_get_feat_req_exec() 706 feat.nigf_cdw11 = req->gfr_cdw11; in nvme_get_feat_req_exec() 708 feat.nigf_data = (uintptr_t)req->gfr_buf; in nvme_get_feat_req_exec() 709 feat.nigf_len = req->gfr_len; in nvme_get_feat_req_exec() [all …]
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_status.c | 393 nvlist_t *feat; in check_status() local 396 feat = fnvlist_lookup_nvlist(config, in check_status() 398 if (nvlist_exists(feat, ZPOOL_CONFIG_ENABLED_FEAT)) in check_status() 399 feat = fnvlist_lookup_nvlist(feat, in check_status() 402 feat = fnvlist_lookup_nvlist(config, in check_status() 408 if (!nvlist_exists(feat, fi->fi_guid)) in check_status()
|
/illumos-gate/usr/src/uts/common/io/nvme/ |
H A D | nvme_validate.c | 414 const nvme_feat_info_t *feat = NULL; in nvme_validate_get_feature() local 424 feat = &nvme_std_feats[i]; in nvme_validate_get_feature() 429 if (feat == NULL) { in nvme_validate_get_feature() 438 impl = nvme_feat_supported(feat, &ctrl_data); in nvme_validate_get_feature() 456 if ((feat->nfeat_in_get & NVME_GET_FEAT_F_NSID) != 0) { in nvme_validate_get_feature() 458 (feat->nfeat_flags & NVME_FEAT_F_GET_BCAST_NSID) == 0)) { in nvme_validate_get_feature() 480 &nvme_valid_get_feat_sel, &ctrl_data, feat->nfeat_in_get)) { in nvme_validate_get_feature() 499 &nvme_valid_get_feat_cdw11, &ctrl_data, feat->nfeat_in_get)) { in nvme_validate_get_feature() 509 if ((feat->nfeat_in_get & NVME_GET_FEAT_F_DATA) == 0) { in nvme_validate_get_feature() 515 if (get->nigf_data == 0 || get->nigf_len != feat->nfeat_len) { in nvme_validate_get_feature()
|
H A D | nvme.c | 6500 nvme_ioctl_get_feature_t feat; in nvme_ioctl_get_feature() local 6519 bzero(&feat, sizeof (feat)); in nvme_ioctl_get_feature() 6525 feat.nigf_common.nioc_nsid = feat32.nigf_common.nioc_nsid; in nvme_ioctl_get_feature() 6526 feat.nigf_fid = feat32.nigf_fid; in nvme_ioctl_get_feature() 6527 feat.nigf_sel = feat32.nigf_sel; in nvme_ioctl_get_feature() 6528 feat.nigf_cdw11 = feat32.nigf_cdw11; in nvme_ioctl_get_feature() 6529 feat.nigf_data = feat32.nigf_data; in nvme_ioctl_get_feature() 6530 feat.nigf_len = feat32.nigf_len; in nvme_ioctl_get_feature() 6534 if (ddi_copyin((void *)arg, &feat, sizeof (feat), in nvme_ioctl_get_feature() 6543 if (!nvme_ioctl_check(minor, &feat.nigf_common, in nvme_ioctl_get_feature() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | pci_nvme.c | 345 struct nvme_feature_obj feat[NVME_FID_MAX]; member 698 sc->feat[fid].set = nvme_feature_temperature; in pci_nvme_init_features() 701 sc->feat[fid].namespace_specific = true; in pci_nvme_init_features() 704 sc->feat[fid].set = nvme_feature_num_queues; in pci_nvme_init_features() 707 sc->feat[fid].set = nvme_feature_iv_config; in pci_nvme_init_features() 710 sc->feat[fid].set = nvme_feature_async_event; in pci_nvme_init_features() 712 sc->feat[fid].cdw11 = PCI_NVME_AEN_DEFAULT_MASK; in pci_nvme_init_features() 715 sc->feat[fid].set = nvme_feature_invalid_cb; in pci_nvme_init_features() 716 sc->feat[fid].get = nvme_feature_invalid_cb; in pci_nvme_init_features() 923 sc->feat[NVME_FEAT_ASYNC_EVENT_CONFIGURATION].cdw11; in pci_nvme_aen_process() [all …]
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac_ioctl.c | 762 if (f->feat.fValue == 0) { in aac_supported_features() 763 f->feat.fBits.largeLBA = in aac_supported_features() 765 f->feat.fBits.JBODSupport = in aac_supported_features() 769 if (f->feat.fBits.largeLBA) in aac_supported_features() 770 f->feat.fBits.largeLBA = in aac_supported_features() 772 if (f->feat.fBits.JBODSupport) in aac_supported_features() 773 f->feat.fBits.JBODSupport = in aac_supported_features()
|
H A D | aac_ioctl.h | 128 featuresState feat; member
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci_hub.c | 246 int feat = ucrp->ctrl_wValue; in xhci_root_hub_handle_port_clear_feature() local 274 switch (feat) { in xhci_root_hub_handle_port_clear_feature() 306 "feature %d on port %d", feat, port); in xhci_root_hub_handle_port_clear_feature() 325 int feat = ucrp->ctrl_wValue; in xhci_root_hub_handle_port_set_feature() local 356 switch (feat) { in xhci_root_hub_handle_port_set_feature() 421 "feature %d on port %d", feat, port); in xhci_root_hub_handle_port_set_feature()
|
/illumos-gate/usr/src/cmd/ccidadm/ |
H A D | ccidadm.c | 215 ccid_class_features_t feat; in ccidadm_list_slot_usable_str() local 220 feat = ucs->ucs_class.ccd_dwFeatures; in ccidadm_list_slot_usable_str() 222 if ((feat & prot) == 0 || in ccidadm_list_slot_usable_str() 223 (feat & param) != param || in ccidadm_list_slot_usable_str() 224 (feat & clock) != clock) { in ccidadm_list_slot_usable_str()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | hma.c | 694 const uint32_t feat = regs.cp_edx; in hma_svm_init() local 700 if ((feat & CPUID_AMD_EDX_NESTED_PAGING) == 0) { in hma_svm_init() 704 if ((feat & CPUID_AMD_EDX_NRIPS) == 0) { in hma_svm_init() 709 hma_svm_features = feat; in hma_svm_init()
|
/illumos-gate/usr/src/common/nvme/ |
H A D | nvme_feature.c | 123 const nvme_feat_info_t *feat) in nvme_feat_write_cache_sup() argument 130 const nvme_feat_info_t *feat) in nvme_feat_apst_sup() argument
|
/illumos-gate/usr/src/uts/common/io/usb/clients/ccid/ |
H A D | ccid.c | 2685 ccid_class_features_t feat; in ccid_supported() local 2740 feat = ccid->ccid_class.ccd_dwFeatures; in ccid_supported() 2748 (feat & CCID_CLASS_F_AUTO_BAUD) == 0) { in ccid_supported() 2766 if ((feat & bits) == 0) { in ccid_supported() 2770 if ((feat & CCID_CLASS_F_AUTO_PARAM_NEG) == 0) { in ccid_supported() 2775 if ((feat & bits) != bits) { in ccid_supported()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa.c | 5094 spa_feature_t feat; local 5142 VERIFY0(zfeature_lookup_name(feat_name, &feat)); 5143 if (feat == SPA_FEATURE_ENCRYPTION)
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 1425 zfeature_info_t *feat = &spa_feature_table[i]; in zpool_do_create() local 1427 "feature@%s", feat->fi_uname); in zpool_do_create()
|
/illumos-gate/usr/src/cmd/spell/ |
H A D | list | 8527 feat
|
/illumos-gate/usr/src/cmd/look/ |
H A D | words | 8529 feat
|