/openbmc/linux/tools/lib/api/fd/ |
H A D | array.h | 19 struct fdarray { struct 39 void fdarray__init(struct fdarray *fda, int nr_autogrow); argument 40 void fdarray__exit(struct fdarray *fda); 42 struct fdarray *fdarray__new(int nr_alloc, int nr_autogrow); 43 void fdarray__delete(struct fdarray *fda); 45 int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags); 46 int fdarray__dup_entry_from(struct fdarray *fda, int pos, struct fdarray *from); 47 int fdarray__poll(struct fdarray *fda, int timeout); 48 int fdarray__filter(struct fdarray *fda, short revents, 49 void (*entry_destructor)(struct fdarray *fda, int fd, void *arg), [all …]
|
H A D | array.c | 13 void fdarray__init(struct fdarray *fda, int nr_autogrow) in fdarray__init() 21 int fdarray__grow(struct fdarray *fda, int nr) in fdarray__grow() 47 struct fdarray *fdarray__new(int nr_alloc, int nr_autogrow) in fdarray__new() 49 struct fdarray *fda = calloc(1, sizeof(*fda)); in fdarray__new() 63 void fdarray__exit(struct fdarray *fda) in fdarray__exit() 70 void fdarray__delete(struct fdarray *fda) in fdarray__delete() 76 int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags) in fdarray__add() 91 int fdarray__dup_entry_from(struct fdarray *fda, int pos, struct fdarray *from) in fdarray__dup_entry_from() 108 int fdarray__filter(struct fdarray *fda, short revents, in fdarray__filter() 109 void (*entry_destructor)(struct fdarray *fda, int fd, void *arg), in fdarray__filter() [all …]
|
/openbmc/qemu/target/arm/ |
H A D | kvm.c | 104 int *fdarray, in kvm_arm_create_scratch_host_vcpu() argument 191 fdarray[0] = kvmfd; in kvm_arm_create_scratch_host_vcpu() 192 fdarray[1] = vmfd; in kvm_arm_create_scratch_host_vcpu() 193 fdarray[2] = cpufd; in kvm_arm_create_scratch_host_vcpu() 211 void kvm_arm_destroy_scratch_host_vcpu(int *fdarray) in kvm_arm_destroy_scratch_host_vcpu() argument 216 close(fdarray[i]); in kvm_arm_destroy_scratch_host_vcpu() 256 int fdarray[3]; in kvm_arm_get_host_cpu_features() local 303 if (!kvm_arm_create_scratch_host_vcpu(cpus_to_try, fdarray, &init)) { in kvm_arm_get_host_cpu_features() 310 err = read_sys_reg64(fdarray[2], &ahcf->isar.id_aa64pfr0, in kvm_arm_get_host_cpu_features() 332 err |= read_sys_reg64(fdarray[2], &ahcf->isar.id_aa64pfr1, in kvm_arm_get_host_cpu_features() [all …]
|
H A D | arm-qmp-cmds.c | 47 int fdarray[3]; in gic_cap_kvm_probe() local 49 if (!kvm_arm_create_scratch_host_vcpu(NULL, fdarray, NULL)) { in gic_cap_kvm_probe() 54 if (kvm_device_supported(fdarray[1], KVM_DEV_TYPE_ARM_VGIC_V2)) { in gic_cap_kvm_probe() 59 if (kvm_device_supported(fdarray[1], KVM_DEV_TYPE_ARM_VGIC_V3)) { in gic_cap_kvm_probe() 63 kvm_arm_destroy_scratch_host_vcpu(fdarray); in gic_cap_kvm_probe()
|
H A D | kvm_arm.h | 117 int *fdarray, 126 void kvm_arm_destroy_scratch_host_vcpu(int *fdarray);
|
/openbmc/linux/tools/perf/tests/ |
H A D | fdarray.c | 7 static void fdarray__init_revents(struct fdarray *fda, short revents) in fdarray__init_revents() 20 static int fdarray__fprintf_prefix(struct fdarray *fda, const char *prefix, FILE *fp) in fdarray__fprintf_prefix() 34 struct fdarray *fda = fdarray__new(5, 5); in test__fdarray__filter() 95 struct fdarray *fda = fdarray__new(2, 2); in test__fdarray__add()
|
H A D | Build | 16 perf-y += fdarray.o
|
/openbmc/linux/tools/lib/perf/include/internal/ |
H A D | evlist.h | 32 struct fdarray pollfd;
|
/openbmc/linux/tools/lib/perf/ |
H A D | evlist.c | 359 static void perf_evlist__munmap_filtered(struct fdarray *fda, int fd, in perf_evlist__munmap_filtered()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-record.c | 108 struct fdarray pollfd; 1161 struct fdarray *fda = &evlist->core.pollfd; in record__dup_non_perf_events() 1619 static void record__thread_munmap_filtered(struct fdarray *fda, int fd, in record__thread_munmap_filtered() 1632 struct fdarray *pollfd; in record__thread()
|
H A D | builtin-daemon.c | 1257 struct fdarray fda; in __cmd_start()
|
H A D | builtin-kvm.c | 1506 struct fdarray *fda = &kvm->evlist->core.pollfd; in kvm_events_live_report()
|
/openbmc/linux/ |
H A D | opengrok0.0.log | [all...] |
H A D | opengrok2.0.log | [all...] |