Home
last modified time | relevance | path

Searched refs:to_vec (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/rust/alloc/
Dslice.rs87 pub use hack::to_vec;
112 pub fn to_vec<T: ConvertVec, A: Allocator>(s: &[T], alloc: A) -> Vec<T, A> { in to_vec() function
113 T::to_vec(s, alloc) in to_vec()
118 fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A> in to_vec() method
126 default fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A> { in to_vec() method
163 fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A> { in to_vec() method
414 pub fn to_vec(&self) -> Vec<T> in to_vec() method
443 hack::to_vec(self, alloc) in to_vec_in()
624 let mut me = self.to_vec(); in to_ascii_uppercase()
645 let mut me = self.to_vec(); in to_ascii_lowercase()
[all …]
Dboxed.rs1494 slice.to_vec().into_boxed_slice() in from_slice()
/linux-6.6.21/rust/alloc/vec/
Dmod.rs2883 crate::slice::to_vec(&**self, alloc) in clone()
3378 s.to_vec() in from()
3382 crate::slice::to_vec(s, Global) in from()
3398 s.to_vec() in from()
3402 crate::slice::to_vec(s, Global) in from()
Dinto_iter.rs395 crate::slice::to_vec(self.as_slice(), self.alloc.deref().clone()).into_iter() in clone()
/linux-6.6.21/mm/
Dmemcontrol.c5769 struct lruvec *from_vec, *to_vec; in mem_cgroup_move_account() local
5785 to_vec = mem_cgroup_lruvec(to, pgdat); in mem_cgroup_move_account()
5792 __mod_lruvec_state(to_vec, NR_ANON_MAPPED, nr_pages); in mem_cgroup_move_account()
5796 __mod_lruvec_state(to_vec, NR_ANON_THPS, in mem_cgroup_move_account()
5802 __mod_lruvec_state(to_vec, NR_FILE_PAGES, nr_pages); in mem_cgroup_move_account()
5806 __mod_lruvec_state(to_vec, NR_SHMEM, nr_pages); in mem_cgroup_move_account()
5811 __mod_lruvec_state(to_vec, NR_FILE_MAPPED, nr_pages); in mem_cgroup_move_account()
5820 __mod_lruvec_state(to_vec, NR_FILE_DIRTY, in mem_cgroup_move_account()
5829 __mod_lruvec_state(to_vec, NR_SWAPCACHE, nr_pages); in mem_cgroup_move_account()
5834 __mod_lruvec_state(to_vec, NR_WRITEBACK, nr_pages); in mem_cgroup_move_account()