Lines Matching refs:badblocks
28 struct badblocks { struct
51 int badblocks_check(struct badblocks *bb, sector_t s, sector_t sectors, argument
53 bool badblocks_set(struct badblocks *bb, sector_t s, sector_t sectors,
55 bool badblocks_clear(struct badblocks *bb, sector_t s, sector_t sectors);
56 void ack_all_badblocks(struct badblocks *bb);
57 ssize_t badblocks_show(struct badblocks *bb, char *page, int unack);
58 ssize_t badblocks_store(struct badblocks *bb, const char *page, size_t len,
60 int badblocks_init(struct badblocks *bb, int enable);
61 void badblocks_exit(struct badblocks *bb);
63 int devm_init_badblocks(struct device *dev, struct badblocks *bb);
64 static inline void devm_exit_badblocks(struct device *dev, struct badblocks *bb) in devm_exit_badblocks()
74 static inline int badblocks_full(struct badblocks *bb) in badblocks_full()
79 static inline int badblocks_empty(struct badblocks *bb) in badblocks_empty()
84 static inline void set_changed(struct badblocks *bb) in set_changed()
90 static inline void clear_changed(struct badblocks *bb) in clear_changed()