Lines Matching full:attempt

142 	int				attempt;  member
253 * attempt to delete it later. in delayed_destroy_user_event()
305 * Unfortunately we have to attempt the actual destroy in a work in user_event_put()
326 * If we fail we must wait for an admin to attempt delete or in user_event_put()
411 int attempt) in user_event_mm_fault_in() argument
420 if (attempt > 10) in user_event_mm_fault_in()
441 bool fixup_fault, int *attempt);
450 int attempt = fault->attempt; in user_event_enabler_fault_fixup() local
453 ret = user_event_mm_fault_in(mm, uaddr, attempt); in user_event_enabler_fault_fixup()
474 * attempt again directly if the page came in. If we couldn't get in user_event_enabler_fault_fixup()
482 user_event_enabler_write(mm, enabler, true, &attempt); in user_event_enabler_fault_fixup()
495 int attempt) in user_event_enabler_queue_fault() argument
507 fault->attempt = attempt; in user_event_enabler_queue_fault()
513 /* Allow another attempt later */ in user_event_enabler_queue_fault()
527 bool fixup_fault, int *attempt) in user_event_enabler_write() argument
539 *attempt += 1; in user_event_enabler_write()
558 if (!user_event_enabler_queue_fault(mm, enabler, *attempt)) in user_event_enabler_write()
597 int attempt; in user_event_enabler_update() local
620 attempt = 0; in user_event_enabler_update()
621 user_event_enabler_write(mm, enabler, true, &attempt); in user_event_enabler_update()
888 int attempt = 0; in user_event_enabler_create() local
913 /* Attempt to reflect the current state within the process */ in user_event_enabler_create()
916 &attempt); in user_event_enabler_create()
935 /* Attempt to fault-in and retry if it worked */ in user_event_enabler_create()
936 if (!user_event_mm_fault_in(user_mm, uaddr, attempt)) in user_event_enabler_create()
2219 /* Attempt to delete all event(s) with the name passed in */ in delete_user_event()
2516 * Attempt to create an enabler, which too has a lifetime tied in the in user_events_ioctl_reg()
2592 int attempt = 0; in user_event_mm_clear_bit() local
2603 result = user_event_enabler_write(user_mm, &enabler, false, &attempt); in user_event_mm_clear_bit()
2609 /* Attempt to fault-in and retry if it worked */ in user_event_mm_clear_bit()
2610 if (!user_event_mm_fault_in(user_mm, uaddr, attempt)) in user_event_mm_clear_bit()