Lines Matching refs:UBIFS_BLOCK_SIZE
70 memset(addr, 0, UBIFS_BLOCK_SIZE); in read_block()
77 if (len <= 0 || len > UBIFS_BLOCK_SIZE) in read_block()
81 out_len = UBIFS_BLOCK_SIZE; in read_block()
92 if (len < UBIFS_BLOCK_SIZE) in read_block()
93 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len); in read_block()
121 beyond = (i_size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in do_readpage()
142 memset(addr, 0, UBIFS_BLOCK_SIZE); in do_readpage()
151 int ilen = i_size & (UBIFS_BLOCK_SIZE - 1); in do_readpage()
160 addr += UBIFS_BLOCK_SIZE; in do_readpage()
638 memset(addr, 0, UBIFS_BLOCK_SIZE); in populate_page()
648 if (len <= 0 || len > UBIFS_BLOCK_SIZE) in populate_page()
652 out_len = UBIFS_BLOCK_SIZE; in populate_page()
658 if (len < UBIFS_BLOCK_SIZE) in populate_page()
659 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len); in populate_page()
668 memset(addr, 0, UBIFS_BLOCK_SIZE); in populate_page()
672 addr += UBIFS_BLOCK_SIZE; in populate_page()
920 blen = min_t(int, len, UBIFS_BLOCK_SIZE); in do_writepage()
1111 int offset = new_size & (UBIFS_BLOCK_SIZE - 1), budgeted = 1; in do_truncation()
1122 if (new_size & (UBIFS_BLOCK_SIZE - 1)) in do_truncation()