Searched refs:zram (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/zram/
H A DMakefile0 zram-objs := zram_drv.o xvmalloc.o
3 obj-$(CONFIG_ZRAM) += zram.o
H A Dzram_drv.c15 #define KMSG_COMPONENT "zram"
36 static struct zram *devices;
41 static int zram_test_flag(struct zram *zram, u32 index, argument
44 return zram->table[index].flags & BIT(flag);
47 static void zram_set_flag(struct zram *zram, u32 index, argument
50 zram->table[index].flags |= BIT(flag);
53 static void zram_clear_flag(struct zram *zram, u3 argument
74 zram_set_disksize(struct zram *zram, size_t totalram_bytes) argument
103 zram_ioctl_get_stats(struct zram *zram, struct zram_ioctl_stats *s) argument
146 zram_free_page(struct zram *zram, size_t index) argument
201 handle_uncompressed_page(struct zram *zram, struct page *page, u32 index) argument
217 zram_read(struct zram *zram, struct bio *bio) argument
293 zram_write(struct zram *zram, struct bio *bio) argument
416 valid_io_request(struct zram *zram, struct bio *bio) argument
436 struct zram *zram = queue->queuedata; local
462 reset_device(struct zram *zram) argument
505 zram_ioctl_init_device(struct zram *zram) argument
566 zram_ioctl_reset_device(struct zram *zram) argument
580 struct zram *zram = bdev->bd_disk->private_data; local
647 struct zram *zram; local
660 create_device(struct zram *zram, int device_id) argument
715 destroy_device(struct zram *zram) argument
778 struct zram *zram; local
[all...]
H A Dzram_drv.h41 /* Default zram disk size: 25% of total RAM */
63 /* Flags for zram pages (table[page_no].flags) */
103 struct zram { struct
137 static void zram_stat64_inc(struct zram *zram, u64 *v) argument
139 spin_lock(&zram->stat64_lock);
141 spin_unlock(&zram->stat64_lock);
144 static u64 zram_stat64_read(struct zram *zram, u64 *v) argument
148 spin_lock(&zram
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/
H A DMakefile42 obj-$(CONFIG_ZRAM) += zram/

Completed in 69 milliseconds