Go to the documentation of this file. 1#ifndef __VSF_LINUX_BITS_H__
2#define __VSF_LINUX_BITS_H__
9# define BIT(__NR) (1UL << (__NR))
12# define BIT_ULL(__NR) (1ULL << (__NR))
15#define BITS_PER_LONG (sizeof(long) << 3)
16#define GENMASK(__H, __L) (((~0UL) << (__L)) & (~0UL >> (BITS_PER_LONG - 1 - (__H))))