Home
last modified time | relevance | path

Searched refs:UBIFS_BLOCK_SIZE (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/fs/ubifs/
Dfile.c70 memset(addr, 0, UBIFS_BLOCK_SIZE); in read_block()
77 if (len <= 0 || len > UBIFS_BLOCK_SIZE) in read_block()
88 out_len = UBIFS_BLOCK_SIZE; in read_block()
99 if (len < UBIFS_BLOCK_SIZE) in read_block()
100 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len); in read_block()
129 beyond = (i_size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in do_readpage()
150 memset(addr, 0, UBIFS_BLOCK_SIZE); in do_readpage()
159 int ilen = i_size & (UBIFS_BLOCK_SIZE - 1); in do_readpage()
168 addr += UBIFS_BLOCK_SIZE; in do_readpage()
646 memset(addr, 0, UBIFS_BLOCK_SIZE); in populate_page()
[all …]
Dcrypto.c61 if (clen <= 0 || clen > UBIFS_BLOCK_SIZE || clen > dlen) { in ubifs_decrypt()
66 ubifs_assert(c, dlen <= UBIFS_BLOCK_SIZE); in ubifs_decrypt()
Dubifs-media.h105 #define UBIFS_BLOCK_SIZE 4096 macro
124 #define UBIFS_MAX_INO_DATA UBIFS_BLOCK_SIZE
295 #define UBIFS_MAX_DATA_NODE_SZ (UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE)
Dreplay.c196 min_blk = r->new_size / UBIFS_BLOCK_SIZE; in trun_remove_range()
197 if (r->new_size & (UBIFS_BLOCK_SIZE - 1)) in trun_remove_range()
200 max_blk = r->old_size / UBIFS_BLOCK_SIZE; in trun_remove_range()
201 if ((r->old_size & (UBIFS_BLOCK_SIZE - 1)) == 0) in trun_remove_range()
615 UBIFS_BLOCK_SIZE; in replay_bud()
Djournal.c716 ubifs_assert(c, len <= UBIFS_BLOCK_SIZE); in ubifs_jnl_write_data()
747 ubifs_assert(c, compr_len <= UBIFS_BLOCK_SIZE); in ubifs_jnl_write_data()
1327 ubifs_assert(c, out_len <= UBIFS_BLOCK_SIZE); in truncate_data_node()
1383 dlen = new_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate()
1398 if (dn_len <= 0 || dn_len > UBIFS_BLOCK_SIZE) { in ubifs_jnl_truncate()
1451 bit = new_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate()
1455 bit = old_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate()
Dkey.h550 return (1ULL << UBIFS_S_KEY_BLOCK_BITS) * UBIFS_BLOCK_SIZE; in key_max_inode_size()
Dbudget.c655 factor = UBIFS_BLOCK_SIZE; in ubifs_reported_space()
Dubifs.h55 #define UBIFS_BLOCKS_PER_PAGE (PAGE_SIZE / UBIFS_BLOCK_SIZE)
152 (UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE * WORST_COMPR_FACTOR)
Dsuper.c408 buf->f_bsize = UBIFS_BLOCK_SIZE; in ubifs_statfs()
2081 sb->s_blocksize = UBIFS_BLOCK_SIZE; in ubifs_fill_super()
2292 if (PAGE_SIZE < UBIFS_BLOCK_SIZE) { in ubifs_init()
Ddir.c1602 stat->blksize = UBIFS_BLOCK_SIZE; in ubifs_getattr()
1620 size = ALIGN(size, UBIFS_BLOCK_SIZE); in ubifs_getattr()
Dtnc.c3479 block = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in dbg_check_inode_size()