Home
last modified time | relevance | path

Searched refs:policy (Results 676 - 700 of 1910) sorted by relevance

1...<<21222324252627282930>>...77

/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dpowernow-k7.c248 static int powernow_target(struct cpufreq_policy *policy, unsigned int index) in powernow_target() argument
593 static int powernow_cpu_init(struct cpufreq_policy *policy) in powernow_cpu_init() argument
598 if (policy->cpu != 0) in powernow_cpu_init()
640 policy->cpuinfo.transition_latency = in powernow_cpu_init()
642 policy->freq_table = powernow_table; in powernow_cpu_init()
647 static int powernow_cpu_exit(struct cpufreq_policy *policy) in powernow_cpu_exit() argument
H A Dimx6q-cpufreq.c58 static int imx6q_set_target(struct cpufreq_policy *policy, unsigned int index) in imx6q_set_target() argument
190 static int imx6q_cpufreq_init(struct cpufreq_policy *policy) in imx6q_cpufreq_init() argument
192 policy->clk = clks[ARM].clk; in imx6q_cpufreq_init()
193 cpufreq_generic_init(policy, freq_table, transition_latency); in imx6q_cpufreq_init()
194 policy->suspend_freq = max_freq; in imx6q_cpufreq_init()
195 dev_pm_opp_of_register_em(cpu_dev, policy->cpus); in imx6q_cpufreq_init()
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
H A Dconntrack_icmp_related.sh137 type filter hook forward priority 0; policy accept;
154 type filter hook input priority 0; policy accept;
174 type filter hook input priority 0; policy accept;
182 type filter hook output priority 0; policy accept;
199 type nat hook postrouting priority 0; policy accept;
205 type nat hook postrouting priority 0; policy accept;
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dpowernow-k7.c248 static int powernow_target(struct cpufreq_policy *policy, unsigned int index) in powernow_target() argument
593 static int powernow_cpu_init(struct cpufreq_policy *policy) in powernow_cpu_init() argument
598 if (policy->cpu != 0) in powernow_cpu_init()
640 policy->cpuinfo.transition_latency = in powernow_cpu_init()
642 policy->freq_table = powernow_table; in powernow_cpu_init()
647 static int powernow_cpu_exit(struct cpufreq_policy *policy) in powernow_cpu_exit() argument
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
H A Dconntrack_icmp_related.sh137 type filter hook forward priority 0; policy accept;
154 type filter hook input priority 0; policy accept;
174 type filter hook input priority 0; policy accept;
182 type filter hook output priority 0; policy accept;
199 type nat hook postrouting priority 0; policy accept;
205 type nat hook postrouting priority 0; policy accept;
/third_party/libwebsockets/lib/secure-streams/system/auth-sigv4/
H A Dsign.c91 lws_ss_metadata_t *polmd = h->policy->metadata; in init_sigv4()
108 if (!strcmp(h->metadata[m].name, h->policy->aws_region) && in init_sigv4()
112 if (!strcmp(h->metadata[m].name, h->policy->aws_service) && in init_sigv4()
215 if (hash_update_str(&hash_ctx, h->policy->u.http.method) || in build_sign_string()
295 blob_idx[h->policy->auth->blob_index], in calc_signing_key()
355 blob_idx[h->policy->auth->blob_index], in build_auth_string()
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_datashare_helper.cpp130 ErrCode AdvancedDatashareHelper::QueryContact(Uri &uri, const std::string &phoneNumber, const std::string &policy) in QueryContact() argument
167 isFound = dealWithContactResult(helper, resultSet, policy) ? QUERY_INFO_SUCCESS : ERR_OK; in QueryContact()
176 std::shared_ptr<DataShare::DataShareResultSet> resultSet, const std::string &policy) in dealWithContactResult()
182 switch (atoi(policy.c_str())) { in dealWithContactResult()
175 dealWithContactResult(std::shared_ptr<DataShare::DataShareHelper> helper, std::shared_ptr<DataShare::DataShareResultSet> resultSet, const std::string &policy) dealWithContactResult() argument
/base/update/updateservice/interfaces/inner_api/engine/src/
H A Dupdate_service_kits_impl.cpp202 int32_t UpdateServiceKitsImpl::SetUpgradePolicy(const UpgradeInfo &info, const UpgradePolicy &policy, in SetUpgradePolicy() argument
208 int32_t ret = updateService->SetUpgradePolicy(info, policy, businessError); in SetUpgradePolicy()
213 int32_t UpdateServiceKitsImpl::GetUpgradePolicy(const UpgradeInfo &info, UpgradePolicy &policy, in GetUpgradePolicy() argument
219 int32_t ret = updateService->GetUpgradePolicy(info, policy, businessError); in GetUpgradePolicy()
/base/useriam/pin_auth/frameworks/client/src/
H A Dinputer_data_impl.cpp232 EDM::PasswordPolicy policy; in CheckEdmPinComplexity() local
233 int32_t ret = EDM::SecurityManagerProxy::GetSecurityManagerProxy()->GetPasswordPolicy(policy); in CheckEdmPinComplexity()
234 if (ret != ERR_OK || policy.complexityReg.empty()) { in CheckEdmPinComplexity()
235 IAM_LOGE("GetPasswordPolicy failed, check other policy"); in CheckEdmPinComplexity()
242 return CheckPinComplexityByReg(input, policy.complexityReg); in CheckEdmPinComplexity()
/build/ohos/sa_profile/sa_info_process/
H A Dsort_sa_by_bootphase.py52 self.policy = RearrangementPolicy()
219 if self.policy.bootphase_categories.get(bootphase) is None:
300 salist = self.policy.bootphase_categories.get(bootphase)
305 salist = self.policy.bootphase_categories.get(category)
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_service_test/
H A Dnet_policy_service_test.cpp93 uint32_t policy = 0; in HWTEST_F() local
94 ret = instance_->GetPolicyByUid(0, policy); in HWTEST_F()
201 NetworkAccessPolicy policy; in HWTEST_F() local
202 ret = instance_->SetNetworkAccessPolicy(0, policy, true); in HWTEST_F()
/foundation/communication/wifi/wifi/test/wifi_standard/non_mock/
H A Dblock_connect_service_test.cpp91 DisablePolicy policy = in HWTEST_F() local
93 EXPECT_EQ(policy.disableTime, 5 * 60 * 1000 * 1000); in HWTEST_F()
94 EXPECT_EQ(policy.disableCount, 3); in HWTEST_F()
95 EXPECT_EQ(policy.disableStatus, WifiDeviceConfigStatus::DISABLED); in HWTEST_F()
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dudmf_client_system_hap_test.cpp106 HapPolicyParams policy = { in AllocHapToken1() local
131 auto tokenID = AccessTokenKit::AllocHapToken(info, policy); in AllocHapToken1()
145 HapPolicyParams policy = { in AllocHapToken2() local
170 auto tokenID = AccessTokenKit::AllocHapToken(info, policy); in AllocHapToken2()
/kernel/linux/linux-5.10/drivers/clk/bcm/
H A Dclk-kona.h52 #define policy_exists(policy) ((policy)->offset != 0)
85 * CCU policy control for clocks. Clocks can be enabled or disabled
86 * based on the CCU policy in effect. One bit in each policy mask
87 * register (one per CCU policy) represents whether the clock is
88 * enabled when that policy is effect or not. The CCU policy engine
93 u32 offset; /* first policy mask register offset */
391 struct bcm_clk_policy policy; member
482 struct ccu_policy policy; global() member
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dpsp-sev.h202 * @policy: policy information for the VM
208 u32 policy; /* Out */ member
217 * @policy: guest launch policy
225 u32 policy; /* In */ member
312 * @policy: policy information for the VM
324 u32 policy; /* Out */ member
405 u32 policy; /* I member
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dsriov.c46 /* Restore sriov guid and policy settings */ in sriov_restore_guids()
49 sriov->vfs_ctx[vf].policy != MLX5_POLICY_INVALID) { in sriov_restore_guids()
56 in->policy = sriov->vfs_ctx[vf].policy; in sriov_restore_guids()
60 !!(in->policy) * MLX5_HCA_VPORT_SEL_STATE_POLICY; in sriov_restore_guids()
/kernel/linux/linux-6.6/include/linux/
H A Dpsp-sev.h217 * @policy: policy information for the VM
223 u32 policy; /* Out */ member
232 * @policy: guest launch policy
240 u32 policy; /* In */ member
327 * @policy: policy information for the VM
339 u32 policy; /* Out */ member
429 u32 policy; /* I member
[all...]
H A Dnetlink.h74 * @policy: policy for a bad attribute
85 const struct nla_policy *policy; member
146 (extack)->policy = (pol); \
161 __extack->policy = (pol); \
181 __extack->policy = (pol); \
/kernel/linux/linux-6.6/drivers/clk/bcm/
H A Dclk-kona.h44 #define policy_exists(policy) ((policy)->offset != 0)
77 * CCU policy control for clocks. Clocks can be enabled or disabled
78 * based on the CCU policy in effect. One bit in each policy mask
79 * register (one per CCU policy) represents whether the clock is
80 * enabled when that policy is effect or not. The CCU policy engine
85 u32 offset; /* first policy mask register offset */
383 struct bcm_clk_policy policy; member
474 struct ccu_policy policy; global() member
[all...]
/third_party/node/lib/internal/process/
H A Dpre_execution.js50 initializeModules: false, // Will need to initialize it after policy setup
84 const policy = readPolicyFromDisk();
85 if (policy) {
86 require('internal/process/policy')
87 .setup(policy.manifestSrc, policy.manifestURL);
533 const experimentalPolicy = getOptionValue('--experimental-policy');
550 const experimentalPolicyIntegrity = getOptionValue('--policy-integrity');
552 const SRI = require('internal/policy/sri');
/third_party/skia/src/core/
H A DSkBlockAllocator.cpp14 SkBlockAllocator::SkBlockAllocator(GrowthPolicy policy, size_t blockIncrementBytes, in SkBlockAllocator() argument
21 , fGrowthPolicy(static_cast<uint64_t>(policy)) in SkBlockAllocator()
22 , fN0((policy == GrowthPolicy::kLinear || policy == GrowthPolicy::kExponential) ? 1 : 0) in SkBlockAllocator()
128 // Decrement growth policy (opposite of addBlock()'s increment operations) in releaseBlock()
202 static_assert(2 * kMaxN <= std::numeric_limits<int32_t>::max()); // Growth policy won't overflow in addBlock()
221 // Calculate the 'next' size per growth policy sequence in addBlock()
240 // The growth policy would overflow, so use the max. We've already confirmed that in addBlock()
/kernel/liteos_m/kal/posix/src/
H A Dpthread.c101 INT32 policy = 0; in PthreadAttrCheck() local
117 ret = pthread_getschedparam(pthread_self(), &policy, &schedParam); in PthreadAttrCheck()
233 int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param) in pthread_setschedparam() argument
245 /* Only support SCHED_RR policy now */ in pthread_setschedparam()
246 if (policy != SCHED_RR) { in pthread_setschedparam()
368 int pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param) in pthread_getschedparam() argument
377 if ((policy == NULL) || (param == NULL)) { in pthread_getschedparam()
386 *policy = SCHED_RR; in pthread_getschedparam()
/third_party/libwebsockets/lib/core-net/
H A Dadopt.c265 * the opaque_user_data of the server object and the policy of it. in lws_adopt_ss_server_accept()
301 h->policy = new_wsi->a.vhost->ss_handle->policy; in lws_adopt_ss_server_accept()
305 h->policy->priority, in lws_adopt_ss_server_accept()
307 !!(h->policy->flags & LWSSSPOLF_ATTR_LOW_LATENCY)) | in lws_adopt_ss_server_accept()
309 !!(h->policy->flags & LWSSSPOLF_ATTR_HIGH_THROUGHPUT)) | in lws_adopt_ss_server_accept()
311 !!(h->policy->flags & LWSSSPOLF_ATTR_HIGH_RELIABILITY)) | in lws_adopt_ss_server_accept()
313 !!(h->policy->flags & LWSSSPOLF_ATTR_LOW_COST)))) in lws_adopt_ss_server_accept()
/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_device_manager_impl_three.cpp1102 std::map<std::string, std::string> policy; in HWTEST_F() local
1103 policy[PARAM_KEY_POLICY_STRATEGY_FOR_BLE] = "100"; in HWTEST_F()
1104 policy[PARAM_KEY_POLICY_TIME_OUT] = "10"; in HWTEST_F()
1107 int32_t ret = DeviceManager::GetInstance().SetDnPolicy(packName, policy); in HWTEST_F()
1119 std::map<std::string, std::string> policy; in HWTEST_F() local
1120 policy[PARAM_KEY_POLICY_STRATEGY_FOR_BLE] = "100"; in HWTEST_F()
1123 int32_t ret = DeviceManager::GetInstance().SetDnPolicy(packName, policy); in HWTEST_F()
1131 std::map<std::string, std::string> policy; in HWTEST_F() local
1134 int32_t ret = DeviceManager::GetInstance().SetDnPolicy(packName, policy); in HWTEST_F()
1142 std::map<std::string, std::string> policy; in HWTEST_F() local
1153 std::map<std::string, std::string> policy; HWTEST_F() local
1166 std::map<std::string, std::string> policy; HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-cache-metadata.c1288 struct dm_cache_policy *policy) in policy_unchanged()
1290 const char *policy_name = dm_cache_policy_get_name(policy); in policy_unchanged()
1291 const unsigned *policy_version = dm_cache_policy_get_version(policy); in policy_unchanged()
1292 size_t policy_hint_size = dm_cache_policy_get_hint_size(policy); in policy_unchanged()
1295 * Ensure policy names match. in policy_unchanged()
1301 * Ensure policy major versions match. in policy_unchanged()
1307 * Ensure policy hint sizes match. in policy_unchanged()
1321 struct dm_cache_policy *policy) in hints_array_available()
1323 return cmd->clean_when_opened && policy_unchanged(cmd, policy) && in hints_array_available()
1360 DMERR("policy could in __load_mapping_v1()
1287 policy_unchanged(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) policy_unchanged() argument
1320 hints_array_available(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) hints_array_available() argument
1410 __load_mappings(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy, load_mapping_fn fn, void *context) __load_mappings() argument
1499 dm_cache_load_mappings(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy, load_mapping_fn fn, void *context) dm_cache_load_mappings() argument
1699 struct dm_cache_policy *policy = context; get_hint() local
1711 write_hints(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) write_hints() argument
1741 dm_cache_write_hints(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) dm_cache_write_hints() argument
[all...]

Completed in 21 milliseconds

1...<<21222324252627282930>>...77