Lines Matching defs:sctx
62 struct switch_ctx *sctx; in alloc_switch_ctx() local
78 struct switch_ctx *sctx = ti->private; in alloc_region_table() local
126 static void switch_get_position(struct switch_ctx *sctx, unsigned long region_nr, in switch_get_position()
140 static unsigned switch_region_table_read(struct switch_ctx *sctx, unsigned long region_nr) in switch_region_table_read()
154 static unsigned switch_get_path_nr(struct switch_ctx *sctx, sector_t offset) in switch_get_path_nr()
174 static void switch_region_table_write(struct switch_ctx *sctx, unsigned long region_nr, in switch_region_table_write()
192 static void initialise_region_table(struct switch_ctx *sctx) in initialise_region_table()
206 struct switch_ctx *sctx = ti->private; in parse_path() local
235 struct switch_ctx *sctx = ti->private; in switch_dtr() local
260 struct switch_ctx *sctx; in switch_ctr() local
321 struct switch_ctx *sctx = ti->private; in switch_map() local
373 static int process_set_region_mappings(struct switch_ctx *sctx, in process_set_region_mappings()
474 struct switch_ctx *sctx = ti->private; in switch_message() local
492 struct switch_ctx *sctx = ti->private; in switch_status() local
521 struct switch_ctx *sctx = ti->private; in switch_prepare_ioctl() local
540 struct switch_ctx *sctx = ti->private; in switch_iterate_devices() local