Searched refs:expected_flags (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 474 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 | in TEST_F() 574 unsigned int old_flags = 0, new_flags = 0, expected_flags = 0; TEST_F() local 725 unsigned int old_flags1 = 0, old_flags2 = 0, new_flags = 0, expected_flags = 0; TEST_F() local 759 unsigned int old_flags = 0, new_flags = 0, expected_flags = 0; TEST_F() local 906 unsigned int old_flags = 0, new_flags = 0, expected_flags = 0; TEST_F() local 1450 unsigned int old_flags = 0, new_flags = 0, expected_flags = 0; TEST_F() local [all...] |
/linux/mm/ |
H A D | io-mapping.c | 19 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()
|