Home
last modified time | relevance | path

Searched defs:policy (Results 1 – 25 of 220) sorted by relevance

123456789

/linux/drivers/cpufreq/
H A Dcpufreq.c120 struct kobject *get_governor_parent_kobj(struct cpufreq_policy *policy) in get_governor_parent_kobj()
174 void cpufreq_generic_init(struct cpufreq_policy *policy, in cpufreq_generic_init()
191 struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu); in cpufreq_cpu_get_raw() local
199 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in cpufreq_generic_get() local
224 struct cpufreq_policy *policy = NULL; in cpufreq_cpu_get() local
250 void cpufreq_cpu_put(struct cpufreq_policy *policy) in cpufreq_cpu_put()
260 void cpufreq_cpu_release(struct cpufreq_policy *policy) in cpufreq_cpu_release()
286 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in cpufreq_cpu_acquire() local
349 static void cpufreq_notify_transition(struct cpufreq_policy *policy, in cpufreq_notify_transition()
401 static void cpufreq_notify_post_transition(struct cpufreq_policy *policy, in cpufreq_notify_post_transition()
[all …]
H A Dfreq_table.c17 bool policy_has_boost_freq(struct cpufreq_policy *policy) in policy_has_boost_freq()
32 int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy, in cpufreq_frequency_table_cpuinfo()
69 int cpufreq_frequency_table_verify(struct cpufreq_policy_data *policy, in cpufreq_frequency_table_verify()
109 int cpufreq_generic_frequency_table_verify(struct cpufreq_policy_data *policy) in cpufreq_generic_frequency_table_verify()
118 int cpufreq_table_index_unsorted(struct cpufreq_policy *policy, in cpufreq_table_index_unsorted()
211 int cpufreq_frequency_table_get_index(struct cpufreq_policy *policy, in cpufreq_frequency_table_get_index()
233 static ssize_t show_available_freqs(struct cpufreq_policy *policy, char *buf, in show_available_freqs()
273 static ssize_t scaling_available_frequencies_show(struct cpufreq_policy *policy, in scaling_available_frequencies_show()
285 static ssize_t scaling_boost_frequencies_show(struct cpufreq_policy *policy, in scaling_boost_frequencies_show()
299 static int set_freq_table_sorted(struct cpufreq_policy *policy) in set_freq_table_sorted()
[all …]
H A Dcpufreq_userspace.c31 static int cpufreq_set(struct cpufreq_policy *policy, unsigned int freq) in cpufreq_set()
50 static ssize_t show_speed(struct cpufreq_policy *policy, char *buf) in show_speed()
55 static int cpufreq_userspace_policy_init(struct cpufreq_policy *policy) in cpufreq_userspace_policy_init()
73 static void cpufreq_userspace_policy_exit(struct cpufreq_policy *policy) in cpufreq_userspace_policy_exit()
79 static int cpufreq_userspace_policy_start(struct cpufreq_policy *policy) in cpufreq_userspace_policy_start()
93 static void cpufreq_userspace_policy_stop(struct cpufreq_policy *policy) in cpufreq_userspace_policy_stop()
105 static void cpufreq_userspace_policy_limits(struct cpufreq_policy *policy) in cpufreq_userspace_policy_limits()
H A Damd-pstate.c495 struct cpufreq_policy *policy = cpufreq_cpu_get(cpudata->cpu); in amd_pstate_update() local
554 struct cpufreq_policy *policy = cpufreq_cpu_get(policy_data->cpu); in amd_pstate_verify() local
571 static int amd_pstate_update_min_max_limit(struct cpufreq_policy *policy) in amd_pstate_update_min_max_limit()
596 static int amd_pstate_update_freq(struct cpufreq_policy *policy, in amd_pstate_update_freq()
637 static int amd_pstate_target(struct cpufreq_policy *policy, in amd_pstate_target()
644 static unsigned int amd_pstate_fast_switch(struct cpufreq_policy *policy, in amd_pstate_fast_switch()
659 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in amd_pstate_adjust_perf() local
696 static int amd_pstate_cpu_boost_update(struct cpufreq_policy *policy, bool on) in amd_pstate_cpu_boost_update()
721 static int amd_pstate_set_boost(struct cpufreq_policy *policy, int state) in amd_pstate_set_boost()
812 struct cpufreq_policy *policy = cpufreq_cpu_get(cpu); in amd_pstate_update_limits() local
[all …]
H A Dcpufreq_governor.c114 unsigned int dbs_update(struct cpufreq_policy *policy) in dbs_update()
235 struct cpufreq_policy *policy; in dbs_work_handler() local
325 struct cpufreq_policy *policy = policy_dbs->policy; in gov_set_update_util() local
339 static inline void gov_clear_update_util(struct cpufreq_policy *policy) in gov_clear_update_util()
349 static struct policy_dbs_info *alloc_policy_dbs_info(struct cpufreq_policy *policy, in alloc_policy_dbs_info()
400 int cpufreq_dbs_governor_init(struct cpufreq_policy *policy) in cpufreq_dbs_governor_init()
490 void cpufreq_dbs_governor_exit(struct cpufreq_policy *policy) in cpufreq_dbs_governor_exit()
513 int cpufreq_dbs_governor_start(struct cpufreq_policy *policy) in cpufreq_dbs_governor_start()
551 void cpufreq_dbs_governor_stop(struct cpufreq_policy *policy) in cpufreq_dbs_governor_stop()
563 void cpufreq_dbs_governor_limits(struct cpufreq_policy *policy) in cpufreq_dbs_governor_limits()
H A Dsh-cpufreq.c33 struct cpufreq_policy *policy; member
45 struct cpufreq_policy *policy = target->policy; in __sh_cpufreq_target() local
80 static int sh_cpufreq_target(struct cpufreq_policy *policy, in sh_cpufreq_target()
89 static int sh_cpufreq_verify(struct cpufreq_policy_data *policy) in sh_cpufreq_verify()
107 static int sh_cpufreq_cpu_init(struct cpufreq_policy *policy) in sh_cpufreq_cpu_init()
138 static void sh_cpufreq_cpu_exit(struct cpufreq_policy *policy) in sh_cpufreq_cpu_exit()
H A Dqcom-cpufreq-hw.c58 struct cpufreq_policy *policy; member
72 static int qcom_cpufreq_set_bw(struct cpufreq_policy *policy, in qcom_cpufreq_set_bw()
113 static int qcom_cpufreq_hw_target_index(struct cpufreq_policy *policy, in qcom_cpufreq_hw_target_index()
150 struct cpufreq_policy *policy; in qcom_cpufreq_get_freq() local
169 struct cpufreq_policy *policy; in qcom_cpufreq_hw_get() local
183 static unsigned int qcom_cpufreq_hw_fast_switch(struct cpufreq_policy *policy, in qcom_cpufreq_hw_fast_switch()
202 struct cpufreq_policy *policy) in qcom_cpufreq_hw_read_lut()
327 struct cpufreq_policy *policy = data->policy; in qcom_lmh_dcvs_notify() local
427 static int qcom_cpufreq_hw_lmh_init(struct cpufreq_policy *policy, int index) in qcom_cpufreq_hw_lmh_init()
465 static int qcom_cpufreq_hw_cpu_online(struct cpufreq_policy *policy) in qcom_cpufreq_hw_cpu_online()
[all …]
H A Dcpufreq_stats.c58 static ssize_t show_total_trans(struct cpufreq_policy *policy, char *buf) in show_total_trans()
69 static ssize_t show_time_in_state(struct cpufreq_policy *policy, char *buf) in show_time_in_state()
103 static ssize_t store_reset(struct cpufreq_policy *policy, const char *buf, in store_reset()
124 static ssize_t show_trans_table(struct cpufreq_policy *policy, char *buf) in show_trans_table()
194 void cpufreq_stats_free_table(struct cpufreq_policy *policy) in cpufreq_stats_free_table()
210 void cpufreq_stats_create_table(struct cpufreq_policy *policy) in cpufreq_stats_create_table()
265 void cpufreq_stats_record_transition(struct cpufreq_policy *policy, in cpufreq_stats_record_transition()
H A Dacpi-cpufreq.c131 static int set_boost(struct cpufreq_policy *policy, int val) in set_boost()
141 static ssize_t show_freqdomain_cpus(struct cpufreq_policy *policy, char *buf) in show_freqdomain_cpus()
154 static ssize_t store_cpb(struct cpufreq_policy *policy, const char *buf, in store_cpb()
174 static ssize_t show_cpb(struct cpufreq_policy *policy, char *buf) in show_cpb()
196 static unsigned extract_io(struct cpufreq_policy *policy, u32 value) in extract_io()
211 static unsigned extract_msr(struct cpufreq_policy *policy, u32 msr) in extract_msr()
232 static unsigned extract_freq(struct cpufreq_policy *policy, u32 val) in extract_freq()
365 struct cpufreq_policy *policy; in get_cur_freq_on_cpu() local
394 static unsigned int check_freqs(struct cpufreq_policy *policy, in check_freqs()
410 static int acpi_cpufreq_target(struct cpufreq_policy *policy, in acpi_cpufreq_target()
[all …]
H A Dapple-soc-cpufreq.c106 struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu); in apple_soc_cpufreq_get_rate() local
134 static int apple_soc_cpufreq_set_target(struct cpufreq_policy *policy, in apple_soc_cpufreq_set_target()
161 static unsigned int apple_soc_cpufreq_fast_switch(struct cpufreq_policy *policy, in apple_soc_cpufreq_fast_switch()
170 static int apple_soc_cpufreq_find_cluster(struct cpufreq_policy *policy, in apple_soc_cpufreq_find_cluster()
204 static int apple_soc_cpufreq_init(struct cpufreq_policy *policy) in apple_soc_cpufreq_init()
308 static void apple_soc_cpufreq_exit(struct cpufreq_policy *policy) in apple_soc_cpufreq_exit()
H A Dcpufreq-dt.c57 static int set_target(struct cpufreq_policy *policy, unsigned int index) in set_target()
89 static int cpufreq_init(struct cpufreq_policy *policy) in cpufreq_init()
140 static int cpufreq_online(struct cpufreq_policy *policy) in cpufreq_online()
146 static int cpufreq_offline(struct cpufreq_policy *policy) in cpufreq_offline()
155 static void cpufreq_exit(struct cpufreq_policy *policy) in cpufreq_exit()
H A Dlongrun.c35 static void longrun_get_policy(struct cpufreq_policy *policy) in longrun_get_policy()
71 static int longrun_set_policy(struct cpufreq_policy *policy) in longrun_set_policy()
125 static int longrun_verify_policy(struct cpufreq_policy_data *policy) in longrun_verify_policy()
252 static int longrun_cpu_init(struct cpufreq_policy *policy) in longrun_cpu_init()
H A Dcpufreq_ondemand.c60 static unsigned int generic_powersave_bias_target(struct cpufreq_policy *policy, in generic_powersave_bias_target()
107 static void ondemand_powersave_bias_init(struct cpufreq_policy *policy) in ondemand_powersave_bias_init()
114 static void dbs_freq_increase(struct cpufreq_policy *policy, unsigned int freq) in dbs_freq_increase()
135 static void od_update(struct cpufreq_policy *policy) in od_update()
171 static unsigned int od_dbs_update(struct cpufreq_policy *policy) in od_dbs_update()
390 static void od_start(struct cpufreq_policy *policy) in od_start()
428 struct cpufreq_policy *policy; in od_set_powersave_bias() local
H A Dintel_pstate.c230 unsigned int policy; member
439 static void intel_pstate_init_acpi_perf_limits(struct cpufreq_policy *policy) in intel_pstate_init_acpi_perf_limits()
495 static void intel_pstate_exit_perf_limits(struct cpufreq_policy *policy) in intel_pstate_exit_perf_limits()
506 static inline void intel_pstate_init_acpi_perf_limits(struct cpufreq_policy *policy) in intel_pstate_init_acpi_perf_limits()
510 static inline void intel_pstate_exit_perf_limits(struct cpufreq_policy *policy) in intel_pstate_exit_perf_limits()
809 struct cpufreq_policy *policy, char *buf) in show_energy_performance_available_preferences()
827 struct cpufreq_policy *policy, const char *buf, size_t count) in store_energy_performance_preference()
895 struct cpufreq_policy *policy, char *buf) in show_energy_performance_preference()
912 static ssize_t show_base_frequency(struct cpufreq_policy *policy, char *buf) in show_base_frequency()
1304 static int intel_pstate_suspend(struct cpufreq_policy *policy) in intel_pstate_suspend()
[all …]
H A De_powersaver.c79 static int eps_acpi_exit(struct cpufreq_policy *policy) in eps_acpi_exit()
108 struct cpufreq_policy *policy, in eps_set_state()
153 static int eps_target(struct cpufreq_policy *policy, unsigned int index) in eps_target()
172 static int eps_cpu_init(struct cpufreq_policy *policy) in eps_cpu_init()
363 static void eps_cpu_exit(struct cpufreq_policy *policy) in eps_cpu_exit()
H A Dppc_cbe_cpufreq.c54 static int cbe_cpufreq_cpu_init(struct cpufreq_policy *policy) in cbe_cpufreq_cpu_init()
116 static void cbe_cpufreq_cpu_exit(struct cpufreq_policy *policy) in cbe_cpufreq_cpu_exit()
121 static int cbe_cpufreq_target(struct cpufreq_policy *policy, in cbe_cpufreq_target()
H A Dbmips-cpufreq.c66 bmips_cpufreq_get_freq_table(const struct cpufreq_policy *policy) in bmips_cpufreq_get_freq_table()
105 static int bmips_cpufreq_target_index(struct cpufreq_policy *policy, in bmips_cpufreq_target_index()
124 static void bmips_cpufreq_exit(struct cpufreq_policy *policy) in bmips_cpufreq_exit()
129 static int bmips_cpufreq_init(struct cpufreq_policy *policy) in bmips_cpufreq_init()
H A Dpmac32-cpufreq.c333 static int do_set_cpu_speed(struct cpufreq_policy *policy, int speed_mode) in do_set_cpu_speed()
363 static int pmac_cpufreq_target( struct cpufreq_policy *policy, in pmac_cpufreq_target()
374 static int pmac_cpufreq_cpu_init(struct cpufreq_policy *policy) in pmac_cpufreq_cpu_init()
397 static int pmac_cpufreq_suspend(struct cpufreq_policy *policy) in pmac_cpufreq_suspend()
413 static int pmac_cpufreq_resume(struct cpufreq_policy *policy) in pmac_cpufreq_resume()
H A Dppc_cbe_cpufreq_pmi.c66 struct cpufreq_policy *policy; in cbe_cpufreq_handle_pmi() local
103 void cbe_cpufreq_pmi_policy_init(struct cpufreq_policy *policy) in cbe_cpufreq_pmi_policy_init()
127 void cbe_cpufreq_pmi_policy_exit(struct cpufreq_policy *policy) in cbe_cpufreq_pmi_policy_exit()
/linux/fs/crypto/
H A Dpolicy.c36 int fscrypt_policy_to_key_spec(const union fscrypt_policy *policy, in fscrypt_policy_to_key_spec()
120 static bool supported_iv_ino_lblk_policy(const struct fscrypt_policy_v2 *policy, in supported_iv_ino_lblk_policy()
181 static bool fscrypt_supported_v1_policy(const struct fscrypt_policy_v1 *policy, in fscrypt_supported_v1_policy()
215 static bool fscrypt_supported_v2_policy(const struct fscrypt_policy_v2 *policy, in fscrypt_supported_v2_policy()
333 const struct fscrypt_policy_v1 *policy = &policy_u->v1; in fscrypt_new_context() local
349 const struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_new_context() local
396 struct fscrypt_policy_v1 *policy = &policy_u->v1; in fscrypt_policy_from_context() local
411 struct fscrypt_policy_v2 *policy = &policy_u->v2; in fscrypt_policy_from_context() local
433 static int fscrypt_get_policy(struct inode *inode, union fscrypt_policy *policy) in fscrypt_get_policy()
457 const union fscrypt_policy *policy) in set_encryption_policy()
[all …]
/linux/security/selinux/ss/
H A Dservices.c241 struct selinux_policy *policy; in security_mls_enabled() local
718 static int security_validtrans_handle_fail(struct selinux_policy *policy, in security_validtrans_handle_fail()
752 struct selinux_policy *policy; in security_compute_validatetrans() local
856 struct selinux_policy *policy; in security_bounded_transition() local
936 static void avd_init(struct selinux_policy *policy, struct av_decision *avd) in avd_init()
1015 struct selinux_policy *policy; in security_compute_xperms_decision() local
1110 struct selinux_policy *policy; in security_compute_av() local
1167 struct selinux_policy *policy; in security_compute_av_user() local
1293 struct selinux_policy *policy; in security_sidtab_hash_stats() local
1321 struct selinux_policy *policy; in security_sid_to_context_core() local
[all …]
/linux/include/linux/
H A Dcpufreq.h74 unsigned int policy; /* see above */ member
185 struct cpufreq_policy *policy; member
210 static inline void cpufreq_cpu_put(struct cpufreq_policy *policy) { } in cpufreq_cpu_put()
213 static inline bool policy_is_inactive(struct cpufreq_policy *policy) in policy_is_inactive()
218 static inline bool policy_is_shared(struct cpufreq_policy *policy) in policy_is_shared()
285 static inline void cpufreq_stats_create_table(struct cpufreq_policy *policy) { } in cpufreq_stats_create_table()
286 static inline void cpufreq_stats_free_table(struct cpufreq_policy *policy) { } in cpufreq_stats_free_table()
287 static inline void cpufreq_stats_record_transition(struct cpufreq_policy *policy, in cpufreq_stats_record_transition()
481 static inline void cpufreq_verify_within_limits(struct cpufreq_policy_data *policy, in cpufreq_verify_within_limits()
490 cpufreq_verify_within_cpu_limits(struct cpufreq_policy_data *policy) in cpufreq_verify_within_cpu_limits()
[all …]
/linux/net/netlink/
H A Dpolicy.c22 const struct nla_policy *policy; member
28 const struct nla_policy *policy, in add_policy()
83 const struct nla_policy *policy, in netlink_policy_dump_get_policy_idx()
128 const struct nla_policy *policy, in netlink_policy_dump_add_policy()
153 const struct nla_policy *policy; in netlink_policy_dump_add_policy() local
434 struct nlattr *policy; in netlink_policy_dump_write() local
/linux/drivers/thermal/
H A Dcpufreq_cooling.c75 struct cpufreq_policy *policy; member
239 struct cpufreq_policy *policy = cpufreq_cdev->policy; in cpufreq_get_requested_power() local
322 struct cpufreq_policy *policy = cpufreq_cdev->policy; in cpufreq_power2state() local
336 struct cpufreq_policy *policy; in em_is_sane() local
395 struct cpufreq_policy *policy; in get_state_freq() local
519 struct cpufreq_policy *policy, in __cpufreq_cooling_register()
628 cpufreq_cooling_register(struct cpufreq_policy *policy) in cpufreq_cooling_register()
651 of_cpufreq_cooling_register(struct cpufreq_policy *policy) in of_cpufreq_cooling_register()
/linux/kernel/sched/
H A Dcpufreq_schedutil.c17 struct cpufreq_policy *policy; member
126 unsigned long get_capacity_ref_freq(struct cpufreq_policy *policy) in get_capacity_ref_freq()
168 struct cpufreq_policy *policy = sg_policy->policy; in get_next_freq() local
466 struct cpufreq_policy *policy = sg_policy->policy; in sugov_next_freq_shared() local
634 static struct sugov_policy *sugov_policy_alloc(struct cpufreq_policy *policy) in sugov_policy_alloc()
669 struct cpufreq_policy *policy = sg_policy->policy; in sugov_kthread_create() local
733 static int sugov_init(struct cpufreq_policy *policy) in sugov_init()
810 static void sugov_exit(struct cpufreq_policy *policy) in sugov_exit()
832 static int sugov_start(struct cpufreq_policy *policy) in sugov_start()
865 static void sugov_stop(struct cpufreq_policy *policy) in sugov_stop()
[all …]

123456789