File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -193,6 +193,9 @@ impl okf::Kernel for Kernel {
193
193
#[ offset( 0x12E7E0 ) ]
194
194
unsafe fn vop_read ( self , vec : * mut Self :: VopVector , args : * mut Self :: VopRead ) -> c_int ;
195
195
196
+ #[ offset( 0x12FB00 ) ]
197
+ unsafe fn vop_readdir ( self , vec : * mut Self :: VopVector , args : * mut Self :: VopReadDir ) -> c_int ;
198
+
196
199
#[ offset( 0x1300A0 ) ]
197
200
unsafe fn vop_unlock ( self , vec : * mut Self :: VopVector , args : * mut Self :: VopUnlock ) -> c_int ;
198
201
Original file line number Diff line number Diff line change @@ -246,6 +246,11 @@ pub trait Kernel: MappedKernel {
246
246
/// - `args` cannot be null.
247
247
unsafe fn vop_read ( self , vec : * mut Self :: VopVector , args : * mut Self :: VopRead ) -> c_int ;
248
248
249
+ /// # Safety
250
+ /// - `vec` cannot be null.
251
+ /// - `args` cannot be null.
252
+ unsafe fn vop_readdir ( self , vec : * mut Self :: VopVector , args : * mut Self :: VopReadDir ) -> c_int ;
253
+
249
254
/// # Safety
250
255
/// - `vec` cannot be null.
251
256
/// - `args` cannot be null.
You can’t perform that action at this time.
0 commit comments