/haiku/src/system/libroot/os/arch/x86/ |
H A D | system_info.c | 12 get_cpuid(cpuid_info *info, uint32 eaxRegister, uint32 cpuNum) argument 14 return _kern_get_cpuid(info, eaxRegister, cpuNum);
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/virtio_block/ |
H A D | virtio_block.cpp | 79 virtio_block_driver_info* info; member in struct:__anon2 107 bool virtio_block_set_capacity(virtio_block_driver_info* info); 142 virtio_block_driver_info* info = handle->info; local 144 devfs_compute_geometry_size(geometry, info->capacity, info->block_size); 145 geometry->bytes_per_physical_sector = info->physical_block_size; 150 geometry->read_only = ((info->features & VIRTIO_BLK_F_RO) != 0); 165 virtio_block_driver_info* info = (virtio_block_driver_info*)driverCookie; local 167 status_t status = info 180 virtio_block_driver_info* info = (virtio_block_driver_info*)_cookie; local 193 virtio_block_driver_info* info = (virtio_block_driver_info*)cookie; local 261 virtio_block_driver_info* info = (virtio_block_driver_info*)_info; local 310 virtio_block_driver_info* info = (virtio_block_driver_info*)_cookie; local 321 virtio_block_driver_info* info = (virtio_block_driver_info*)_info; local 371 virtio_block_driver_info* info = handle->info; local 435 virtio_block_set_capacity(virtio_block_driver_info* info) argument 542 virtio_block_driver_info* info = (virtio_block_driver_info*)malloc( local 592 virtio_block_driver_info* info = (virtio_block_driver_info*)_cookie; local 603 virtio_block_driver_info* info = (virtio_block_driver_info*)_cookie; local [all...] |
/haiku/src/add-ons/kernel/drivers/graphics/virtio/ |
H A D | virtio_gpu.cpp | 60 virtio_gpu_driver_info* info; member in struct:__anon7 109 virtio_gpu_drain_queues(virtio_gpu_driver_info* info) argument 111 while (info->virtio->queue_dequeue(info->controlQueue, NULL, NULL)) 114 while (info->virtio->queue_dequeue(info->cursorQueue, NULL, NULL)) 122 virtio_gpu_send_cmd(virtio_gpu_driver_info* info, void *cmd, size_t cmdSize, void *response, argument 125 struct virtio_gpu_ctrl_hdr *hdr = (struct virtio_gpu_ctrl_hdr *)info->commandBuffer; 128 memcpy((void*)info->commandBuffer, cmd, cmdSize); 129 memset((void*)(info 159 virtio_gpu_get_display_info(virtio_gpu_driver_info* info) argument 189 virtio_gpu_get_edids(virtio_gpu_driver_info* info, int scanout) argument 213 virtio_gpu_create_2d(virtio_gpu_driver_info* info, int resourceId, int width, int height) argument 237 virtio_gpu_unref(virtio_gpu_driver_info* info, int resourceId) argument 258 virtio_gpu_attach_backing(virtio_gpu_driver_info* info, int resourceId) argument 298 virtio_gpu_detach_backing(virtio_gpu_driver_info* info, int resourceId) argument 319 virtio_gpu_set_scanout(virtio_gpu_driver_info* info, int scanoutId, int resourceId, uint32 width, uint32 height) argument 344 virtio_gpu_transfer_to_host_2d(virtio_gpu_driver_info* info, int resourceId, uint32 width, uint32 height) argument 368 virtio_gpu_flush_resource(virtio_gpu_driver_info* info, int resourceId, uint32 width, uint32 height) argument 393 virtio_gpu_driver_info* info = (virtio_gpu_driver_info*)arg; local 410 virtio_gpu_set_display_mode(virtio_gpu_driver_info* info, display_mode *mode) argument 473 virtio_gpu_driver_info* info = (virtio_gpu_driver_info*)_info; local 543 virtio_gpu_driver_info* info = (virtio_gpu_driver_info*)_cookie; local 559 virtio_gpu_driver_info* info = (virtio_gpu_driver_info*)_info; local 656 virtio_gpu_driver_info* info = handle->info; local 671 virtio_gpu_driver_info* info = handle->info; local 685 virtio_gpu_driver_info* info = (virtio_gpu_driver_info*)cookie; local 713 virtio_gpu_driver_info* info = handle->info; local 801 virtio_gpu_driver_info* info = (virtio_gpu_driver_info*)malloc( local 819 virtio_gpu_driver_info* info = (virtio_gpu_driver_info*)_cookie; local 828 virtio_gpu_driver_info* info = (virtio_gpu_driver_info*)_cookie; local [all...] |
/haiku/src/system/kernel/ |
H A D | shutdown.cpp | 16 team_info info; local 24 while (get_next_team_info(&cookie, &info) == B_OK) { 25 if (info.team == B_SYSTEM_TEAM) 27 kill_team(info.team);
|
/haiku/src/add-ons/screen_savers/flurry/ |
H A D | Spark.h | 49 void DrawSpark(flurry_info_t *info, Spark *s); 50 void UpdateSparkColour(flurry_info_t *info, Spark *s); 51 void UpdateSpark(flurry_info_t *info, Spark *s);
|
/haiku/src/build/libbe/app/ |
H A D | AppMisc.cpp | 53 struct utsname info; local 54 return (uname(&info) == 0 && strcmp(info.sysname, "Haiku") == 0);
|
/haiku/src/add-ons/media/media-add-ons/opensound/ |
H A D | OpenSoundDeviceMixer.cpp | 24 OpenSoundDeviceMixer::OpenSoundDeviceMixer(oss_mixerinfo *info) argument 28 memcpy(&fMixerInfo, info, sizeof(oss_mixerinfo)); 29 fFD = open(info->devnode, O_RDWR); 64 status_t OpenSoundDeviceMixer::GetExtInfo(int index, oss_mixext *info) argument 68 if (!info) 73 info->dev = Info()->dev; // this mixer 74 info->ctrl = index; 75 if (ioctl(fFD, SNDCTL_MIX_EXTINFO, info, sizeof(*info)) < 0) { 124 status_t OpenSoundDeviceMixer::GetEnumInfo(int index, oss_mixer_enuminfo *info) argument [all...] |
/haiku/src/add-ons/kernel/drivers/graphics/radeon_hd/ |
H A D | sensors.cpp | 22 radeon_thermal_query(radeon_info &info) argument 29 if (info.chipsetID >= RADEON_CAPEVERDE) { 30 rawTemp = (read32(info.registers + SI_CG_MULT_THERMAL_STATUS) 39 } else if (info.chipsetID == RADEON_JUNIPER) { 40 uint32 offset = (read32(info.registers + EVERGREEN_CG_THERMAL_CTRL) 42 rawTemp = (read32(info.registers + EVERGREEN_CG_TS0_STATUS) 51 } else if (info.chipsetID == RADEON_SUMO 52 || info.chipsetID == RADEON_SUMO2) { 53 uint32 rawTemp = read32(info.registers + EVERGREEN_CG_THERMAL_STATUS) 58 } else if (info [all...] |
/haiku/src/system/kernel/arch/x86/64/ |
H A D | cpuid.cpp | 14 get_current_cpuid(cpuid_info* info, uint32 eax, uint32 ecx) argument 16 __cpuid_count(eax, ecx, info->regs.eax, info->regs.ebx, info->regs.ecx, 17 info->regs.edx);
|
/haiku/src/servers/media/ |
H A D | BufferManager.cpp | 50 buffer_info* info; local 51 if (!fBufferInfoMap.Get(bufferID, info)) { 57 info->teams.insert(team); 59 *_area = info->area; 60 *_offset = info->offset; 61 *_size = info->size, 62 *_flags = info->flags; 86 buffer_info info; local 87 info.id = fNextBufferID++; 88 info 116 buffer_info* info; local 178 buffer_info info = iterator.Next().value; local 198 clone_info* info; local 240 clone_info* info; local [all...] |
/haiku/src/add-ons/kernel/drivers/disk/mmc/ |
H A D | mmc_disk.cpp | 129 mmc_disk_driver_info* info = (mmc_disk_driver_info*)data; local 137 error = info->mmc->do_io(info->parent, info->parentCookie, info->rca, 138 command, operation, (info->flags & kIoCommandOffsetAsSectors) != 0); 141 info->scheduler->OperationCompleted(operation, error, 0); 145 info->scheduler->OperationCompleted(operation, B_OK, operation->Length()); 151 mmc_block_get_geometry(mmc_disk_driver_info* info, device_geometry* geometry) argument 155 status_t error = info 199 mmc_disk_driver_info* info = (mmc_disk_driver_info*)malloc( local 296 mmc_disk_driver_info* info = (mmc_disk_driver_info*)_cookie; local 308 mmc_disk_driver_info* info = (mmc_disk_driver_info*)_cookie; local 334 mmc_disk_driver_info* info = (mmc_disk_driver_info*)_info; local 358 mmc_disk_driver_info* info = (mmc_disk_driver_info*)_info; local 473 mmc_block_trim(mmc_disk_driver_info* info, fs_trim_data* trimData) argument 568 mmc_disk_driver_info* info = handle->info; local [all...] |
/haiku/src/bin/ |
H A D | df.cpp | 107 fs_info info; local 108 if (fs_stat_dev(device, &info) != B_OK) { 113 printf(" Device No.: %" B_PRIdDEV "\n", info.dev); 114 PrintMountPoint(info.dev, true); 115 printf(" Volume Name: \"%s\"\n", info.volume_name); 116 printf(" File System: %s\n", info.fsh_name); 117 printf(" Device: %s\n", info.device_name); 120 PrintFlag(info.flags, B_FS_HAS_QUERY, 'Q', '-'); 121 PrintFlag(info.flags, B_FS_HAS_ATTR, 'A', '-'); 122 PrintFlag(info 145 fs_info info; local [all...] |
H A D | fdinfo.cpp | 52 fd_info info; local 54 while (_kern_get_next_fd_info(teamInfo.team, &cookie, &info, sizeof(fd_info)) == B_OK) { 55 printf("%5d %s %" B_PRIdDEV ":%" B_PRIdINO "\n", info.number, 56 open_mode_to_string(info.open_mode), info.device, info.node); 65 fd_info info; local 67 while (_kern_get_next_fd_info(teamInfo.team, &cookie, &info, sizeof(fd_info)) == B_OK) { 68 if (info.device != device) 77 teamInfo.team, info 87 fd_info info; local 170 team_info info; local [all...] |
/haiku/src/servers/registrar/ |
H A D | MessageRunnerManager.cpp | 92 \param info The RunnerInfo for the message runner. 94 RunnerEvent(MessageRunnerManager *manager, RunnerInfo *info) argument 97 fInfo(info) 115 RunnerInfo *fInfo; //!< The message runner info. 234 for (int32 i = 0; RunnerInfo *info = _InfoAt(i); i++) { 235 if (!fEventQueue->RemoveEvent(info->event)) 236 info->event = NULL; 237 delete info; 283 // add a new runner info 284 RunnerInfo *info local 392 RunnerInfo *info = NULL; local 463 RunnerInfo *info = NULL; local 512 _AddInfo(RunnerInfo *info) argument 527 _RemoveInfo(RunnerInfo *info) argument 560 RunnerInfo *info = NULL; local 577 _DeleteInfo(RunnerInfo *info, bool eventRemoved) argument 682 _DoEvent(RunnerInfo *info) argument 735 _ScheduleEvent(RunnerInfo *info) argument [all...] |
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | fwohci_pci.cpp | 143 pci_info *info = pciInfo[index]; local 149 val = gPci->read_pci_config(info->bus, info->device, info->function, 157 gPci->write_pci_config(info->bus, info->device, info->function, 164 if (info->vendor_id == FW_VENDORID_SUN && info->device_id == (FW_DEVICE_PCIO2FW >> 16) && 165 info [all...] |
/haiku/src/system/kernel/arch/ppc/ |
H A D | arch_user_debugger.cpp | 14 arch_clear_team_debug_info(struct arch_team_debug_info *info) argument 20 arch_destroy_team_debug_info(struct arch_team_debug_info *info) argument 22 arch_clear_team_debug_info(info); 27 arch_clear_thread_debug_info(struct arch_thread_debug_info *info) argument 33 arch_destroy_thread_debug_info(struct arch_thread_debug_info *info) argument 35 arch_clear_thread_debug_info(info); 92 arch_has_breakpoints(struct arch_team_debug_info *info) argument
|
/haiku/src/system/kernel/arch/arm/ |
H A D | arch_user_debugger.cpp | 20 arch_clear_team_debug_info(struct arch_team_debug_info *info) argument 26 arch_destroy_team_debug_info(struct arch_team_debug_info *info) argument 28 arch_clear_team_debug_info(info); 33 arch_clear_thread_debug_info(struct arch_thread_debug_info *info) argument 39 arch_destroy_thread_debug_info(struct arch_thread_debug_info *info) argument 41 arch_clear_thread_debug_info(info); 99 arch_has_breakpoints(struct arch_team_debug_info *info) argument
|
/haiku/src/system/kernel/arch/sparc/ |
H A D | arch_user_debugger.cpp | 14 arch_clear_team_debug_info(struct arch_team_debug_info *info) argument 20 arch_destroy_team_debug_info(struct arch_team_debug_info *info) argument 22 arch_clear_team_debug_info(info); 27 arch_clear_thread_debug_info(struct arch_thread_debug_info *info) argument 33 arch_destroy_thread_debug_info(struct arch_thread_debug_info *info) argument 35 arch_clear_thread_debug_info(info); 92 arch_has_breakpoints(struct arch_team_debug_info *info) argument
|
/haiku/src/libs/bsd/ |
H A D | dl_iterate_phdr.c | 32 dl_iterate_phdr(int (*callback)(struct dl_phdr_info* info, size_t size, void* data), void* data) argument 34 image_info info; local 40 while (get_next_image_info(0, &cookie, &info) == B_OK) { 41 const Elf_Ehdr* header = (const Elf_Ehdr*)info.text; 43 // Check for the special commpage info (which is not an ELF image), 49 phdr_info.dlpi_addr = (Elf_Addr)info.text; 50 phdr_info.dlpi_name = info.name; 52 phdr_info.dlpi_phdr = (const Elf_Phdr*)((const char*)info.text + header->e_phoff);
|
/haiku/src/add-ons/kernel/drivers/audio/hda/ |
H A D | driver.cpp | 40 supports_device(pci_info &info) argument 43 if (info.vendor_id == kSupportedDevices[i].vendor 44 && info.device_id == kSupportedDevices[i].device) { 55 pci_info info; local 61 for (i = 0; gPci->get_nth_pci_info(i, &info) == B_OK; i++) { 62 if ((info.class_base == PCI_multimedia 63 && info.class_sub == PCI_hd_audio) 64 || supports_device(info)) { 79 pci_info info; local 87 for (i = 0; gPci->get_nth_pci_info(i, &info) [all...] |
/haiku/src/kits/interface/layouter/ |
H A D | SimpleLayouter.cpp | 64 void Assign(const ElementInfo& info) argument 66 min = info.min; 67 max = info.max; 68 preferred = info.preferred; 69 weight = info.weight; 70 tempWeight = info.tempWeight; 154 ElementInfo& info = fElements[element]; local 155 info.min = max_c(info.min, min); 156 info 258 ElementInfo* info = new ElementInfo(i); local 270 ElementInfo* info = (ElementInfo*)elementInfos.ItemAt(i); local 291 ElementInfo* info = (ElementInfo*)elementInfos.ItemAt(i); local 300 ElementInfo* info = (ElementInfo*)elementInfos.ItemAt(i); local 314 ElementInfo* info = (ElementInfo*)elementInfos.ItemAt(i); local 345 ElementInfo& info = fElements[i]; local 421 ElementInfo* info = (ElementInfo*)infosToLayout.ItemAt(i); local [all...] |
/haiku/src/system/libroot/os/ |
H A D | system_info.cpp | 36 legacy_cpu_info cpu_infos[8]; /* info about individual cpus */ 68 _get_system_info(legacy_system_info* info, size_t size) argument 70 if (info == NULL || size != sizeof(legacy_system_info)) 72 memset(info, 0, sizeof(legacy_system_info)); 85 info->boot_time = systemInfo.boot_time; 86 info->cpu_count = std::min(systemInfo.cpu_count, uint32(8)); 87 for (int32 i = 0; i < info->cpu_count; i++) 88 info->cpu_infos[i].active_time = cpuInfos[i].active_time; 90 info->platform_type = LEGACY_B_AT_CLONE_PLATFORM; 91 info 150 __get_system_info(system_info* info) argument 165 cpu_info info; local 176 _get_cpu_info_etc(uint32 firstCPU, uint32 cpuCount, cpu_info* info, size_t size) argument [all...] |
/haiku/src/bin/debug/strace/ |
H A D | signals.cpp | 150 signal_info(siginfo_t& info) argument 159 string += signal_name(info.si_signo); 161 string += signal_code(info.si_signo, info.si_code); 163 if (info.si_errno != 0) { 165 sprintf(buffer, "%x", info.si_errno); 170 sprintf(buffer, "%d", (int)info.si_pid); 173 sprintf(buffer, "%d", (int)info.si_uid); 176 if (info.si_signo == SIGILL || info [all...] |
/haiku/src/bin/package/ |
H A D | PackageInfoPrinter.h | 24 void PrintPackageInfo(const BPackageInfo& info) argument 26 PrintName(info.Name()); 27 PrintSummary(info.Summary()); 28 PrintDescription(info.Description()); 29 PrintVendor(info.Vendor()); 30 PrintPackager(info.Packager()); 32 if (!info.BasePackage().IsEmpty()) 33 PrintBasePackage(info.BasePackage()); 35 PrintFlags(info.Flags()); 36 PrintArchitecture((uint32)info [all...] |
/haiku/src/add-ons/kernel/drivers/audio/generic/ |
H A D | multi.c | 75 multi_format_info info; local 76 if (user_memcpy(&info, arg, sizeof(multi_format_info)) != B_OK) 79 status = get_global_format(cookie, &info); 82 return user_memcpy(arg, &info, sizeof(multi_format_info)); 86 multi_format_info info; local 87 if (user_memcpy(&info, arg, sizeof(multi_format_info)) != B_OK) 90 status = set_global_format(cookie, &info); 93 return user_memcpy(arg, &info, sizeof(multi_format_info)); 99 multi_mix_control_info info; local 104 if (user_memcpy(&info, ar 140 multi_mix_value_info info; local 178 multi_mix_value_info info; local [all...] |