Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/md/bcache/
Dclosure.h105 struct closure;
107 typedef void (closure_fn) (struct closure *);
143 struct closure { struct
154 struct closure *parent; argument
169 void closure_sub(struct closure *cl, int v); argument
170 void closure_put(struct closure *cl);
172 bool closure_wait(struct closure_waitlist *list, struct closure *cl);
173 void __closure_sync(struct closure *cl);
181 static inline void closure_sync(struct closure *cl) in closure_sync()
190 void closure_debug_create(struct closure *cl);
[all …]
Dclosure.c16 static inline void closure_put_after_sub(struct closure *cl, int flags) in closure_put_after_sub()
29 struct closure *parent = cl->parent; in closure_put_after_sub()
44 void closure_sub(struct closure *cl, int v) in closure_sub()
52 void closure_put(struct closure *cl) in closure_put()
63 struct closure *cl, *t; in __closure_wake_up()
85 bool closure_wait(struct closure_waitlist *waitlist, struct closure *cl) in closure_wait()
102 static void closure_sync_fn(struct closure *cl) in closure_sync_fn()
114 void __sched __closure_sync(struct closure *cl) in __closure_sync()
136 void closure_debug_create(struct closure *cl) in closure_debug_create()
148 void closure_debug_destroy(struct closure *cl) in closure_debug_destroy()
[all …]
Djournal.h111 struct closure io;
170 struct closure;
177 struct closure *parent);
180 void bch_journal_meta(struct cache_set *c, struct closure *cl);
Drequest.c28 static void bch_data_insert_start(struct closure *cl);
58 static void bch_data_insert_keys(struct closure *cl) in bch_data_insert_keys()
108 static void bch_data_invalidate(struct closure *cl) in bch_data_invalidate()
139 static void bch_data_insert_error(struct closure *cl) in bch_data_insert_error()
171 struct closure *cl = bio->bi_private; in bch_data_insert_endio()
187 static void bch_data_insert_start(struct closure *cl) in bch_data_insert_start()
308 void bch_data_insert(struct closure *cl) in bch_data_insert()
465 struct closure cl;
488 struct closure *cl = bio->bi_private; in bch_cache_read_endio()
578 static void cache_lookup(struct closure *cl) in cache_lookup()
[all …]
Dmovinggc.c16 struct closure cl;
38 static void moving_io_destructor(struct closure *cl) in moving_io_destructor()
45 static void write_moving_finish(struct closure *cl) in write_moving_finish()
92 static void write_moving(struct closure *cl) in write_moving()
116 static void read_moving_submit(struct closure *cl) in read_moving_submit()
131 struct closure cl; in read_moving()
Dbcache.h250 struct closure cl;
308 struct closure sb_write;
428 struct closure prio;
515 struct closure cl;
535 struct closure caching;
537 struct closure sb_write;
680 struct closure uuid_write;
936 struct closure *cl) in closure_bio_submit()
1000 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent);
Drequest.h6 struct closure cl;
37 void bch_data_insert(struct closure *cl);
Dstats.h28 struct closure cl;
45 struct closure *parent);
Djournal.c30 struct closure *cl = bio->bi_private; in journal_read_endio()
43 struct closure cl; in journal_read_bucket()
726 static void journal_write(struct closure *cl);
728 static void journal_write_done(struct closure *cl) in journal_write_done()
739 static void journal_write_unlock(struct closure *cl) in journal_write_unlock()
748 static void journal_write_unlocked(struct closure *cl) in journal_write_unlocked()
826 static void journal_write(struct closure *cl) in journal_write()
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()
[all …]
Dsuper.c330 static void bch_write_bdev_super_unlock(struct closure *cl) in bch_write_bdev_super_unlock()
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()
366 static void bcache_write_super_unlock(struct closure *cl) in bcache_write_super_unlock()
375 struct closure *cl = &c->sb_write; in bcache_write_super()
402 struct closure *cl = bio->bi_private; in uuid_endio()
410 static void uuid_io_unlock(struct closure *cl) in uuid_io_unlock()
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()
[all …]
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);
Dwriteback.c323 struct closure cl;
344 static void dirty_io_destructor(struct closure *cl) in dirty_io_destructor()
351 static void write_dirty_finish(struct closure *cl) in write_dirty_finish()
403 static void write_dirty(struct closure *cl) in write_dirty()
465 static void read_dirty_submit(struct closure *cl) in read_dirty_submit()
481 struct closure cl; in read_dirty()
787 struct closure cl; in bch_writeback_thread()
Dbtree.c238 struct closure *cl = bio->bi_private; in btree_node_read_endio()
246 struct closure cl; in bch_btree_node_read()
296 static void btree_node_write_unlock(struct closure *cl) in btree_node_write_unlock()
303 static void __btree_node_write_done(struct closure *cl) in __btree_node_write_done()
318 static void btree_node_write_done(struct closure *cl) in btree_node_write_done()
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()
[all …]
DMakefile5 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
Dio.c170 struct closure *cl = bio->bi_private; in bch_bbio_endio()
Dstats.c223 struct closure *parent) in bch_cache_accounting_init()
/linux-6.6.21/include/uapi/linux/
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.6.21/drivers/firewire/
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()
Dcore-cdev.c102 __u64 closure; member
358 event->closure = client->bus_reset_closure; in fill_bus_reset_event()
637 rsp->closure = request->closure; in init_request()
644 rsp->closure = request->closure; in init_request()
754 req->closure = handler->closure; in handle_request()
768 req->closure = handler->closure; in handle_request()
782 req->closure = handler->closure; in handle_request()
833 r->closure = a->closure; in ioctl_allocate()
976 e->interrupt.closure = client->iso_closure; in iso_callback()
995 e->interrupt.closure = client->iso_closure; in iso_mc_callback()
[all …]
/linux-6.6.21/drivers/gpu/drm/
Ddrm_edid.c3031 typedef void detailed_cb(const struct detailed_timing *timing, void *closure);
3034 cea_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure) in cea_for_each_detailed_block() argument
3045 cb((const struct detailed_timing *)(det_base + 18 * i), closure); in cea_for_each_detailed_block()
3049 vtb_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure) in vtb_for_each_detailed_block() argument
3058 cb((const struct detailed_timing *)(det_base + 18 * i), closure); in vtb_for_each_detailed_block()
3062 detailed_cb *cb, void *closure) in drm_for_each_detailed_block() argument
3072 cb(&drm_edid->edid->detailed_timings[i], closure); in drm_for_each_detailed_block()
3078 cea_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block()
3081 vtb_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block()
3770 struct detailed_mode_closure *closure = c; in do_inferred_modes() local
[all …]
/linux-6.6.21/sound/drivers/opl3/
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.6.21/include/sound/
Dseq_oss.h39 int (*open)(struct snd_seq_oss_arg *p, void *closure);
/linux-6.6.21/sound/synth/emux/
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()
/linux-6.6.21/Documentation/input/devices/
Datarikbd.rst29 closure) codes start at 1, and are defined in Appendix A. For example, the
459 Enter JOYSTICK EVENT REPORTING mode (DEFAULT). Each opening or closure of a
528 TX ; length (in tenths of seconds) of joystick closure
531 TY ; length (in tenths of seconds) of joystick closure
534 VX ; length (in tenths of seconds) of joystick closure
537 VY ; length (in tenths of seconds) of joystick closure
542 On initial closure, a keystroke pair (make/break) is generated. Then up to Rn
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h273 void *closure; /* caller's opaque information */ member

12