Lines Matching defs:self
31 pub fn next_by(&self, n: usize) -> Self { in next_by()
95 pub fn next_by(&self, n: usize) -> Self { in next_by()
113 pub fn add(&self, n: PageFrameCount) -> Self { in add()
186 fn add(self, rhs: Self) -> Self::Output { in add() argument
192 fn add_assign(&mut self, rhs: Self) { in add_assign()
200 fn sub(self, rhs: Self) -> Self::Output { in sub() argument
206 fn sub_assign(&mut self, rhs: Self) { in sub_assign()
214 fn mul(self, rhs: Self) -> Self::Output { in mul() argument
222 fn add(self, rhs: usize) -> Self::Output { in add() argument
228 fn add_assign(&mut self, rhs: usize) { in add_assign()
236 fn sub(self, rhs: usize) -> Self::Output { in sub() argument
242 fn sub_assign(&mut self, rhs: usize) { in sub_assign()
250 fn mul(self, rhs: usize) -> Self::Output { in mul() argument
287 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)>; in allocate()
290 unsafe fn free(&mut self, address: PhysAddr, count: PageFrameCount); in free()
296 unsafe fn free_one(&mut self, address: PhysAddr) { in free_one()
305 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate()
308 unsafe fn free(&mut self, address: PhysAddr, count: PageFrameCount) { in free()
314 unsafe fn free_one(&mut self, address: PhysAddr) { in free_one()