Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c474 unsigned int old_flags = 0, new_flags = 0, expected_flags = 0; in TEST_F() local
520 expected_flags = old_flags; in TEST_F()
521 expected_flags |= MS_RDONLY; in TEST_F()
524 ASSERT_EQ(new_flags, expected_flags); in TEST_F()
527 ASSERT_EQ(new_flags, expected_flags); in TEST_F()
530 ASSERT_EQ(new_flags, expected_flags); in TEST_F()
533 ASSERT_EQ(new_flags, expected_flags); in TEST_F()
538 unsigned int old_flags = 0, new_flags = 0, expected_flags = 0; in TEST_F() local
552 expected_flags = old_flags; in TEST_F()
553 expected_flags |= MS_RDONLY; in TEST_F()
[all …]
/linux-6.12.1/mm/
Dio-mapping.c19 vm_flags_t expected_flags = VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP; in io_mapping_map_user() local
21 if (WARN_ON_ONCE((vma->vm_flags & expected_flags) != expected_flags)) in io_mapping_map_user()