Home
last modified time | relevance | path

Searched refs:closure (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.15/include/linux/
H A Dclosure.h105 struct closure;
143 struct closure { struct
154 struct closure *parent; argument
172 void closure_put(struct closure *cl);
309 static inline void closure_init(struct closure *cl, struct closure *parent) in closure_init()
325 memset(cl, 0, sizeof(struct closure)); in closure_init_stack()
334 memset(cl, 0, sizeof(struct closure)); in closure_init_stack_release()
354 struct closure *cl = container_of(ws, struct closure, work); \
429 struct closure *parent) in closure_call()
437 struct closure cl; \
[all …]
/linux-6.15/include/uapi/linux/
H A Dfirewire-cdev.h68 __u64 closure; member
92 __u64 closure; member
116 __u64 closure; member
155 __u64 closure; member
180 __u64 closure; member
207 __u64 closure; member
278 __u64 closure; member
346 __u64 closure; member
385 __u64 closure; member
412 __u64 closure; member
[all …]
/linux-6.15/lib/
H A Dclosure.c30 static inline void closure_put_after_sub(struct closure *cl, int flags) in closure_put_after_sub()
44 struct closure *parent = cl->parent; in closure_put_after_sub()
59 void closure_sub(struct closure *cl, int v) in closure_sub()
68 void closure_put(struct closure *cl) in closure_put()
80 struct closure *cl, *t; in __closure_wake_up()
124 struct closure *cl = container_of(ws, struct closure, work); in CLOSURE_CALLBACK()
135 void __sched __closure_sync(struct closure *cl) in __closure_sync()
160 void __sched closure_return_sync(struct closure *cl) in closure_return_sync()
230 void closure_debug_create(struct closure *cl) in closure_debug_create()
243 void closure_debug_destroy(struct closure *cl) in closure_debug_destroy()
[all …]
/linux-6.15/drivers/md/bcache/
H A Djournal.h111 struct closure io;
170 struct closure;
177 struct closure *parent);
180 void bch_journal_meta(struct cache_set *c, struct closure *cl);
H A Dbcache.h251 struct closure cl;
310 struct closure sb_write;
431 struct closure prio;
518 struct closure cl;
538 struct closure caching;
540 struct closure sb_write;
683 struct closure uuid_write;
939 struct closure *cl) in closure_bio_submit()
1003 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent);
H A Dstats.h28 struct closure cl;
45 struct closure *parent);
H A Dbtree.h138 struct closure io;
264 void __bch_btree_node_write(struct btree *b, struct closure *parent);
265 void bch_btree_node_write(struct btree *b, struct closure *parent);
H A Drequest.h6 struct closure cl;
H A Drequest.c108 static void bch_data_invalidate(struct closure *cl) in bch_data_invalidate()
171 struct closure *cl = bio->bi_private; in bch_data_insert_endio()
479 struct closure cl;
502 struct closure *cl = bio->bi_private; in bch_cache_read_endio()
637 struct closure *cl = bio->bi_private; in request_endio()
653 struct closure *cl = bio->bi_private; in backing_request_endio()
964 struct closure *cl = &s->cl; in cached_dev_read()
983 struct closure *cl = &s->cl; in cached_dev_write()
1295 struct closure *cl; in flash_dev_submit_bio()
H A Dbtree.c238 struct closure *cl = bio->bi_private; in btree_node_read_endio()
246 struct closure cl; in bch_btree_node_read()
340 struct closure *cl = &b->io; in do_btree_node_write()
454 struct closure cl; in bch_btree_node_write_sync()
610 struct closure cl; in mca_reap()
751 struct closure cl; in bch_btree_cache_free()
1369 struct closure cl; in btree_gc_coalesce()
1837 struct closure writes; in bch_btree_gc()
2257 struct closure cl; in btree_split()
2389 struct closure cl; in bch_btree_insert_node()
[all …]
H A Djournal.c30 struct closure *cl = bio->bi_private; in journal_read_endio()
43 struct closure cl; in journal_read_bucket()
837 struct closure *cl = &c->journal.io; in journal_try_write()
855 struct closure cl; in journal_wait_for_write()
926 struct closure *parent) in bch_journal()
962 void bch_journal_meta(struct cache_set *c, struct closure *cl) in bch_journal_meta()
H A Dmovinggc.c16 struct closure cl;
131 struct closure cl; in read_moving()
H A Dsuper.c339 struct closure *cl = &dc->sb_write; in bch_write_bdev_super()
375 struct closure *cl = &c->sb_write; in bcache_write_super()
402 struct closure *cl = bio->bi_private; in uuid_endio()
418 struct closure *parent) in uuid_io()
420 struct closure *cl = &c->uuid_write; in uuid_io()
502 struct closure cl; in __uuid_write()
592 struct closure *cl = &ca->prio; in prio_io()
614 struct closure cl; in bch_prio_write()
1068 struct closure cl; in bch_cached_dev_run()
1256 struct closure cl; in bch_cached_dev_attach()
[all …]
/linux-6.15/drivers/firewire/
H A Duapi-test.c22 KUNIT_EXPECT_EQ(test, 0, offsetof(struct fw_cdev_event_response, closure)); in structure_layout_event_response()
34 KUNIT_EXPECT_EQ(test, 0, offsetof(struct fw_cdev_event_request3, closure)); in structure_layout_event_request3()
53 KUNIT_EXPECT_EQ(test, 0, offsetof(struct fw_cdev_event_response2, closure)); in structure_layout_event_response2()
67 KUNIT_EXPECT_EQ(test, 0, offsetof(struct fw_cdev_event_phy_packet2, closure)); in structure_layout_event_phy_packet2()
H A Dcore-cdev.c655 rsp->closure = request->closure; in init_request()
662 rsp->closure = request->closure; in init_request()
771 req->closure = handler->closure; in handle_request()
785 req->closure = handler->closure; in handle_request()
799 req->closure = handler->closure; in handle_request()
849 r->closure = a->closure; in ioctl_allocate()
1447 e1->iso_resource.closure = request->closure; in init_iso_resource()
1449 e2->iso_resource.closure = request->closure; in init_iso_resource()
1547 request.closure = a->closure; in ioctl_send_stream_packet()
1647 pp->closure = a->closure; in ioctl_send_phy_packet()
[all …]
/linux-6.15/fs/bcachefs/
H A Dalloc_foreground.h55 struct closure *);
180 struct closure *);
189 struct closure *,
252 void __bch2_wait_on_allocator(struct bch_fs *, struct closure *);
253 static inline void bch2_wait_on_allocator(struct bch_fs *c, struct closure *cl) in bch2_wait_on_allocator()
H A Dalloc_foreground.c213 struct closure *cl) in __try_alloc_bucket()
265 struct closure *cl) in try_alloc_bucket()
291 struct closure *cl) in bch2_bucket_alloc_early()
384 struct closure *cl) in bch2_bucket_alloc_freelist()
459 struct closure *cl, in trace_bucket_alloc2()
730 struct closure *cl) in bch2_bucket_alloc_set_trans()
791 struct closure *cl) in bucket_alloc_from_stripe()
950 struct closure *_cl) in __open_bucket_add_buckets()
955 struct closure *cl = NULL; in __open_bucket_add_buckets()
1018 struct closure *cl) in open_bucket_add_buckets()
[all …]
H A Djournal_types.h28 struct closure io;
333 struct closure read;
H A Dio_write_types.h41 struct closure cl;
H A Dec.h203 struct closure iodone;
260 enum bch_watermark, struct closure *);
/linux-6.15/drivers/gpu/drm/
H A Ddrm_edid.c3813 closure->modes += drm_dmt_modes_for_range(closure->connector, in do_inferred_modes()
3822 closure->modes += drm_gtf2_modes_for_range(closure->connector, in do_inferred_modes()
3827 closure->modes += drm_gtf_modes_for_range(closure->connector, in do_inferred_modes()
3835 closure->modes += drm_cvt_modes_for_range(closure->connector, in do_inferred_modes()
3896 closure->modes += drm_est3_modes(closure->connector, timing); in do_established_modes()
3932 &closure); in add_established_modes()
3955 closure->modes++; in do_standard_modes()
3987 &closure); in add_standard_modes()
4054 closure->modes += drm_cvt_modes(closure->connector, timing); in do_cvt_mode()
4101 closure->modes++; in do_detailed_mode()
[all …]
/linux-6.15/sound/drivers/opl3/
H A Dopl3_oss.c11 static int snd_opl3_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure);
131 static int snd_opl3_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure) in snd_opl3_open_seq_oss() argument
133 struct snd_opl3 *opl3 = closure; in snd_opl3_open_seq_oss()
/linux-6.15/rust/pin-init/
H A DREADME.md132 [`impl PinInit<T, E>`] directly from a closure. Of course you have to ensure that the closure
134 (we are calling the parameter to the closure `slot`):
135 - when the closure returns `Ok(())`, then it has completed the initialization successfully, so
137 - when the closure returns `Err(e)`, then the caller may deallocate the memory at `slot`, so
139 - you may assume that `slot` will stay pinned even after the closure returns until `drop` of
178 // - when the closure returns `Ok(())`, then it has successfully initialized and
/linux-6.15/include/sound/
H A Dseq_oss.h39 int (*open)(struct snd_seq_oss_arg *p, void *closure);
/linux-6.15/sound/synth/emux/
H A Demux_oss.c19 static int snd_emux_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure);
96 snd_emux_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure) in snd_emux_open_seq_oss() argument
103 emu = closure; in snd_emux_open_seq_oss()

123