Lines Matching refs:NULL
34 static struct option options[] = {{"output", required_argument, NULL, 'o'},
35 {"dtb", required_argument, NULL, 'b'},
36 {0, 0, NULL, 0}};
40 void *fdt = NULL; in read_fdt_from_image()
43 if (fdt == NULL) { in read_fdt_from_image()
45 return NULL; in read_fdt_from_image()
53 return NULL; in read_fdt_from_image()
62 FILE *out_fp = NULL; in write_fdt_to_file()
85 if (fdt == NULL) { in free_fdt()
147 (const char *)fdt_getprop(fdt, root_node_off, "compatible", NULL); in output_fdt_info()
198 if (params->out_dtb_filename != NULL) { in dump_image_from_fp()
217 FILE *out_fp = NULL; in process_command_dump()
218 FILE *img_fp = NULL; in process_command_dump()
221 if (img_fp == NULL) { in process_command_dump()
226 if (params->out_filename != NULL) { in process_command_dump()
228 if (out_fp == NULL) { in process_command_dump()
265 int c = getopt_long(argc, argv, short_options, options, NULL); in handle_command_dump()