Home
last modified time | relevance | path

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

12

/linux/drivers/md/bcache/
A Dclosure.h105 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);
173 void __closure_sync(struct closure *cl);
244 BUILD_BUG_ON(offsetof(struct closure, fn) in closure_queue()
272 static inline void closure_init(struct closure *cl, struct closure *parent) in closure_init()
274 memset(cl, 0, sizeof(struct closure)); in closure_init()
287 memset(cl, 0, sizeof(struct closure)); in closure_init_stack()
[all …]
A 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 …]
A Drequest.c171 struct closure *cl = bio->bi_private; in bch_data_insert_endio()
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()
623 struct closure *cl = bio->bi_private; in request_endio()
639 struct closure *cl = bio->bi_private; in backing_request_endio()
702 static void search_free(struct closure *cl) in search_free()
952 struct closure *cl = &s->cl; in cached_dev_read()
971 struct closure *cl = &s->cl; in cached_dev_write()
[all …]
A Djournal.h110 struct closure io;
169 struct closure;
176 struct closure *parent);
179 void bch_journal_meta(struct cache_set *c, struct closure *cl);
A 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()
A Dbcache.h250 struct closure cl;
307 struct closure sb_write;
420 struct closure prio;
507 struct closure cl;
527 struct closure caching;
529 struct closure sb_write;
672 struct closure uuid_write;
928 struct closure *cl) in closure_bio_submit()
992 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent);
A Drequest.h6 struct closure cl;
37 void bch_data_insert(struct closure *cl);
A Djournal.c30 struct closure *cl = bio->bi_private; in journal_read_endio()
43 struct closure cl; in journal_read_bucket()
708 static void journal_write(struct closure *cl);
710 static void journal_write_done(struct closure *cl) in journal_write_done()
721 static void journal_write_unlock(struct closure *cl) in journal_write_unlock()
730 static void journal_write_unlocked(struct closure *cl) in journal_write_unlocked()
810 static void journal_write(struct closure *cl) in journal_write()
821 struct closure *cl = &c->journal.io; in journal_try_write()
839 struct closure cl; in journal_wait_for_write()
910 struct closure *parent) in bch_journal()
[all …]
A Dstats.h29 struct closure cl;
46 struct closure *parent);
A Dsuper.c340 struct closure *cl = &dc->sb_write; in bch_write_bdev_super()
377 struct closure *cl = &c->sb_write; in bcache_write_super()
405 struct closure *cl = bio->bi_private; in uuid_endio()
421 struct bkey *k, struct closure *parent) in uuid_io()
423 struct closure *cl = &c->uuid_write; in uuid_io()
505 struct closure cl; in __uuid_write()
596 struct closure *cl = &ca->prio; in prio_io()
618 struct closure cl; in bch_prio_write()
1074 struct closure cl; in bch_cached_dev_run()
1262 struct closure cl; in bch_cached_dev_attach()
[all …]
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()
589 struct closure cl; in mca_reap()
730 struct closure cl; in bch_btree_cache_free()
1332 struct closure cl; in btree_gc_coalesce()
1790 struct closure writes; in bch_btree_gc()
2198 struct closure cl; in btree_split()
2330 struct closure cl; in bch_btree_insert_node()
[all …]
A Dwriteback.c284 struct closure cl;
305 static void dirty_io_destructor(struct closure *cl) in dirty_io_destructor()
312 static void write_dirty_finish(struct closure *cl) in write_dirty_finish()
364 static void write_dirty(struct closure *cl) in write_dirty()
426 static void read_dirty_submit(struct closure *cl) in read_dirty_submit()
442 struct closure cl; in read_dirty()
745 struct closure cl; in bch_writeback_thread()
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);
A DMakefile5 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
A Dio.c169 struct closure *cl = bio->bi_private; in bch_bbio_endio()
A Dstats.c222 struct closure *parent) in bch_cache_accounting_init()
A Dutil.h18 struct closure;
/linux/include/uapi/linux/
A 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/drivers/gpu/drm/
A Ddrm_edid.c2993 closure->modes += drm_dmt_modes_for_range(closure->connector, in do_inferred_modes()
2994 closure->edid, in do_inferred_modes()
3003 closure->modes += drm_gtf_modes_for_range(closure->connector, in do_inferred_modes()
3011 closure->modes += drm_cvt_modes_for_range(closure->connector, in do_inferred_modes()
3031 &closure); in add_inferred_modes()
3073 closure->modes += drm_est3_modes(closure->connector, timing); in do_established_modes()
3135 closure->modes++; in do_standard_modes()
3170 &closure); in add_standard_modes()
3237 closure->modes += drm_cvt_modes(closure->connector, timing); in do_cvt_mode()
3284 closure->modes++; in do_detailed_mode()
[all …]
/linux/drivers/firewire/
A Dcore-cdev.c101 __u64 closure; member
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()
1039 client->iso_closure = a->closure; in ioctl_create_iso_context()
1391 e1->iso_resource.closure = request->closure; in init_iso_resource()
1393 e2->iso_resource.closure = request->closure; in init_iso_resource()
1491 request.closure = a->closure; in ioctl_send_stream_packet()
1547 e->phy_packet.closure = a->closure; in ioctl_send_phy_packet()
[all …]
/linux/sound/drivers/opl3/
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/sound/synth/emux/
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()
/linux/include/sound/
A Dseq_oss.h39 int (*open)(struct snd_seq_oss_arg *p, void *closure);
/linux/Documentation/input/devices/
A 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/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_uld.h273 void *closure; /* caller's opaque information */ member

Completed in 59 milliseconds

12