Searched refs:space (Results 1 – 6 of 6) sorted by relevance
30 unsafe fn space() -> Result<&'static mut LockedCacheSpace, BlockCacheError> { in space() function131 let space = unsafe { space()? }; in read_one_block() localVariable132 space.read(cache_block_addr, position, buf) in read_one_block()167 let space = unsafe { space()? }; in insert_one_block() localVariable168 space.insert(lba_id, data) in insert_one_block()198 pub fn new(space: CacheSpace) -> Self { in new()199 LockedCacheSpace(RwLock::new(space)) in new()
33 let space: Vec<u8> = vec![0u8; size]; in do_kmalloc() localVariable35 assert!(space.len() == size); in do_kmalloc()36 let (ptr, len, cap) = space.into_raw_parts(); in do_kmalloc()
1291 if let Some(space) = guard.user_address_space.clone() { in is_foreign()1292 if let Some(space) = space.upgrade() { in is_foreign()1293 return AddressSpace::is_current(&space); in is_foreign()
1171 let space = tty.write_room(tty.core()); in process_output_block() localVariable1174 if nr > space { in process_output_block()1175 nr = space in process_output_block()1254 let mut space = tty.write_room(tty.core()); in echoes() localVariable1255 let ospace = space; in echoes()1266 return Ok(ospace - space); in echoes()1274 if space == 0 { in echoes()1286 space -= 1; in echoes()1302 return Ok(ospace - space); in echoes()1319 if num_bs > space { in echoes()[all …]
8 Rust (user-space) virtual machine for eBPF34 tcpdump so as to avoid useless copies to user-space. It was ported to Linux,37 virtual machine of this crate enables running it in user-space applications;651 instance; or they can be handled in user space. Rust has arrays and hashmaps,692 * Provide built-in support for user-space array and hash BPF maps.719 * [uBPF](https://github.com/iovisor/ubpf), a C user-space implementation of an
242 * Add slab free space calculation and add it to freeram of sysinfo