Home
last modified time | relevance | path

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

/fs/ubifs/
A Dfile.c65 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()
145 int ilen = i_size & (UBIFS_BLOCK_SIZE - 1); in do_readpage()
154 offset += UBIFS_BLOCK_SIZE; in do_readpage()
628 if (len <= 0 || len > UBIFS_BLOCK_SIZE) in populate_page()
632 out_len = UBIFS_BLOCK_SIZE; in populate_page()
646 if (len < UBIFS_BLOCK_SIZE) in populate_page()
648 UBIFS_BLOCK_SIZE - len); in populate_page()
661 offset += UBIFS_BLOCK_SIZE; in populate_page()
[all …]
A Dcrypto.c72 if (clen <= 0 || clen > UBIFS_BLOCK_SIZE || clen > dlen) { in ubifs_decrypt()
77 ubifs_assert(c, dlen <= UBIFS_BLOCK_SIZE); in ubifs_decrypt()
A Dubifs-media.h93 #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)
A Dreplay.c187 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()
757 UBIFS_BLOCK_SIZE; in replay_bud()
A Djournal.c869 ubifs_assert(c, len <= UBIFS_BLOCK_SIZE); in ubifs_jnl_write_data()
903 ubifs_assert(c, compr_len <= UBIFS_BLOCK_SIZE); in ubifs_jnl_write_data()
1665 ubifs_assert(c, out_len <= UBIFS_BLOCK_SIZE); in truncate_data_node()
1730 dlen = new_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate()
1745 if (dn_len <= 0 || dn_len > UBIFS_BLOCK_SIZE) { in ubifs_jnl_truncate()
1814 bit = new_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate()
1818 bit = old_size & (UBIFS_BLOCK_SIZE - 1); in ubifs_jnl_truncate()
A Dkey.h537 return (1ULL << UBIFS_S_KEY_BLOCK_BITS) * UBIFS_BLOCK_SIZE; in key_max_inode_size()
A Dbudget.c639 factor = UBIFS_BLOCK_SIZE; in ubifs_reported_space()
A Dubifs.h47 #define UBIFS_BLOCKS_PER_PAGE (PAGE_SIZE / UBIFS_BLOCK_SIZE)
137 (UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE)
A Dsuper.c417 buf->f_bsize = UBIFS_BLOCK_SIZE; in ubifs_statfs()
2178 sb->s_blocksize = UBIFS_BLOCK_SIZE; in ubifs_fill_super()
2440 if (PAGE_SIZE < UBIFS_BLOCK_SIZE) { in ubifs_init()
A Ddir.c1694 stat->blksize = UBIFS_BLOCK_SIZE; in ubifs_getattr()
1712 size = ALIGN(size, UBIFS_BLOCK_SIZE); in ubifs_getattr()
A Dtnc.c3536 block = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; in dbg_check_inode_size()

Completed in 36 milliseconds