Searched refs:UBIFS_BLOCK_SIZE (Results 1 – 19 of 19) sorted by relevance
/openbmc/linux/fs/ubifs/ |
H A D | file.c | 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() 628 memset(addr, 0, UBIFS_BLOCK_SIZE); in populate_page() [all …]
|
H A D | crypto.c | 72 if (clen <= 0 || clen > UBIFS_BLOCK_SIZE || clen > dlen) { in ubifs_decrypt() 77 ubifs_assert(c, dlen <= UBIFS_BLOCK_SIZE); in ubifs_decrypt()
|
H A D | ubifs-media.h | 93 #define UBIFS_BLOCK_SIZE 4096 macro 112 #define UBIFS_MAX_INO_DATA UBIFS_BLOCK_SIZE 286 #define UBIFS_MAX_DATA_NODE_SZ (UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE)
|
H A D | replay.c | 187 min_blk = r->new_size / UBIFS_BLOCK_SIZE; in trun_remove_range() 188 if (r->new_size & (UBIFS_BLOCK_SIZE - 1)) in trun_remove_range() 191 max_blk = r->old_size / UBIFS_BLOCK_SIZE; in trun_remove_range() 192 if ((r->old_size & (UBIFS_BLOCK_SIZE - 1)) == 0) in trun_remove_range() 755 UBIFS_BLOCK_SIZE; in replay_bud()
|
H A D | journal.c | 736 ubifs_assert(c, len <= UBIFS_BLOCK_SIZE); in ubifs_jnl_write_data() 769 ubifs_assert(c, compr_len <= UBIFS_BLOCK_SIZE); in ubifs_jnl_write_data() 1526 ubifs_assert(c, out_len <= UBIFS_BLOCK_SIZE); in truncate_data_node() 1591 dlen = new_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate() 1606 if (dn_len <= 0 || dn_len > UBIFS_BLOCK_SIZE) { in ubifs_jnl_truncate() 1674 bit = new_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate() 1678 bit = old_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate()
|
H A D | key.h | 537 return (1ULL << UBIFS_S_KEY_BLOCK_BITS) * UBIFS_BLOCK_SIZE; in key_max_inode_size()
|
H A D | budget.c | 639 factor = UBIFS_BLOCK_SIZE; in ubifs_reported_space()
|
H A D | ubifs.h | 47 #define UBIFS_BLOCKS_PER_PAGE (PAGE_SIZE / UBIFS_BLOCK_SIZE) 144 (UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE * WORST_COMPR_FACTOR)
|
H A D | super.c | 421 buf->f_bsize = UBIFS_BLOCK_SIZE; in ubifs_statfs() 2220 sb->s_blocksize = UBIFS_BLOCK_SIZE; in ubifs_fill_super() 2429 if (PAGE_SIZE < UBIFS_BLOCK_SIZE) { in ubifs_init()
|
H A D | dir.c | 1660 stat->blksize = UBIFS_BLOCK_SIZE; in ubifs_getattr() 1678 size = ALIGN(size, UBIFS_BLOCK_SIZE); in ubifs_getattr()
|
H A D | tnc.c | 3545 block = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in dbg_check_inode_size()
|
/openbmc/u-boot/fs/ubifs/ |
H A D | ubifs.c | 698 memset(addr, 0, UBIFS_BLOCK_SIZE); in read_block() 705 if (len <= 0 || len > UBIFS_BLOCK_SIZE) in read_block() 709 out_len = UBIFS_BLOCK_SIZE; in read_block() 720 if (len < UBIFS_BLOCK_SIZE) in read_block() 721 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len); in read_block() 747 beyond = (i_size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in do_readpage() 765 memset(addr, 0, UBIFS_BLOCK_SIZE); in do_readpage() 781 buff = malloc_cache_aligned(UBIFS_BLOCK_SIZE); in do_readpage() 820 addr += UBIFS_BLOCK_SIZE; in do_readpage() 896 count = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in ubifs_read()
|
H A D | ubifs-media.h | 93 #define UBIFS_BLOCK_SIZE 4096 macro 112 #define UBIFS_MAX_INO_DATA UBIFS_BLOCK_SIZE 283 #define UBIFS_MAX_DATA_NODE_SZ (UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE)
|
H A D | replay.c | 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()
|
H A D | key.h | 530 return (1ULL << UBIFS_S_KEY_BLOCK_BITS) * UBIFS_BLOCK_SIZE; in key_max_inode_size()
|
H A D | budget.c | 651 factor = UBIFS_BLOCK_SIZE; in ubifs_reported_space()
|
H A D | ubifs.h | 665 #define UBIFS_BLOCKS_PER_PAGE (PAGE_CACHE_SIZE / UBIFS_BLOCK_SIZE) 760 (UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE * WORST_COMPR_FACTOR)
|
H A D | super.c | 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()
|
H A D | tnc.c | 3285 block = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in dbg_check_inode_size()
|