mirror of
https://github.com/openharmony/kernel_linux_common_modules.git
synced 2026-08-26 17:16:37 -04:00
f21b8491ec
Signed-off-by: carmincol <changchen5@huawei.com> Change-Id: I45b71b20874d18cdb1a31a1038e1456f0a03d065 Signed-off-by: carmincol <changchen5@huawei.com>
20 lines
563 B
C
20 lines
563 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, int *err);
|
|
struct jit_process *delete_process_jit_space(struct rb_root *root, int pid);
|
|
#endif // _JIT_PROCESS_H
|