Home
last modified time | relevance | path

Searched refs:DEVICE_MINOR_VALID (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/test/
Dtest-devnum-util.c32 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()
/systemd-251/src/basic/
Ddevnum-util.h25 #define DEVICE_MINOR_VALID(x) \ macro
Ddevnum-util.c35 if (!DEVICE_MAJOR_VALID(x) || !DEVICE_MINOR_VALID(y)) in parse_devnum()
/systemd-251/src/login/
Dlogind-session-dbus.c430 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()
/systemd-251/src/libsystemd/sd-device/
Dsd-device.c622 if (!DEVICE_MINOR_VALID(min)) in device_set_devnum()
/systemd-251/src/nspawn/
Dnspawn-oci.c826 if (!DEVICE_MINOR_VALID(k)) in oci_device_minor()