/linux/include/linux/ |
H A D | closure.h | 105 struct closure; 143 struct closure { struct 154 struct closure *parent; argument 171 void closure_sub(struct closure *cl, int v); argument 172 void closure_put(struct closure *cl); 174 bool closure_wait(struct closure_waitlist *list, struct closure *cl); 175 void __closure_sync(struct closure *cl); 177 static inline unsigned closure_nr_remaining(struct closure *cl) in closure_nr_remaining() 188 static inline void closure_sync(struct closure *cl) in closure_sync() 198 int __closure_sync_timeout(struct closure *cl, unsigned long timeout); [all …]
|
/linux/include/uapi/linux/ |
H A D | firewire-cdev.h | 68 __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/lib/ |
H A D | closure.c | 30 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() 103 bool closure_wait(struct closure_waitlist *waitlist, struct closure *cl) in closure_wait() 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() 188 int __sched __closure_sync_timeout(struct closure *cl, unsigned long timeout) in __closure_sync_timeout() [all …]
|
/linux/drivers/md/bcache/ |
H A D | journal.h | 111 struct closure io; 170 struct closure; 177 struct closure *parent); 180 void bch_journal_meta(struct cache_set *c, struct closure *cl);
|
H A D | bcache.h | 251 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 D | stats.h | 28 struct closure cl; 45 struct closure *parent);
|
H A D | btree.h | 138 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 D | btree.c | 238 struct closure *cl = bio->bi_private; in btree_node_read_endio() 246 struct closure cl; in bch_btree_node_read() 328 struct closure *cl = bio->bi_private; in btree_node_write_endio() 340 struct closure *cl = &b->io; in do_btree_node_write() 403 void __bch_btree_node_write(struct btree *b, struct closure *parent) in __bch_btree_node_write() 434 void bch_btree_node_write(struct btree *b, struct closure *parent) in bch_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() [all …]
|
H A D | request.h | 6 struct closure cl;
|
H A D | journal.c | 30 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 D | super.c | 337 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent) in bch_write_bdev_super() 339 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() 458 static char *uuid_read(struct cache_set *c, struct jset *j, struct closure *cl) in uuid_read() 502 struct closure cl; in __uuid_write() 592 struct closure *cl = &ca->prio; in prio_io() 614 struct closure cl; in bch_prio_write() [all …]
|
H A D | movinggc.c | 16 struct closure cl; 131 struct closure cl; in read_moving()
|
/linux/drivers/firewire/ |
H A D | uapi-test.c | 22 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 D | core-cdev.c | 104 __u64 closure; member 384 event->closure = client->bus_reset_closure; in fill_bus_reset_event() 655 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() 990 e->interrupt.closure = client->iso_closure; in iso_callback() 1009 e->interrupt.closure = client->iso_closure; in iso_mc_callback() [all …]
|
/linux/fs/bcachefs/ |
H A D | alloc_foreground.h | 40 struct closure *); 163 struct closure *); 172 struct closure *, 235 void __bch2_wait_on_allocator(struct bch_fs *, struct closure *); 236 static inline void bch2_wait_on_allocator(struct bch_fs *c, struct closure *cl) in bch2_wait_on_allocator()
|
H A D | alloc_foreground.c | 214 struct closure *cl) in __try_alloc_bucket() 282 struct closure *cl) in try_alloc_bucket() 390 struct closure *cl) in bch2_bucket_alloc_early() 483 struct closure *cl) in bch2_bucket_alloc_freelist() 555 struct closure *cl, in trace_bucket_alloc2() 606 struct closure *cl, in bch2_bucket_alloc_trans() 686 struct closure *cl) in bch2_bucket_alloc() 785 struct closure *cl) in bch2_bucket_alloc_set_trans() 850 struct closure *cl) in bucket_alloc_from_stripe() 1015 struct closure *_cl) in __open_bucket_add_buckets() [all …]
|
H A D | ec.h | 166 struct closure iodone; 223 enum bch_watermark, struct closure *);
|
H A D | journal.h | 401 int bch2_journal_flush_seq_async(struct journal *, u64, struct closure *); 402 void bch2_journal_flush_async(struct journal *, struct closure *);
|
H A D | move.h | 26 struct closure cl;
|
H A D | btree_cache.h | 31 int bch2_btree_cache_cannibalize_lock(struct btree_trans *, struct closure *);
|
H A D | fs-io.h | 160 struct bch_inode_info *, struct closure *);
|
/linux/drivers/gpu/drm/ |
H A D | drm_edid.c | 3066 typedef void detailed_cb(const struct detailed_timing *timing, void *closure); 3069 cea_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure) in cea_for_each_detailed_block() argument 3080 cb((const struct detailed_timing *)(det_base + 18 * i), closure); in cea_for_each_detailed_block() 3084 vtb_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure) in vtb_for_each_detailed_block() argument 3093 cb((const struct detailed_timing *)(det_base + 18 * i), closure); in vtb_for_each_detailed_block() 3097 detailed_cb *cb, void *closure) in drm_for_each_detailed_block() argument 3107 cb(&drm_edid->edid->detailed_timings[i], closure); in drm_for_each_detailed_block() 3113 cea_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block() 3116 vtb_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block() 3806 struct detailed_mode_closure *closure = c; in do_inferred_modes() local [all …]
|
/linux/sound/drivers/opl3/ |
H A D | opl3_oss.c | 11 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/sound/synth/emux/ |
H A D | emux_oss.c | 19 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()
|
/linux/include/sound/ |
H A D | seq_oss.h | 39 int (*open)(struct snd_seq_oss_arg *p, void *closure);
|