/DragonOS/kernel/crates/rbpf/src/ |
H A D | disassembler.rs | 19 fn alu_imm_str(name: &str, insn: &ebpf::Insn) -> String { in alu_imm_str() 24 fn alu_reg_str(name: &str, insn: &ebpf::Insn) -> String { in alu_reg_str() 29 fn byteswap_str(name: &str, insn: &ebpf::Insn) -> String { in byteswap_str() 38 fn ld_st_imm_str(name: &str, insn: &ebpf::Insn) -> String { in ld_st_imm_str() 52 fn ld_reg_str(name: &str, insn: &ebpf::Insn) -> String { in ld_reg_str() 66 fn st_reg_str(name: &str, insn: &ebpf::Insn) -> String { in st_reg_str() 80 fn ldabs_str(name: &str, insn: &ebpf::Insn) -> String { in ldabs_str() 85 fn ldind_str(name: &str, insn: &ebpf::Insn) -> String { in ldind_str() 90 fn jmp_imm_str(name: &str, insn: &ebpf::Insn) -> String { in jmp_imm_str() 104 fn jmp_reg_str(name: &str, insn: &ebpf::Insn) -> String { in jmp_reg_str()
|
/DragonOS/kernel/src/driver/net/ |
H A D | sysfs.rs | 46 fn name(&self) -> Option<&str> { in name() 93 fn name(&self) -> &str { in name() 120 fn name(&self) -> &str { in name() 142 fn name(&self) -> &str { in name() 164 fn name(&self) -> &str { in name() 190 fn name(&self) -> &str { in name() 212 fn name(&self) -> &str { in name() 234 fn name(&self) -> &str { in name() 261 fn name(&self) -> &str { in name() 290 fn name(&self) -> &str { in name() [all …]
|
H A D | class.rs | 50 const NAME: &'static str = "net"; variable 64 fn name(&self) -> &'static str { in name()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | utils.rs | 16 pub fn split_path(path: &str) -> (&str, Option<&str>) { in split_path() 27 pub fn rsplit_path(path: &str) -> (&str, Option<&str>) { in rsplit_path() 43 path: &str, in user_path_at() 144 fn as_ref(&self) -> &str { in as_ref()
|
H A D | open.rs | 72 path: &str, in do_fchownat() 154 path: &str, in do_sys_open() 165 path: &str, in do_sys_openat2() 298 pub fn do_utimes(path: &str, times: Option<[PosixTimeval; 2]>) -> Result<usize, SystemError> { in do_utimes()
|
H A D | mod.rs | 235 name: &str, in create() 254 _name: &str, in create_with_data() 270 fn link(&self, _name: &str, _other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() 302 _old_name: &str, in move_to() 304 _new_name: &str, in move_to() 497 _filename: &str, in mknod() 519 fn mkdir(&self, name: &str, mode: ModeType) -> Result<Arc<dyn IndexNode>, SystemError> { in mkdir() 603 path: &str, in lookup_follow_symlink() 611 path: &str, in lookup_follow_symlink2() 635 path: &str, in do_lookup_follow_symlink() [all …]
|
H A D | core.rs | 171 path: &str, in do_mkdir_at() 345 mount_point: &str, in do_mount_mkdir() 380 target: &str, in do_umount2()
|
/DragonOS/kernel/src/debug/traceback/ |
H A D | traceback.c | 8 const char *str = (const char *)&kallsyms_names; in lookup_kallsyms() local 32 const char *str = (const char *)&kallsyms_names; in addr_from_symbol() local
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbsysfs.rs | 20 fn name(&self) -> Option<&str> { in name() 52 fn name(&self) -> &str { in name() 76 fn name(&self) -> &str { in name() 106 fn name(&self) -> &str { in name() 129 fn name(&self) -> &str { in name() 156 fn name(&self) -> &str { in name() 183 fn name(&self) -> &str { in name() 212 fn name(&self) -> &str { in name() 244 fn name(&self) -> &str { in name() 268 fn name(&self) -> &str { in name() [all …]
|
/DragonOS/kernel/src/driver/pci/ |
H A D | attr.rs | 21 fn name(&self) -> Option<&str> { in name() 55 fn name(&self) -> &str { in name() 86 fn name(&self) -> &str { in name() 117 fn name(&self) -> &str { in name() 148 fn name(&self) -> &str { in name() 179 fn name(&self) -> &str { in name() 210 fn name(&self) -> &str { in name() 241 fn name(&self) -> &str { in name() 276 fn name(&self) -> &str { in name()
|
/DragonOS/kernel/src/exception/ |
H A D | sysfs.rs | 61 fn name(&self) -> Option<&str> { in name() 139 fn name(&self) -> &str { in name() 170 fn name(&self) -> &str { in name() 196 fn name(&self) -> &str { in name() 227 fn name(&self) -> &str { in name() 253 fn name(&self) -> &str { in name() 283 fn name(&self) -> &str { in name()
|
/DragonOS/kernel/src/init/ |
H A D | cmdline.rs | 48 pub const fn new(name: &'static str, ty: KCmdlineParamType) -> Self { in new() 116 pub fn name(&self) -> &str { in name() 133 pub fn value_str(&self) -> Option<&str> { in value_str() 208 pub fn value_str(&self) -> Option<&str> { in value_str() 411 node: Option<&str>, in find_param() 412 option: &str, in find_param() 434 fn split_arg<'a>(&self, arg: &'a str) -> Option<(Option<&'a str>, &'a str, Option<&'a str>)> { in split_arg()
|
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ |
H A D | logset.rs | 95 fn before_insert(&mut self, _log_set_name: &str, _log: &V) {} in before_insert() 97 fn after_insert(&mut self, _log_set_name: &str, _log: &V) {} in after_insert() 110 fn before_insert(&mut self, _log_set_name: &str, _log: &V) {} in before_insert() 112 fn after_insert(&mut self, _log_set_name: &str, _log: &V) {} in after_insert()
|
/DragonOS/kernel/crates/unified-init/src/ |
H A D | lib.rs | 16 name: &'static str, in new() 28 pub const fn name(&self) -> &'static str { in name()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | sysfs.rs | 35 const NAME: &'static str = "tty"; variable 49 fn name(&self) -> &'static str { in name()
|
/DragonOS/kernel/crates/intertrait/tests/ |
H A D | on-trait-impl-assoc-type2.rs | 20 type I2 = &'static str; variable 33 let concat = source.cast::<dyn Concat<I1 = i32, I2 = &'static str>>(); in test_cast_to_on_trait_impl_with_assoc_type2() variable
|
H A D | on-trait-impl-assoc-type3.rs | 20 type I2 = &'static str; variable 33 let concat = source.cast::<dyn Concat<String, I1 = i32, I2 = &'static str>>(); in test_cast_to_on_trait_impl_with_assoc_type3() variable
|
/DragonOS/kernel/src/driver/base/char/ |
H A D | mod.rs | 96 name: &'static str, in register_chardev_region() 110 name: &'static str, in alloc_chardev_region() 127 name: &'static str, in __register_chardev_region()
|
/DragonOS/kernel/src/filesystem/devfs/ |
H A D | mod.rs | 55 fn name(&self) -> &str { in name() 123 name: &str, in register_device() 196 name: &str, in unregister_device() 319 pub fn add_dev(&self, name: &str, dev: Arc<dyn IndexNode>) -> Result<(), SystemError> { in add_dev() 345 name: &str, in do_create_with_data() 412 name: &str, in create_with_data() 600 pub fn devfs_register<T: DeviceINode>(name: &str, device: Arc<T>) -> Result<(), SystemError> { in devfs_register() 606 pub fn devfs_unregister<T: DeviceINode>(name: &str, device: Arc<T>) -> Result<(), SystemError> { in devfs_unregister()
|
/DragonOS/user/apps/test-chown/src/ |
H A D | main.rs | 30 fn test_fchownat(filename: &str, new_uid: uid_t, new_gid: gid_t, flags: i32) -> Result<(), Error> { in test_fchownat() 41 fn test_chown(filename: &str, new_uid: uid_t, new_gid: gid_t) -> Result<(), Error> { in test_chown() 61 fn test_lchown(symlink_name: &str, new_uid: uid_t, new_gid: gid_t) -> Result<(), Error> { in test_lchown()
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | class.rs | 52 const NAME: &'static str = "rtc"; variable 66 fn name(&self) -> &'static str { in name()
|
/DragonOS/user/apps/test_uart/ |
H A D | main.c | 25 char *str = "------fuck-----"; in main() local
|
/DragonOS/kernel/src/libs/ |
H A D | printk.c | 60 char *str = NULL, *s = NULL, *end = NULL; in __do_vsprintf() local 383 static char *write_num(char *str, ul num, int base, int field_width, int precision, int flags) in write_num() 493 static char *write_float_point_num(char *str, double num, int field_width, int precision, int flags) in write_float_point_num()
|
/DragonOS/kernel/src/filesystem/ramfs/ |
H A D | mod.rs | 120 fn name(&self) -> &str { in name() 303 name: &str, in create_with_data() 356 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() 433 old_name: &str, in move_to() 435 new_name: &str, in move_to() 566 filename: &str, in mknod()
|
/DragonOS/kernel/src/filesystem/overlayfs/ |
H A D | mod.rs | 136 fn name(&self) -> &str { in name() 210 pub fn ovl_lower_redirect(&self) -> Option<&str> { in ovl_lower_redirect() 331 name: &str, in mkdir() 377 name: &str, in link() 389 name: &str, in create() 422 filename: &str, in mknod()
|