Lines Matching defs:sctx
63 struct switch_ctx *sctx; in alloc_switch_ctx() local
79 struct switch_ctx *sctx = ti->private; in alloc_region_table() local
127 static void switch_get_position(struct switch_ctx *sctx, unsigned long region_nr, in switch_get_position()
141 static unsigned int switch_region_table_read(struct switch_ctx *sctx, unsigned long region_nr) in switch_region_table_read()
155 static unsigned int switch_get_path_nr(struct switch_ctx *sctx, sector_t offset) in switch_get_path_nr()
175 static void switch_region_table_write(struct switch_ctx *sctx, unsigned long region_nr, in switch_region_table_write()
193 static void initialise_region_table(struct switch_ctx *sctx) in initialise_region_table()
207 struct switch_ctx *sctx = ti->private; in parse_path() local
236 struct switch_ctx *sctx = ti->private; in switch_dtr() local
261 struct switch_ctx *sctx; in switch_ctr() local
322 struct switch_ctx *sctx = ti->private; in switch_map() local
374 static int process_set_region_mappings(struct switch_ctx *sctx, in process_set_region_mappings()
475 struct switch_ctx *sctx = ti->private; in switch_message() local
493 struct switch_ctx *sctx = ti->private; in switch_status() local
522 struct switch_ctx *sctx = ti->private; in switch_prepare_ioctl() local
541 struct switch_ctx *sctx = ti->private; in switch_iterate_devices() local