Searched refs:align_to (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | pkey-helpers.h | 179 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) 180 #define ALIGN_DOWN(x, align_to) ((x) & ~((align_to)-1))
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | pkey-helpers.h | 180 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1)) 181 #define ALIGN_DOWN(x, align_to) ((x) & ~((align_to)-1))
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | tcp_mmap.c | 123 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1))
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | tcp_mmap.c | 130 #define ALIGN_UP(x, align_to) (((x) + ((align_to)-1)) & ~((align_to)-1))
|
/kernel/linux/linux-5.10/drivers/dma/ti/ |
H A D | k3-udma.c | 1976 * @align_to: Preferred alignment 1989 static int udma_get_tr_counters(size_t len, unsigned long align_to, in udma_get_tr_counters() argument 1999 if (align_to > 3) in udma_get_tr_counters() 2000 align_to = 3; in udma_get_tr_counters() 2003 *tr0_cnt0 = SZ_64K - BIT(align_to); in udma_get_tr_counters() 2005 if (align_to) { in udma_get_tr_counters() 2006 align_to--; in udma_get_tr_counters()
|
/kernel/linux/linux-6.6/drivers/dma/ti/ |
H A D | k3-udma.c | 2833 * @align_to: Preferred alignment 2846 static int udma_get_tr_counters(size_t len, unsigned long align_to, in udma_get_tr_counters() argument 2856 if (align_to > 3) in udma_get_tr_counters() 2857 align_to = 3; in udma_get_tr_counters() 2860 *tr0_cnt0 = SZ_64K - BIT(align_to); in udma_get_tr_counters() 2862 if (align_to) { in udma_get_tr_counters() 2863 align_to--; in udma_get_tr_counters()
|
Completed in 13 milliseconds