Searched refs:keyring_id (Results 1 – 2 of 2) sorted by relevance
/external/e2fsprogs/misc/ |
D | e4crypt.c | 548 int keyring_id = get_keyring_id(keyring); in insert_key_into_keyring() local 554 if (keyring_id == 0) { in insert_key_into_keyring() 560 rc = keyctl(KEYCTL_SEARCH, keyring_id, EXT2FS_KEY_TYPE_LOGON, in insert_key_into_keyring() 589 if (keyring_id == KEY_SPEC_SESSION_KEYRING) { in insert_key_into_keyring() 590 keyring_id = keyctl(KEYCTL_GET_KEYRING_ID, keyring_id, 0); in insert_key_into_keyring() 591 if (keyring_id < 0) { in insert_key_into_keyring() 598 sizeof(key), keyring_id); in insert_key_into_keyring()
|
/external/f2fs-tools/tools/ |
D | f2fscrypt.c | 606 int keyring_id = get_keyring_id(keyring); in insert_key_into_keyring() local 612 if (keyring_id == 0) { in insert_key_into_keyring() 618 rc = keyctl(KEYCTL_SEARCH, keyring_id, F2FS_KEY_TYPE_LOGON, in insert_key_into_keyring() 635 sizeof(key), keyring_id); in insert_key_into_keyring()
|