Home
last modified time | relevance | path

Searched refs:metadata_len (Results 1 – 6 of 6) sorted by relevance

/xen/tools/misc/
A Dxen-livepatch.c74 uint32_t *metadata_len = NULL; in list_func() local
117 metadata_len = malloc(nr * sizeof(*metadata_len)); in list_func()
118 if ( !metadata_len ) in list_func()
125 memset(metadata_len, 'E', nr * sizeof(*metadata_len)); in list_func()
129 metadata, metadata_len, metadata_total_size, &done, &left); in list_func()
155 for ( j = 0; metadata_len[i] && j < metadata_len[i] - 1; j++ ) in list_func()
157 printf("%.*s\n", metadata_len[i], metadata_str); in list_func()
160 metadata_off += metadata_len[i]; in list_func()
164 free(metadata_len); in list_func()
/xen/tools/libxc/
A Dxc_misc.c735 char *metadata, uint32_t *metadata_len, in xc_livepatch_list() argument
754 !metadata || !metadata_len || !done || !left ) in xc_livepatch_list()
801 HYPERCALL_BOUNCE_SET_SIZE(metadata_len, nr * sizeof(*metadata_len)); in xc_livepatch_list()
807 (HYPERCALL_BUFFER(metadata_len))->ubuf = metadata_len + *done; in xc_livepatch_list()
825 rc = xc_hypercall_bounce_pre(xch, metadata_len); in xc_livepatch_list()
833 set_xen_guest_handle(sysctl.u.livepatch.u.list.metadata_len, metadata_len); in xc_livepatch_list()
851 xc_hypercall_bounce_post(xch, metadata_len); in xc_livepatch_list()
878 xc_hypercall_bounce_post(xch, metadata_len); in xc_livepatch_list()
897 HYPERCALL_BOUNCE_SET_SIZE(metadata_len, (rc * sizeof(*metadata_len))); in xc_livepatch_list()
903 xc_hypercall_bounce_post(xch, metadata_len); in xc_livepatch_list()
[all …]
/xen/xen/common/
A Dlivepatch.c1170 !guest_handle_okay(list->metadata_len, list->nr)) ) in livepatch_list()
1188 uint32_t name_len, metadata_len; in livepatch_list() local
1199 metadata_len = data->metadata.len; in livepatch_list()
1200 list->metadata_total_size += metadata_len; in livepatch_list()
1205 metadata_offset + metadata_len - 1) ) in livepatch_list()
1217 data->metadata.data, metadata_len) || in livepatch_list()
1218 __copy_to_guest_offset(list->metadata_len, idx, &metadata_len, 1) ) in livepatch_list()
1226 metadata_offset += metadata_len; in livepatch_list()
/xen/xen/include/public/
A Dsysctl.h985 XEN_GUEST_HANDLE_64(uint32) metadata_len; /* OUT: Array of lengths of metadata's.
/xen/docs/misc/
A Dlivepatch.pandoc743 * `metadata_len` - Virtual address of where to write the length of each metadata
753 The `status`, `name`, `len`, `metadata` and `metadata_len` are updated at their
805 XEN_GUEST_HANDLE_64(uint32) metadata_len; /* OUT: Array of lengths of metadata's.
/xen/tools/libxc/include/
A Dxenctrl.h2631 char *metadata, uint32_t *metadata_len,

Completed in 18 milliseconds