Files
carmincol 7bf0f5bc56 fix
Signed-off-by: carmincol <changchen5@huawei.com>
Change-Id: Ic035f67a9726991ba8d77652198a329979ecd0c4
Signed-off-by: carmincol <changchen5@huawei.com>
2023-12-15 11:01:03 +08:00

20 lines
573 B
C

// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
*/
#ifndef _JIT_PROCESS_H
#define _JIT_PROCESS_H
#include "jit_space_list.h"
struct result_of_find_process {
struct rb_node **node, *parent;
struct list_head *head;
};
struct result_of_find_process find_process_jit_space(struct rb_root *root, int pid);
struct list_head *update_process_jit_space(struct rb_root *root, int pid, unsigned long cookie, unsigned long *err);
struct jit_process *delete_process_jit_space(struct rb_root *root, int pid);
#endif // _JIT_PROCESS_H