Searched refs:UBIFS_BLOCK_SIZE (Results 1 - 11 of 11) sorted by relevance
/linux-master/fs/ubifs/ |
H A D | crypto.c | 72 if (clen <= 0 || clen > UBIFS_BLOCK_SIZE || clen > dlen) { 77 ubifs_assert(c, dlen <= UBIFS_BLOCK_SIZE);
|
H A D | file.c | 58 memset(addr, 0, UBIFS_BLOCK_SIZE); 65 if (len <= 0 || len > UBIFS_BLOCK_SIZE) 76 out_len = UBIFS_BLOCK_SIZE; 87 if (len < UBIFS_BLOCK_SIZE) 88 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len); 117 beyond = (i_size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT; 138 memset(addr, 0, UBIFS_BLOCK_SIZE); 147 int ilen = i_size & (UBIFS_BLOCK_SIZE - 1); 156 addr += UBIFS_BLOCK_SIZE; 158 kunmap_local(addr - UBIFS_BLOCK_SIZE); [all...] |
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 | 186 min_blk = r->new_size / UBIFS_BLOCK_SIZE; 187 if (r->new_size & (UBIFS_BLOCK_SIZE - 1)) 190 max_blk = r->old_size / UBIFS_BLOCK_SIZE; 191 if ((r->old_size & (UBIFS_BLOCK_SIZE - 1)) == 0) 756 UBIFS_BLOCK_SIZE;
|
H A D | journal.c | 845 * @len: data length (must not exceed %UBIFS_BLOCK_SIZE) 863 ubifs_assert(c, len <= UBIFS_BLOCK_SIZE); 896 ubifs_assert(c, compr_len <= UBIFS_BLOCK_SIZE); 1653 ubifs_assert(c, out_len <= UBIFS_BLOCK_SIZE); 1718 dlen = new_size & (UBIFS_BLOCK_SIZE - 1); 1733 if (dn_len <= 0 || dn_len > UBIFS_BLOCK_SIZE) { 1802 bit = new_size & (UBIFS_BLOCK_SIZE - 1); 1806 bit = old_size & (UBIFS_BLOCK_SIZE - 1);
|
H A D | key.h | 537 return (1ULL << UBIFS_S_KEY_BLOCK_BITS) * UBIFS_BLOCK_SIZE;
|
H A D | budget.c | 639 factor = UBIFS_BLOCK_SIZE;
|
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 | 417 buf->f_bsize = UBIFS_BLOCK_SIZE; 2221 sb->s_blocksize = UBIFS_BLOCK_SIZE; 2429 * UBIFS_BLOCK_SIZE. It is assumed that both are powers of 2. 2431 if (PAGE_SIZE < UBIFS_BLOCK_SIZE) {
|
H A D | dir.c | 1670 stat->blksize = UBIFS_BLOCK_SIZE; 1688 size = ALIGN(size, UBIFS_BLOCK_SIZE);
|
H A D | tnc.c | 3538 block = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT;
|
Completed in 209 milliseconds