Lines Matching refs:ctx
31 xen_pfn_t (*pfn_to_gfn)(const struct xc_sr_context *ctx, xen_pfn_t pfn);
53 int (*normalise_page)(struct xc_sr_context *ctx, xen_pfn_t type,
63 int (*setup)(struct xc_sr_context *ctx);
69 int (*static_data)(struct xc_sr_context *ctx);
75 int (*start_of_stream)(struct xc_sr_context *ctx);
82 int (*start_of_checkpoint)(struct xc_sr_context *ctx);
89 int (*end_of_checkpoint)(struct xc_sr_context *ctx);
98 int (*check_vm_state)(struct xc_sr_context *ctx);
104 int (*cleanup)(struct xc_sr_context *ctx);
117 xen_pfn_t (*pfn_to_gfn)(const struct xc_sr_context *ctx, xen_pfn_t pfn);
120 bool (*pfn_is_valid)(const struct xc_sr_context *ctx, xen_pfn_t pfn);
123 void (*set_gfn)(struct xc_sr_context *ctx, xen_pfn_t pfn, xen_pfn_t gfn);
126 void (*set_page_type)(struct xc_sr_context *ctx, xen_pfn_t pfn,
138 int (*localise_page)(struct xc_sr_context *ctx, uint32_t type, void *page);
146 int (*setup)(struct xc_sr_context *ctx);
159 int (*process_record)(struct xc_sr_context *ctx, struct xc_sr_record *rec);
167 int (*static_data_complete)(struct xc_sr_context *ctx,
174 int (*stream_complete)(struct xc_sr_context *ctx);
180 int (*cleanup)(struct xc_sr_context *ctx);
418 int write_split_record(struct xc_sr_context *ctx, struct xc_sr_record *rec,
428 static inline int write_record(struct xc_sr_context *ctx, in write_record() argument
431 return write_split_record(ctx, rec, NULL, 0); in write_record()
446 int read_record(struct xc_sr_context *ctx, int fd, struct xc_sr_record *rec);
453 int populate_pfns(struct xc_sr_context *ctx, unsigned int count,
457 int handle_static_data_end(struct xc_sr_context *ctx);