Searched refs:c_char (Results 1 – 5 of 5) sorted by relevance
/DragonOS/user/apps/test-mount/src/ |
H A D | main.rs | 1 use core::ffi::{c_char, c_void}; 15 let source = b"\0".as_ptr() as *const c_char; in main() constant 16 let target = b"/mnt/tmp\0".as_ptr() as *const c_char; in main() constant 17 let fstype = b"ramfs\0".as_ptr() as *const c_char; in main() constant 26 let target = b"/mnt/tmp/tmp\0".as_ptr() as *const c_char; in main() constant
|
/DragonOS/user/apps/test-symlink/src/ |
H A D | main.rs | 2 use core::ffi::{c_char, c_void}; 52 let source = b"\0".as_ptr() as *const c_char; in mount_test_ramfs() constant 53 let target = b"/mnt/myramfs\0".as_ptr() as *const c_char; in mount_test_ramfs() constant 54 let fstype = b"ramfs\0".as_ptr() as *const c_char; in mount_test_ramfs() constant 70 let path = b"/mnt/myramfs\0".as_ptr() as *const c_char; in umount_test_ramfs() constant
|
/DragonOS/user/apps/test-chown/src/ |
H A D | main.rs | 1 use core::ffi::{c_char, c_void}; 129 let source = b"\0".as_ptr() as *const c_char; in mount_test_ramfs() constant 130 let target = b"/mnt/myramfs\0".as_ptr() as *const c_char; in mount_test_ramfs() constant 131 let fstype = b"ramfs\0".as_ptr() as *const c_char; in mount_test_ramfs() constant 147 let path = b"/mnt/myramfs\0".as_ptr() as *const c_char; in umount_test_ramfs() constant
|
/DragonOS/kernel/src/bpf/helper/ |
H A D | print.rs | 2 ffi::{c_char, c_int}, 9 pub unsafe extern "C" fn printf(w: &mut impl Write, str: *const c_char, mut args: ...) -> c_int { in printf() argument
|
/DragonOS/kernel/src/include/bindings/ |
H A D | linux_bpf.rs | 518 pub map_name: [::core::ffi::c_char; 16usize], 566 pub prog_name: [::core::ffi::c_char; 16usize], 985 pub name: [::core::ffi::c_char; 16usize], 1045 pub name: [::core::ffi::c_char; 16usize],
|