Home
last modified time | relevance | path

Searched refs:feat (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/cmd/nvmeadm/
H A Dnvmeadm_ofmt.c434 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()
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()
501 if (nvme_feat_disc_data_size(feat) == 0) { in nvmeadm_list_features_ofmt_cb()
505 nvme_feat_disc_data_size(feat)); in nvmeadm_list_features_ofmt_cb()
509 switch (nvme_feat_disc_impl(feat)) { in nvmeadm_list_features_ofmt_cb()
[all …]
H A Dnvmeadm.c2014 nvmeadm_features_t *feat; in optparse_list_features() local
2022 npa->npa_cmd_arg = feat; in optparse_list_features()
2027 feat->nf_unimpl = B_TRUE; in optparse_list_features()
2066 feat->nf_used = calloc(feat->nf_nfilts, sizeof (boolean_t)); in optparse_list_features()
2067 if (feat->nf_used == NULL) { in optparse_list_features()
2380 do_get_feat_temp_thresh_one(npa, disc, feat, in do_get_feat_temp_thresh()
2541 const nvmeadm_feature_t *feat = NULL; in do_get_features_cb() local
2550 feat = &features[i]; in do_get_features_cb()
2564 if (feat != NULL && feat->f_get != NULL) { in do_get_features_cb()
2565 if (!feat->f_get(npa, disc, feat)) { in do_get_features_cb()
[all …]
/illumos-gate/usr/src/lib/libnvme/common/
H A Dlibnvme_feature.c228 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()
658 nvme_ioctl_get_feature_t feat; in nvme_get_feat_req_exec() local
675 feat.nigf_common.nioc_nsid = req->gfr_nsid; in nvme_get_feat_req_exec()
676 feat.nigf_fid = req->gfr_fid; in nvme_get_feat_req_exec()
677 feat.nigf_sel = req->gfr_sel; in nvme_get_feat_req_exec()
678 feat.nigf_cdw11 = req->gfr_cdw11; in nvme_get_feat_req_exec()
680 feat.nigf_data = (uintptr_t)req->gfr_buf; in nvme_get_feat_req_exec()
681 feat.nigf_len = req->gfr_len; in nvme_get_feat_req_exec()
690 return (nvme_ioctl_error(ctrl, &feat.nigf_common, in nvme_get_feat_req_exec()
[all …]
/illumos-gate/usr/src/uts/common/io/ena/
H A Dena.c928 feat->efm_mtu = ena->ena_mtu; in ena_set_mtu()
944 enahw_feat_link_conf_t *feat = in ena_get_link_config() local
965 ena->ena_link_speed_mbits = feat->eflc_speed; in ena_get_link_config()
966 ena->ena_link_speeds = feat->eflc_supported; in ena_get_link_config()
1190 ena_dbg(ena, "impl ID: %u", feat->efda_impl_id); in ena_attach_device_init()
1193 feat->efda_supported_features); in ena_attach_device_init()
1197 maddr = feat->efda_mac_addr; in ena_attach_device_init()
1200 ena_dbg(ena, "max MTU: %u", feat->efda_max_mtu); in ena_attach_device_init()
1203 ena->ena_max_mtu = feat->efda_max_mtu; in ena_attach_device_init()
1204 ena->ena_capabilities = feat->efda_capabilities; in ena_attach_device_init()
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_status.c393 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 Dnvme_validate.c414 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 Dnvme.c6140 nvme_ioctl_get_feature_t feat; in nvme_ioctl_get_feature() local
6159 bzero(&feat, sizeof (feat)); in nvme_ioctl_get_feature()
6166 feat.nigf_fid = feat32.nigf_fid; in nvme_ioctl_get_feature()
6167 feat.nigf_sel = feat32.nigf_sel; in nvme_ioctl_get_feature()
6170 feat.nigf_len = feat32.nigf_len; in nvme_ioctl_get_feature()
6174 if (ddi_copyin((void *)arg, &feat, sizeof (feat), in nvme_ioctl_get_feature()
6195 sqe.sqe_cdw11 = feat.nigf_cdw11; in nvme_ioctl_get_feature()
6199 if (feat.nigf_len != 0) { in nvme_ioctl_get_feature()
6211 feat.nigf_cdw0 = args.ica_cdw0; in nvme_ioctl_get_feature()
6220 feat32.nigf_fid = feat.nigf_fid; in nvme_ioctl_get_feature()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_nvme.c1831 struct nvme_feature_obj *feat; in nvme_opc_set_features() local
1850 feat = &sc->feat[fid]; in nvme_opc_set_features()
1857 if (!feat->namespace_specific && in nvme_opc_set_features()
1867 if (feat->set) in nvme_opc_set_features()
1868 feat->set(sc, feat, command, compl); in nvme_opc_set_features()
1877 feat->cdw11 = command->cdw11; in nvme_opc_set_features()
1893 struct nvme_feature_obj *feat; in nvme_opc_get_features() local
1908 feat = &sc->feat[fid]; in nvme_opc_get_features()
1909 if (feat->get) { in nvme_opc_get_features()
1910 feat->get(sc, feat, command, compl); in nvme_opc_get_features()
[all …]
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac_ioctl.c762 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 Daac_ioctl.h128 featuresState feat; member
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_hub.c246 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 Dccidadm.c224 ccid_class_features_t feat; in ccidadm_list_slot_usable_str() local
229 feat = ucs->ucs_class.ccd_dwFeatures; in ccidadm_list_slot_usable_str()
231 if ((feat & prot) == 0 || in ccidadm_list_slot_usable_str()
232 (feat & param) != param || in ccidadm_list_slot_usable_str()
233 (feat & clock) != clock) { in ccidadm_list_slot_usable_str()
/illumos-gate/usr/src/uts/intel/os/
H A Dhma.c694 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 Dnvme_feature.c115 const nvme_feat_info_t *feat) in nvme_feat_write_cache_sup() argument
122 const nvme_feat_info_t *feat) in nvme_feat_apst_sup() argument
/illumos-gate/usr/src/uts/common/io/usb/clients/ccid/
H A Dccid.c2685 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 Dspa.c5094 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 Dzpool_main.c1425 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/look/
H A Dwords8529 feat
/illumos-gate/usr/src/cmd/spell/
H A Dlist8527 feat