Home
last modified time | relevance | path

Searched refs:UPDATE_FLAG (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/test/
Dtest-macro.c372 assert_se(UPDATE_FLAG(0, 0, true) == 0); in TEST()
373 assert_se(UPDATE_FLAG(0, F1, true) == F1); in TEST()
374 assert_se(UPDATE_FLAG(0, F1 | F2, true) == (F1 | F2)); in TEST()
375 assert_se(UPDATE_FLAG(F1, 0, true) == F1); in TEST()
376 assert_se(UPDATE_FLAG(F1, F1, true) == F1); in TEST()
377 assert_se(UPDATE_FLAG(F1, F3, true) == (F1 | F3)); in TEST()
378 assert_se(UPDATE_FLAG(F1, F1 | F3, true) == (F1 | F3)); in TEST()
379 assert_se(UPDATE_FLAG(F1, F_ALL, true) == F_ALL); in TEST()
380 assert_se(UPDATE_FLAG(0, 0, false) == 0); in TEST()
381 assert_se(UPDATE_FLAG(0, F1, false) == 0); in TEST()
[all …]
/systemd-251/src/basic/
Dchattr-util.c102 new_one = UPDATE_FLAG(current_attr, mask_one, FLAGS_SET(value, mask_one)); in chattr_full()
Dfd-util.c153 nflags = UPDATE_FLAG(flags, O_NONBLOCK, nonblock); in fd_nonblock()
169 nflags = UPDATE_FLAG(flags, FD_CLOEXEC, cloexec); in fd_cloexec()
/systemd-251/src/fundamental/
Dmacro-fundamental.h322 #define UPDATE_FLAG(orig, flag, b) \ macro
325 (v) = UPDATE_FLAG(v, flag, b)
/systemd-251/src/shared/
Defi-api.c169 b_new = UPDATE_FLAG(b, EFI_OS_INDICATIONS_BOOT_TO_FW_UI, value); in efi_set_reboot_to_firmware()
Dloop-util.c637 …return UPDATE_FLAG(loop_flags, LO_FLAGS_DIRECT_IO, r != 0); /* Turn on LO_FLAGS_DIRECT_IO by defau… in loop_flags_mangle()
Dbtrfs-util.c188 nflags = UPDATE_FLAG(flags, BTRFS_SUBVOL_RDONLY, b); in btrfs_subvol_set_read_only_fd()