Home
last modified time | relevance | path

Searched defs:value (Results 1 – 25 of 26) sorted by relevance

12

/DragonOS/kernel/src/bpf/helper/
H A Dmod.rs26 let value = map_lookup_elem(&map, key); in raw_map_lookup_elem() localVariable
38 let value = binding.lookup_elem(key); in map_lookup_elem() localVariable
129 let value = core::slice::from_raw_parts(value as *const u8, value_size); in raw_map_update_elem() localVariable
140 let value = binding.update_elem(key, value, flags); in map_update_elem() localVariable
161 let value = binding.delete_elem(key); in map_delete_elem() localVariable
204 let value = binding.for_each_elem(cb, ctx, flags); in map_for_each_elem() localVariable
219 let value = map_lookup_percpu_elem(&map, key, cpu); in raw_map_lookup_percpu_elem() localVariable
234 let value = binding.lookup_percpu_elem(key, cpu); in map_lookup_percpu_elem() localVariable
246 let value = core::slice::from_raw_parts(value as *const u8, value_size); in raw_map_push_elem() localVariable
257 let value = binding.push_elem(value, flags); in map_push_elem() localVariable
[all …]
/DragonOS/kernel/src/arch/riscv64/include/asm/
H A Dasm.h41 void io_out8(unsigned short port, unsigned char value) { in io_out8()
47 void io_out32(unsigned short port, unsigned int value) { in io_out32()
/DragonOS/kernel/src/init/
H A Dcmdline.rs169 value: bool, field
177 pub fn value(&self) -> bool { in value() method
184 value: Option<CString>, field
192 value: [u8; Self::VALUE_MAX_LEN], field
201 pub fn value(&self) -> &[u8] { in value() method
271 let value = value.as_bytes(); in early_init() localVariable
434 let value = iter.next(); in split_arg() localVariable
435 let value = value.map(|v| v.trim()); in split_arg() localVariable
/DragonOS/user/apps/user-manage/src/parser/
H A Dparser.rs59 let value = args[idx].clone(); in parse() localVariable
123 let value = args[idx].clone(); in parse() localVariable
/DragonOS/kernel/src/arch/x86_64/include/asm/
H A Dasm.h231 void io_out8(unsigned short port, unsigned char value) in io_out8()
241 void io_out32(unsigned short port, unsigned int value) in io_out32()
333 static __always_inline void __write8b(uint64_t vaddr, uint64_t value) in __write8b()
346 static __always_inline void __write4b(uint64_t vaddr, uint32_t value) in __write4b()
/DragonOS/kernel/src/common/
H A Dhid.h101 int value; // hid对象的值 member
132 uint32_t value; // 暂存当前的值 member
153 int value; member
159 int value; member
H A Datomic.h21 volatile long value; member
/DragonOS/kernel/src/arch/x86_64/pci/
H A Dpci.rs34 let value = unsafe { CurrentPortIOArch::in8(PORT_PCI_CONFIG_DATA + (offset & 3) as u16) }; in read_config_early() localVariable
/DragonOS/kernel/src/bpf/map/
H A Darray_map.rs120 let value = self.data.index(i); in for_each_elem() localVariable
248 let value = self.fds.index(cpu_id); in lookup_elem() localVariable
268 let value = self.fds.index(i); in for_each_elem() localVariable
H A Dutil.rs45 pub value: u64, field
H A Dmod.rs266 let value = value_buf.read_from_user(0)?; in bpf_map_update_elem() localVariable
398 let value = value_buf.buffer(0)?; in bpf_map_lookup_and_delete_elem() localVariable
H A Dlru.rs41 let value = self.data.get(key).map(|v| v.as_slice()); in lookup_elem() localVariable
H A Dhash_map.rs42 let value = self.data.get(key).map(|v| v.as_slice()); in lookup_elem() localVariable
/DragonOS/kernel/src/libs/
H A Dlazy_init.rs32 value: UnsafeCell<MaybeUninit<T>>, field
H A Drwlock.rs106 let value = self.lock.fetch_add(READER, Ordering::Acquire); in current_reader() localVariable
134 let value = if let Ok(rv) = reader_value { in inner_try_read() localVariable
H A Drbtree.rs40 value: V, field
/DragonOS/kernel/src/common/sys/
H A Dtypes.h74 uint32_t value; member
/DragonOS/kernel/src/perf/
H A Dutil.rs116 pub value: &'a [u8], field
/DragonOS/kernel/src/driver/open_firmware/
H A Ddevice_node.rs164 value: Vec<u8>, field
/DragonOS/kernel/src/arch/x86_64/driver/
H A Dhpet.rs230 let value = regs.main_counter_value(); in main_counter_value() localVariable
/DragonOS/kernel/src/driver/pci/
H A Draw_device.rs42 let value = Arc::new(value.clone()); in from() localVariable
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_device.rs389 let value = unsafe { CurrentPortIOArch::in8(ADDRESS_PORT_ADDRESS) }; in wait_for_read() localVariable
400 let value = unsafe { CurrentPortIOArch::in8(ADDRESS_PORT_ADDRESS) }; in wait_for_write() localVariable
/DragonOS/kernel/src/arch/x86_64/process/
H A Dmod.rs141 let value = *(self.rsp as *const usize); in pop_from_stack() localVariable
/DragonOS/kernel/src/filesystem/overlayfs/
H A Dmod.rs57 let value = parts.next().ok_or(SystemError::EINVAL)?; in from_row() localVariable
/DragonOS/kernel/crates/rbpf/src/
H A Dcranelift.rs370 let value = if is_imm { in translate_program() localVariable

12