Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
Drequest.h6 struct closure cl;
37 void bch_data_insert(struct closure *cl);
Dbcache.h250 struct closure cl;
307 struct closure sb_write;
419 struct closure prio;
508 struct closure cl;
528 struct closure caching;
530 struct closure sb_write;
673 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);
Dstats.h30 struct closure cl;
47 struct closure *parent);
Djournal.c30 struct closure *cl = bio->bi_private; in journal_read_endio()
43 struct closure cl; in journal_read_bucket()
729 static void journal_write(struct closure *cl);
731 static void journal_write_done(struct closure *cl) in journal_write_done()
742 static void journal_write_unlock(struct closure *cl) in journal_write_unlock()
751 static void journal_write_unlocked(struct closure *cl) in journal_write_unlocked()
831 static void journal_write(struct closure *cl) in journal_write()
842 struct closure *cl = &c->journal.io; in journal_try_write()
860 struct closure cl; in journal_wait_for_write()
931 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()
367 static void bcache_write_super_unlock(struct closure *cl) in bcache_write_super_unlock()
376 struct closure *cl = &c->sb_write; in bcache_write_super()
404 struct closure *cl = bio->bi_private; in uuid_endio()
412 static void uuid_io_unlock(struct closure *cl) in uuid_io_unlock()
420 struct bkey *k, struct closure *parent) in uuid_io()
422 struct closure *cl = &c->uuid_write; in uuid_io()
460 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);
DMakefile5 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
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 …]
Dwriteback.c277 struct closure cl;
298 static void dirty_io_destructor(struct closure *cl) in dirty_io_destructor()
305 static void write_dirty_finish(struct closure *cl) in write_dirty_finish()
357 static void write_dirty(struct closure *cl) in write_dirty()
419 static void read_dirty_submit(struct closure *cl) in read_dirty_submit()
435 struct closure cl; in read_dirty()
Dio.c169 struct closure *cl = bio->bi_private; in bch_bbio_endio()
Dstats.c236 struct closure *parent) in bch_cache_accounting_init()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dfirewire-cdev.h35 __u64 closure; member
39 __u64 closure; member
49 __u64 closure; member
56 __u64 closure; member
65 __u64 closure; member
78 __u64 closure; member
85 __u64 closure; member
90 __u64 closure; member
97 __u64 closure; member
151 __u64 closure; member
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dfirewire-cdev.h22 __u64 closure; member
26 __u64 closure; member
36 __u64 closure; member
43 __u64 closure; member
52 __u64 closure; member
65 __u64 closure; member
72 __u64 closure; member
77 __u64 closure; member
84 __u64 closure; member
138 __u64 closure; member
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_edid.c2262 typedef void detailed_cb(struct detailed_timing *timing, void *closure);
2265 cea_for_each_detailed_block(u8 *ext, detailed_cb *cb, void *closure) in cea_for_each_detailed_block() argument
2276 cb((struct detailed_timing *)(det_base + 18 * i), closure); in cea_for_each_detailed_block()
2280 vtb_for_each_detailed_block(u8 *ext, detailed_cb *cb, void *closure) in vtb_for_each_detailed_block() argument
2289 cb((struct detailed_timing *)(det_base + 18 * i), closure); in vtb_for_each_detailed_block()
2293 drm_for_each_detailed_block(u8 *raw_edid, detailed_cb *cb, void *closure) in drm_for_each_detailed_block() argument
2302 cb(&(edid->detailed_timings[i]), closure); in drm_for_each_detailed_block()
2309 cea_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block()
2312 vtb_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block()
2903 struct detailed_mode_closure *closure = c; in do_inferred_modes() local
[all …]
/kernel/linux/linux-5.10/drivers/firewire/
Dcore-cdev.c100 __u64 closure; member
345 event->closure = client->bus_reset_closure; in fill_bus_reset_event()
596 e->response.closure = request->closure; in init_request()
718 req->closure = handler->closure; in handle_request()
732 req->closure = handler->closure; in handle_request()
781 r->closure = a->closure; in ioctl_allocate()
924 e->interrupt.closure = client->iso_closure; in iso_callback()
943 e->interrupt.closure = client->iso_closure; in iso_mc_callback()
1021 client->iso_closure = a->closure; in ioctl_create_iso_context()
1373 e1->iso_resource.closure = request->closure; in init_iso_resource()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/sound/
Dseq_oss.h39 int (*open)(struct snd_seq_oss_arg *p, void *closure);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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

12