Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/
A 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()
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()
417 cached_dev = dev; in ati_force_enable_hpet()
[all …]
/linux/drivers/md/bcache/
A 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);
A Drequest.c35 static bool verify(struct cached_dev *dc) in verify()
596 struct cached_dev *dc; in CLOSURE_CALLBACK()
769 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in CLOSURE_CALLBACK()
836 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in CLOSURE_CALLBACK()
878 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in CLOSURE_CALLBACK()
896 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_cache_miss()
975 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in CLOSURE_CALLBACK()
1114 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in detached_dev_do_request()
1149 struct cached_dev *dc; in quit_max_writeback_rate()
1189 struct cached_dev *dc = container_of(d, struct cached_dev, disk); in cached_dev_submit_bio()
[all …]
A 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()
A Dwriteback.c30 static uint64_t __calc_target_rate(struct cached_dev *dc) in __calc_target_rate()
208 struct cached_dev *dc) in set_at_max_writeback_rate()
245 struct cached_dev, in update_writeback_rate()
324 struct cached_dev *dc;
355 struct cached_dev *dc = io->dc; in CLOSURE_CALLBACK()
407 struct cached_dev *dc = io->dc; in CLOSURE_CALLBACK()
474 static void read_dirty(struct cached_dev *dc) in read_dirty()
643 struct cached_dev *dc = container_of(buf, in dirty_pred()
644 struct cached_dev, in dirty_pred()
701 static bool refill_dirty(struct cached_dev *dc) in refill_dirty()
[all …]
A 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()
A Dbcache.h300 struct cached_dev { struct
895 static inline void cached_dev_put(struct cached_dev *dc) in cached_dev_put()
901 static inline bool cached_dev_get(struct cached_dev *dc) in cached_dev_get()
966 void bch_count_backing_io_errors(struct cached_dev *dc, struct bio *bio);
997 bool bch_cached_dev_error(struct cached_dev *dc);
1003 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent);
1027 int bch_cached_dev_attach(struct cached_dev *dc, struct cache_set *c,
1029 void bch_cached_dev_detach(struct cached_dev *dc);
1030 int bch_cached_dev_run(struct cached_dev *dc);
A Dstats.h41 struct cached_dev;
59 struct cached_dev *dc,
A Dsuper.c996 struct cached_dev *dc; in calc_cached_dev_sectors()
1007 struct cached_dev *dc = arg; in cached_dev_status_update()
1135 struct cached_dev *dc = container_of(w, struct cached_dev, detach); in cached_dev_detach_finish()
1339 struct cached_dev *dc = container_of(kobj, struct cached_dev, in bch_cached_dev_release()
1443 struct cached_dev *dc) in register_bdev()
1766 struct cached_dev *dc) in conditional_stop_bcache_device()
1807 struct cached_dev *dc; in CLOSURE_CALLBACK()
1967 struct cached_dev *dc, *t; in run_cache_set()
2407 struct cached_dev *dc, *t; in bch_is_open_backing()
2653 struct cached_dev *dc;
[all …]
A Drequest.h39 void bch_cached_dev_request_init(struct cached_dev *dc);
A 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()
A Dio.c56 void bch_count_backing_io_errors(struct cached_dev *dc, struct bio *bio) in bch_count_backing_io_errors()
A Ddebug.c108 void bch_data_verify(struct cached_dev *dc, struct bio *bio) in bch_data_verify()
A Dbtree.c1786 struct cached_dev *dc; in bch_btree_gc_finish()
1791 dc = container_of(d, struct cached_dev, disk); in bch_btree_gc_finish()
/linux/net/packet/
A Dinternal.h131 struct net_device __rcu *cached_dev; member
A 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()

Completed in 603 milliseconds