• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/

Lines Matching defs:log

9 #include <linux/dm-dirty-log.h>
11 #include <linux/dm-log-userspace.h>
13 #include "dm-log-userspace-transfer.h"
74 DMERR(" Userspace log server not found.");
78 DMWARN("Attempting to contact userspace log server...");
86 DMINFO("Reconnected to userspace log server... DM_ULOG_CTR complete");
92 DMERR("Error trying to resume userspace log: %d", r);
130 * Where 'other args' is the userspace implementation specific log
132 * <UUID> clustered_disk <arg count> <log dev> <region_size> [[no]sync]
135 * when communicating with userspace about a log; but will pass on everything
138 static int userspace_ctr(struct dm_dirty_log *log, struct dm_target *ti,
149 DMWARN("Too few arguments to userspace dirty log");
155 DMWARN("Unable to allocate userspace log context.");
185 DMERR("Userspace log server not found");
195 DMERR("Failed to get region size of dirty log");
209 log->context = lc;
215 static void userspace_dtr(struct dm_dirty_log *log)
218 struct log_c *lc = log->context;
230 static int userspace_presuspend(struct dm_dirty_log *log)
233 struct log_c *lc = log->context;
242 static int userspace_postsuspend(struct dm_dirty_log *log)
245 struct log_c *lc = log->context;
254 static int userspace_resume(struct dm_dirty_log *log)
257 struct log_c *lc = log->context;
267 static uint32_t userspace_get_region_size(struct dm_dirty_log *log)
269 struct log_c *lc = log->context;
282 static int userspace_is_clean(struct dm_dirty_log *log, region_t region)
288 struct log_c *lc = log->context;
309 static int userspace_in_sync(struct dm_dirty_log *log, region_t region,
316 struct log_c *lc = log->context;
358 static int userspace_flush(struct dm_dirty_log *log)
362 struct log_c *lc = log->context;
390 * the log facility has failed.
409 static void userspace_mark_region(struct dm_dirty_log *log, region_t region)
412 struct log_c *lc = log->context;
438 static void userspace_clear_region(struct dm_dirty_log *log, region_t region)
441 struct log_c *lc = log->context;
473 static int userspace_get_resync_work(struct dm_dirty_log *log, region_t *region)
477 struct log_c *lc = log->context;
501 static void userspace_set_region_sync(struct dm_dirty_log *log,
505 struct log_c *lc = log->context;
533 static region_t userspace_get_sync_count(struct dm_dirty_log *log)
538 struct log_c *lc = log->context;
559 static int userspace_status(struct dm_dirty_log *log, status_type_t status_type,
565 struct log_c *lc = log->context;
575 DMEMIT("%s 1 COM_FAILURE", log->type->name);
584 DMEMIT("%s %u %s %s ", log->type->name, lc->usr_argc,
596 static int userspace_is_remote_recovering(struct dm_dirty_log *log,
601 struct log_c *lc = log->context;
668 DMWARN("Unable to initialize userspace log communications");
675 DMWARN("Couldn't register userspace dirty log type");
698 MODULE_DESCRIPTION(DM_NAME " userspace dirty log link");