Searched refs:UBIFS_BLOCK_SIZE (Results 1 – 10 of 10) sorted by relevance
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()636 memset(addr, 0, UBIFS_BLOCK_SIZE); in populate_page()[all …]
105 #define UBIFS_BLOCK_SIZE 4096 macro124 #define UBIFS_MAX_INO_DATA UBIFS_BLOCK_SIZE295 #define UBIFS_MAX_DATA_NODE_SZ (UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE)
197 min_blk = r->new_size / UBIFS_BLOCK_SIZE; in trun_remove_range()198 if (r->new_size & (UBIFS_BLOCK_SIZE - 1)) in trun_remove_range()201 max_blk = r->old_size / UBIFS_BLOCK_SIZE; in trun_remove_range()202 if ((r->old_size & (UBIFS_BLOCK_SIZE - 1)) == 0) in trun_remove_range()618 UBIFS_BLOCK_SIZE; in replay_bud()
702 ubifs_assert(len <= UBIFS_BLOCK_SIZE); in ubifs_jnl_write_data()731 ubifs_assert(out_len <= UBIFS_BLOCK_SIZE); in ubifs_jnl_write_data()1118 ubifs_assert(out_len <= UBIFS_BLOCK_SIZE); in recomp_data_node()1173 dlen = new_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate()1240 bit = new_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate()1244 bit = old_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate()
542 return (1ULL << UBIFS_S_KEY_BLOCK_BITS) * UBIFS_BLOCK_SIZE; in key_max_inode_size()
60 #define UBIFS_BLOCKS_PER_PAGE (PAGE_CACHE_SIZE / UBIFS_BLOCK_SIZE)155 (UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE * WORST_COMPR_FACTOR)
657 factor = UBIFS_BLOCK_SIZE; in ubifs_reported_space()
1172 stat->blksize = UBIFS_BLOCK_SIZE; in ubifs_getattr()1190 size = ALIGN(size, UBIFS_BLOCK_SIZE); in ubifs_getattr()
406 buf->f_bsize = UBIFS_BLOCK_SIZE; in ubifs_statfs()2058 sb->s_blocksize = UBIFS_BLOCK_SIZE; in ubifs_fill_super()2257 if (PAGE_CACHE_SIZE < UBIFS_BLOCK_SIZE) { in ubifs_init()
3304 block = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in dbg_check_inode_size()