Lines Matching refs:UBIFS_BLOCK_SIZE
69 memset(addr, 0, UBIFS_BLOCK_SIZE); in read_block()
76 if (len <= 0 || len > UBIFS_BLOCK_SIZE) in read_block()
80 out_len = UBIFS_BLOCK_SIZE; in read_block()
91 if (len < UBIFS_BLOCK_SIZE) in read_block()
92 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len); in read_block()
120 beyond = (i_size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in do_readpage()
141 memset(addr, 0, UBIFS_BLOCK_SIZE); in do_readpage()
150 int ilen = i_size & (UBIFS_BLOCK_SIZE - 1); in do_readpage()
159 addr += UBIFS_BLOCK_SIZE; in do_readpage()
637 memset(addr, 0, UBIFS_BLOCK_SIZE); in populate_page()
647 if (len <= 0 || len > UBIFS_BLOCK_SIZE) in populate_page()
651 out_len = UBIFS_BLOCK_SIZE; in populate_page()
657 if (len < UBIFS_BLOCK_SIZE) in populate_page()
658 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len); in populate_page()
667 memset(addr, 0, UBIFS_BLOCK_SIZE); in populate_page()
671 addr += UBIFS_BLOCK_SIZE; in populate_page()
919 blen = min_t(int, len, UBIFS_BLOCK_SIZE); in do_writepage()
1110 int offset = new_size & (UBIFS_BLOCK_SIZE - 1), budgeted = 1; in do_truncation()
1121 if (new_size & (UBIFS_BLOCK_SIZE - 1)) in do_truncation()