Searched refs:UBIFS_BLOCK_SIZE (Results 1 – 8 of 8) sorted by relevance
696 memset(addr, 0, UBIFS_BLOCK_SIZE); in read_block()703 if (len <= 0 || len > UBIFS_BLOCK_SIZE) in read_block()707 out_len = UBIFS_BLOCK_SIZE; in read_block()718 if (len < UBIFS_BLOCK_SIZE) in read_block()719 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len); in read_block()745 beyond = (i_size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in do_readpage()763 memset(addr, 0, UBIFS_BLOCK_SIZE); in do_readpage()779 buff = malloc_cache_aligned(UBIFS_BLOCK_SIZE); in do_readpage()818 addr += UBIFS_BLOCK_SIZE; in do_readpage()894 count = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in ubifs_read()
93 #define UBIFS_BLOCK_SIZE 4096 macro112 #define UBIFS_MAX_INO_DATA UBIFS_BLOCK_SIZE283 #define UBIFS_MAX_DATA_NODE_SZ (UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE)
189 min_blk = r->new_size / UBIFS_BLOCK_SIZE; in trun_remove_range()190 if (r->new_size & (UBIFS_BLOCK_SIZE - 1)) in trun_remove_range()193 max_blk = r->old_size / UBIFS_BLOCK_SIZE; in trun_remove_range()194 if ((r->old_size & (UBIFS_BLOCK_SIZE - 1)) == 0) in trun_remove_range()610 UBIFS_BLOCK_SIZE; in replay_bud()
530 return (1ULL << UBIFS_S_KEY_BLOCK_BITS) * UBIFS_BLOCK_SIZE; in key_max_inode_size()
651 factor = UBIFS_BLOCK_SIZE; in ubifs_reported_space()
665 #define UBIFS_BLOCKS_PER_PAGE (PAGE_CACHE_SIZE / UBIFS_BLOCK_SIZE)760 (UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE * WORST_COMPR_FACTOR)
588 buf->f_bsize = UBIFS_BLOCK_SIZE; in ubifs_statfs()2287 sb->s_blocksize = UBIFS_BLOCK_SIZE; in ubifs_fill_super()2605 if (PAGE_CACHE_SIZE < UBIFS_BLOCK_SIZE) { in ubifs_init()
3285 block = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in dbg_check_inode_size()