Home
last modified time | relevance | path

Searched refs:wrapping_add (Results 1 – 3 of 3) sorted by relevance

/linux/rust/kernel/
H A Duaccess.rs185 self.ptr = self.ptr.wrapping_add(num_skip); in skip()
240 self.ptr = self.ptr.wrapping_add(len); in read_raw()
284 self.ptr = self.ptr.wrapping_add(len); in read()
350 self.ptr = self.ptr.wrapping_add(len); in write_slice()
384 self.ptr = self.ptr.wrapping_add(len); in write()
H A Dstr.rs584 bytes[i as usize] = i.wrapping_add(1); in test_cstr_display_all_bytes()
/linux/include/linux/
H A Doverflow.h79 #define wrapping_add(type, a, b) \ macro
99 *__ptr = wrapping_add(typeof(var), *__ptr, offset); \