Loading drivers/md/dm-bufio.c +3 −3 Original line number Diff line number Diff line Loading @@ -92,8 +92,8 @@ struct dm_bufio_client { struct block_device *bdev; unsigned int block_size; s8 sectors_per_block_bits; void (*alloc_callback)(struct dm_buffer *); void (*write_callback)(struct dm_buffer *); void (*alloc_callback)(struct dm_buffer *buf); void (*write_callback)(struct dm_buffer *buf); struct kmem_cache *slab_buffer; struct kmem_cache *slab_cache; struct dm_io_client *dm_io; Loading Loading @@ -156,7 +156,7 @@ struct dm_buffer { unsigned int write_end; struct dm_bufio_client *c; struct list_head write_list; void (*end_io)(struct dm_buffer *, blk_status_t); void (*end_io)(struct dm_buffer *buf, blk_status_t stat); #ifdef CONFIG_DM_DEBUG_BLOCK_STACK_TRACING #define MAX_STACK 10 unsigned int stack_len; Loading drivers/md/dm-core.h +1 −1 Original line number Diff line number Diff line Loading @@ -217,7 +217,7 @@ struct dm_table { struct list_head devices; /* events get handed up using this callback */ void (*event_fn)(void *); void (*event_fn)(void *data); void *event_context; struct dm_md_mempools *mempools; Loading drivers/md/dm-era-target.c +5 −5 Original line number Diff line number Diff line Loading @@ -682,7 +682,7 @@ struct digest { __le32 value; struct dm_disk_bitset info; int (*step)(struct era_metadata *, struct digest *); int (*step)(struct era_metadata *md, struct digest *d); }; static int metadata_digest_lookup_writeset(struct era_metadata *md, Loading Loading @@ -1193,8 +1193,8 @@ struct era { struct rpc { struct list_head list; int (*fn0)(struct era_metadata *); int (*fn1)(struct era_metadata *, void *); int (*fn0)(struct era_metadata *md); int (*fn1)(struct era_metadata *md, void *ref); void *arg; int result; Loading Loading @@ -1388,7 +1388,7 @@ static int perform_rpc(struct era *era, struct rpc *rpc) return rpc->result; } static int in_worker0(struct era *era, int (*fn)(struct era_metadata *)) static int in_worker0(struct era *era, int (*fn)(struct era_metadata *md)) { struct rpc rpc; rpc.fn0 = fn; Loading @@ -1398,7 +1398,7 @@ static int in_worker0(struct era *era, int (*fn)(struct era_metadata *)) } static int in_worker1(struct era *era, int (*fn)(struct era_metadata *, void *), void *arg) int (*fn)(struct era_metadata *md, void *ref), void *arg) { struct rpc rpc; rpc.fn0 = NULL; Loading drivers/md/dm-snap-persistent.c +1 −1 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ struct core_exception { }; struct commit_callback { void (*callback)(void *, int success); void (*callback)(void *ref, int success); void *context; }; Loading drivers/md/dm-sysfs.c +2 −2 Original line number Diff line number Diff line Loading @@ -12,8 +12,8 @@ struct dm_sysfs_attr { struct attribute attr; ssize_t (*show)(struct mapped_device *, char *); ssize_t (*store)(struct mapped_device *, const char *, size_t count); ssize_t (*show)(struct mapped_device *md, char *p); ssize_t (*store)(struct mapped_device *md, const char *p, size_t count); }; #define DM_ATTR_RO(_name) \ Loading Loading
drivers/md/dm-bufio.c +3 −3 Original line number Diff line number Diff line Loading @@ -92,8 +92,8 @@ struct dm_bufio_client { struct block_device *bdev; unsigned int block_size; s8 sectors_per_block_bits; void (*alloc_callback)(struct dm_buffer *); void (*write_callback)(struct dm_buffer *); void (*alloc_callback)(struct dm_buffer *buf); void (*write_callback)(struct dm_buffer *buf); struct kmem_cache *slab_buffer; struct kmem_cache *slab_cache; struct dm_io_client *dm_io; Loading Loading @@ -156,7 +156,7 @@ struct dm_buffer { unsigned int write_end; struct dm_bufio_client *c; struct list_head write_list; void (*end_io)(struct dm_buffer *, blk_status_t); void (*end_io)(struct dm_buffer *buf, blk_status_t stat); #ifdef CONFIG_DM_DEBUG_BLOCK_STACK_TRACING #define MAX_STACK 10 unsigned int stack_len; Loading
drivers/md/dm-core.h +1 −1 Original line number Diff line number Diff line Loading @@ -217,7 +217,7 @@ struct dm_table { struct list_head devices; /* events get handed up using this callback */ void (*event_fn)(void *); void (*event_fn)(void *data); void *event_context; struct dm_md_mempools *mempools; Loading
drivers/md/dm-era-target.c +5 −5 Original line number Diff line number Diff line Loading @@ -682,7 +682,7 @@ struct digest { __le32 value; struct dm_disk_bitset info; int (*step)(struct era_metadata *, struct digest *); int (*step)(struct era_metadata *md, struct digest *d); }; static int metadata_digest_lookup_writeset(struct era_metadata *md, Loading Loading @@ -1193,8 +1193,8 @@ struct era { struct rpc { struct list_head list; int (*fn0)(struct era_metadata *); int (*fn1)(struct era_metadata *, void *); int (*fn0)(struct era_metadata *md); int (*fn1)(struct era_metadata *md, void *ref); void *arg; int result; Loading Loading @@ -1388,7 +1388,7 @@ static int perform_rpc(struct era *era, struct rpc *rpc) return rpc->result; } static int in_worker0(struct era *era, int (*fn)(struct era_metadata *)) static int in_worker0(struct era *era, int (*fn)(struct era_metadata *md)) { struct rpc rpc; rpc.fn0 = fn; Loading @@ -1398,7 +1398,7 @@ static int in_worker0(struct era *era, int (*fn)(struct era_metadata *)) } static int in_worker1(struct era *era, int (*fn)(struct era_metadata *, void *), void *arg) int (*fn)(struct era_metadata *md, void *ref), void *arg) { struct rpc rpc; rpc.fn0 = NULL; Loading
drivers/md/dm-snap-persistent.c +1 −1 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ struct core_exception { }; struct commit_callback { void (*callback)(void *, int success); void (*callback)(void *ref, int success); void *context; }; Loading
drivers/md/dm-sysfs.c +2 −2 Original line number Diff line number Diff line Loading @@ -12,8 +12,8 @@ struct dm_sysfs_attr { struct attribute attr; ssize_t (*show)(struct mapped_device *, char *); ssize_t (*store)(struct mapped_device *, const char *, size_t count); ssize_t (*show)(struct mapped_device *md, char *p); ssize_t (*store)(struct mapped_device *md, const char *p, size_t count); }; #define DM_ATTR_RO(_name) \ Loading