• Home
  • Raw
  • Download

Lines Matching refs:target

93 	struct target *t;
96 struct target { struct
150 struct target *target; argument
194 static inline bool is_user_space_thread_present(struct target *t) in is_user_space_thread_present()
205 struct target *t = msg->t; in process_delayed_work()
272 static inline struct target *target_from_target(struct dm_target *target) in target_from_target() argument
274 WARN_ON(target->private == NULL); in target_from_target()
275 return target->private; in target_from_target()
278 static inline struct target *target_from_miscdev(struct miscdevice *miscdev) in target_from_miscdev()
280 return container_of(miscdev, struct target, miscdev); in target_from_miscdev()
289 static inline struct target *target_from_channel(struct channel *c) in target_from_channel()
291 WARN_ON(c->target == NULL); in target_from_channel()
292 return c->target; in target_from_channel()
577 static struct message *msg_get_map(struct target *t) in msg_get_map()
590 static struct message *msg_get_to_user(struct target *t) in msg_get_to_user()
646 static int target_poll(struct target *t) in target_poll()
653 struct target *t = container_of(ref, struct target, references); in target_release()
682 static void target_put(struct target *t) in target_put()
718 static struct channel *channel_alloc(struct target *t) in channel_alloc()
729 c->target = t; in channel_alloc()
756 message_kill(c->cur_to_user, &c->target->message_pool); in channel_free()
758 message_kill(c->cur_from_user, &c->target->message_pool); in channel_free()
761 &c->target->message_pool); in channel_free()
763 mutex_lock(&c->target->lock); in channel_free()
764 target_put(c->target); in channel_free()
773 struct target *t; in dev_open()
787 t = container_of(file->private_data, struct target, miscdev); in dev_open()
814 struct target *t = target_from_channel(c); in dev_read()
935 mutex_lock(&c->target->lock); in dev_write()
940 mutex_unlock(&c->target->lock); in dev_write()
944 mutex_unlock(&c->target->lock); in dev_write()
998 mempool_free(c->cur_from_user, &c->target->message_pool); in dev_write()
1029 struct target *t; in user_ctr()
1111 struct target *t = target_from_target(ti); in user_dtr()
1146 struct target *t; in user_map()