Home
last modified time | relevance | path

Searched refs:cached_dev (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/arch/x86/kernel/
Dquirks.c178 static struct pci_dev *cached_dev; variable
191 if (!force_hpet_address || !cached_dev) in old_ich_force_hpet_resume()
194 pci_read_config_dword(cached_dev, 0xD0, &gen_cntl); in old_ich_force_hpet_resume()
198 pci_write_config_dword(cached_dev, 0xD0, gen_cntl); in old_ich_force_hpet_resume()
199 pci_read_config_dword(cached_dev, 0xD0, &gen_cntl); in old_ich_force_hpet_resume()
249 cached_dev = dev; in old_ich_force_enable_hpet()
287 if (!force_hpet_address || !cached_dev) in vt8237_force_hpet_resume()
291 pci_write_config_dword(cached_dev, 0x68, val); in vt8237_force_hpet_resume()
293 pci_read_config_dword(cached_dev, 0x68, &val); in vt8237_force_hpet_resume()
336 cached_dev = dev; in vt8237_force_enable_hpet()
[all …]
/linux-6.6.21/drivers/md/bcache/
Dwriteback.h78 static inline bool bcache_dev_stripe_dirty(struct cached_dev *dc, in bcache_dev_stripe_dirty()
102 static inline bool should_writeback(struct cached_dev *dc, struct bio *bio, in should_writeback()
128 static inline void bch_writeback_queue(struct cached_dev *dc) in bch_writeback_queue()
134 static inline void bch_writeback_add(struct cached_dev *dc) in bch_writeback_add()
152 void bch_cached_dev_writeback_init(struct cached_dev *dc);
153 int bch_cached_dev_writeback_start(struct cached_dev *dc);
Drequest.c30 static unsigned int cache_mode(struct cached_dev *dc) in cache_mode()
35 static bool verify(struct cached_dev *dc) in verify()
358 static struct hlist_head *iohash(struct cached_dev *dc, uint64_t k) in iohash()
363 static bool check_should_bypass(struct cached_dev *dc, struct bio *bio) in check_should_bypass()
582 struct cached_dev *dc; in cache_lookup()
608 dc = container_of(s->d, struct cached_dev, disk); in cache_lookup()
643 struct cached_dev *dc = container_of(s->d, in backing_request_endio()
644 struct cached_dev, disk); in backing_request_endio()
755 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_bio_complete()
822 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_read_done()
[all …]
Ddebug.h6 struct cached_dev;
12 void bch_data_verify(struct cached_dev *dc, struct bio *bio);
21 static inline void bch_data_verify(struct cached_dev *dc, struct bio *bio) {} in bch_data_verify()
Dwriteback.c30 static uint64_t __calc_target_rate(struct cached_dev *dc) in __calc_target_rate()
61 static void __update_writeback_rate(struct cached_dev *dc) in __update_writeback_rate()
208 struct cached_dev *dc) in set_at_max_writeback_rate()
244 struct cached_dev *dc = container_of(to_delayed_work(work), in update_writeback_rate()
245 struct cached_dev, in update_writeback_rate()
312 static unsigned int writeback_delay(struct cached_dev *dc, in writeback_delay()
324 struct cached_dev *dc;
355 struct cached_dev *dc = io->dc; in write_dirty_finish()
407 struct cached_dev *dc = io->dc; in write_dirty()
474 static void read_dirty(struct cached_dev *dc) in read_dirty()
[all …]
Dstats.c201 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in bch_mark_cache_accounting()
209 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in bch_mark_cache_miss_collision()
215 void bch_mark_sectors_bypassed(struct cache_set *c, struct cached_dev *dc, in bch_mark_sectors_bypassed()
Dbcache.h299 struct cached_dev { struct
892 static inline void cached_dev_put(struct cached_dev *dc) in cached_dev_put()
898 static inline bool cached_dev_get(struct cached_dev *dc) in cached_dev_get()
963 void bch_count_backing_io_errors(struct cached_dev *dc, struct bio *bio);
994 bool bch_cached_dev_error(struct cached_dev *dc);
1000 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent);
1024 int bch_cached_dev_attach(struct cached_dev *dc, struct cache_set *c,
1026 void bch_cached_dev_detach(struct cached_dev *dc);
1027 int bch_cached_dev_run(struct cached_dev *dc);
Dstats.h41 struct cached_dev;
59 struct cached_dev *dc,
Dsuper.c281 struct cached_dev *dc = bio->bi_private; in write_bdev_super_endio()
332 struct cached_dev *dc = container_of(cl, struct cached_dev, sb_write); in bch_write_bdev_super_unlock()
337 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent) in bch_write_bdev_super()
998 struct cached_dev *dc; in calc_cached_dev_sectors()
1009 struct cached_dev *dc = arg; in cached_dev_status_update()
1044 int bch_cached_dev_run(struct cached_dev *dc) in bch_cached_dev_run()
1117 static void cancel_writeback_rate_update_dwork(struct cached_dev *dc) in cancel_writeback_rate_update_dwork()
1137 struct cached_dev *dc = container_of(w, struct cached_dev, detach); in cached_dev_detach_finish()
1169 void bch_cached_dev_detach(struct cached_dev *dc) in bch_cached_dev_detach()
1190 int bch_cached_dev_attach(struct cached_dev *dc, struct cache_set *c, in bch_cached_dev_attach()
[all …]
Drequest.h39 void bch_cached_dev_request_init(struct cached_dev *dc);
Dsysfs.c173 struct cached_dev *dc = container_of(kobj, struct cached_dev, in SHOW()
293 struct cached_dev *dc = container_of(kobj, struct cached_dev, in STORE()
459 struct cached_dev *dc = container_of(kobj, struct cached_dev, in STORE()
Dio.c56 void bch_count_backing_io_errors(struct cached_dev *dc, struct bio *bio) in bch_count_backing_io_errors()
Ddebug.c108 void bch_data_verify(struct cached_dev *dc, struct bio *bio) in bch_data_verify()
Dbtree.c1774 struct cached_dev *dc; in bch_btree_gc_finish()
1779 dc = container_of(d, struct cached_dev, disk); in bch_btree_gc_finish()
/linux-6.6.21/net/packet/
Dinternal.h131 struct net_device __rcu *cached_dev; member
Daf_packet.c293 dev = rcu_dereference(po->cached_dev); in packet_cached_dev_get()
303 rcu_assign_pointer(po->cached_dev, dev); in packet_cached_dev_assign()
308 RCU_INIT_POINTER(po->cached_dev, NULL); in packet_cached_dev_reset()