Searched refs:__KERNEL_DIV_ROUND_UP (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/vmwgfx/ ! |
D | vmw_surface_cache.h | 74 block_size->width = __KERNEL_DIV_ROUND_UP(pixel_size->width, in vmw_surface_get_size_in_blocks() 76 block_size->height = __KERNEL_DIV_ROUND_UP(pixel_size->height, in vmw_surface_get_size_in_blocks() 78 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in vmw_surface_get_size_in_blocks() 199 const u32 rowstride = __KERNEL_DIV_ROUND_UP(width, bw) * in vmw_surface_get_pixel_offset() 201 const u32 imgstride = __KERNEL_DIV_ROUND_UP(height, bh) * rowstride; in vmw_surface_get_pixel_offset() 399 __KERNEL_DIV_ROUND_UP(mip->size.width, in vmw_surface_setup_cache() 406 __KERNEL_DIV_ROUND_UP(mip->size.height, in vmw_surface_setup_cache()
|
D | vmwgfx_resource.c | 404 pgoff_t end = __KERNEL_DIV_ROUND_UP in vmw_resource_do_validate() 1128 *num_prefault = __KERNEL_DIV_ROUND_UP(last_cleaned - res_start, in vmw_resources_clean()
|
/linux-6.1.9/include/linux/ ! |
D | bitops.h | 19 #define BITS_TO_LONGS(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) 20 #define BITS_TO_U64(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u64)) 21 #define BITS_TO_U32(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u32)) 22 #define BITS_TO_BYTES(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(char))
|
D | math.h | 37 #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP
|
/linux-6.1.9/tools/include/uapi/linux/ ! |
D | const.h | 34 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
|
/linux-6.1.9/include/uapi/linux/ ! |
D | const.h | 34 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
|
D | mroute6.h | 60 if_mask ifs_bits[__KERNEL_DIV_ROUND_UP(IF_SETSIZE, NIFBITS)];
|
D | ethtool.h | 1468 __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)];
|