Lines Matching refs:UBIFS_BLOCK_SIZE
58 memset(addr, 0, UBIFS_BLOCK_SIZE); in read_block()
65 if (len <= 0 || len > UBIFS_BLOCK_SIZE) in read_block()
76 out_len = UBIFS_BLOCK_SIZE; in read_block()
87 if (len < UBIFS_BLOCK_SIZE) in read_block()
88 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len); in read_block()
117 beyond = (i_size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in do_readpage()
138 memset(addr, 0, UBIFS_BLOCK_SIZE); in do_readpage()
147 int ilen = i_size & (UBIFS_BLOCK_SIZE - 1); in do_readpage()
156 addr += UBIFS_BLOCK_SIZE; in do_readpage()
158 kunmap_local(addr - UBIFS_BLOCK_SIZE); in do_readpage()
159 addr = kmap_local_folio(folio, i * UBIFS_BLOCK_SIZE); in do_readpage()
626 memset(addr, 0, UBIFS_BLOCK_SIZE); in populate_page()
636 if (len <= 0 || len > UBIFS_BLOCK_SIZE) in populate_page()
640 out_len = UBIFS_BLOCK_SIZE; in populate_page()
653 if (len < UBIFS_BLOCK_SIZE) in populate_page()
654 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len); in populate_page()
663 memset(addr, 0, UBIFS_BLOCK_SIZE); in populate_page()
667 addr += UBIFS_BLOCK_SIZE; in populate_page()
670 kunmap_local(addr - UBIFS_BLOCK_SIZE); in populate_page()
671 addr = kmap_local_folio(folio, i * UBIFS_BLOCK_SIZE); in populate_page()
919 blen = min_t(size_t, len, UBIFS_BLOCK_SIZE); in do_writepage()
1124 int offset = new_size & (UBIFS_BLOCK_SIZE - 1), budgeted = 1; in do_truncation()
1135 if (new_size & (UBIFS_BLOCK_SIZE - 1)) in do_truncation()