Searched refs:clock_context (Results 1 – 3 of 3) sorted by relevance
116 struct clock_sync_context *clock_context; in ptp_clock_sync_init() local123 clock_context = (struct clock_sync_context *)tsync->context; in ptp_clock_sync_init()124 if (clock_context->proto_data) in ptp_clock_sync_init()134 path = tracefs_instance_get_dir(clock_context->instance); in ptp_clock_sync_init()152 path = tracefs_instance_get_file(clock_context->instance, "trace_marker_raw"); in ptp_clock_sync_init()158 clock_context->proto_data = ptp; in ptp_clock_sync_init()161 if (clock_context->is_server) { in ptp_clock_sync_init()165 sprintf(buff, "res-id%d.txt", clock_context->remote_id); in ptp_clock_sync_init()187 struct clock_sync_context *clock_context; in ptp_clock_sync_free() local192 clock_context = (struct clock_sync_context *)tsync->context; in ptp_clock_sync_free()[all …]
289 struct clock_sync_context *clock_context; in kvm_clock_sync_init_guest() local293 clock_context = (struct clock_sync_context *)tsync->context; in kvm_clock_sync_init_guest()294 path = tracefs_instance_get_dir(clock_context->instance); in kvm_clock_sync_init_guest()309 path = tracefs_instance_get_file(clock_context->instance, "trace_marker_raw"); in kvm_clock_sync_init_guest()328 struct clock_sync_context *clock_context; in kvm_clock_sync_init() local334 clock_context = (struct clock_sync_context *)tsync->context; in kvm_clock_sync_init()336 if (!kvm_support_check(clock_context->is_guest)) in kvm_clock_sync_init()342 if (clock_context->is_guest) in kvm_clock_sync_init()349 clock_context->proto_data = kvm; in kvm_clock_sync_init()359 struct clock_sync_context *clock_context; in kvm_clock_sync_free() local[all …]
33 int (*clock_sync_init)(struct tracecmd_time_sync *clock_context);34 int (*clock_sync_free)(struct tracecmd_time_sync *clock_context);35 int (*clock_sync_calc)(struct tracecmd_time_sync *clock_context,