Home
last modified time | relevance | path

Searched refs:is_aligned (Results 1 – 6 of 6) sorted by relevance

/linux/arch/arc/include/asm/
H A Dio.h96 bool is_aligned = ((unsigned long)ptr % ((t) / 8)) == 0; \
103 if (is_aligned) { \
159 bool is_aligned = ((unsigned long)ptr % ((t) / 8)) == 0; \
166 if (is_aligned) { \
/linux/lib/
H A Dsort.c31 static bool is_aligned(const void *base, size_t size, unsigned char align) in is_aligned() function
210 if (is_aligned(base, size, 8)) in __sort_r()
212 else if (is_aligned(base, size, 4)) in __sort_r()
/linux/rust/kernel/
H A Dtransmute.rs53 if bytes.len() == size && slice_ptr.is_aligned() { in from_bytes()
96 if bytes.len() == size && slice_ptr.is_aligned() { in from_bytes_mut()
/linux/include/linux/
H A Dmin_heap.h66 static bool is_aligned(const void *base, size_t size, unsigned char align) in is_aligned() function
171 if (is_aligned(base, size, 8)) in select_swap_func()
173 else if (is_aligned(base, size, 4)) in select_swap_func()
/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet-main.c460 int i, is_aligned = 1; in fs_enet_start_xmit() local
463 is_aligned = 0; in fs_enet_start_xmit()
469 is_aligned = 0; in fs_enet_start_xmit()
475 if (!is_aligned) { in fs_enet_start_xmit()
/linux/drivers/android/binder/
H A Dthread.rs39 fn is_aligned(value: usize, to: usize) -> bool { in is_aligned() function
799 if !is_aligned(parent_offset, size_of::<u32>()) { in translate_object()
817 if !is_aligned(parent_entry.sender_uaddr, size_of::<u32>()) { in translate_object()
978 if !is_aligned(offsets_size, size_of::<u64>()) { in copy_transaction_data()
981 if !is_aligned(buffers_size, size_of::<u64>()) { in copy_transaction_data()
1045 if offset < end_of_previous_object || !is_aligned(offset, size_of::<u32>()) { in copy_transaction_data()