| /linux/include/linux/ |
| H A D | closure.h | 105 struct closure; 143 struct closure { struct 154 struct closure *parent; argument 171 void closure_sub(struct closure *cl, int v); argument 172 void closure_put(struct closure *cl); 174 bool closure_wait(struct closure_waitlist *list, struct closure *cl); 175 void __closure_sync(struct closure *cl); 177 static inline unsigned closure_nr_remaining(struct closure *cl) in closure_nr_remaining() 188 static inline void closure_sync(struct closure *cl) in closure_sync() 198 int __closure_sync_timeout(struct closure *cl, unsigned long timeout); [all …]
|
| /linux/lib/ |
| H A D | closure.c | 30 static inline void closure_put_after_sub(struct closure *cl, int flags) in closure_put_after_sub() 44 struct closure *parent = cl->parent; in closure_put_after_sub() 59 void closure_sub(struct closure *cl, int v) in closure_sub() 68 void closure_put(struct closure *cl) in closure_put() 80 struct closure *cl, *t; in __closure_wake_up() 103 bool closure_wait(struct closure_waitlist *waitlist, struct closure *cl) in closure_wait() 124 struct closure *cl = container_of(ws, struct closure, work); in CLOSURE_CALLBACK() 135 void __sched __closure_sync(struct closure *cl) in __closure_sync() 160 void __sched closure_return_sync(struct closure *cl) in closure_return_sync() 188 int __sched __closure_sync_timeout(struct closure *cl, unsigned long timeout) in __closure_sync_timeout() [all …]
|
| H A D | Makefile | 224 obj-$(CONFIG_CLOSURES) += closure.o
|
| /linux/drivers/firewire/ |
| H A D | uapi-test.c | 22 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 D | core-cdev.c | 107 __u64 closure; member 388 event->closure = client->bus_reset_closure; in fill_bus_reset_event() 659 rsp->closure = request->closure; in init_request() 666 rsp->closure = request->closure; in init_request() 775 req->closure = handler->closure; in handle_request() 789 req->closure = handler->closure; in handle_request() [all...] |
| /linux/drivers/gpu/drm/ |
| H A D | drm_edid.c | 3091 typedef void detailed_cb(const struct detailed_timing *timing, void *closure); 3094 cea_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure) in cea_for_each_detailed_block() argument 3105 cb((const struct detailed_timing *)(det_base + 18 * i), closure); in cea_for_each_detailed_block() 3109 vtb_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure) in vtb_for_each_detailed_block() argument 3118 cb((const struct detailed_timing *)(det_base + 18 * i), closure); in vtb_for_each_detailed_block() 3122 detailed_cb *cb, void *closure) in drm_for_each_detailed_block() argument 3132 cb(&drm_edid->edid->detailed_timings[i], closure); in drm_for_each_detailed_block() 3138 cea_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block() 3141 vtb_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block() 3830 struct detailed_mode_closure *closure in do_inferred_modes() local 3872 struct detailed_mode_closure closure = { add_inferred_modes() local 3915 struct detailed_mode_closure *closure = c; do_established_modes() local 3937 struct detailed_mode_closure closure = { add_established_modes() local 3964 struct detailed_mode_closure *closure = c; do_standard_modes() local 3993 struct detailed_mode_closure closure = { add_standard_modes() local 4073 struct detailed_mode_closure *closure = c; do_cvt_mode() local 4084 struct detailed_mode_closure closure = { add_cvt_modes() local 4103 struct detailed_mode_closure *closure = c; do_detailed_mode() local 4137 struct detailed_mode_closure closure = { add_detailed_modes() local 5515 struct drm_edid_match_closure *closure = data; match_identity() local 5558 struct drm_edid_match_closure closure = { drm_edid_match() local 6474 struct detailed_mode_closure *closure = c; get_monitor_range() local 6511 struct detailed_mode_closure closure = { drm_get_monitor_range() local [all...] |
| /linux/drivers/md/bcache/ |
| H A D | bcache.h | 251 struct closure cl; 312 struct closure sb_write; 433 struct closure prio; 517 struct closure cl; 537 struct closure caching; 539 struct closure sb_write; 683 struct closure uuid_write; 946 struct closure *cl) in closure_bio_submit() 1010 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent);
|
| H A D | stats.h | 28 struct closure cl; 45 struct closure *parent);
|
| H A D | btree.h | 138 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 D | request.c | 108 static void bch_data_invalidate(struct closure *cl) in bch_data_invalidate() 171 struct closure *cl = bio->bi_private; in bch_data_insert_endio() 479 struct closure cl; 502 struct closure *cl = bio->bi_private; in bch_cache_read_endio() 637 struct closure *cl = bio->bi_private; in request_endio() 653 struct closure *cl = bio->bi_private; in backing_request_endio() 964 struct closure *cl = &s->cl; in cached_dev_read() 983 struct closure *cl = &s->cl; in cached_dev_write() 1282 struct closure *cl; in flash_dev_submit_bio()
|
| H A D | btree.c | 238 struct closure *cl = bio->bi_private; in btree_node_read_endio() 246 struct closure cl; in bch_btree_node_read() 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() 608 struct closure cl; in mca_reap() 749 struct closure cl; in bch_btree_cache_free() 1365 struct closure cl; in btree_gc_coalesce() [all …]
|
| H A D | request.h | 6 struct closure cl;
|
| H A D | super.c | 336 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent) in bch_write_bdev_super() 338 struct closure *cl = &dc->sb_write; in bch_write_bdev_super() 374 struct closure *cl = &c->sb_write; in bcache_write_super() 401 struct closure *cl = bio->bi_private; in uuid_endio() 417 struct closure *parent) in uuid_io() 419 struct closure *cl = &c->uuid_write; in uuid_io() 457 static char *uuid_read(struct cache_set *c, struct jset *j, struct closure *cl) in uuid_read() 501 struct closure cl; in __uuid_write() 592 struct closure *cl = &ca->prio; in prio_io() 614 struct closure c in bch_prio_write() [all...] |
| H A D | stats.c | 223 struct closure *parent) in bch_cache_accounting_init()
|
| H A D | util.h | 17 struct closure;
|
| /linux/sound/drivers/opl3/ |
| H A D | opl3_oss.c | 11 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/rust/pin-init/ |
| H A D | README.md | 150 [`impl PinInit<T, E>`] directly from a closure. Of course you have to ensure that the closure 152 (we are calling the parameter to the closure `slot`): 153 - when the closure returns `Ok(())`, then it has completed the initialization successfully, so 155 - when the closure returns `Err(e)`, then the caller may deallocate the memory at `slot`, so 157 - you may assume that `slot` will stay pinned even after the closure returns until `drop` of 196 // - when the closure returns `Ok(())`, then it has successfully initialized and
|
| /linux/sound/synth/emux/ |
| H A D | emux_oss.c | 19 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/ |
| H A D | seq_oss.h | 39 int (*open)(struct snd_seq_oss_arg *p, void *closure);
|
| /linux/Documentation/input/devices/ |
| H A D | atarikbd.rst | 29 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/ |
| H A D | cxgb4_uld.h | 273 void *closure; /* caller's opaque information */ member
|
| /linux/tools/perf/util/ |
| H A D | python.c | 883 static PyObject *pyrf_counts_values_get_values(struct pyrf_counts_values *self, void *closure) in pyrf_counts_values_get_values() argument 896 void *closure) in pyrf_counts_values_set_values() argument
|
| /linux/Documentation/sound/designs/ |
| H A D | seq-oss.rst | 209 int (*open)(snd_seq_oss_arg_t *p, void *closure);
|
| /linux/Documentation/locking/ |
| H A D | lockdep-design.rst | 284 The validator achieves perfect, mathematical 'closure' (proof of locking
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-codec.rst | 555 GOP closure (default 1)
|