Home
last modified time | relevance | path

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

/linux/security/keys/
H A Dkeyctl.c951 struct key_user *newowner, *zapowner = NULL; in keyctl_chown_key() local
1003 newowner = key_user_lookup(uid); in keyctl_chown_key()
1004 if (!newowner) in keyctl_chown_key()
1014 spin_lock_irqsave(&newowner->lock, flags); in keyctl_chown_key()
1015 if (newowner->qnkeys + 1 > maxkeys || in keyctl_chown_key()
1016 newowner->qnbytes + key->quotalen > maxbytes || in keyctl_chown_key()
1017 newowner->qnbytes + key->quotalen < in keyctl_chown_key()
1018 newowner->qnbytes) in keyctl_chown_key()
1021 newowner->qnkeys++; in keyctl_chown_key()
1022 newowner->qnbytes += key->quotalen; in keyctl_chown_key()
[all …]