LCOV - code coverage report
Current view: top level - include/linux/sched - autogroup.h (source / functions) Hit Total Coverage
Test: landlock.info Lines: 2 3 66.7 %
Date: 2021-04-22 12:43:58 Functions: 0 0 -

          Line data    Source code
       1             : /* SPDX-License-Identifier: GPL-2.0 */
       2             : #ifndef _LINUX_SCHED_AUTOGROUP_H
       3             : #define _LINUX_SCHED_AUTOGROUP_H
       4             : 
       5             : struct signal_struct;
       6             : struct task_struct;
       7             : struct task_group;
       8             : struct seq_file;
       9             : 
      10             : #ifdef CONFIG_SCHED_AUTOGROUP
      11             : extern void sched_autogroup_create_attach(struct task_struct *p);
      12             : extern void sched_autogroup_detach(struct task_struct *p);
      13             : extern void sched_autogroup_fork(struct signal_struct *sig);
      14             : extern void sched_autogroup_exit(struct signal_struct *sig);
      15             : extern void sched_autogroup_exit_task(struct task_struct *p);
      16             : #ifdef CONFIG_PROC_FS
      17             : extern void proc_sched_autogroup_show_task(struct task_struct *p, struct seq_file *m);
      18             : extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice);
      19             : #endif
      20             : #else
      21             : static inline void sched_autogroup_create_attach(struct task_struct *p) { }
      22             : static inline void sched_autogroup_detach(struct task_struct *p) { }
      23         910 : static inline void sched_autogroup_fork(struct signal_struct *sig) { }
      24         832 : static inline void sched_autogroup_exit(struct signal_struct *sig) { }
      25           0 : static inline void sched_autogroup_exit_task(struct task_struct *p) { }
      26             : #endif
      27             : 
      28             : #ifdef CONFIG_CGROUP_SCHED
      29             : extern struct task_group root_task_group;
      30             : #endif /* CONFIG_CGROUP_SCHED */
      31             : 
      32             : #endif /* _LINUX_SCHED_AUTOGROUP_H */

Generated by: LCOV version 1.14