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()
629 memset(addr, 0, UBIFS_BLOCK_SIZE); in populate_page()
639 if (len <= 0 || len > UBIFS_BLOCK_SIZE) in populate_page()
643 out_len = UBIFS_BLOCK_SIZE; in populate_page()
656 if (len < UBIFS_BLOCK_SIZE) in populate_page()
657 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len); in populate_page()
666 memset(addr, 0, UBIFS_BLOCK_SIZE); in populate_page()
670 addr += UBIFS_BLOCK_SIZE; in populate_page()
920 blen = min_t(int, len, UBIFS_BLOCK_SIZE); in do_writepage()
1115 int offset = new_size & (UBIFS_BLOCK_SIZE - 1), budgeted = 1; in do_truncation()
1126 if (new_size & (UBIFS_BLOCK_SIZE - 1)) in do_truncation()