Home
last modified time | relevance | path

Searched refs:block_header (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/staging/zram/
Dxvmalloc.c39 static int test_flag(struct block_header *block, enum blockflags flag) in test_flag()
44 static void set_flag(struct block_header *block, enum blockflags flag) in set_flag()
49 static void clear_flag(struct block_header *block, enum blockflags flag) in clear_flag()
72 static u32 get_blockprev(struct block_header *block) in get_blockprev()
77 static void set_blockprev(struct block_header *block, u16 new_offset) in set_blockprev()
82 static struct block_header *BLOCK_NEXT(struct block_header *block) in BLOCK_NEXT()
84 return (struct block_header *) in BLOCK_NEXT()
188 struct block_header *block) in insert_block()
191 struct block_header *nextblock; in insert_block()
221 struct block_header *block, u32 slindex) in remove_block()
[all …]
Dxvmalloc_int.h75 struct block_header { struct
/linux-2.6.39/lib/xz/
Dxz_dec_stream.c76 } block_header; member
239 if (s->block.compressed > s->block_header.compressed in dec_block()
241 > s->block_header.uncompressed) in dec_block()
249 if (s->block_header.compressed != VLI_UNKNOWN in dec_block()
250 && s->block_header.compressed in dec_block()
254 if (s->block_header.uncompressed != VLI_UNKNOWN in dec_block()
255 && s->block_header.uncompressed in dec_block()
259 s->block.hash.unpadded += s->block_header.size in dec_block()
481 s->block_header.compressed = s->vli; in dec_block_header()
483 s->block_header.compressed = VLI_UNKNOWN; in dec_block_header()
[all …]