/xen/tools/libfsimage/common/ |
A D | fsimage_plugin.c | 92 if (fp == NULL) in init_plugin() 98 free(fp); in init_plugin() 107 fp->fp_ops = init(FSIMAGE_PLUGIN_VERSION, fp, &fp->fp_name); in init_plugin() 108 if (fp->fp_ops == NULL || in init_plugin() 112 fp->fp_next = plugins; in init_plugin() 113 plugins = fp; in init_plugin() 117 (void) dlclose(fp->fp_dlh); in init_plugin() 118 free(fp); in init_plugin() 180 fsi_plugin_t *fp; in find_plugin() local 186 for (fp = plugins; fp != NULL; fp = fp->fp_next) { in find_plugin() [all …]
|
/xen/tools/fuzz/x86_instruction_emulator/ |
A D | afl-harness.c | 14 FILE *fp = NULL; in main() local 58 fp = stdin; in main() 75 fp = fopen(argv[optind + count], "rb"); in main() 76 if ( fp == NULL ) in main() 90 fseek(fp, 0, SEEK_SET); in main() 94 size = fread(input, 1, INPUT_SIZE, fp); in main() 96 if ( ferror(fp) ) in main() 103 if ( feof(fp) ) in main() 115 if ( fp != stdin ) in main() 117 fclose(fp); in main() [all …]
|
/xen/tools/fuzz/libelf/ |
A D | afl-libelf-fuzzer.c | 14 FILE *fp; in main() local 24 fp = fopen(argv[1], "rb"); in main() 25 if ( fp == NULL ) in main() 31 size = fread(input, 1, INPUT_SIZE, fp); in main() 33 if ( ferror(fp) ) in main() 39 if ( !feof(fp) ) in main() 45 fclose(fp); in main()
|
/xen/tools/fuzz/cpu-policy/ |
A D | afl-policy-fuzzer.c | 104 FILE *fp = NULL; in main() local 140 fp = stdin; in main() 151 if ( fp != stdin ) in main() 154 fp = fopen(argv[optind], "rb"); in main() 156 if ( !fp ) in main() 168 fread(cp, sizeof(*cp), 1, fp); in main() 169 fread(mp, sizeof(*mp), 1, fp); in main() 171 if ( !feof(fp) ) in main() 181 if ( fp != stdin ) in main() 183 fclose(fp); in main() [all …]
|
/xen/xen/xsm/flask/ss/ |
A D | policydb.c | 977 rc = next_entry(key, fp, len); in perm_read() 1026 rc = next_entry(key, fp, len); in common_read() 1191 rc = next_entry(key, fp, len); in class_read() 1288 rc = next_entry(key, fp, len); in role_read() 1297 rc = ebitmap_read(&role->types, fp); in role_read() 1372 rc = next_entry(key, fp, len); in type_read() 1407 if ( ebitmap_read(&lp->cat, fp) ) in mls_read_level() 1453 rc = next_entry(key, fp, len); in user_read() 1510 rc = next_entry(key, fp, len); in sens_read() 1566 rc = next_entry(key, fp, len); in cat_read() [all …]
|
A D | conditional.c | 235 rc = next_entry(buf, fp, sizeof buf); in cond_read_bool() 250 rc = next_entry(key, fp, len); in cond_read_bool() 363 static int cond_read_av_list(struct policydb *p, void *fp, in cond_read_av_list() argument 374 rc = next_entry(buf, fp, sizeof(u32)); in cond_read_av_list() 422 rc = next_entry(buf, fp, sizeof(u32)); in cond_read_node() 429 rc = next_entry(buf, fp, sizeof(u32)); in cond_read_node() 438 rc = next_entry(buf, fp, sizeof(u32) * 2); in cond_read_node() 463 if ( cond_read_av_list(p, fp, &node->true_list, NULL) != 0 ) in cond_read_node() 473 int cond_read_list(struct policydb *p, void *fp) in cond_read_list() argument 480 rc = next_entry(buf, fp, sizeof buf); in cond_read_list() [all …]
|
A D | policydb.h | 260 extern int policydb_read(struct policydb *p, void *fp); 284 static inline int next_entry(void *buf, struct policy_file *fp, size_t bytes) in next_entry() argument 286 if ( bytes > fp->len ) in next_entry() 289 memcpy(buf, fp->data, bytes); in next_entry() 290 fp->data += bytes; in next_entry() 291 fp->len -= bytes; in next_entry()
|
A D | conditional.h | 70 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp); 71 int cond_read_list(struct policydb *p, void *fp);
|
A D | avtab.c | 341 int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol, in avtab_read_item() argument 359 rc = next_entry(buf32, fp, sizeof(u32)); in avtab_read_item() 372 rc = next_entry(buf32, fp, sizeof(u32)*items2); in avtab_read_item() 436 rc = next_entry(buf16, fp, sizeof(u16)*4); in avtab_read_item() 469 rc = next_entry(buf32, fp, sizeof(u32)); in avtab_read_item() 491 int avtab_read(struct avtab *a, void *fp, struct policydb *pol) in avtab_read() argument 497 rc = next_entry(buf, fp, sizeof(u32)); in avtab_read() 515 rc = avtab_read_item(a, fp, pol, avtab_insertf, NULL); in avtab_read()
|
A D | avtab.h | 70 int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol, 75 int avtab_read(struct avtab *a, void *fp, struct policydb *pol);
|
A D | ebitmap.c | 223 int ebitmap_read(struct ebitmap *e, void *fp) in ebitmap_read() argument 233 rc = next_entry(buf, fp, sizeof buf); in ebitmap_read() 261 rc = next_entry(&startbit, fp, sizeof(u32)); in ebitmap_read() 310 rc = next_entry(&map, fp, sizeof(u64)); in ebitmap_read()
|
/xen/tools/xenstore/ |
A D | xenstored_control.c | 95 FILE *fp; in do_control_memreport() local 105 fp = fopen(tracefile, "a"); in do_control_memreport() 114 fp = fdopen(fd, "a"); in do_control_memreport() 115 if (!fp) in do_control_memreport() 119 fp = fopen(vec[0], "a"); in do_control_memreport() 121 if (!fp) in do_control_memreport() 124 talloc_report_full(NULL, fp); in do_control_memreport() 125 fclose(fp); in do_control_memreport()
|
/xen/xen/tools/kconfig/ |
A D | confdata.c | 621 fprintf(fp, "#"); in kconfig_print_comment() 623 fprintf(fp, " "); in kconfig_print_comment() 624 xfwrite(p, l, 1, fp); in kconfig_print_comment() 627 fprintf(fp, "\n"); in kconfig_print_comment() 676 fprintf(fp, "#define %s%s %s\n", in header_print_symbol() 691 fprintf(fp, "/*\n"); in header_print_comment() 694 fprintf(fp, " *"); in header_print_comment() 696 fprintf(fp, " "); in header_print_comment() 697 xfwrite(p, l, 1, fp); in header_print_comment() 700 fprintf(fp, "\n"); in header_print_comment() [all …]
|
/xen/stubdom/grub.patches/ |
A D | 30savedefault.diff | 43 + FILE *fp; 79 + if(!(fp = fopen(default_file,"r"))) 85 + fgets(line, bytes, fp); 86 + fclose(fp); 105 + if(!(fp = fopen(default_file,"w"))) 111 + fprintf(fp, buf); 114 + fclose(fp);
|
/xen/tools/libfsimage/zfs/ |
A D | fsi_zfs.c | 144 fsi_init_plugin(int version, fsi_plugin_t *fp, const char **name) in fsi_init_plugin() argument 154 return (fsig_init(fp, &ops)); in fsi_init_plugin()
|
/xen/xen/include/asm-arm/ |
A D | cpufeature.h | 16 #define cpu_has_fp (boot_cpu_feature64(fp) < 8) 153 unsigned long fp:4; /* Floating Point */ member
|
/xen/xen/arch/x86/ |
A D | domctl.c | 350 unsigned int fp = domctl->u.ioport_permission.first_port; in arch_do_domctl() local 354 if ( (fp + np) <= fp || (fp + np) > MAX_IOPORTS ) in arch_do_domctl() 356 else if ( !ioports_access_permitted(currd, fp, fp + np - 1) || in arch_do_domctl() 357 xsm_ioport_permission(XSM_HOOK, d, fp, fp + np - 1, allow) ) in arch_do_domctl() 360 ret = ioports_permit_access(d, fp, fp + np - 1); in arch_do_domctl() 362 ret = ioports_deny_access(d, fp, fp + np - 1); in arch_do_domctl()
|
/xen/xen/include/asm-arm/arm32/ |
A D | processor.h | 23 uint32_t fp; member
|
/xen/tools/libfsimage/ufs/ |
A D | fsys_ufs.c | 266 fsi_init_plugin(int version, fsi_plugin_t *fp, const char **name) in fsi_init_plugin() argument 276 return (fsig_init(fp, &ops)); in fsi_init_plugin()
|
/xen/xen/include/asm-arm/arm64/ |
A D | processor.h | 58 __DECL_REG(/* x29 */ fp, /* r13_fiq */ sp_fiq);
|
/xen/tools/debugger/kdd/ |
A D | kdd-xen.c | 228 memcpy(r->fp, cpu->fpu_regs, 112); // 108 save area + 4 of ??? in kdd_get_regs_x86_32() 249 memcpy(cpu->fpu_regs, r->fp, 112); // 108 save area + 4 of ??? in kdd_set_regs_x86_32() 289 memcpy(r->fp, cpu->fpu_regs, 112); // Definitely not right in kdd_get_regs_x86_64() 324 memcpy(r->fp, cpu->fpu_regs, 112); // Definitely not right in kdd_set_regs_x86_64()
|
/xen/xen/arch/arm/arm32/ |
A D | entry.S | 441 stmia ip!, {r4 - sl, fp, sp, lr} /* Save register state */ 444 ldmia r4, {r4 - sl, fp, sp, pc} /* Load registers and return */
|
/xen/xen/arch/arm/arm64/ |
A D | domain.c | 18 C(x28,x28); C(fp,x29); C(lr,x30); C(pc,pc64); \
|
/xen/tools/libfsimage/iso9660/ |
A D | fsys_iso9660.c | 451 fsi_init_plugin(int version, fsi_plugin_t *fp, const char **name) in fsi_init_plugin() argument 461 return (fsig_init(fp, &ops)); in fsi_init_plugin()
|
/xen/tools/libfsimage/fat/ |
A D | fsys_fat.c | 473 fsi_init_plugin(int version, fsi_plugin_t *fp, const char **name) in fsi_init_plugin() argument 483 return (fsig_init(fp, &ops)); in fsi_init_plugin()
|