Searched refs:ioc (Results 1 – 3 of 3) sorted by relevance
/include/linux/ |
D | iocontext.h | 74 struct io_context *ioc; member 129 static inline void get_io_context_active(struct io_context *ioc) in get_io_context_active() argument 131 WARN_ON_ONCE(atomic_long_read(&ioc->refcount) <= 0); in get_io_context_active() 132 WARN_ON_ONCE(atomic_read(&ioc->active_ref) <= 0); in get_io_context_active() 133 atomic_long_inc(&ioc->refcount); in get_io_context_active() 134 atomic_inc(&ioc->active_ref); in get_io_context_active() 137 static inline void ioc_task_link(struct io_context *ioc) in ioc_task_link() argument 139 get_io_context_active(ioc); in ioc_task_link() 141 WARN_ON_ONCE(atomic_read(&ioc->nr_tasks) <= 0); in ioc_task_link() 142 atomic_inc(&ioc->nr_tasks); in ioc_task_link() [all …]
|
D | ioprio.h | 79 struct io_context *ioc = current->io_context; in get_current_ioprio() local 81 if (ioc) in get_current_ioprio() 82 return ioc->ioprio; in get_current_ioprio()
|
/include/trace/events/ |
D | iocost.h | 5 struct ioc; 22 __string(devname, ioc_name(iocg->ioc)) 38 __assign_str(devname, ioc_name(iocg->ioc)); 75 __string(devname, ioc_name(iocg->ioc)) 85 __assign_str(devname, ioc_name(iocg->ioc)); 133 TP_PROTO(struct ioc *ioc, u64 new_vrate, u32 (*missed_ppm)[2], 137 TP_ARGS(ioc, new_vrate, missed_ppm, rq_wait_pct, nr_lagging, nr_shortages, 141 __string(devname, ioc_name(ioc)) 154 __assign_str(devname, ioc_name(ioc)); 155 __entry->old_vrate = atomic64_read(&ioc->vtime_rate);; [all …]
|