Lines Matching refs:page
58 u64 *p = bb->page; in badblocks_check()
129 u64 *p = bb->page; in badblocks_update_acked()
186 p = bb->page; in badblocks_set()
351 p = bb->page; in badblocks_clear()
433 if (bb->page == NULL || bb->changed) in ack_all_badblocks()
439 u64 *p = bb->page; in ack_all_badblocks()
465 ssize_t badblocks_show(struct badblocks *bb, char *page, int unack) in badblocks_show() argument
469 u64 *p = bb->page; in badblocks_show()
491 len += snprintf(page+len, PAGE_SIZE-len, "%llu %u\n", in badblocks_show()
515 ssize_t badblocks_store(struct badblocks *bb, const char *page, size_t len, in badblocks_store() argument
522 switch (sscanf(page, "%llu %d%c", §or, &length, &newline)) { in badblocks_store()
552 bb->page = devm_kzalloc(dev, PAGE_SIZE, GFP_KERNEL); in __badblocks_init()
554 bb->page = kzalloc(PAGE_SIZE, GFP_KERNEL); in __badblocks_init()
555 if (!bb->page) { in __badblocks_init()
596 devm_kfree(bb->dev, bb->page); in badblocks_exit()
598 kfree(bb->page); in badblocks_exit()
599 bb->page = NULL; in badblocks_exit()