Searched refs:one_zero (Results 1 - 3 of 3) sorted by relevance

/systemd/src/udev/
H A Dudev-builtin-btrfs.c50 udev_builtin_add_property(dev, test, "ID_BTRFS_READY", one_zero(err == 0));
/systemd/src/rfkill/
H A Drfkill.c228 r = write_string_file(state_file, one_zero(event->soft), WRITE_STRING_FILE_CREATE|WRITE_STRING_FILE_ATOMIC);
232 log_debug("Saved state '%s' to %s.", one_zero(event->soft), state_file);
256 log_debug("Loaded state '%s' from %s.", one_zero(b), state_file);
281 r = write_string_file(state_file, one_zero(event->soft), WRITE_STRING_FILE_CREATE|WRITE_STRING_FILE_ATOMIC);
285 log_debug("Saved state '%s' to %s.", one_zero(event->soft), state_file);
/systemd/src/basic/
H A Dutil.h59 static inline const char* one_zero(bool b) { function

Completed in 11 milliseconds