Searched refs:cs (Results 1 – 5 of 5) sorted by relevance
142 static void __clocksource_change_rating(struct clocksource *cs, int rating);168 static void __clocksource_unstable(struct clocksource *cs) in __clocksource_unstable() argument170 cs->flags &= ~(CLOCK_SOURCE_VALID_FOR_HRES | CLOCK_SOURCE_WATCHDOG); in __clocksource_unstable()171 cs->flags |= CLOCK_SOURCE_UNSTABLE; in __clocksource_unstable()177 if (list_empty(&cs->list)) { in __clocksource_unstable()178 cs->rating = 0; in __clocksource_unstable()182 if (cs->mark_unstable) in __clocksource_unstable()183 cs->mark_unstable(cs); in __clocksource_unstable()197 void clocksource_mark_unstable(struct clocksource *cs) in clocksource_mark_unstable() argument202 if (!(cs->flags & CLOCK_SOURCE_UNSTABLE)) { in clocksource_mark_unstable()[all …]
34 static u64 wdtest_jiffies_read(struct clocksource *cs) in wdtest_jiffies_read() argument54 static u64 wdtest_ktime_read(struct clocksource *cs) in wdtest_ktime_read() argument61 udelay(cs->uncertainty_margin / 250); in wdtest_ktime_read()72 static void wdtest_ktime_cs_mark_unstable(struct clocksource *cs) in wdtest_ktime_cs_mark_unstable() argument74 pr_info("--- Marking %s unstable due to clocksource watchdog.\n", cs->name); in wdtest_ktime_cs_mark_unstable()
16 static u64 jiffies_read(struct clocksource *cs) in jiffies_read() argument
79 static u64 dummy_clock_read(struct clocksource *cs) in dummy_clock_read() argument1248 if (tk->tkr_mono.clock != system_counterval.cs) in get_device_system_crosststamp()
255 static inline struct cpuset *parent_cs(struct cpuset *cs) in parent_cs() argument257 return css_cs(cs->css.parent); in parent_cs()262 struct cpuset *cs = task_cs(p); in inc_dl_tasks_cs() local264 cs->nr_deadline_tasks++; in inc_dl_tasks_cs()269 struct cpuset *cs = task_cs(p); in dec_dl_tasks_cs() local271 cs->nr_deadline_tasks--; in dec_dl_tasks_cs()287 static inline bool is_cpuset_online(struct cpuset *cs) in is_cpuset_online() argument289 return test_bit(CS_ONLINE, &cs->flags) && !css_is_dying(&cs->css); in is_cpuset_online()292 static inline int is_cpu_exclusive(const struct cpuset *cs) in is_cpu_exclusive() argument294 return test_bit(CS_CPU_EXCLUSIVE, &cs->flags); in is_cpu_exclusive()[all …]