Home
last modified time | relevance | path

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

/Linux-v5.10/security/keys/
Dkeyctl.c951 struct key_user *newowner, *zapowner = NULL; in keyctl_chown_key() local
997 newowner = key_user_lookup(uid); in keyctl_chown_key()
998 if (!newowner) in keyctl_chown_key()
1008 spin_lock(&newowner->lock); in keyctl_chown_key()
1009 if (newowner->qnkeys + 1 > maxkeys || in keyctl_chown_key()
1010 newowner->qnbytes + key->quotalen > maxbytes || in keyctl_chown_key()
1011 newowner->qnbytes + key->quotalen < in keyctl_chown_key()
1012 newowner->qnbytes) in keyctl_chown_key()
1015 newowner->qnkeys++; in keyctl_chown_key()
1016 newowner->qnbytes += key->quotalen; in keyctl_chown_key()
[all …]
/Linux-v5.10/kernel/
Dfutex.c2333 struct task_struct *oldowner, *newowner; in fixup_pi_state_owner() local
2387 newowner = rt_mutex_owner(&pi_state->pi_mutex); in fixup_pi_state_owner()
2396 if (unlikely(!newowner)) { in fixup_pi_state_owner()
2410 newowner = argowner; in fixup_pi_state_owner()
2413 newtid = task_pid_vnr(newowner) | FUTEX_WAITERS; in fixup_pi_state_owner()
2445 pi_state->owner = newowner; in fixup_pi_state_owner()
2447 raw_spin_lock(&newowner->pi_lock); in fixup_pi_state_owner()
2449 list_add(&pi_state->list, &newowner->pi_state_list); in fixup_pi_state_owner()
2450 raw_spin_unlock(&newowner->pi_lock); in fixup_pi_state_owner()