Searched refs:new_flags (Results 1 – 4 of 4) sorted by relevance
/tools/testing/selftests/mount_setattr/ |
D | mount_setattr_test.c | 474 unsigned int old_flags = 0, new_flags = 0, expected_flags = 0; in TEST_F() local 523 new_flags = read_mnt_flags("/mnt/A"); in TEST_F() 524 ASSERT_EQ(new_flags, expected_flags); in TEST_F() 526 new_flags = read_mnt_flags("/mnt/A/AA"); in TEST_F() 527 ASSERT_EQ(new_flags, expected_flags); in TEST_F() 529 new_flags = read_mnt_flags("/mnt/A/AA/B"); in TEST_F() 530 ASSERT_EQ(new_flags, expected_flags); in TEST_F() 532 new_flags = read_mnt_flags("/mnt/A/AA/B/BB"); 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 [all …]
|
/tools/testing/selftests/bpf/progs/ |
D | test_lwt_seg6local.c | 327 uint8_t new_flags = SR6_FLAG_ALERT; in __add_egr_x() local 344 (void *)&new_flags, sizeof(new_flags)); in __add_egr_x() 364 uint8_t new_flags = 0; in __pop_egr() local 384 if (bpf_lwt_seg6_store_bytes(skb, offset, (void *)&new_flags, in __pop_egr() 385 sizeof(new_flags))) in __pop_egr()
|
D | test_seg6_loop.c | 231 uint8_t new_flags = SR6_FLAG_ALERT; in __add_egr_x() local 248 (void *)&new_flags, sizeof(new_flags)); in __add_egr_x()
|
/tools/perf/ |
D | builtin-kmem.c | 670 char *new_flags = NULL; in compact_gfp_flags() local 688 new = realloc(new_flags, len + strlen(cpt) + 2); in compact_gfp_flags() 690 free(new_flags); in compact_gfp_flags() 695 new_flags = new; in compact_gfp_flags() 698 strcpy(new_flags, cpt); in compact_gfp_flags() 700 strcat(new_flags, "|"); in compact_gfp_flags() 701 strcat(new_flags, cpt); in compact_gfp_flags() 715 return new_flags; in compact_gfp_flags()
|