Lines Matching refs:page
58 u64 *p = bb->page; in badblocks_check()
130 u64 *p = bb->page; in badblocks_update_acked()
187 p = bb->page; in badblocks_set()
353 p = bb->page; in badblocks_clear()
435 if (bb->page == NULL || bb->changed) in ack_all_badblocks()
441 u64 *p = bb->page; in ack_all_badblocks()
467 ssize_t badblocks_show(struct badblocks *bb, char *page, int unack) in badblocks_show() argument
471 u64 *p = bb->page; in badblocks_show()
493 len += snprintf(page+len, PAGE_SIZE-len, "%llu %u\n", in badblocks_show()
517 ssize_t badblocks_store(struct badblocks *bb, const char *page, size_t len, in badblocks_store() argument
524 switch (sscanf(page, "%llu %d%c", §or, &length, &newline)) { in badblocks_store()
554 bb->page = devm_kzalloc(dev, PAGE_SIZE, GFP_KERNEL); in __badblocks_init()
556 bb->page = kzalloc(PAGE_SIZE, GFP_KERNEL); in __badblocks_init()
557 if (!bb->page) { in __badblocks_init()
598 devm_kfree(bb->dev, bb->page); in badblocks_exit()
600 kfree(bb->page); in badblocks_exit()
601 bb->page = NULL; in badblocks_exit()