Searched refs:ubi_check_pattern (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/mtd/ubi/
H A Dmisc.c126 * ubi_check_pattern - check if buffer contains only a certain byte pattern.
134 int ubi_check_pattern(const void *buf, uint8_t patt, int size) function
H A Dio.c394 err = ubi_check_pattern(ubi->peb_buf, 0xFF, ubi->peb_size);
413 err = ubi_check_pattern(ubi->peb_buf, patterns[i],
741 if (ubi_check_pattern(ec_hdr, 0xFF, UBI_EC_HDR_SIZE)) {
1031 if (ubi_check_pattern(vid_hdr, 0xFF, UBI_VID_HDR_SIZE)) {
1455 err = ubi_check_pattern(buf, 0xFF, len);
H A Dubi.h867 int ubi_check_pattern(const void *buf, uint8_t patt, int size);
H A Dattach.c897 if (ubi_check_pattern(ubi->peb_buf, 0xFF, ubi->leb_size))

Completed in 232 milliseconds