Home
last modified time | relevance | path

Searched refs:uid2 (Results 1 – 2 of 2) sorted by relevance

/linux/include/acpi/
H A Dacpi_bus.h879 static inline bool acpi_str_uid_match(struct acpi_device *adev, const char *uid2) in acpi_str_uid_match() argument
883 return uid1 && uid2 && !strcmp(uid1, uid2); in acpi_str_uid_match()
886 static inline bool acpi_int_uid_match(struct acpi_device *adev, u64 uid2) in acpi_int_uid_match() argument
890 return !acpi_dev_uid_to_integer(adev, &uid1) && uid1 == uid2; in acpi_int_uid_match()
912 #define acpi_dev_uid_match(adev, uid2) \ argument
913 _Generic(uid2, \
917 default: acpi_int_uid_match)(adev, uid2)
931 #define acpi_dev_hid_uid_match(adev, hid2, uid2) \ argument
934 (_Generic(uid2, ACPI_STR_TYPES(!(uid2)), default: 0) || \
935 acpi_dev_uid_match(adev, uid2)))
/linux/tools/testing/selftests/namespaces/
H A Dcred_change_test.c350 uid_t uid2 = ((setres_count + 1) % 5); in TEST() local
353 if (setresuid(uid1, uid2, uid3) < 0) { in TEST()