Searched refs:DEVICE_MINOR_VALID (Results 1 – 6 of 6) sorted by relevance
32 assert_se(DEVICE_MINOR_VALID(0U)); in TEST()35 assert_se(DEVICE_MINOR_VALID(1U)); in TEST()38 assert_se(!DEVICE_MINOR_VALID(-1U)); in TEST()41 assert_se(DEVICE_MINOR_VALID(1U << 10)); in TEST()44 assert_se(DEVICE_MINOR_VALID((1U << 20) - 1)); in TEST()47 assert_se(!DEVICE_MINOR_VALID((1U << 20))); in TEST()50 assert_se(!DEVICE_MINOR_VALID(1U << 25)); in TEST()53 assert_se(!DEVICE_MINOR_VALID(UINT32_MAX)); in TEST()56 assert_se(!DEVICE_MINOR_VALID(UINT64_MAX)); in TEST()59 assert_se(DEVICE_MINOR_VALID(minor(0))); in TEST()
25 #define DEVICE_MINOR_VALID(x) \ macro
35 if (!DEVICE_MAJOR_VALID(x) || !DEVICE_MINOR_VALID(y)) in parse_devnum()
430 if (!DEVICE_MAJOR_VALID(major) || !DEVICE_MINOR_VALID(minor)) in method_take_device()480 if (!DEVICE_MAJOR_VALID(major) || !DEVICE_MINOR_VALID(minor)) in method_release_device()511 if (!DEVICE_MAJOR_VALID(major) || !DEVICE_MINOR_VALID(minor)) in method_pause_device_complete()
622 if (!DEVICE_MINOR_VALID(min)) in device_set_devnum()
826 if (!DEVICE_MINOR_VALID(k)) in oci_device_minor()