Lines Matching refs:UBIFS_BLOCK_SIZE
58 memset(addr, 0, UBIFS_BLOCK_SIZE);
65 if (len <= 0 || len > UBIFS_BLOCK_SIZE)
76 out_len = UBIFS_BLOCK_SIZE;
87 if (len < UBIFS_BLOCK_SIZE)
88 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len);
117 beyond = (i_size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT;
138 memset(addr, 0, UBIFS_BLOCK_SIZE);
147 int ilen = i_size & (UBIFS_BLOCK_SIZE - 1);
156 addr += UBIFS_BLOCK_SIZE;
158 kunmap_local(addr - UBIFS_BLOCK_SIZE);
159 addr = kmap_local_folio(folio, i * UBIFS_BLOCK_SIZE);
627 memset(addr, 0, UBIFS_BLOCK_SIZE);
637 if (len <= 0 || len > UBIFS_BLOCK_SIZE)
641 out_len = UBIFS_BLOCK_SIZE;
654 if (len < UBIFS_BLOCK_SIZE)
655 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len);
664 memset(addr, 0, UBIFS_BLOCK_SIZE);
668 addr += UBIFS_BLOCK_SIZE;
671 kunmap_local(addr - UBIFS_BLOCK_SIZE);
672 addr = kmap_local_folio(folio, i * UBIFS_BLOCK_SIZE);
920 blen = min_t(size_t, len, UBIFS_BLOCK_SIZE);
1125 int offset = new_size & (UBIFS_BLOCK_SIZE - 1), budgeted = 1;
1136 if (new_size & (UBIFS_BLOCK_SIZE - 1))