Lines Matching refs:handle
81 u64 handle; member
106 static struct kcov_remote *kcov_remote_find(u64 handle) in kcov_remote_find() argument
110 hash_for_each_possible(kcov_remote_map, remote, hnode, handle) { in kcov_remote_find()
111 if (remote->handle == handle) in kcov_remote_find()
118 static struct kcov_remote *kcov_remote_add(struct kcov *kcov, u64 handle) in kcov_remote_add() argument
122 if (kcov_remote_find(handle)) in kcov_remote_add()
127 remote->handle = handle; in kcov_remote_add()
129 hash_add(kcov_remote_map, &remote->hnode, handle); in kcov_remote_add()
567 static inline bool kcov_check_handle(u64 handle, bool common_valid, in kcov_check_handle() argument
570 if (handle & ~(KCOV_SUBSYSTEM_MASK | KCOV_INSTANCE_MASK)) in kcov_check_handle()
572 switch (handle & KCOV_SUBSYSTEM_MASK) { in kcov_check_handle()
574 return (handle & KCOV_INSTANCE_MASK) ? in kcov_check_handle()
847 void kcov_remote_start(u64 handle) in kcov_remote_start() argument
858 if (WARN_ON(!kcov_check_handle(handle, true, true, true))) in kcov_remote_start()
885 remote = kcov_remote_find(handle); in kcov_remote_start()
891 kcov_debug("handle = %llx, context: %s\n", handle, in kcov_remote_start()