/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/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-4.10.0-shim-comet/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-4.10.0-shim-comet/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()
|
A D | ebitmap.h | 127 int ebitmap_read(struct ebitmap *e, void *fp);
|
/xen-4.10.0-shim-comet/tools/xenstore/ |
A D | xenstored_control.c | 82 FILE *fp; in do_control_memreport() local 92 fp = fopen(tracefile, "a"); in do_control_memreport() 101 fp = fdopen(fd, "a"); in do_control_memreport() 102 if (!fp) in do_control_memreport() 106 fp = fopen(vec[0], "a"); in do_control_memreport() 108 if (!fp) in do_control_memreport() 111 talloc_report_full(NULL, fp); in do_control_memreport() 112 fclose(fp); in do_control_memreport()
|
/xen-4.10.0-shim-comet/xen/tools/kconfig/ |
A D | confdata.c | 515 fprintf(fp, "#"); in kconfig_print_comment() 517 fprintf(fp, " "); in kconfig_print_comment() 518 xfwrite(p, l, 1, fp); in kconfig_print_comment() 521 fprintf(fp, "\n"); in kconfig_print_comment() 570 fprintf(fp, "#define %s%s %s\n", in header_print_symbol() 585 fprintf(fp, "/*\n"); in header_print_comment() 588 fprintf(fp, " *"); in header_print_comment() 590 fprintf(fp, " "); in header_print_comment() 591 xfwrite(p, l, 1, fp); in header_print_comment() 594 fprintf(fp, "\n"); in header_print_comment() [all …]
|
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/arch/x86/ |
A D | domctl.c | 377 unsigned int fp = domctl->u.ioport_permission.first_port; in arch_do_domctl() local 381 if ( (fp + np) <= fp || (fp + np) > MAX_IOPORTS ) in arch_do_domctl() 383 else if ( !ioports_access_permitted(currd, fp, fp + np - 1) || in arch_do_domctl() 384 xsm_ioport_permission(XSM_HOOK, d, fp, fp + np - 1, allow) ) in arch_do_domctl() 387 ret = ioports_permit_access(d, fp, fp + np - 1); in arch_do_domctl() 389 ret = ioports_deny_access(d, fp, fp + np - 1); in arch_do_domctl()
|
/xen-4.10.0-shim-comet/xen/arch/arm/arm32/ |
A D | entry.S | 212 stmia ip!, {r4 - sl, fp, sp, lr} /* Save register state */ 215 ldmia r4, {r4 - sl, fp, sp, pc} /* Load registers and return */
|
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | cpufeature.h | 16 #define cpu_has_fp (boot_cpu_feature64(fp) == 0)
|
/xen-4.10.0-shim-comet/xen/arch/arm/arm64/ |
A D | domain.c | 18 C(x28,x28); C(fp,x29); C(lr,x30); C(pc,pc64); \
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm64/ |
A D | processor.h | 62 __DECL_REG(/* x29 */ fp, /* r13_fiq */ sp_fiq);
|
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/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()
|
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/tools/libfsimage/ext2fs-lib/ |
A D | ext2fs-lib.c | 160 fsi_init_plugin(int version, fsi_plugin_t *fp, const char **name) in fsi_init_plugin() argument
|