Home
last modified time | relevance | path

Searched refs:position (Results 1 – 14 of 14) sorted by relevance

/DragonOS/kernel/src/driver/block/cache/
H A Dcached_block_device.rs128 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 Dkallsyms.c173 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 Dmultiboot2.rs119 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 Dmod.rs37 match vm_list.iter().position(|x| x.id == id) { in remove_vm()
/DragonOS/kernel/src/driver/base/
H A Dsubsys.rs178 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 Dkset.rs119 let index = kobjects.iter().position(|x| { in leave()
/DragonOS/kernel/src/init/
H A Dboot.rs59 .position(|&x| x == 0) in boot_cmdline_len()
/DragonOS/kernel/crates/rbpf/src/
H A Dasm_parser.rs20 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 Dexecutor.rs229 .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 DREADME.md114 // Only in an item position due to the current limitation in the stable Rust.
/DragonOS/kernel/src/exception/
H A Dirqdomain.rs126 .position(|x| Arc::ptr_eq(x, domain)) in remove_domain()
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs586 .position(|dev| Arc::ptr_eq(device, dev)) in delete_device()
/DragonOS/kernel/src/net/socket/
H A Dinet.rs893 let global_handle_index = self.handles.iter().position(|handle| { in accept()
/DragonOS/kernel/src/driver/net/
H A Dvirtio_net.rs900 .position(|dev| Arc::ptr_eq(device, dev)) in delete_device()