Searched refs:wbuf_pagesize (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/fs/jffs2/ |
D | wbuf.c | 35 …_DIV(x) ( ((unsigned long)(x) / (unsigned long)(c->wbuf_pagesize)) * (unsigned long)(c->wbuf_pages… 36 #define PAGE_MOD(x) ( (unsigned long)(x) % (unsigned long)(c->wbuf_pagesize) ) 237 ret = mtd_read(c->mtd, ofs, c->wbuf_pagesize, &retlen, c->wbuf_verify); in jffs2_verify_write() 242 } else if (retlen != c->wbuf_pagesize) { in jffs2_verify_write() 244 __func__, ofs, retlen, c->wbuf_pagesize); in jffs2_verify_write() 247 if (!memcmp(buf, c->wbuf_verify, c->wbuf_pagesize)) in jffs2_verify_write() 260 c->wbuf, c->wbuf_pagesize, 0); in jffs2_verify_write() 264 c->wbuf_verify, c->wbuf_pagesize, 0); in jffs2_verify_write() 408 if (end-start >= c->wbuf_pagesize) { in jffs2_wbuf_recover() 415 uint32_t towrite = (end-start) - ((end-start)%c->wbuf_pagesize); in jffs2_wbuf_recover() [all …]
|
D | scan.c | 55 if (!jffs2_can_mark_obsolete(c) && min < c->wbuf_pagesize) in min_free() 56 return c->wbuf_pagesize; in min_free() 250 …if (!jffs2_can_mark_obsolete(c) && c->wbuf_pagesize && c->nextblock && (c->nextblock->free_size % … in jffs2_scan_medium() 255 uint32_t skip = c->nextblock->free_size % c->wbuf_pagesize; in jffs2_scan_medium() 499 if (c->wbuf_pagesize) in jffs2_scan_eraseblock() 500 buf_len = c->wbuf_pagesize; in jffs2_scan_eraseblock()
|
D | readinode.c | 47 int adj = ofs % c->wbuf_pagesize; in check_node_data() 49 adj = c->wbuf_pagesize - adj; in check_node_data() 948 int rem = to_read % c->wbuf_pagesize; in read_more() 951 to_read += c->wbuf_pagesize - rem; in read_more() 996 len = sizeof(union jffs2_node_union) + c->wbuf_pagesize; in jffs2_get_inode_nodes() 1036 rem = end % c->wbuf_pagesize; in jffs2_get_inode_nodes() 1038 end += c->wbuf_pagesize - rem; in jffs2_get_inode_nodes()
|
D | jffs2_fs_sb.h | 125 uint32_t wbuf_pagesize; /* 0 for NOR and other flashes with no wbuf */ member
|