Voxia OS
v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
rcu.h
Go to the documentation of this file.
1
#ifndef __VFS__RCU_H__
2
#define __VFS__RCU_H__
3
4
#include <
type.h
>
5
6
struct
rcu_head
{
7
struct
rcu_head
*
next
;
// rantai callback internal RCU
8
void (*
func
)(
9
struct
rcu_head
*);
// fungsi yang dipanggil setelah grace period
10
};
11
12
void
call_rcu
(
struct
rcu_head
*
head
,
void
(*
func
)(
struct
rcu_head
*));
13
14
#endif
// __VFS__RCU_H__
call_rcu
void call_rcu(struct rcu_head *head, void(*func)(struct rcu_head *))
Definition
rcu.c:3
rcu_head
Definition
rcu.h:6
rcu_head::func
void(* func)(struct rcu_head *)
Definition
rcu.h:8
rcu_head::next
struct rcu_head * next
Definition
rcu.h:7
head
uint32_t head
Definition
tty.h:10
type.h
include
vfs
rcu.h
Generated on Sat May 30 2026 11:09:57 for Voxia OS by
1.13.2