Lines Matching refs:ringid

78 		key_serial_t, ringid)  in SYSCALL_DEFINE5()  argument
126 keyring_ref = lookup_user_key(ringid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in SYSCALL_DEFINE5()
467 long keyctl_keyring_clear(key_serial_t ringid) in keyctl_keyring_clear() argument
473 keyring_ref = lookup_user_key(ringid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in keyctl_keyring_clear()
479 keyring_ref = lookup_user_key(ringid, 0, in keyctl_keyring_clear()
515 long keyctl_keyring_link(key_serial_t id, key_serial_t ringid) in keyctl_keyring_link() argument
520 keyring_ref = lookup_user_key(ringid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in keyctl_keyring_link()
552 long keyctl_keyring_unlink(key_serial_t id, key_serial_t ringid) in keyctl_keyring_unlink() argument
558 keyring_ref = lookup_user_key(ringid, 0, KEY_NEED_WRITE); in keyctl_keyring_unlink()
716 long keyctl_keyring_search(key_serial_t ringid, in keyctl_keyring_search() argument
738 keyring_ref = lookup_user_key(ringid, 0, KEY_NEED_SEARCH); in keyctl_keyring_search()
1112 static long get_instantiation_keyring(key_serial_t ringid, in get_instantiation_keyring() argument
1121 if (ringid == 0) in get_instantiation_keyring()
1125 if (ringid > 0) { in get_instantiation_keyring()
1126 dkref = lookup_user_key(ringid, KEY_LOOKUP_CREATE, KEY_NEED_WRITE); in get_instantiation_keyring()
1133 if (ringid == KEY_SPEC_REQKEY_AUTH_KEY) in get_instantiation_keyring()
1138 if (ringid >= KEY_SPEC_REQUESTOR_KEYRING) { in get_instantiation_keyring()
1174 key_serial_t ringid) in keyctl_instantiate_key_common() argument
1183 kenter("%d,,%zu,%d", id, plen, ringid); in keyctl_instantiate_key_common()
1219 ret = get_instantiation_keyring(ringid, rka, &dest_keyring); in keyctl_instantiate_key_common()
1252 key_serial_t ringid) in keyctl_instantiate_key() argument
1264 return keyctl_instantiate_key_common(id, &from, ringid); in keyctl_instantiate_key()
1267 return keyctl_instantiate_key_common(id, NULL, ringid); in keyctl_instantiate_key()
1282 key_serial_t ringid) in keyctl_instantiate_key_iov() argument
1295 ret = keyctl_instantiate_key_common(id, &from, ringid); in keyctl_instantiate_key_iov()
1315 long keyctl_negate_key(key_serial_t id, unsigned timeout, key_serial_t ringid) in keyctl_negate_key() argument
1317 return keyctl_reject_key(id, timeout, ENOKEY, ringid); in keyctl_negate_key()
1336 key_serial_t ringid) in keyctl_reject_key() argument
1343 kenter("%d,%u,%u,%d", id, timeout, error, ringid); in keyctl_reject_key()
1367 ret = get_instantiation_keyring(ringid, rka, &dest_keyring); in keyctl_reject_key()