Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/md/bcache/
H A 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 …]
H A Dclosure.c16 static inline void closure_put_after_sub(struct closure *cl, int flags) in closure_put_after_sub()
35 struct closure *parent = cl->parent; in closure_put_after_sub()
50 void closure_sub(struct closure *cl, int v) in closure_sub()
58 void closure_put(struct closure *cl) in closure_put()
69 struct closure *cl, *t; in __closure_wake_up()
91 bool closure_wait(struct closure_waitlist *waitlist, struct closure *cl) in closure_wait()
108 static void closure_sync_fn(struct closure *cl) in closure_sync_fn()
120 void __sched __closure_sync(struct closure *cl) in __closure_sync()
142 void closure_debug_create(struct closure *cl) in closure_debug_create()
154 void closure_debug_destroy(struct closure *cl) in closure_debug_destroy()
[all …]
H A Djournal.h111 struct closure io;
170 struct closure;
177 struct closure *parent);
180 void bch_journal_meta(struct cache_set *c, struct closure *cl);
H A 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 …]
H 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()
H A 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);
H A Drequest.h6 struct closure cl;
37 void bch_data_insert(struct closure *cl);
H A Dstats.h28 struct closure cl;
45 struct closure *parent);
H A 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 …]
H A 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 …]
H 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);
H A 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 …]
H A 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()
H A DMakefile5 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
H A Dio.c170 struct closure *cl = bio->bi_private; in bch_bbio_endio()
/openbmc/linux/include/uapi/linux/
H A 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 …]
/openbmc/pyphosphor/obmc/utils/
H A Ddtree.py61 closure = ('<', '>')
64 closure = ('', '')
66 fd.write(closure[0])
74 fd.write(closure[1])
/openbmc/boost-dbus/include/dbus/detail/
H A Dqueue.hpp39 class closure { class in dbus::detail::queue
46 closure(handler_type h, Message m, in closure() function in dbus::detail::queue::closure
62 io.post(closure(h, m)); in push()
93 io.post(closure(init.handler, m)); in BOOST_ASIO_INITFN_RESULT_TYPE()
/openbmc/linux/drivers/firewire/
H A 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()
H A 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 …]
/openbmc/linux/drivers/gpu/drm/
H A 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 …]
/openbmc/linux/sound/drivers/opl3/
H 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()
/openbmc/skeleton/libopenbmc_intf/
H A Dopenbmc_intf.c202 GClosure *closure, in _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT() argument
215 GCClosure *cc = (GCClosure*) closure; in _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT()
222 if (G_CCLOSURE_SWAP_DATA (closure)) in _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT()
224 data1 = closure->data; in _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT()
230 data2 = closure->data; in _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT()
247 GClosure *closure, in _g_dbus_codegen_marshal_BOOLEAN__OBJECT() argument
259 GCClosure *cc = (GCClosure*) closure; in _g_dbus_codegen_marshal_BOOLEAN__OBJECT()
266 if (G_CCLOSURE_SWAP_DATA (closure)) in _g_dbus_codegen_marshal_BOOLEAN__OBJECT()
268 data1 = closure->data; in _g_dbus_codegen_marshal_BOOLEAN__OBJECT()
274 data2 = closure->data; in _g_dbus_codegen_marshal_BOOLEAN__OBJECT()
[all …]
/openbmc/linux/include/sound/
H A Dseq_oss.h39 int (*open)(struct snd_seq_oss_arg *p, void *closure);
/openbmc/linux/sound/synth/emux/
H 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()

12