/linux-master/include/linux/ |
H A D | closure.h | 27 * wait synchronously, use closure_sync() - you will sleep until your closure's 63 * If closure's refcount started at 0, complete_some_read() could run before the 66 * complete_some_read()'s thread owned the closure - and whatever state it was 69 * So, closure_init() initializes a closure's refcount to 1 - and when a 74 * on a closure because you called closure_init() or you were run out of a 75 * closure - _always_ use continue_at(). Doing so consistently will help 82 * closure was already on a wait list or not - a closure can only be on one wait 87 * closure_init() takes two arguments - it takes the closure to initialize, and 90 * If parent is non null, the new closure wil 143 struct closure { struct [all...] |
/linux-master/lib/ |
H A D | closure.c | 9 #include <linux/closure.h> 16 static inline void closure_put_after_sub(struct closure *cl, int flags) 33 struct closure *parent = cl->parent; 48 void closure_sub(struct closure *cl, int v) 55 * closure_put - decrement a closure's refcount 57 void closure_put(struct closure *cl) 69 struct closure *cl, *t; 86 * closure_wait - add a closure to a waitlist 89 * @cl: closure pointer. 92 bool closure_wait(struct closure_waitlist *waitlist, struct closure *c [all...] |
/linux-master/include/uapi/linux/ |
H A D | firewire-cdev.h | 57 * @closure: For arbitrary use by userspace 63 * Data passed in the @closure field for a request will be returned in the 65 * The ioctl used to set @closure depends on the @type of event. 68 __u64 closure; member in struct:fw_cdev_event_common 74 * @closure: See &fw_cdev_event_common; set by %FW_CDEV_IOC_GET_INFO ioctl 92 __u64 closure; member in struct:fw_cdev_event_bus_reset 104 * @closure: See &fw_cdev_event_common; set by %FW_CDEV_IOC_SEND_REQUEST 116 __u64 closure; member in struct:fw_cdev_event_response 125 * @closure: See &fw_cdev_event_common; set by %FW_CDEV_IOC_SEND_REQUEST 155 __u64 closure; member in struct:fw_cdev_event_response2 180 __u64 closure; member in struct:fw_cdev_event_request 207 __u64 closure; member in struct:fw_cdev_event_request2 278 __u64 closure; member in struct:fw_cdev_event_request3 346 __u64 closure; member in struct:fw_cdev_event_iso_interrupt 385 __u64 closure; member in struct:fw_cdev_event_iso_interrupt_mc 412 __u64 closure; member in struct:fw_cdev_event_iso_resource 434 __u64 closure; member in struct:fw_cdev_event_phy_packet 474 __u64 closure; member in struct:fw_cdev_event_phy_packet2 649 __u64 closure; member in struct:fw_cdev_send_request 713 __u64 closure; member in struct:fw_cdev_allocate 841 __u64 closure; member in struct:fw_cdev_create_iso_context 1109 __u64 closure; member in struct:fw_cdev_allocate_iso_resource 1135 __u64 closure; member in struct:fw_cdev_send_stream_packet 1158 __u64 closure; member in struct:fw_cdev_send_phy_packet 1174 __u64 closure; member in struct:fw_cdev_receive_phy_packets [all...] |
/linux-master/drivers/md/bcache/ |
H A D | stats.h | 28 struct closure cl; 45 struct closure *parent);
|
H A D | journal.h | 111 struct closure io; 170 struct closure; 177 struct closure *parent); 180 void bch_journal_meta(struct cache_set *c, struct closure *cl);
|
H A D | request.h | 6 struct closure cl;
|
H A D | bcache.h | 182 #include <linux/closure.h> 250 struct closure cl; 309 struct closure sb_write; 430 struct closure prio; 517 struct closure cl; 537 struct closure caching; 539 struct closure sb_write; 682 struct closure uuid_write; 938 struct closure *cl) 1002 void bch_write_bdev_super(struct cached_dev *dc, struct closure *paren [all...] |
H A D | btree.h | 26 * specifying read vs. write locking, and the embedded closure is used for 49 * time, so there's a lock, implemented by a pointer to the btree_op closure - 68 * though - but it takes a refcount on the closure in struct btree_op you passed 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 | movinggc.c | 16 struct closure cl; 131 struct closure cl;
|
H A D | request.c | 108 static void bch_data_invalidate(struct closure *cl) 171 struct closure *cl = bio->bi_private; 290 * @cl: closure pointer. 465 struct closure cl; 488 struct closure *cl = bio->bi_private; 623 struct closure *cl = bio->bi_private; 639 struct closure *cl = bio->bi_private; 950 struct closure *cl = &s->cl; 969 struct closure *cl = &s->cl; 1281 struct closure *c [all...] |
H A D | io.c | 170 struct closure *cl = bio->bi_private;
|
/linux-master/drivers/firewire/ |
H A D | uapi-test.c | 22 KUNIT_EXPECT_EQ(test, 0, offsetof(struct fw_cdev_event_response, closure)); 34 KUNIT_EXPECT_EQ(test, 0, offsetof(struct fw_cdev_event_request3, closure)); 53 KUNIT_EXPECT_EQ(test, 0, offsetof(struct fw_cdev_event_response2, closure)); 67 KUNIT_EXPECT_EQ(test, 0, offsetof(struct fw_cdev_event_phy_packet2, closure));
|
H A D | core-cdev.c | 102 __u64 closure; member in struct:address_handler_resource 358 event->closure = client->bus_reset_closure; 637 rsp->closure = request->closure; 644 rsp->closure = request->closure; 754 req->closure = handler->closure; 768 req->closure = handler->closure; [all...] |
/linux-master/include/sound/ |
H A D | seq_oss.h | 39 int (*open)(struct snd_seq_oss_arg *p, void *closure);
|
/linux-master/fs/bcachefs/ |
H A D | io_write_types.h | 40 struct closure cl;
|
H A D | journal_types.h | 21 struct closure io; 328 struct closure read;
|
H A D | alloc_foreground.h | 34 enum bch_watermark, struct closure *); 156 struct closure *); 165 struct closure *,
|
H A D | move.h | 26 struct closure cl;
|
H A D | btree_cache.h | 21 int bch2_btree_cache_cannibalize_lock(struct btree_trans *, struct closure *);
|
H A D | ec.h | 164 struct closure iodone; 216 enum bch_watermark, struct closure *);
|
H A D | alloc_foreground.c | 210 struct closure *cl) 278 struct closure *cl) 386 struct closure *cl) 461 struct closure *cl) 519 * @cl: if not NULL, closure to be used to wait if buckets not available 527 struct closure *cl, 608 struct closure *cl) 709 struct closure *cl) 784 struct closure *cl) 946 struct closure *_c [all...] |
H A D | fs-io.h | 160 struct bch_inode_info *, struct closure *);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_edid.c | 3034 typedef void detailed_cb(const struct detailed_timing *timing, void *closure); 3037 cea_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure) argument 3048 cb((const struct detailed_timing *)(det_base + 18 * i), closure); 3052 vtb_for_each_detailed_block(const u8 *ext, detailed_cb *cb, void *closure) argument 3061 cb((const struct detailed_timing *)(det_base + 18 * i), closure); 3065 detailed_cb *cb, void *closure) 3075 cb(&drm_edid->edid->detailed_timings[i], closure); 3081 cea_for_each_detailed_block(ext, cb, closure); 3084 vtb_for_each_detailed_block(ext, cb, closure); 3774 struct detailed_mode_closure *closure local 3064 drm_for_each_detailed_block(const struct drm_edid *drm_edid, detailed_cb *cb, void *closure) argument 3816 struct detailed_mode_closure closure = { local 3859 struct detailed_mode_closure *closure = c; local 3881 struct detailed_mode_closure closure = { local 3908 struct detailed_mode_closure *closure = c; local 3937 struct detailed_mode_closure closure = { local 4017 struct detailed_mode_closure *closure = c; local 4028 struct detailed_mode_closure closure = { local 4047 struct detailed_mode_closure *closure = c; local 4081 struct detailed_mode_closure closure = { local 6341 struct detailed_mode_closure *closure = c; local 6378 struct detailed_mode_closure closure = { local [all...] |
/linux-master/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) argument 133 struct snd_opl3 *opl3 = closure;
|
/linux-master/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) argument 103 emu = closure;
|