Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
typedef unsigned long os_cpu_mask_t;
typedef unsigned int os_random_state_t;
typedef unsigned long os_cpu_mask_t;
typedef unsigned int os_random_state_t;
static inline int blockdev_size(int fd, unsigned long long *bytes)
{
off_t end = lseek(fd, 0, SEEK_END);
static inline int blockdev_size(int fd, unsigned long long *bytes)
{
off_t end = lseek(fd, 0, SEEK_END);
typedef psetid_t os_cpu_mask_t;
typedef struct solaris_rand_seed os_random_state_t;
typedef psetid_t os_cpu_mask_t;
typedef struct solaris_rand_seed os_random_state_t;
static inline int blockdev_size(int fd, unsigned long long *bytes)
{
off_t end = lseek(fd, 0, SEEK_END);
static inline int blockdev_size(int fd, unsigned long long *bytes)
{
off_t end = lseek(fd, 0, SEEK_END);