Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/keys/
H A Dkeyctl.c951 struct key_user *newowner, *zapowner = NULL; in keyctl_chown_key() local
1002 newowner = key_user_lookup(uid); in keyctl_chown_key()
1003 if (!newowner) in keyctl_chown_key()
1013 spin_lock(&newowner->lock); in keyctl_chown_key()
1014 if (newowner->qnkeys + 1 > maxkeys || in keyctl_chown_key()
1015 newowner->qnbytes + key->quotalen > maxbytes || in keyctl_chown_key()
1016 newowner->qnbytes + key->quotalen < in keyctl_chown_key()
1017 newowner->qnbytes) in keyctl_chown_key()
1020 newowner->qnkeys++; in keyctl_chown_key()
1021 newowner in keyctl_chown_key()
[all...]
/kernel/linux/linux-6.6/security/keys/
H A Dkeyctl.c951 struct key_user *newowner, *zapowner = NULL; in keyctl_chown_key() local
1002 newowner = key_user_lookup(uid); in keyctl_chown_key()
1003 if (!newowner) in keyctl_chown_key()
1013 spin_lock(&newowner->lock); in keyctl_chown_key()
1014 if (newowner->qnkeys + 1 > maxkeys || in keyctl_chown_key()
1015 newowner->qnbytes + key->quotalen > maxbytes || in keyctl_chown_key()
1016 newowner->qnbytes + key->quotalen < in keyctl_chown_key()
1017 newowner->qnbytes) in keyctl_chown_key()
1020 newowner->qnkeys++; in keyctl_chown_key()
1021 newowner in keyctl_chown_key()
[all...]
/kernel/linux/linux-6.6/kernel/futex/
H A Dpi.c687 struct task_struct *oldowner, *newowner; in __fixup_pi_state_owner() local
735 newowner = rt_mutex_owner(&pi_state->pi_mutex); in __fixup_pi_state_owner()
738 * rtmutex then newowner is NULL. We can't return here with in __fixup_pi_state_owner()
744 if (unlikely(!newowner)) { in __fixup_pi_state_owner()
757 newowner = argowner; in __fixup_pi_state_owner()
760 newtid = task_pid_vnr(newowner) | FUTEX_WAITERS; in __fixup_pi_state_owner()
785 pi_state_update_owner(pi_state, newowner); in __fixup_pi_state_owner()
/kernel/linux/linux-5.10/kernel/futex/
H A Dcore.c2348 struct task_struct *oldowner, *newowner; in __fixup_pi_state_owner() local
2396 newowner = rt_mutex_owner(&pi_state->pi_mutex); in __fixup_pi_state_owner()
2399 * rtmutex then newowner is NULL. We can't return here with in __fixup_pi_state_owner()
2405 if (unlikely(!newowner)) { in __fixup_pi_state_owner()
2418 newowner = argowner; in __fixup_pi_state_owner()
2421 newtid = task_pid_vnr(newowner) | FUTEX_WAITERS; in __fixup_pi_state_owner()
2446 pi_state_update_owner(pi_state, newowner); in __fixup_pi_state_owner()

Completed in 9 milliseconds