Home
last modified time | relevance | path

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

/third_party/f2fs-tools/tools/
Df2fscrypt.c501 struct termios current_settings; in disable_echo() local
504 rc = tcgetattr(0, &current_settings); in disable_echo()
507 *saved_settings = current_settings; in disable_echo()
508 current_settings.c_lflag &= ~ECHO; in disable_echo()
509 rc = tcsetattr(0, TCSANOW, &current_settings); in disable_echo()
517 struct termios current_settings; in get_passphrase() local
520 disable_echo(&current_settings); in get_passphrase()
522 tcsetattr(0, TCSANOW, &current_settings); in get_passphrase()
/third_party/e2fsprogs/misc/
De4crypt.c456 struct termios current_settings; in disable_echo() local
459 rc = tcgetattr(0, &current_settings); in disable_echo()
462 *saved_settings = current_settings; in disable_echo()
463 current_settings.c_lflag &= ~ECHO; in disable_echo()
464 rc = tcsetattr(0, TCSANOW, &current_settings); in disable_echo()
472 struct termios current_settings; in get_passphrase() local
475 disable_echo(&current_settings); in get_passphrase()
477 tcsetattr(0, TCSANOW, &current_settings); in get_passphrase()