/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_capa.h | 101 static inline struct lu_fid *capa_fid(struct lustre_capa *capa) in capa_fid() argument 103 return &capa->lc_fid; in capa_fid() 106 static inline __u64 capa_opc(struct lustre_capa *capa) in capa_opc() argument 108 return capa->lc_opc; in capa_opc() 111 static inline __u64 capa_uid(struct lustre_capa *capa) in capa_uid() argument 113 return capa->lc_uid; in capa_uid() 116 static inline __u64 capa_gid(struct lustre_capa *capa) in capa_gid() argument 118 return capa->lc_gid; in capa_gid() 121 static inline __u32 capa_flags(struct lustre_capa *capa) in capa_flags() argument 123 return capa->lc_flags & 0xffffff; in capa_flags() [all …]
|
D | dt_object.h | 311 struct lustre_capa *capa); 325 struct lustre_capa *capa); 333 struct lustre_capa *capa); 349 struct lustre_capa *capa); 361 struct lustre_capa *capa); 370 struct lustre_capa *capa); 472 struct lustre_capa *capa); 482 struct thandle *handle, struct lustre_capa *capa, 497 int rw, struct lustre_capa *capa); 535 struct lustre_capa *capa); [all …]
|
D | lustre_mds.h | 64 struct lustre_capa_key *capa; member
|
D | lclient.h | 375 struct obd_capa *capa);
|
D | obd_class.h | 806 struct obd_export *md_exp, void *capa) in obd_destroy() argument 813 rc = OBP(exp->exp_obd, destroy)(env, exp, obdo, ea, oti, md_exp, capa); in obd_destroy() 1215 struct lustre_capa *capa) in obd_preprw() argument 1223 pages, local, oti, capa); in obd_preprw()
|
D | obd.h | 1169 void *capa); 1185 struct obd_trans_info *oti, struct lustre_capa *capa);
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | capa.c | 151 static struct obd_capa *find_capa(struct lustre_capa *capa, in find_capa() argument 155 int len = alive ? offsetof(struct lustre_capa, lc_keyid):sizeof(*capa); in find_capa() 158 if (memcmp(&ocapa->c_capa, capa, len)) in find_capa() 193 struct obd_capa *capa_add(struct hlist_head *hash, struct lustre_capa *capa) in capa_add() argument 195 struct hlist_head *head = hash + capa_hashfn(&capa->lc_fid); in capa_add() 204 old = find_capa(capa, head, 0); in capa_add() 206 ocapa->c_capa = *capa; in capa_add() 224 struct obd_capa *capa_lookup(struct hlist_head *hash, struct lustre_capa *capa, in capa_lookup() argument 230 ocapa = find_capa(capa, hash + capa_hashfn(&capa->lc_fid), alive); in capa_lookup() 259 int capa_hmac(__u8 *hmac, struct lustre_capa *capa, __u8 *key) in capa_hmac() argument [all …]
|
D | Makefile | 8 lu_object.o dt_object.o capa.o cl_object.o \
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | llite_capa.c | 71 static int ll_update_capa(struct obd_capa *ocapa, struct lustre_capa *capa); 399 struct lustre_capa *capa = &ocapa->c_capa; in do_add_mds_capa() local 406 DEBUG_CAPA(D_SEC, capa, "add MDS"); in do_add_mds_capa() 409 old->c_capa = *capa; in do_add_mds_capa() 412 DEBUG_CAPA(D_SEC, capa, "update MDS"); in do_add_mds_capa() 464 struct lustre_capa *capa = &ocapa->c_capa; in do_add_oss_capa() local 471 old = do_lookup_oss_capa(inode, capa_opc(capa) & CAPA_OPC_OSS_ONLY); in do_add_oss_capa() 477 DEBUG_CAPA(D_SEC, capa, "add OSS"); in do_add_oss_capa() 480 old->c_capa = *capa; in do_add_oss_capa() 483 DEBUG_CAPA(D_SEC, capa, "update OSS"); in do_add_oss_capa() [all …]
|
D | file.c | 916 struct obd_capa *capa, struct obdo *obdo, in ll_lsm_getattr() argument 936 oinfo.oi_capa = capa; in ll_lsm_getattr() 967 struct obd_capa *capa = ll_mdscapa_get(inode); in ll_inode_getattr() local 973 capa, obdo, ioepoch, sync); in ll_inode_getattr() 974 capa_put(capa); in ll_inode_getattr() 2586 struct obd_capa *capa = NULL; in cl_sync_file_range() local 2598 capa = ll_osscapa_get(inode, CAPA_OPC_OSS_WRITE); in cl_sync_file_range() 2606 fio->fi_capa = capa; in cl_sync_file_range() 2622 capa_put(capa); in cl_sync_file_range()
|
D | llite_lib.c | 1257 struct obd_capa *capa; in ll_setattr_ost() local 1261 capa = ll_osscapa_get(inode, CAPA_OPC_OSS_TRUNC); in ll_setattr_ost() 1263 capa = ll_mdscapa_get(inode); in ll_setattr_ost() 1265 rc = cl_setattr_ost(inode, attr, capa); in ll_setattr_ost() 1268 ll_truncate_free_capa(capa); in ll_setattr_ost() 1270 capa_put(capa); in ll_setattr_ost()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
D | iwl-drv.c | 422 struct iwl_ucode_capabilities *capa) in iwl_set_ucode_api_flags() argument 432 capa->api[api_index] = le32_to_cpu(ucode_api->api_flags); in iwl_set_ucode_api_flags() 438 struct iwl_ucode_capabilities *capa) in iwl_set_ucode_capabilities() argument 448 capa->capa[api_index] = le32_to_cpu(ucode_capa->api_capa); in iwl_set_ucode_capabilities() 557 struct iwl_ucode_capabilities *capa) in iwl_parse_tlv_firmware() argument 667 capa->max_probe_length = in iwl_parse_tlv_firmware() 673 capa->flags |= IWL_UCODE_TLV_FLAGS_PAN; in iwl_parse_tlv_firmware() 689 capa->flags = le32_to_cpup((__le32 *)tlv_data); in iwl_parse_tlv_firmware() 694 if (iwl_set_ucode_api_flags(drv, tlv_data, capa)) in iwl_parse_tlv_firmware() 700 if (iwl_set_ucode_capabilities(drv, tlv_data, capa)) in iwl_parse_tlv_firmware() [all …]
|
D | iwl-fw.h | 109 u32 capa[IWL_CAPABILITIES_ARRAY_SIZE]; member
|
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/ |
D | mdc_request.c | 66 struct lustre_capa *capa; in mdc_unpack_capa() local 70 capa = req_capsule_server_get(&req->rq_pill, field); in mdc_unpack_capa() 71 if (capa == NULL) in mdc_unpack_capa() 79 c->c_capa = *capa; in mdc_unpack_capa() 207 struct lustre_capa *capa; in mdc_getattr_common() local 209 capa = req_capsule_server_get(pill, &RMF_CAPA1); in mdc_getattr_common() 210 if (capa == NULL) in mdc_getattr_common() 2599 struct lustre_capa *capa; in mdc_interpret_renew_capa() local 2602 capa = ERR_PTR(status); in mdc_interpret_renew_capa() 2608 capa = ERR_PTR(-EFAULT); in mdc_interpret_renew_capa() [all …]
|
D | mdc_locks.c | 709 struct lustre_capa *capa, *p; in mdc_finish_enqueue() local 711 capa = req_capsule_server_get(pill, &RMF_CAPA1); in mdc_finish_enqueue() 712 if (capa == NULL) in mdc_finish_enqueue() 719 *p = *capa; in mdc_finish_enqueue() 723 struct lustre_capa *capa; in mdc_finish_enqueue() local 725 capa = req_capsule_server_get(pill, &RMF_CAPA2); in mdc_finish_enqueue() 726 if (capa == NULL) in mdc_finish_enqueue()
|
D | mdc_reint.c | 302 struct lustre_capa *capa; in mdc_create() local 307 capa = req_capsule_server_get(&req->rq_pill, in mdc_create() 309 if (capa == NULL) in mdc_create()
|
/linux-4.1.27/drivers/mmc/host/ |
D | omap_hsmmc.c | 205 u32 capa; member 625 u32 hctl, capa; in omap_hsmmc_context_restore() local 631 host->capa == OMAP_HSMMC_READ(host->base, CAPA)) in omap_hsmmc_context_restore() 642 capa = VS30 | VS18; in omap_hsmmc_context_restore() 645 capa = VS18; in omap_hsmmc_context_restore() 655 OMAP_HSMMC_READ(host->base, CAPA) | capa); in omap_hsmmc_context_restore() 693 host->capa = OMAP_HSMMC_READ(host->base, CAPA); in omap_hsmmc_context_save() 1730 u32 hctl, capa, value; in omap_hsmmc_conf_bus_power() local 1735 capa = VS30 | VS18; in omap_hsmmc_conf_bus_power() 1738 capa = VS18; in omap_hsmmc_conf_bus_power() [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | mac80211.c | 520 if ((mvm->fw->ucode_capa.capa[0] & in iwl_mvm_mac_setup_register() 551 if (mvm->fw->ucode_capa.capa[0] & in iwl_mvm_mac_setup_register() 554 if (mvm->fw->ucode_capa.capa[0] & in iwl_mvm_mac_setup_register() 558 if (mvm->fw->ucode_capa.capa[0] & in iwl_mvm_mac_setup_register() 563 if (mvm->fw->ucode_capa.capa[0] & in iwl_mvm_mac_setup_register() 614 if (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_TDLS_SUPPORT) { in iwl_mvm_mac_setup_register() 619 if (mvm->fw->ucode_capa.capa[0] & in iwl_mvm_mac_setup_register() 1426 if (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_UMAC_SCAN) { in __iwl_mvm_mac_stop() 2430 if (!(mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_UMAC_SCAN)) { in iwl_mvm_mac_hw_scan() 2451 if (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_UMAC_SCAN) in iwl_mvm_mac_hw_scan() [all …]
|
D | mvm.h | 921 (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_D0I3_SUPPORT); in iwl_mvm_is_d0i3_supported() 927 bool tlv_lar = mvm->fw->ucode_capa.capa[0] & in iwl_mvm_is_lar_supported() 946 mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_LAR_MULTI_MCC; in iwl_mvm_is_wifi_mcc_supported() 956 return (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_BT_COEX_PLCR) && in iwl_mvm_bt_is_plcr_supported() 962 return (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_BT_COEX_RRC) && in iwl_mvm_bt_is_rrc_supported()
|
D | scan.c | 279 return mvm->fw->ucode_capa.capa[0] & in iwl_mvm_rrm_scan_needed() 525 if (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_UMAC_SCAN) { in iwl_mvm_scan_offload_start() 583 if (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_UMAC_SCAN) in iwl_mvm_scan_offload_stop() 1022 if (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_UMAC_SCAN) in iwl_mvm_cancel_scan() 1625 if (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_UMAC_SCAN) in iwl_mvm_scan_size() 1643 if (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_UMAC_SCAN) { in iwl_mvm_report_scan_aborted()
|
D | nvm.c | 319 (mvm->fw->ucode_capa.capa[0] & in iwl_parse_nvm_sections() 795 tlv_lar = mvm->fw->ucode_capa.capa[0] & in iwl_mvm_init_mcc()
|
D | fw.c | 757 if (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_UMAC_SCAN) { in iwl_mvm_up()
|
D | tx.c | 147 if ((mvm->fw->ucode_capa.capa[0] & in iwl_mvm_set_tx_cmd()
|
D | debugfs.c | 919 if (mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_UMAC_SCAN) in iwl_dbgfs_scan_ant_rxchain_write()
|
D | rs.c | 2728 if ((mvm->fw->ucode_capa.capa[0] & IWL_UCODE_TLV_CAPA_BEAMFORMER) && in rs_vht_init()
|
/linux-4.1.27/drivers/macintosh/ |
D | via-pmu.c | 733 unsigned int capa, max, voltage; in done_battery_state_smart() local 741 capa = max = amperage = voltage = 0; in done_battery_state_smart() 747 case 4: capa = req->reply[2]; in done_battery_state_smart() 752 case 5: capa = (req->reply[2] << 8) | req->reply[3]; in done_battery_state_smart() 769 pmu_batteries[pmu_cur_battery].charge = capa; in done_battery_state_smart() 776 = ((max-capa) * 3600) / amperage; in done_battery_state_smart() 779 = (capa * 3600) / (-amperage); in done_battery_state_smart()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_obd.c | 1083 void *capa) in lov_destroy() argument 1115 req->rq_oi.oi_oa, NULL, oti, NULL, capa); in lov_destroy() 2088 unsigned next_id = 0, mds_con = 0, capa = 0; in lov_set_info_async() local 2114 capa = 1; in lov_set_info_async() 2153 } else if (capa) { in lov_set_info_async() 2164 key, sizeof(*info->capa), in lov_set_info_async() 2165 info->capa, set); in lov_set_info_async()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
D | cfg.c | 589 u16 capa; in lbs_ret_scan() local 608 capa = get_unaligned_le16(pos); in lbs_ret_scan() 647 bssid, capa, chan_no, ssid_len, ssid, in lbs_ret_scan() 655 capa, intvl, ie, ielen, in lbs_ret_scan()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/ |
D | lcommon_cl.c | 941 struct obd_capa *capa) in cl_setattr_ost() argument 960 io->u.ci_setattr.sa_capa = capa; in cl_setattr_ost()
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 194 struct ost_body *body, void *capa) in osc_pack_capa() argument 196 struct obd_capa *oc = (struct obd_capa *)capa; in osc_pack_capa() 199 if (!capa) in osc_pack_capa() 757 void *capa) in osc_destroy() argument 779 osc_set_capa_size(req, &RMF_CAPA1, (struct obd_capa *)capa); in osc_destroy() 796 osc_pack_capa(req, body, (struct obd_capa *)capa); in osc_destroy()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
D | agn.h | 136 const struct iwl_ucode_capabilities *capa);
|
D | mac80211.c | 98 const struct iwl_ucode_capabilities *capa) in iwlagn_mac_setup_register() argument 191 hw->wiphy->max_scan_ie_len = capa->max_probe_length - 24 - 34; in iwlagn_mac_setup_register()
|
/linux-4.1.27/drivers/net/wireless/ |
D | rndis_wlan.c | 311 __le16 capa; member 319 __le16 capa; member 2673 capability = le16_to_cpu(info->resp_ie.capa); in rndis_wlan_craft_connected_bss()
|