Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 25 of 37) sorted by relevance

12

/xen-4.10.0-shim-comet/tools/libfsimage/common/
A Dfsimage_plugin.c92 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 Dafl-harness.c14 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 Dafl-libelf-fuzzer.c14 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 Dpolicydb.c977 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 Dconditional.c235 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 Dpolicydb.h260 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 Dconditional.h70 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp);
71 int cond_read_list(struct policydb *p, void *fp);
A Davtab.c341 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 Davtab.h70 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 Debitmap.c223 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 Debitmap.h127 int ebitmap_read(struct ebitmap *e, void *fp);
/xen-4.10.0-shim-comet/tools/xenstore/
A Dxenstored_control.c82 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 Dconfdata.c515 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 D30savedefault.diff43 + 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 Dfsi_zfs.c144 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 Ddomctl.c377 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 Dentry.S212 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 Dfsys_ufs.c266 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 Dcpufeature.h16 #define cpu_has_fp (boot_cpu_feature64(fp) == 0)
/xen-4.10.0-shim-comet/xen/arch/arm/arm64/
A Ddomain.c18 C(x28,x28); C(fp,x29); C(lr,x30); C(pc,pc64); \
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm64/
A Dprocessor.h62 __DECL_REG(/* x29 */ fp, /* r13_fiq */ sp_fiq);
/xen-4.10.0-shim-comet/tools/debugger/kdd/
A Dkdd-xen.c228 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 Dfsys_fat.c473 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 Dfsys_iso9660.c451 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 Dext2fs-lib.c160 fsi_init_plugin(int version, fsi_plugin_t *fp, const char **name) in fsi_init_plugin() argument

Completed in 37 milliseconds

12