Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 174) sorted by relevance

1234567

/xen/tools/golang/xenlight/
A Dhelpers.gen.go41 if err := x.fromC(&xc); err != nil {
72 if err := x.fromC(&xc); err != nil {
105 if err := x.fromC(&xc); err != nil {
134 if err := x.fromC(&xc); err != nil {
181 if err := x.fromC(&xc); err != nil {
256 if err := x.fromC(&xc); err != nil {
301 if err := x.fromC(&xc); err != nil {
375 if err := x.fromC(&xc); err != nil {
418 if err := x.fromC(&xc); err != nil {
505 if err := x.fromC(&xc); err != nil {
[all …]
A Dxenlight.go650 if err = Cpumap.toC(&cbm); err != nil {
693 if err = Cpumap.toC(&cbm); err != nil {
722 if err = Cpumap.toC(&cbm); err != nil {
1159 if err := nic.toC(&cnic); err != nil {
1160 return err
1176 if err := nic.toC(&cnic); err != nil {
1177 return err
1193 if err := pci.toC(&cpci); err != nil {
1210 if err := pci.toC(&cpci); err != nil {
1227 if err := usbdev.toC(&cusbdev); err != nil {
[all …]
/xen/xen/common/libfdt/
A Dfdt_empty_tree.c58 int err; in fdt_create_empty_tree() local
61 if (err) in fdt_create_empty_tree()
62 return err; in fdt_create_empty_tree()
65 if (err) in fdt_create_empty_tree()
66 return err; in fdt_create_empty_tree()
69 if (err) in fdt_create_empty_tree()
70 return err; in fdt_create_empty_tree()
73 if (err) in fdt_create_empty_tree()
74 return err; in fdt_create_empty_tree()
77 if (err) in fdt_create_empty_tree()
[all …]
A Dfdt_rw.c113 int err; in _fdt_splice_mem_rsv() local
115 if (err) in _fdt_splice_mem_rsv()
126 int err; in _fdt_splice_struct() local
140 int err; in _fdt_splice_string() local
155 int err; in _fdt_find_add_string() local
164 if (err) in _fdt_find_add_string()
174 int err; in fdt_add_mem_rsv() local
180 if (err) in fdt_add_mem_rsv()
191 int err; in fdt_del_mem_rsv() local
199 if (err) in fdt_del_mem_rsv()
[all …]
A Dfdt_ro.c202 int err; in fdt_get_name() local
215 *len = err; in fdt_get_name()
241 int err; in fdt_get_property_by_offset() local
246 *lenp = err; in fdt_get_property_by_offset()
446 int err; in fdt_node_depth() local
449 if (err) in fdt_node_depth()
450 return (err < 0) ? err : -FDT_ERR_INTERNAL; in fdt_node_depth()
551 int offset, err; in fdt_node_offset_by_compatible() local
564 if ((err < 0) && (err != -FDT_ERR_NOTFOUND)) in fdt_node_offset_by_compatible()
565 return err; in fdt_node_offset_by_compatible()
[all …]
/xen/tools/misc/
A Dxenwatchdogd.c20 err(1, "fork"); in daemonize()
28 err(1, "setsid"); in daemonize()
30 err(1, "chdir /"); in daemonize()
32 err(1, "reopen stdin"); in daemonize()
69 err(1, "strtoul"); in main()
75 err(1, "strtoul"); in main()
79 err(1, "signal"); in main()
81 err(1, "signal"); in main()
83 err(1, "signal"); in main()
85 err(1, "signal"); in main()
[all …]
A Dxencov.c52 err(1, "getting total length"); in cov_read()
61 err(1, "allocating buffer"); in cov_read()
66 err(1, "getting gcov data"); in cov_read()
74 err(1, "opening output file"); in cov_read()
77 err(1, "writing gcov data to file"); in cov_read()
90 err(1, "resetting gcov information"); in cov_reset()
126 err(1, "opening xc interface"); in main()
/xen/tools/flask/utils/
A Dget-bool.c28 int err = 0, i = 0, curr, pend; in all_bools() local
32 if (err < 0) { in all_bools()
36 i, strerror(errno), err); in all_bools()
49 int err = 0; in main() local
61 err = 1; in main()
67 err = all_bools(xch); in main()
71 err = xc_flask_getbool_byname(xch, argv[1], &curr, &pend); in main()
72 if (err) { in main()
74 argv[1], strerror(errno), err); in main()
75 err = 2; in main()
[all …]
A Dset-bool.c40 int err = 0; in main() local
54 err = 1; in main()
58 err = xc_flask_setbool(xch, argv[1], value, 1); in main()
59 if (err) { in main()
61 argv[1], argv[2], strerror(errno), err); in main()
62 err = 2; in main()
70 return err; in main()
A Dlabel-pci.c37 int ret, err = 0; in main() local
53 err = 1; in main()
67 err = 1; in main()
75 err = 2; in main()
86 err = 2; in main()
96 err = 2; in main()
114 err = 2; in main()
122 return err; in main()
/xen/tools/libfsimage/ext2fs-lib/
A Dext2fs-lib.c32 int err; in ext2lib_mount() local
46 if (err != 0) { in ext2lib_mount()
76 int err; in ext2lib_open() local
81 if (err != 0) { in ext2lib_open()
90 err = ext2fs_file_open(*fs, ino, 0, f); in ext2lib_open()
92 if (err != 0) { in ext2lib_open()
109 int err; in ext2lib_read() local
111 err = ext2fs_file_read(*f, buf, nbytes, &n); in ext2lib_read()
112 if (err != 0) { in ext2lib_read()
126 int err; in ext2lib_pread() local
[all …]
/xen/tools/helpers/
A Dinit-xenstore-domain.c105 goto err; in build()
111 goto err; in build()
117 goto err; in build()
123 goto err; in build()
129 goto err; in build()
136 goto err; in build()
148 goto err; in build()
158 goto err; in build()
175 goto err; in build()
230 err: in build()
[all …]
/xen/tools/libxc/
A Dxc_flask.c66 int err; in xc_flask_load() local
83 return err; in xc_flask_load()
88 int err; in xc_flask_context_to_sid() local
104 if ( !err ) in xc_flask_context_to_sid()
109 return err; in xc_flask_context_to_sid()
114 int err; in xc_flask_sid_to_context() local
133 return err; in xc_flask_sid_to_context()
247 int err; in xc_flask_add() local
251 if ( err ) in xc_flask_add()
324 int err; in xc_flask_access() local
[all …]
A Dxc_sr_restore.c150 goto err; in populate_pfns()
193 err: in populate_pfns()
222 goto err; in process_page_data()
229 goto err; in process_page_data()
269 goto err; in process_page_data()
321 err: in process_page_data()
438 err: in handle_page_data()
526 err: in send_checkpoint_dirty_pfn_list()
628 err: in handle_checkpoint()
767 err: in setup()
[all …]
A Dxc_cpupool.c41 int err; in xc_cpupool_create() local
50 return err; in xc_cpupool_create()
70 int err = 0; in xc_cpupool_getinfo() local
95 err = do_sysctl_save(xch, &sysctl); in xc_cpupool_getinfo()
97 if ( err < 0 ) in xc_cpupool_getinfo()
154 int err = 0; in xc_cpupool_removecpu() local
162 err = do_sysctl_save(xch, &sysctl); in xc_cpupool_removecpu()
166 return err; in xc_cpupool_removecpu()
184 int err = -1; in xc_cpupool_freeinfo() local
205 err = do_sysctl_save(xch, &sysctl); in xc_cpupool_freeinfo()
[all …]
A Dxc_sr_save.c124 goto err; in write_batch()
144 goto err; in write_batch()
220 goto err; in write_batch()
263 goto err; in write_batch()
270 err: in write_batch()
599 goto err; in colo_merge_secondary_dirty_bitmap()
605 goto err; in colo_merge_secondary_dirty_bitmap()
633 err: in colo_merge_secondary_dirty_bitmap()
793 err: in send_domain_memory_nonlive()
825 err: in setup()
[all …]
/xen/xen/common/
A Dcpu.c101 int err; in cpu_down() local
106 err = -EINVAL; in cpu_down()
110 err = -EEXIST; in cpu_down()
115 if ( err ) in cpu_down()
125 BUG_ON(err); in cpu_down()
137 return err; in cpu_down()
142 int err; in cpu_up() local
147 err = -EINVAL; in cpu_up()
151 err = -EEXIST; in cpu_up()
156 if ( err ) in cpu_up()
[all …]
/xen/xen/arch/x86/
A Dbzimage.c78 int err; in bzimage_headroom() local
81 err = bzimage_check(hdr, image_length); in bzimage_headroom()
82 if ( err < 0 ) in bzimage_headroom()
85 if ( err > 0 ) in bzimage_headroom()
111 int err = bzimage_check(hdr, *image_len); in bzimage_parse() local
114 if ( err < 0 ) in bzimage_parse()
115 return err; in bzimage_parse()
117 if ( err > 0 ) in bzimage_parse()
131 err = decompress(*image_start, orig_image_len, image_base); in bzimage_parse()
133 if ( !err ) in bzimage_parse()
[all …]
/xen/tools/libs/foreignmemory/
A Dcore.c53 if (!fmem->logger) goto err; in xenforeignmemory_open()
57 if ( rc < 0 ) goto err; in xenforeignmemory_open()
61 err: in xenforeignmemory_open()
86 const xen_pfn_t arr[/*num*/], int err[/*num*/]) in xenforeignmemory_map2()
91 if ( err == NULL ) in xenforeignmemory_map2()
92 err = err_to_free = malloc(num * sizeof(int)); in xenforeignmemory_map2()
94 if ( err == NULL ) in xenforeignmemory_map2()
105 if ( err[i] ) in xenforeignmemory_map2()
107 errno = -err[i]; in xenforeignmemory_map2()
123 const xen_pfn_t arr[/*num*/], int err[/*num*/]) in xenforeignmemory_map()
[all …]
A Dcompat.c26 const xen_pfn_t arr[/*num*/], int err[/*num*/]) in osdep_xenforeignmemory_map()
50 err[i] = 0; in osdep_xenforeignmemory_map()
53 err[i] = -EINVAL; in osdep_xenforeignmemory_map()
57 memset(err, 0, num * sizeof(*err)); in osdep_xenforeignmemory_map()
/xen/tools/libxl/
A Dlibxl_stream_read.c286 goto err; in libxl__stream_read_start()
291 err: in libxl__stream_read_start()
332 goto err; in stream_header_done()
363 err: in stream_header_done()
492 err: in setup_read_record()
524 err: in record_header_done()
546 err: in record_body_done()
655 err: in process_record()
711 err: in write_emulator_blob()
732 err: in write_emulator_done()
[all …]
A Dlibxlu_cfg.c46 ctx->err= 0; in ctx_prep()
71 if (r) assert(ctx->err); in parse()
92 ctx.err = errno; in xlu_cfg_readfile()
106 return ctx.err; in xlu_cfg_readfile()
121 ctx.err= ENOMEM; in xlu_cfg_readdata()
131 return ctx.err; in xlu_cfg_readdata()
397 if (ctx->err) goto x; in xlu__cfg_string_mk()
408 ctx->err= errno; in xlu__cfg_string_mk()
439 ctx->err= errno; in xlu__cfg_list_mk()
585 assert(ctx->err); in xlu__cfg_set_store()
[all …]
/xen/xen/xsm/flask/ss/
A Dconditional.c237 goto err; in cond_read_bool()
243 goto err; in cond_read_bool()
249 goto err; in cond_read_bool()
252 goto err; in cond_read_bool()
255 goto err; in cond_read_bool()
258 err: in cond_read_bool()
342 goto err; in cond_insertf()
357 err: in cond_insertf()
468 err: in cond_read_node()
488 goto err; in cond_read_list()
[all …]
/xen/tools/tests/mce-test/tools/
A Dxen-mceinj.c134 static void err(xc_interface *xc_handle, const char *fmt, ...) in err() function
191 err(xc_handle, "Failed to get mca_cpuinfo"); in inject_cmci()
227 err(xc_handle, "Failed to get mca_cpuinfo"); in inject_lmce()
234 err(xc_handle, "Failed to allocate cpumap\n"); in inject_lmce()
375 err(xc_handle, "Failed to inject MCG_STATUS MSR"); in inject()
380 err(xc_handle, "Failed to inject MCi_STATUS MSR"); in inject()
385 err(xc_handle, "Failed to inject MCi_MISC MSR"); in inject()
389 err(xc_handle, "Failed to inject MCi_ADDR MSR"); in inject()
393 err(xc_handle, "Failed to inject MSR"); in inject()
401 err(xc_handle, "Failed to inject MCE error"); in inject()
[all …]
/xen/tools/libfsimage/common/
A Dfsimage.c43 int err; in fsi_open_fsimage() local
57 err = find_plugin(fsi, path, options); in fsi_open_fsimage()
59 if (err != 0) in fsi_open_fsimage()
65 err = errno; in fsi_open_fsimage()
69 errno = err; in fsi_open_fsimage()
109 int err; in fsi_close_file() local
113 err = ops->fpo_close(ffi); in fsi_close_file()
116 return (err); in fsi_close_file()

Completed in 58 milliseconds

1234567