Home
last modified time | relevance | path

Searched defs:hctx (Results 1 – 25 of 64) sorted by relevance

123

/linux/block/
H A Dblk-mq-debugfs.c170 struct blk_mq_hw_ctx *hctx = data; in hctx_state_show() local
192 struct blk_mq_hw_ctx *hctx = data; in hctx_flags_show() local
302 struct blk_mq_hw_ctx *hctx = m->private; in hctx_dispatch_start() local
310 struct blk_mq_hw_ctx *hctx = m->private; in hctx_dispatch_next() local
318 struct blk_mq_hw_ctx *hctx = m->private; in hctx_dispatch_stop() local
332 struct blk_mq_hw_ctx *hctx; member
352 struct blk_mq_hw_ctx *hctx = data; in hctx_busy_show() local
374 struct blk_mq_hw_ctx *hctx = data; in hctx_type_show() local
383 struct blk_mq_hw_ctx *hctx = data; in hctx_ctx_map_show() local
408 struct blk_mq_hw_ctx *hctx = data; in hctx_tags_show() local
[all …]
H A Dblk-mq.h174 struct blk_mq_hw_ctx *hctx; member
199 struct blk_mq_hw_ctx *hctx) in bt_wait_ptr()
209 static inline void blk_mq_tag_busy(struct blk_mq_hw_ctx *hctx) in blk_mq_tag_busy()
215 static inline void blk_mq_tag_idle(struct blk_mq_hw_ctx *hctx) in blk_mq_tag_idle()
239 static inline bool blk_mq_hctx_stopped(struct blk_mq_hw_ctx *hctx) in blk_mq_hctx_stopped()
257 static inline bool blk_mq_hw_queue_mapped(struct blk_mq_hw_ctx *hctx) in blk_mq_hw_queue_mapped()
294 static inline void __blk_mq_add_active_requests(struct blk_mq_hw_ctx *hctx, in __blk_mq_add_active_requests()
303 static inline void __blk_mq_inc_active_requests(struct blk_mq_hw_ctx *hctx) in __blk_mq_inc_active_requests()
308 static inline void __blk_mq_sub_active_requests(struct blk_mq_hw_ctx *hctx, in __blk_mq_sub_active_requests()
317 static inline void __blk_mq_dec_active_requests(struct blk_mq_hw_ctx *hctx) in __blk_mq_dec_active_requests()
[all …]
H A Dblk-mq-sysfs.c34 struct blk_mq_hw_ctx *hctx = container_of(kobj, struct blk_mq_hw_ctx, in blk_mq_hw_sysfs_release() local
52 struct blk_mq_hw_ctx *hctx; in blk_mq_hw_sysfs_show() local
69 static ssize_t blk_mq_hw_sysfs_nr_tags_show(struct blk_mq_hw_ctx *hctx, in blk_mq_hw_sysfs_nr_tags_show()
75 static ssize_t blk_mq_hw_sysfs_nr_reserved_tags_show(struct blk_mq_hw_ctx *hctx, in blk_mq_hw_sysfs_nr_reserved_tags_show()
81 static ssize_t blk_mq_hw_sysfs_cpus_show(struct blk_mq_hw_ctx *hctx, char *page) in blk_mq_hw_sysfs_cpus_show()
143 static void blk_mq_unregister_hctx(struct blk_mq_hw_ctx *hctx) in blk_mq_unregister_hctx()
159 static int blk_mq_register_hctx(struct blk_mq_hw_ctx *hctx) in blk_mq_register_hctx()
188 void blk_mq_hctx_kobj_init(struct blk_mq_hw_ctx *hctx) in blk_mq_hctx_kobj_init()
223 struct blk_mq_hw_ctx *hctx; in blk_mq_sysfs_register() local
257 struct blk_mq_hw_ctx *hctx; in blk_mq_sysfs_unregister() local
[all …]
H A Dblk-mq-sched.c22 void blk_mq_sched_mark_restart_hctx(struct blk_mq_hw_ctx *hctx) in blk_mq_sched_mark_restart_hctx()
31 void __blk_mq_sched_restart(struct blk_mq_hw_ctx *hctx) in __blk_mq_sched_restart()
58 struct blk_mq_hw_ctx *hctx = in blk_mq_dispatch_hctx_list() local
85 static int __blk_mq_do_dispatch_sched(struct blk_mq_hw_ctx *hctx) in __blk_mq_do_dispatch_sched()
176 static int blk_mq_do_dispatch_sched(struct blk_mq_hw_ctx *hctx) in blk_mq_do_dispatch_sched()
194 static struct blk_mq_ctx *blk_mq_next_ctx(struct blk_mq_hw_ctx *hctx, in blk_mq_next_ctx()
213 static int blk_mq_do_dispatch_ctx(struct blk_mq_hw_ctx *hctx) in blk_mq_do_dispatch_ctx()
268 static int __blk_mq_sched_dispatch_requests(struct blk_mq_hw_ctx *hctx) in __blk_mq_sched_dispatch_requests()
317 void blk_mq_sched_dispatch_requests(struct blk_mq_hw_ctx *hctx) in blk_mq_sched_dispatch_requests()
340 struct blk_mq_hw_ctx *hctx; in blk_mq_sched_bio_merge() local
[all …]
H A Dblk-mq.c61 static bool blk_mq_hctx_has_pending(struct blk_mq_hw_ctx *hctx) in blk_mq_hctx_has_pending()
71 static void blk_mq_hctx_mark_pending(struct blk_mq_hw_ctx *hctx, in blk_mq_hctx_mark_pending()
80 static void blk_mq_hctx_clear_pending(struct blk_mq_hw_ctx *hctx, in blk_mq_hctx_clear_pending()
365 struct blk_mq_hw_ctx *hctx; in blk_mq_wake_waiters() local
414 struct blk_mq_hw_ctx *hctx = data->hctx; in blk_mq_rq_ctx_init() local
803 struct blk_mq_hw_ctx *hctx = rq->mq_hctx; in __blk_mq_free_request() local
1186 static inline void blk_mq_flush_tag_batch(struct blk_mq_hw_ctx *hctx, in blk_mq_flush_tag_batch()
1448 struct blk_mq_hw_ctx *hctx = rq->mq_hctx; in blk_execute_rq_nowait() local
1510 struct blk_mq_hw_ctx *hctx = rq->mq_hctx; in blk_execute_rq() local
1742 struct blk_mq_hw_ctx *hctx; in blk_mq_timeout_work() local
[all …]
H A Dblk-mq-debugfs.h43 struct blk_mq_hw_ctx *hctx) in blk_mq_debugfs_register_hctx()
47 static inline void blk_mq_debugfs_unregister_hctx(struct blk_mq_hw_ctx *hctx) in blk_mq_debugfs_unregister_hctx()
68 struct blk_mq_hw_ctx *hctx) in blk_mq_debugfs_register_sched_hctx()
72 static inline void blk_mq_debugfs_unregister_sched_hctx(struct blk_mq_hw_ctx *hctx) in blk_mq_debugfs_unregister_sched_hctx()
H A Dblk-mq-sched.h69 static inline void blk_mq_sched_restart(struct blk_mq_hw_ctx *hctx) in blk_mq_sched_restart()
114 static inline bool blk_mq_sched_has_work(struct blk_mq_hw_ctx *hctx) in blk_mq_sched_has_work()
124 static inline bool blk_mq_sched_needs_restart(struct blk_mq_hw_ctx *hctx) in blk_mq_sched_needs_restart()
132 struct blk_mq_hw_ctx *hctx; in blk_mq_set_min_shallow_depth() local
H A Dkyber-iosched.c458 static int kyber_init_hctx(struct blk_mq_hw_ctx *hctx, unsigned int hctx_idx) in kyber_init_hctx()
512 static void kyber_exit_hctx(struct blk_mq_hw_ctx *hctx, unsigned int hctx_idx) in kyber_exit_hctx()
557 struct blk_mq_hw_ctx *hctx = blk_mq_map_queue(bio->bi_opf, ctx); in kyber_bio_merge() local
576 static void kyber_insert_requests(struct blk_mq_hw_ctx *hctx, in kyber_insert_requests()
684 struct blk_mq_hw_ctx *hctx = READ_ONCE(wqe->private); in kyber_domain_wake() local
694 struct blk_mq_hw_ctx *hctx) in kyber_get_domain_token()
742 struct blk_mq_hw_ctx *hctx) in kyber_dispatch_cur_domain()
789 static struct request *kyber_dispatch_request(struct blk_mq_hw_ctx *hctx) in kyber_dispatch_request()
835 static bool kyber_has_work(struct blk_mq_hw_ctx *hctx) in kyber_has_work()
948 struct blk_mq_hw_ctx *hctx = data; in KYBER_DEBUGFS_DOMAIN_ATTRS() local
[all …]
H A Dblk-mq-tag.c41 void __blk_mq_tag_busy(struct blk_mq_hw_ctx *hctx) in __blk_mq_tag_busy()
84 void __blk_mq_tag_idle(struct blk_mq_hw_ctx *hctx) in __blk_mq_tag_idle()
248 struct blk_mq_hw_ctx *hctx; member
269 struct blk_mq_hw_ctx *hctx = iter_data->hctx; in bt_iter() local
312 static void bt_for_each(struct blk_mq_hw_ctx *hctx, struct request_queue *q, in bt_for_each()
519 struct blk_mq_hw_ctx *hctx; in blk_mq_queue_tag_busy_iter() local
H A Dblk-flush.c343 struct blk_mq_hw_ctx *hctx = rq->mq_hctx; in mq_flush_data_end_io() local
535 void blk_mq_hctx_set_fq_lock_class(struct blk_mq_hw_ctx *hctx, in blk_mq_hctx_set_fq_lock_class()
H A Dmq-deadline.c452 static struct request *dd_dispatch_request(struct blk_mq_hw_ctx *hctx) in dd_dispatch_request()
623 static void dd_insert_request(struct blk_mq_hw_ctx *hctx, struct request *rq, in dd_insert_request()
670 static void dd_insert_requests(struct blk_mq_hw_ctx *hctx, in dd_insert_requests()
719 static bool dd_has_work(struct blk_mq_hw_ctx *hctx) in dd_has_work()
/linux/samples/hid/
H A Dhid_mouse.bpf.c8 static int hid_y_event(struct hid_bpf_ctx *hctx) in hid_y_event()
53 static int hid_x_event(struct hid_bpf_ctx *hctx) in hid_x_event()
71 int BPF_PROG(hid_event, struct hid_bpf_ctx *hctx, enum hid_report_type type) in BPF_PROG()
83 int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hctx) in BPF_PROG()
H A Dhid_surface_dial.bpf.c14 int BPF_PROG(hid_event, struct hid_bpf_ctx *hctx) in BPF_PROG()
105 int BPF_PROG(hid_rdesc_fixup, struct hid_bpf_ctx *hctx) in BPF_PROG()
/linux/tools/testing/selftests/hid/progs/
H A Dhid.c311 int BPF_PROG(hid_test_filter_raw_request, struct hid_bpf_ctx *hctx, unsigned char reportnum, in BPF_PROG()
332 int BPF_PROG(hid_test_hidraw_raw_request, struct hid_bpf_ctx *hctx, unsigned char reportnum, in BPF_PROG()
363 int BPF_PROG(hid_test_infinite_loop_raw_request, struct hid_bpf_ctx *hctx, unsigned char reportnum, in BPF_PROG()
390 int BPF_PROG(hid_test_filter_output_report, struct hid_bpf_ctx *hctx, unsigned char reportnum, in BPF_PROG()
402 int BPF_PROG(hid_test_hidraw_output_report, struct hid_bpf_ctx *hctx, __u64 source) in BPF_PROG()
423 int BPF_PROG(hid_test_infinite_loop_output_report, struct hid_bpf_ctx *hctx, __u64 source) in BPF_PROG()
566 int BPF_PROG(hid_test_infinite_loop_input_report, struct hid_bpf_ctx *hctx, in BPF_PROG()
/linux/drivers/hid/bpf/progs/
H A DXPPen__ArtistPro16Gen2.bpf.c116 static int xppen_16_fix_eraser(struct hid_bpf_ctx *hctx) in xppen_16_fix_eraser()
238 static int xppen_16_fix_angle_offset(struct hid_bpf_ctx *hctx) in xppen_16_fix_angle_offset()
H A DHuion__Kamvas-Pro-19.bpf.c344 struct hid_bpf_ctx *hctx = hid_bpf_allocate_context(ctx->hid); in probe() local
H A DXPPen__ACK05.bpf.c315 struct hid_bpf_ctx *hctx = hid_bpf_allocate_context(ctx->hid); in probe() local
H A Dhid_bpf_async.h168 static int hid_bpf_async_delayed_call(struct hid_bpf_ctx *hctx, u64 milliseconds, int key, in hid_bpf_async_delayed_call()
/linux/drivers/crypto/marvell/octeontx2/
H A Dcn10k_cpt.c158 void cn10k_cpt_hw_ctx_set(union cn10k_cpt_hw_ctx *hctx, u16 ctx_sz) in cn10k_cpt_hw_ctx_set()
170 union cn10k_cpt_hw_ctx *hctx; in cn10k_cpt_hw_ctx_init() local
/linux/drivers/s390/block/
H A Dscm_blk.c281 static blk_status_t scm_blk_request(struct blk_mq_hw_ctx *hctx, in scm_blk_request()
330 static int scm_blk_init_hctx(struct blk_mq_hw_ctx *hctx, void *data, in scm_blk_init_hctx()
344 static void scm_blk_exit_hctx(struct blk_mq_hw_ctx *hctx, unsigned int idx) in scm_blk_exit_hctx()
/linux/drivers/block/
H A Dvirtio_blk.c131 static inline struct virtio_blk_vq *get_virtio_blk_vq(struct blk_mq_hw_ctx *hctx) in get_virtio_blk_vq()
213 static int virtblk_map_data(struct blk_mq_hw_ctx *hctx, struct request *req, in virtblk_map_data()
377 static void virtio_commit_rqs(struct blk_mq_hw_ctx *hctx) in virtio_commit_rqs()
404 static blk_status_t virtblk_prep_rq(struct blk_mq_hw_ctx *hctx, in virtblk_prep_rq()
426 static blk_status_t virtio_queue_rq(struct blk_mq_hw_ctx *hctx, in virtio_queue_rq()
1202 static int virtblk_poll(struct blk_mq_hw_ctx *hctx, struct io_comp_batch *iob) in virtblk_poll()
H A Dz2ram.c68 static blk_status_t z2_queue_rq(struct blk_mq_hw_ctx *hctx, in z2_queue_rq()
/linux/drivers/nvme/target/
H A Dloop.c133 static blk_status_t nvme_loop_queue_rq(struct blk_mq_hw_ctx *hctx, in nvme_loop_queue_rq()
218 static int nvme_loop_init_hctx(struct blk_mq_hw_ctx *hctx, void *data, in nvme_loop_init_hctx()
238 static int nvme_loop_init_admin_hctx(struct blk_mq_hw_ctx *hctx, void *data, in nvme_loop_init_admin_hctx()
/linux/drivers/block/rnbd/
H A Drnbd-clt.c1098 struct blk_mq_hw_ctx *hctx, in rnbd_clt_dev_kick_mq_queue()
1113 static blk_status_t rnbd_queue_rq(struct blk_mq_hw_ctx *hctx, in rnbd_queue_rq()
1160 static int rnbd_rdma_poll(struct blk_mq_hw_ctx *hctx, struct io_comp_batch *iob) in rnbd_rdma_poll()
1313 struct blk_mq_hw_ctx *hctx) in rnbd_init_hw_queue()
1323 struct blk_mq_hw_ctx *hctx; in rnbd_init_mq_hw_queues() local
/linux/drivers/char/tpm/
H A Dtpm2-sessions.c442 struct hmac_sha256_ctx hctx; in tpm2_KDFa() local
593 struct hmac_sha256_ctx hctx; in tpm_buf_fill_hmac_session() local
767 struct hmac_sha256_ctx hctx; in tpm_buf_check_hmac_response() local

123