Searched refs:__round_mask (Results 1 – 4 of 4) sorted by relevance
/third_party/libdrm/amdgpu/ |
D | amdgpu_internal.h | 39 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 40 #define ROUND_UP(x, y) ((((x)-1) | __round_mask(x, y))+1) 41 #define ROUND_DOWN(x, y) ((x) & ~__round_mask(x, y))
|
/third_party/exfatprogs/include/ |
D | libexfat.h | 17 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 18 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) 19 #define round_down(x, y) ((x) & ~__round_mask(x, y))
|
/third_party/libdrm/omap/ |
D | omap_drm.c | 45 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 46 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1)
|
/third_party/f2fs-tools/include/ |
D | f2fs_fs.h | 649 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) macro 650 #define round_down(x, y) ((x) & ~__round_mask(x, y))
|