Searched refs:nr_calls (Results 1 – 7 of 7) sorted by relevance
/kernel/ |
D | cpu_pm.c | 18 static int cpu_pm_notify(enum cpu_pm_event event, int nr_to_call, int *nr_calls) in cpu_pm_notify() argument 29 nr_to_call, nr_calls); in cpu_pm_notify() 83 int nr_calls; in cpu_pm_enter() local 86 ret = cpu_pm_notify(CPU_PM_ENTER, -1, &nr_calls); in cpu_pm_enter() 92 cpu_pm_notify(CPU_PM_ENTER_FAILED, nr_calls - 1, NULL); in cpu_pm_enter() 134 int nr_calls; in cpu_cluster_pm_enter() local 137 ret = cpu_pm_notify(CPU_CLUSTER_PM_ENTER, -1, &nr_calls); in cpu_cluster_pm_enter() 143 cpu_pm_notify(CPU_CLUSTER_PM_ENTER_FAILED, nr_calls - 1, NULL); in cpu_cluster_pm_enter()
|
D | notifier.c | 78 int nr_to_call, int *nr_calls) in notifier_call_chain() argument 97 if (nr_calls) in notifier_call_chain() 98 (*nr_calls)++; in notifier_call_chain() 180 int nr_to_call, int *nr_calls) in __atomic_notifier_call_chain() argument 185 ret = notifier_call_chain(&nh->head, val, v, nr_to_call, nr_calls); in __atomic_notifier_call_chain() 308 int nr_to_call, int *nr_calls) in __blocking_notifier_call_chain() argument 320 nr_calls); in __blocking_notifier_call_chain() 394 int nr_to_call, int *nr_calls) in __raw_notifier_call_chain() argument 396 return notifier_call_chain(&nh->head, val, v, nr_to_call, nr_calls); in __raw_notifier_call_chain() 494 int nr_to_call, int *nr_calls) in __srcu_notifier_call_chain() argument [all …]
|
/kernel/power/ |
D | user.c | 47 int error, nr_calls = 0; in snapshot_open() local 74 error = __pm_notifier_call_chain(PM_HIBERNATION_PREPARE, -1, &nr_calls); in snapshot_open() 76 __pm_notifier_call_chain(PM_POST_HIBERNATION, --nr_calls, NULL); in snapshot_open() 86 error = __pm_notifier_call_chain(PM_RESTORE_PREPARE, -1, &nr_calls); in snapshot_open() 91 nr_calls--; in snapshot_open() 94 __pm_notifier_call_chain(PM_POST_RESTORE, nr_calls, NULL); in snapshot_open()
|
D | hibernate.c | 697 int error, nr_calls = 0; in hibernate() local 714 error = __pm_notifier_call_chain(PM_HIBERNATION_PREPARE, -1, &nr_calls); in hibernate() 716 nr_calls--; in hibernate() 776 __pm_notifier_call_chain(PM_POST_HIBERNATION, nr_calls, NULL); in hibernate() 804 int error, nr_calls = 0; in software_resume() local 891 error = __pm_notifier_call_chain(PM_RESTORE_PREPARE, -1, &nr_calls); in software_resume() 893 nr_calls--; in software_resume() 904 __pm_notifier_call_chain(PM_POST_RESTORE, nr_calls, NULL); in software_resume()
|
D | suspend.c | 345 int error, nr_calls = 0; in suspend_prepare() local 352 error = __pm_notifier_call_chain(PM_SUSPEND_PREPARE, -1, &nr_calls); in suspend_prepare() 354 nr_calls--; in suspend_prepare() 367 __pm_notifier_call_chain(PM_POST_SUSPEND, nr_calls, NULL); in suspend_prepare()
|
D | power.h | 214 int *nr_calls);
|
D | main.c | 83 int __pm_notifier_call_chain(unsigned long val, int nr_to_call, int *nr_calls) in __pm_notifier_call_chain() argument 88 nr_to_call, nr_calls); in __pm_notifier_call_chain()
|