• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (c) 2023 Huawei Device Co., Ltd.
4  */
5 
6 #ifndef _JIT_PROCESS_H
7 #define _JIT_PROCESS_H
8 
9 #include "jit_space_list.h"
10 
11 struct result_of_find_process {
12 	struct rb_node **node, *parent;
13 	struct list_head *head;
14 };
15 
16 
17 struct result_of_find_process find_process_jit_space(struct rb_root *root, int pid);
18 struct list_head *update_process_jit_space(struct rb_root *root, int pid, unsigned long cookie, unsigned long *err);
19 struct jit_process *delete_process_jit_space(struct rb_root *root, int pid);
20 #endif // _JIT_PROCESS_H