Home
last modified time | relevance | path

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

12

/linux-6.1.9/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;
307 struct closure sb_write;
427 struct closure prio;
514 struct closure cl;
534 struct closure caching;
536 struct closure sb_write;
679 struct closure uuid_write;
935 struct closure *cl) in closure_bio_submit()
999 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.h29 struct closure cl;
46 struct closure *parent);
Djournal.c30 struct closure *cl = bio->bi_private; in journal_read_endio()
43 struct closure cl; in journal_read_bucket()
725 static void journal_write(struct closure *cl);
727 static void journal_write_done(struct closure *cl) in journal_write_done()
738 static void journal_write_unlock(struct closure *cl) in journal_write_unlock()
747 static void journal_write_unlocked(struct closure *cl) in journal_write_unlocked()
825 static void journal_write(struct closure *cl) in journal_write()
836 struct closure *cl = &c->journal.io; in journal_try_write()
854 struct closure cl; in journal_wait_for_write()
925 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()
Dutil.h18 struct closure;
/linux-6.1.9/include/uapi/linux/
Dfirewire-cdev.h62 __u64 closure; member
86 __u64 closure; member
117 __u64 closure; member
139 __u64 closure; member
198 __u64 closure; member
264 __u64 closure; member
303 __u64 closure; member
330 __u64 closure; member
354 __u64 closure; member
515 __u64 closure; member
[all …]
/linux-6.1.9/drivers/gpu/drm/
Ddrm_edid.c2924 typedef void detailed_cb(const struct detailed_timing *timing, void *closure);
2927 cea_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure) in cea_for_each_detailed_block() argument
2938 cb((const struct detailed_timing *)(det_base + 18 * i), closure); in cea_for_each_detailed_block()
2942 vtb_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure) in vtb_for_each_detailed_block() argument
2951 cb((const struct detailed_timing *)(det_base + 18 * i), closure); in vtb_for_each_detailed_block()
2955 detailed_cb *cb, void *closure) in drm_for_each_detailed_block() argument
2965 cb(&drm_edid->edid->detailed_timings[i], closure); in drm_for_each_detailed_block()
2971 cea_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block()
2974 vtb_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block()
3577 struct detailed_mode_closure *closure = c; in do_inferred_modes() local
[all …]
/linux-6.1.9/drivers/firewire/
Dcore-cdev.c101 __u64 closure; member
346 event->closure = client->bus_reset_closure; in fill_bus_reset_event()
597 e->response.closure = request->closure; in init_request()
719 req->closure = handler->closure; in handle_request()
733 req->closure = handler->closure; in handle_request()
782 r->closure = a->closure; in ioctl_allocate()
923 e->interrupt.closure = client->iso_closure; in iso_callback()
942 e->interrupt.closure = client->iso_closure; in iso_mc_callback()
1039 client->iso_closure = a->closure; in ioctl_create_iso_context()
1393 e1->iso_resource.closure = request->closure; in init_iso_resource()
[all …]
/linux-6.1.9/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.1.9/include/sound/
Dseq_oss.h39 int (*open)(struct snd_seq_oss_arg *p, void *closure);
/linux-6.1.9/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.1.9/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.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h273 void *closure; /* caller's opaque information */ member

12