Searched refs:position (Results 1 – 14 of 14) sorted by relevance
/DragonOS/kernel/src/driver/block/cache/ |
H A D | cached_block_device.rs | 128 position: usize, in read_one_block() 132 space.read(cache_block_addr, position, buf) in read_one_block() 205 position: usize, in read() 208 self.0.read().read(addr, position, buf) in read() 251 position: usize, in read() 259 .data(&mut buf[position * BLOCK_SIZE..(position + 1) * BLOCK_SIZE]); in read()
|
/DragonOS/kernel/src/debug/ |
H A D | kallsyms.c | 173 uint64_t position = 0; in generate_result() local 185 printf("\t.quad\t%lld\n", position); in generate_result() 186 position += symbol_table[i].symbol_length; in generate_result()
|
/DragonOS/kernel/src/arch/x86_64/init/ |
H A D | multiboot2.rs | 119 scinfo.red_pos = red.position; in early_init_framebuffer_info() 121 scinfo.green_pos = green.position; in early_init_framebuffer_info() 123 scinfo.blue_pos = blue.position; in early_init_framebuffer_info()
|
/DragonOS/kernel/src/virt/kvm/ |
H A D | mod.rs | 37 match vm_list.iter().position(|x| x.id == id) { in remove_vm()
|
/DragonOS/kernel/src/driver/base/ |
H A D | subsys.rs | 178 let index = drivers.iter().position(|d| Arc::ptr_eq(d, driver)); in remove_driver_from_vec() 196 let index = devices.iter().position(|d| Arc::ptr_eq(d, device)); in remove_device_from_vec()
|
H A D | kset.rs | 119 let index = kobjects.iter().position(|x| { in leave()
|
/DragonOS/kernel/src/init/ |
H A D | boot.rs | 59 .position(|&x| x == 0) in boot_cmdline_len()
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | asm_parser.rs | 20 stream::position::{self}, 112 match with.easy_parse(position::Stream::new(input)) { in parse() 119 match with.parse(position::Stream::new(input)) { in parse()
|
/DragonOS/user/apps/user-manage/src/executor/ |
H A D | executor.rs | 229 .position(|&x| x == info.username.as_str()) in update_group_file() 276 .position(|&x| x == info.username.as_str()) in update_gshadow_file() 380 if let Some(idx) = users.iter().position(|&r| r == info.username) { in update_group_file() 450 if let Some(idx) = users.iter().position(|&r| r == info.username) { in update_gshadow_file()
|
/DragonOS/kernel/crates/intertrait/ |
H A D | README.md | 114 // Only in an item position due to the current limitation in the stable Rust.
|
/DragonOS/kernel/src/exception/ |
H A D | irqdomain.rs | 126 .position(|x| Arc::ptr_eq(x, domain)) in remove_domain()
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 586 .position(|dev| Arc::ptr_eq(device, dev)) in delete_device()
|
/DragonOS/kernel/src/net/socket/ |
H A D | inet.rs | 893 let global_handle_index = self.handles.iter().position(|handle| { in accept()
|
/DragonOS/kernel/src/driver/net/ |
H A D | virtio_net.rs | 900 .position(|dev| Arc::ptr_eq(device, dev)) in delete_device()
|