Home
last modified time | relevance | path

Searched refs:data_head (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/perf/
H A Dbpf.rs70 perf_event_mmap_page.data_head = 0; in init()
82 fn can_write(&self, data_size: usize, data_tail: usize, data_head: usize) -> bool { in can_write()
83 if (data_head + 1) % self.data_region_size == data_tail { in can_write()
87 let capacity = if data_head >= data_tail { in can_write()
88 self.data_region_size - data_head + data_tail in can_write()
90 data_tail - data_head in can_write()
97 let data_head = unsafe { &mut (*(self.ptr as *mut perf_event_mmap_page)).data_head }; in write_event() localVariable
103 self.can_write(sample_size, *data_tail as usize, *data_head as usize); in write_event()
128 *data_head as usize, in write_event()
131 let new_data_head = self.write_lost(*data_head as usize)?; in write_event()
[all …]
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs2201 pub data_head: __u64, field