| /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()
|
| /linux/drivers/md/bcache/ |
| 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() 1295 struct closure *cl; in flash_dev_submit_bio()
|
| H A D | request.h | 6 struct closure cl;
|
| 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)
|
| /linux/ |
| H A D | MAINTAINERS | 6187 F: include/linux/closure.h 6188 F: lib/closure.c
|