Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 741) sorted by relevance

12345678910>>...30

/xen/tools/xenstat/libxenstat/src/
A Dxenstat_linux.c51 return (NULL); in get_priv_data()
120 if (iface != NULL) in parseNetDevLine()
126 if (rxErrs != NULL) in parseNetDevLine()
130 if (rxFifo != NULL) in parseNetDevLine()
136 if (rxComp != NULL) in parseNetDevLine()
142 if (txErrs != NULL) in parseNetDevLine()
146 if (txFifo != NULL) in parseNetDevLine()
321 parseNetDevLine(line, iface, &rxBytes, &rxPackets, &rxErrs, &rxDrops, NULL, NULL, NULL, in xenstat_collect_networks()
322 NULL, &txBytes, &txPackets, &txErrs, &txDrops, NULL, NULL, NULL, NULL); in xenstat_collect_networks()
391 if (priv != NULL && priv->procnetdev != NULL) in xenstat_uninit_networks()
[all …]
A Dxenstat_solaris.c50 if (priv == NULL) { in get_priv_data()
52 if (priv == NULL) in get_priv_data()
53 return NULL; in get_priv_data()
54 priv->devs = NULL; in get_priv_data()
55 priv->kc = NULL; in get_priv_data()
61 return NULL; in get_priv_data()
72 if (ksn == NULL) in kstat_get()
103 if (priv == NULL) in xenstat_uninit_devs()
113 priv->kc = NULL; in xenstat_uninit_devs()
130 if (ksp == NULL) in update_dev_stats()
[all …]
A Dxenstat_qmp.c96 return NULL; in qmp_get_block_image()
101 if (info == NULL) in qmp_get_block_image()
102 return NULL; in qmp_get_block_image()
128 if (file != NULL) in qmp_get_block_image()
157 if (image == NULL) { in lookup_xenstore_devid()
213 if ((info = yajl_tree_parse((char *)stats_buf, NULL, 0)) == NULL) in qmp_parse_stats()
223 qmp_devname = NULL; in qmp_parse_stats()
296 *qstats = NULL; in qmp_read()
327 return NULL; in qmp_query()
329 return NULL; in qmp_query()
[all …]
A Dxenstat_netbsd.c44 if (handle->priv != NULL) in get_priv_data()
48 if (handle->priv == NULL) in get_priv_data()
49 return (NULL); in get_priv_data()
51 ((struct priv_data *)handle->priv)->procnetdev = NULL; in get_priv_data()
52 ((struct priv_data *)handle->priv)->sysfsvbd = NULL; in get_priv_data()
75 if (priv != NULL && priv->procnetdev != NULL) in xenstat_uninit_networks()
95 if (priv != NULL && priv->sysfsvbd != NULL) in xenstat_uninit_vbds()
/xen/xen/common/
A Ddecompress.c16 return gunzip(inbuf, len, NULL, NULL, outbuf, NULL, error); in decompress()
20 return bunzip2(inbuf, len, NULL, NULL, outbuf, NULL, error); in decompress()
23 return unxz(inbuf, len, NULL, NULL, outbuf, NULL, error); in decompress()
26 return unlzma(inbuf, len, NULL, NULL, outbuf, NULL, error); in decompress()
29 return unlzo(inbuf, len, NULL, NULL, outbuf, NULL, error); in decompress()
32 return unlz4(inbuf, len, NULL, NULL, outbuf, NULL, error); in decompress()
A Dunxz.c173 if (in_used != NULL) in unxz()
176 if (fill == NULL && flush == NULL) in unxz()
181 if (s == NULL) in unxz()
184 if (flush == NULL) { in unxz()
190 if (b.out == NULL) in unxz()
194 if (in == NULL) { in unxz()
197 if (in == NULL) in unxz()
206 if (fill == NULL && flush == NULL) { in unxz()
249 if (flush != NULL) in unxz()
253 if (in_used != NULL) in unxz()
[all …]
A Ddevice_tree.c141 return NULL; in dt_find_property()
310 return NULL; in dt_find_node_by_alias()
318 return NULL; in dt_match_node()
345 return NULL; in dt_match_node()
391 return NULL; in dt_find_matching_node()
480 return (dt_get_property(node, "ranges", NULL) != NULL); in dt_bus_default_match()
644 return NULL; in dt_match_bus()
688 return NULL; in dt_get_address()
1119 old = NULL; in dt_for_each_irq_map()
1299 old = NULL; in dt_irq_map_raw()
[all …]
/xen/tools/pygrub/src/fsimage/
A Dfsimage.c52 return (NULL); in fsimage_file_read()
64 return (NULL); in fsimage_file_read()
81 return (NULL); in fsimage_file_read()
120 { NULL, NULL, 0, NULL }
164 return (NULL); in fsimage_fs_open_file()
169 return (NULL); in fsimage_fs_open_file()
178 return (NULL); in fsimage_fs_open_file()
191 return (NULL); in fsimage_fs_file_exists()
213 { NULL, NULL, 0, NULL }
305 { NULL, NULL, 0, NULL }
[all …]
/xen/tools/tests/mem-sharing/
A Dmemshrtool.c51 const char* cmd = NULL; in main()
82 domid = strtol(argv[2], NULL, 0); in main()
92 domid = strtol(argv[2], NULL, 0); in main()
104 domid = strtol(argv[2], NULL, 0); in main()
105 gfn = strtol(argv[3], NULL, 0); in main()
121 domid = strtol(argv[2], NULL, 0); in main()
122 gfn = strtol(argv[3], NULL, 0); in main()
138 domid = strtol(argv[2], NULL, 0); in main()
139 gfn = strtol(argv[3], NULL, 0); in main()
157 gfn = strtol(argv[3], NULL, 0); in main()
[all …]
/xen/tools/xenstore/
A Dtalloc.c180 return NULL; in _talloc()
184 if (tc == NULL) return NULL; in _talloc()
265 if (ptr == NULL) return NULL; in talloc_reference()
270 if (handle == NULL) return NULL; in talloc_reference()
417 if (ptr == NULL) return NULL; in talloc_named()
437 return NULL; in talloc_named_const()
468 if (ptr == NULL) return NULL; in talloc_check_name()
473 return NULL; in talloc_check_name()
488 if (ptr == NULL) return NULL; in talloc_init()
614 return NULL; in _talloc_realloc()
[all …]
A Dxenstored_core.c374 return NULL; in read_node()
380 return NULL; in read_node()
384 return NULL; in read_node()
398 return NULL; in read_node()
415 return NULL; in read_node()
590 return NULL; in get_node()
612 return NULL; in new_buffer()
770 return NULL; in onearg()
977 return NULL; in construct_node()
1576 fd = accept(sock, NULL, NULL); in accept_connection()
[all …]
/xen/tools/python/xen/lowlevel/xs/
A Dxs.c110 return NULL; in xspy_read()
148 return NULL; in xspy_write()
150 return NULL; in xspy_write()
182 return NULL; in xspy_ls()
224 return NULL; in xspy_mkdir()
252 return NULL; in xspy_rm()
285 return NULL; in xspy_get_permissions()
287 return NULL; in xspy_get_permissions()
311 return NULL; in xspy_get_permissions()
974 return NULL; in xshandle_new()
[all …]
/xen/tools/libxc/
A Dxg_private.c30 gzFile kernel_gfd = NULL; in xc_read_image()
31 char *image = NULL, *tmp; in xc_read_image()
34 if ( (filename == NULL) || (size == NULL) ) in xc_read_image()
35 return NULL; in xc_read_image()
58 image = NULL; in xc_read_image()
69 image = NULL; in xc_read_image()
127 if ( out_buf == NULL ) in xc_inflate_buffer()
130 return NULL; in xc_inflate_buffer()
142 return NULL; in xc_inflate_buffer()
152 return NULL; in xc_inflate_buffer()
[all …]
A Dxc_hcall_buf.c25 .hbuf = NULL,
26 .param_shadow = NULL,
35 return NULL; in xc__hypercall_buffer_alloc_pages()
52 return NULL; in xc__hypercall_buffer_alloc()
77 if ( b->ubuf == NULL ) in xc__hypercall_bounce_pre()
79 b->hbuf = NULL; in xc__hypercall_bounce_pre()
84 if ( p == NULL ) in xc__hypercall_bounce_pre()
122 if ( array == NULL ) in xc_hypercall_buffer_array_create()
126 if ( bufs == NULL ) in xc_hypercall_buffer_array_create()
137 return NULL; in xc_hypercall_buffer_array_create()
[all …]
A Dxc_core.c85 if ( strtab == NULL ) in xc_core_strtab_init()
86 return NULL; in xc_core_strtab_init()
93 return NULL; in xc_core_strtab_init()
169 return NULL; in xc_core_shdr_init()
177 return NULL; in xc_core_shdr_init()
201 return NULL; in xc_core_shdr_get()
207 return NULL; in xc_core_shdr_get()
608 if ( shdr == NULL ) in xc_domain_dumpcore_via_callback()
616 if ( shdr == NULL ) in xc_domain_dumpcore_via_callback()
638 if ( shdr == NULL ) in xc_domain_dumpcore_via_callback()
[all …]
/xen/xen/arch/x86/cpu/mcheck/
A Dmctelem.c175 ASSERT(mctctl->pending == NULL || mctctl->lmce_pending == NULL); in mctelem_defer()
248 for (tep = head, prev = NULL; tep != NULL; tep = tep->mcte_next) { in mctelem_process_deferred()
264 if (prev != NULL) in mctelem_process_deferred()
294 tep->mcte_prev = NULL; in mctelem_free()
295 tep->mcte_next = NULL; in mctelem_free()
385 return NULL; in mctelem_reserve()
437 BUG_ON(tep->mcte_next != NULL || tep->mcte_prev != NULL); in mctelem_commit()
468 if (*commlp == NULL) in mctelem_append_processing()
483 for (tep = dangling[target], ltep = NULL; tep != NULL; in mctelem_append_processing()
518 return NULL; in mctelem_consume_oldest_begin()
[all …]
/xen/tools/libfsimage/common/
A Dfsimage_plugin.c47 if (ffi == NULL) in fsip_file_alloc()
48 return (NULL); in fsip_file_alloc()
92 if (fp == NULL) in init_plugin()
104 if (init == NULL) in init_plugin()
108 if (fp->fp_ops == NULL || in init_plugin()
125 struct dirent *dp = NULL; in load_plugins()
126 DIR *dir = NULL; in load_plugins()
127 char *tmp = NULL; in load_plugins()
132 if (fsdir == NULL) in load_plugins()
151 if (dp == NULL) in load_plugins()
[all …]
/xen/tools/python/xen/lowlevel/xc/
A Dxc.c94 return NULL; in pyxc_error_to_exception()
103 return NULL; in pyxc_domain_dumpcore()
179 return NULL; in pyxc_domain_create()
187 return NULL; in pyxc_domain_max_vcpus()
222 return NULL; in pyxc_domain_shutdown()
329 return NULL; in pyxc_domain_sethandle()
385 if ( (pyhandle == NULL) || (info_dict == NULL) ) in pyxc_domain_getinfo()
1033 if ( (meminfo == NULL) || (distance == NULL) ) in pyxc_numainfo()
1195 if ( xc_shadow_control(xc->xc_handle, dom, op, NULL, 0, NULL, 0, NULL) in pyxc_shadow_control()
1353 NULL, NULL, NULL) != 0) in pyxc_domain_set_target_mem()
[all …]
/xen/tools/libxl/
A Dlibxl_json.c308 *p = NULL; in libxl__string_list_parse_json()
435 *p = NULL; in libxl__string_parse_json()
511 if (obj == NULL) in libxl__json_object_free()
556 return NULL; in libxl__json_array_get()
611 return NULL; in libxl__json_map_get()
732 char *t = NULL; in json_callback_number()
778 char *t = NULL; in json_callback_string()
801 char *t = NULL; in json_callback_map_key()
896 NULL,
897 NULL,
[all …]
A Dlibxl_vdispl.c90 char *connector = NULL; in libxl__device_vdispl_getconnectors()
99 NULL) { in libxl__device_vdispl_getconnectors()
116 value = xs_read(ctx->xsh, XBT_NULL, value_path, NULL); in libxl__device_vdispl_getconnectors()
117 if (value == NULL) { rc = ERROR_FAIL; goto out; } in libxl__device_vdispl_getconnectors()
128 value = xs_read(ctx->xsh, XBT_NULL, value_path, NULL); in libxl__device_vdispl_getconnectors()
133 value = xs_read(ctx->xsh, XBT_NULL, value_path, NULL); in libxl__device_vdispl_getconnectors()
138 value = xs_read(ctx->xsh, XBT_NULL, value_path, NULL); in libxl__device_vdispl_getconnectors()
173 NULL); in libxl_device_vdispl_getinfo()
180 info->state = val ? strtoul(val, NULL, 10) : -1; in libxl_device_vdispl_getinfo()
184 NULL); in libxl_device_vdispl_getinfo()
[all …]
A Dlibxl_qmp.c160 qmp_capabilities_callback, NULL, NULL); in enable_qmp_capabilities()
198 return NULL; in qmp_get_callback_from_id()
320 return NULL; in qmp_init_handler()
394 char *s = NULL; in qmp_next()
412 ret = select(qmp->qmp_fd + 1, &rfds, NULL, NULL, &timeout); in qmp_next()
762 NULL, NULL); in libxl__qmp_restore()
767 return qmp_run_command(gc, domid, "cont", NULL, NULL, NULL); in libxl__qmp_resume()
819 NULL, NULL); in libxl__qmp_query_xen_replication_status()
825 NULL, NULL, NULL); in libxl__qmp_colo_do_checkpoint()
840 return qmp_run_command(gc, domid, "nbd-server-stop", NULL, NULL, NULL); in libxl__qmp_nbd_server_stop()
[all …]
/xen/xen/arch/arm/platforms/
A Dsunxi.c41 node = dt_find_compatible_node(NULL, NULL, "allwinner,sun6i-a31-wdt"); in sunxi_map_watchdog()
45 node = dt_find_compatible_node(NULL, NULL, "allwinner,sun4i-a10-wdt"); in sunxi_map_watchdog()
50 return NULL; in sunxi_map_watchdog()
57 return NULL; in sunxi_map_watchdog()
64 return NULL; in sunxi_map_watchdog()
115 NULL
123 NULL
/xen/tools/xl/
A Dxl_misc.c39 libxl_send_trigger(ctx, domid, trigger, 0, NULL); in button_press()
65 SWITCH_FOREACH_OPT(opt, "", NULL, "rename", 2) { in main_rename()
85 char *endptr = NULL; in main_trigger()
87 const char *trigger_name = NULL; in main_trigger()
90 SWITCH_FOREACH_OPT(opt, "", NULL, "trigger", 2) { in main_trigger()
118 const char *sysrq = NULL; in main_sysrq()
120 SWITCH_FOREACH_OPT(opt, "", NULL, "sysrq", 2) { in main_sysrq()
180 const char *pidfile = NULL; in main_devd()
265 const char *filename = NULL; in main_config_update()
266 char *extra_config = NULL; in main_config_update()
[all …]
/xen/tools/fuzz/cpu-policy/
A Dafl-policy-fuzzer.c58 rc = x86_cpuid_copy_from_buffer(&new, leaves, nr, NULL, NULL); in check_cpuid()
95 rc = x86_msr_copy_from_buffer(&new, msrs, nr, NULL); in check_msr()
104 FILE *fp = NULL; in main()
106 setbuf(stdin, NULL); in main()
107 setbuf(stdout, NULL); in main()
112 { "debug", no_argument, NULL, 'd' }, in main()
113 { "help", no_argument, NULL, 'h' }, in main()
116 int c = getopt_long(argc, argv, "hd", opts, NULL); in main()
148 struct cpuid_policy *cp = NULL; in main()
149 struct msr_policy *mp = NULL; in main()
[all …]
/xen/tools/xentrace/
A Dxenctx.c102 } *symbol_table = NULL;
169 if (s == NULL) { in insert_symbol()
196 return NULL; in lookup_symbol()
213 if (s==NULL) in print_symbol()
231 if(f == NULL) { in read_symbol_table()
308 { NULL, NULL }, // 1
310 { NULL, NULL }, // 3
312 { NULL, NULL }, // 5
319 { NULL, NULL }, // 12 12+13 == IOPL
320 { NULL, NULL }, // 13
[all …]

Completed in 74 milliseconds

12345678910>>...30