Home
last modified time | relevance | path

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

/security/keys/
Dkeyctl.c882 struct key_user *newowner, *zapowner = NULL; in keyctl_chown_key() local
928 newowner = key_user_lookup(uid); in keyctl_chown_key()
929 if (!newowner) in keyctl_chown_key()
939 spin_lock(&newowner->lock); in keyctl_chown_key()
940 if (newowner->qnkeys + 1 >= maxkeys || in keyctl_chown_key()
941 newowner->qnbytes + key->quotalen >= maxbytes || in keyctl_chown_key()
942 newowner->qnbytes + key->quotalen < in keyctl_chown_key()
943 newowner->qnbytes) in keyctl_chown_key()
946 newowner->qnkeys++; in keyctl_chown_key()
947 newowner->qnbytes += key->quotalen; in keyctl_chown_key()
[all …]