Lines Matching refs:head
930 struct list_head *next, *head = &curr->pi_state_list; in exit_pi_state_list() local
943 while (!list_empty(head)) { in exit_pi_state_list()
945 next = head->next; in exit_pi_state_list()
958 if (head->next != next) { in exit_pi_state_list()
3373 SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, in SYSCALL_DEFINE2() argument
3381 if (unlikely(len != sizeof(*head))) in SYSCALL_DEFINE2()
3384 current->robust_list = head; in SYSCALL_DEFINE2()
3399 struct robust_list_head __user *head; in SYSCALL_DEFINE3() local
3421 head = p->robust_list; in SYSCALL_DEFINE3()
3424 if (put_user(sizeof(*head), len_ptr)) in SYSCALL_DEFINE3()
3426 return put_user(head, head_ptr); in SYSCALL_DEFINE3()
3493 struct robust_list __user * __user *head, in fetch_robust_entry() argument
3498 if (get_user(uentry, (unsigned long __user *)head)) in fetch_robust_entry()
3515 struct robust_list_head __user *head = curr->robust_list; in exit_robust_list() local
3529 if (fetch_robust_entry(&entry, &head->list.next, &pi)) in exit_robust_list()
3534 if (get_user(futex_offset, &head->futex_offset)) in exit_robust_list()
3540 if (fetch_robust_entry(&pending, &head->list_op_pending, &pip)) in exit_robust_list()
3544 while (entry != &head->list) { in exit_robust_list()
3782 compat_uptr_t __user *head, unsigned int *pi) in compat_fetch_robust_entry() argument
3784 if (get_user(*uentry, head)) in compat_fetch_robust_entry()
3810 struct compat_robust_list_head __user *head = curr->compat_robust_list; in compat_exit_robust_list() local
3825 if (compat_fetch_robust_entry(&uentry, &entry, &head->list.next, &pi)) in compat_exit_robust_list()
3830 if (get_user(futex_offset, &head->futex_offset)) in compat_exit_robust_list()
3837 &head->list_op_pending, &pip)) in compat_exit_robust_list()
3841 while (entry != (struct robust_list __user *) &head->list) { in compat_exit_robust_list()
3879 struct compat_robust_list_head __user *, head, in COMPAT_SYSCALL_DEFINE2() argument
3885 if (unlikely(len != sizeof(*head))) in COMPAT_SYSCALL_DEFINE2()
3888 current->compat_robust_list = head; in COMPAT_SYSCALL_DEFINE2()
3897 struct compat_robust_list_head __user *head; in COMPAT_SYSCALL_DEFINE3() local
3919 head = p->compat_robust_list; in COMPAT_SYSCALL_DEFINE3()
3922 if (put_user(sizeof(*head), len_ptr)) in COMPAT_SYSCALL_DEFINE3()
3924 return put_user(ptr_to_compat(head), head_ptr); in COMPAT_SYSCALL_DEFINE3()