Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io_uring.c Create Date:2022-07-28 20:22:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:io_timeout_fn

Proto:static enum hrtimer_restart io_timeout_fn(struct hrtimer *timer)

Type:enum hrtimer_restart

Parameter:

TypeParameterName
struct hrtimer *timer
2799  data = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(timer, structio_timeout_data, timer)
2801  req = req
2802  ctx = ctx
2805  atomic_inc( & cq_timeouts)
2807  spin_lock_irqsave( & completion_lock, flags)
2812  If Not list_empty - tests whether a list is empty*@head: the list to test. Then
2821  prev = req
2822  list_for_each_entry_continue_reverse - iterate backwards from the given point*@pos: the type * to use as a loop cursor(prev, & timeout_list, list)
2823  sequence++
2824  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
2827  io_cqring_fill_event(req, - ETIME)
2828  io_commit_cqring(ctx)
2829  spin_unlock_irqrestore( & completion_lock, flags)
2831  io_cqring_ev_posted(ctx)
2832  req_set_fail_links(req)
2833  io_put_req(req)
2834  Return Timer is not restarted