Searched refs:UBIFS_BLOCK_SIZE (Results 1 - 20 of 20) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ubifs/
H A Dfile.c70 memset(addr, 0, UBIFS_BLOCK_SIZE);
77 if (len <= 0 || len > UBIFS_BLOCK_SIZE)
81 out_len = UBIFS_BLOCK_SIZE;
92 if (len < UBIFS_BLOCK_SIZE)
93 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len);
121 beyond = (i_size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT;
142 memset(addr, 0, UBIFS_BLOCK_SIZE);
151 int ilen = i_size & (UBIFS_BLOCK_SIZE - 1);
160 addr += UBIFS_BLOCK_SIZE;
632 memset(addr, 0, UBIFS_BLOCK_SIZE);
[all...]
H A 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)
H A Djournal.c682 * @len: data length (must not exceed %UBIFS_BLOCK_SIZE)
692 int dlen = UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE * WORST_COMPR_FACTOR;
698 ubifs_assert(len <= UBIFS_BLOCK_SIZE);
717 ubifs_assert(out_len <= UBIFS_BLOCK_SIZE);
1098 ubifs_assert(out_len <= UBIFS_BLOCK_SIZE);
1153 dlen = new_size & (UBIFS_BLOCK_SIZE - 1);
1220 bit = new_size & (UBIFS_BLOCK_SIZE - 1);
1224 bit = old_size & (UBIFS_BLOCK_SIZE - 1);
H A Dreplay.c178 min_blk = r->new_size / UBIFS_BLOCK_SIZE;
179 if (r->new_size & (UBIFS_BLOCK_SIZE - 1))
182 max_blk = r->old_size / UBIFS_BLOCK_SIZE;
183 if ((r->old_size & (UBIFS_BLOCK_SIZE - 1)) == 0)
566 UBIFS_BLOCK_SIZE;
H A Dkey.h528 return (1ULL << UBIFS_S_KEY_BLOCK_BITS) * UBIFS_BLOCK_SIZE;
H A Dbudget.c657 factor = UBIFS_BLOCK_SIZE;
H A Ddir.c1164 stat->blksize = UBIFS_BLOCK_SIZE;
1182 size = ALIGN(size, UBIFS_BLOCK_SIZE);
H A Dsuper.c399 buf->f_bsize = UBIFS_BLOCK_SIZE;
1984 sb->s_blocksize = UBIFS_BLOCK_SIZE;
2169 * UBIFS_BLOCK_SIZE. It is assumed that both are powers of 2.
2171 if (PAGE_CACHE_SIZE < UBIFS_BLOCK_SIZE) {
H A Dubifs.h60 #define UBIFS_BLOCKS_PER_PAGE (PAGE_CACHE_SIZE / UBIFS_BLOCK_SIZE)
H A Dtnc.c3299 block = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/ubifs/
H A Dfile.c70 memset(addr, 0, UBIFS_BLOCK_SIZE);
77 if (len <= 0 || len > UBIFS_BLOCK_SIZE)
81 out_len = UBIFS_BLOCK_SIZE;
92 if (len < UBIFS_BLOCK_SIZE)
93 memset(addr + len, 0, UBIFS_BLOCK_SIZE - len);
121 beyond = (i_size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT;
142 memset(addr, 0, UBIFS_BLOCK_SIZE);
151 int ilen = i_size & (UBIFS_BLOCK_SIZE - 1);
160 addr += UBIFS_BLOCK_SIZE;
632 memset(addr, 0, UBIFS_BLOCK_SIZE);
[all...]
H A 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)
H A Djournal.c682 * @len: data length (must not exceed %UBIFS_BLOCK_SIZE)
692 int dlen = UBIFS_DATA_NODE_SZ + UBIFS_BLOCK_SIZE * WORST_COMPR_FACTOR;
698 ubifs_assert(len <= UBIFS_BLOCK_SIZE);
717 ubifs_assert(out_len <= UBIFS_BLOCK_SIZE);
1098 ubifs_assert(out_len <= UBIFS_BLOCK_SIZE);
1153 dlen = new_size & (UBIFS_BLOCK_SIZE - 1);
1220 bit = new_size & (UBIFS_BLOCK_SIZE - 1);
1224 bit = old_size & (UBIFS_BLOCK_SIZE - 1);
H A Dreplay.c178 min_blk = r->new_size / UBIFS_BLOCK_SIZE;
179 if (r->new_size & (UBIFS_BLOCK_SIZE - 1))
182 max_blk = r->old_size / UBIFS_BLOCK_SIZE;
183 if ((r->old_size & (UBIFS_BLOCK_SIZE - 1)) == 0)
566 UBIFS_BLOCK_SIZE;
H A Dkey.h528 return (1ULL << UBIFS_S_KEY_BLOCK_BITS) * UBIFS_BLOCK_SIZE;
H A Dbudget.c657 factor = UBIFS_BLOCK_SIZE;
H A Ddir.c1164 stat->blksize = UBIFS_BLOCK_SIZE;
1182 size = ALIGN(size, UBIFS_BLOCK_SIZE);
H A Dsuper.c399 buf->f_bsize = UBIFS_BLOCK_SIZE;
1984 sb->s_blocksize = UBIFS_BLOCK_SIZE;
2169 * UBIFS_BLOCK_SIZE. It is assumed that both are powers of 2.
2171 if (PAGE_CACHE_SIZE < UBIFS_BLOCK_SIZE) {
H A Dubifs.h60 #define UBIFS_BLOCKS_PER_PAGE (PAGE_CACHE_SIZE / UBIFS_BLOCK_SIZE)
H A Dtnc.c3299 block = (size + UBIFS_BLOCK_SIZE - 1) >> UBIFS_BLOCK_SHIFT;

Completed in 272 milliseconds