Searched refs:f_ops (Results 1 – 1 of 1) sorted by relevance
42 f_ops: vfs_file_operations_t, field46 pub fn new(f_ops: &vfs_file_operations_t) -> Arc<Self> { in new()51 f_ops: f_ops.clone(), // 从引用复制一遍获取所有权 in new()87 pub extern "C" fn ps2_keyboard_register(f_ops: &vfs_file_operations_t) { in ps2_keyboard_register()88 devfs_register("ps2_keyboard", LockedPS2KeyBoardInode::new(f_ops)) in ps2_keyboard_register()101 let func = guard.f_ops.read.unwrap(); in read_at()132 let func = guard.f_ops.open.unwrap(); in open()146 let func = guard.f_ops.close.unwrap(); in close()