Searched refs:info (Results 51 - 75 of 343) sorted by relevance

1234567891011>>

/fuchsia/zircon/system/host/merkleroot/
H A Dmerkleroot.cpp78 struct stat info; local
79 if (fstat(fd.get(), &info) < 0) {
83 if (!S_ISREG(info.st_mode)) {
90 size_t len = MerkleTree::GetTreeLength(info.st_size);
98 if (info.st_size != 0) {
99 data = mmap(NULL, info.st_size, PROT_READ, MAP_SHARED, fd.get(), 0);
101 if (info.st_size != 0 && data == MAP_FAILED) {
106 MerkleTree::Create(data, info.st_size, tree.get(), len, &digest);
107 if (info.st_size != 0 && munmap(data, info
[all...]
/fuchsia/zircon/system/uapp/iochk/
H A Diochk.cpp107 block_info_t info = {}; member in struct:__anon854::WorkContext::__anon855
110 skip_block_partition_info_t info = {}; member in struct:__anon854::WorkContext::__anon856
185 static zx_status_t Initialize(const fbl::unique_fd& fd, block_info_t info, argument
212 checker->reset(new BlockChecker(fbl::move(mapped_vmo), info, client, vmoid, group));
277 BlockChecker(fbl::unique_ptr<fzl::MappedVmo> mapped_vmo, block_info_t info, argument
279 : Checker(mapped_vmo->GetData()), mapped_vmo_(fbl::move(mapped_vmo)), info_(info),
296 static zx_status_t Initialize(fbl::unique_fd& fd, skip_block_partition_info_t info, argument
305 checker->reset(new SkipBlockChecker(fbl::move(mapped_vmo), fd, info));
378 skip_block_partition_info_t info)
379 : Checker(mapped_vmo->GetData()), mapped_vmo_(fbl::move(mapped_vmo)), fd_(fd), info_(info) {}
377 SkipBlockChecker(fbl::unique_ptr<fzl::MappedVmo> mapped_vmo, fbl::unique_fd& fd, skip_block_partition_info_t info) argument
568 skip_block_partition_info_t info; local
605 block_info_t info; local
[all...]
/fuchsia/zircon/system/dev/display/display/
H A Dcontroller.cpp81 void Controller::PopulateDisplayTimings(const fbl::RefPtr<DisplayInfo>& info) { argument
86 test_layer.cfg.primary.image.pixel_format = info->pixel_formats_[0];
90 test_config.display_id = info->id;
94 for (auto timing = edid::timing_iterator(&info->edid); timing.is_valid(); ++timing) {
98 for (auto& existing_timing : info->edid_timings) {
122 info->edid_timings.push_back(*timing, &ac);
132 void Controller::PopulateDisplayAudio(const fbl::RefPtr<DisplayInfo>& info) { argument
137 if (!info->edid.supports_basic_audio()) {
156 info->edid_audio_.push_back(range, &ac);
162 for (auto it = edid::audio_data_block_iterator(&info
281 fbl::RefPtr<DisplayInfo> info = fbl::AdoptRef(new (&ac) DisplayInfo); local
428 DisplayInfo* info = nullptr; local
[all...]
/fuchsia/zircon/kernel/dev/udisplay/
H A Dudisplay.cpp29 struct display_info info; member in struct:udisplay_info
79 memcpy(&g_udisplay.info, display, sizeof(struct display_info));
88 g_udisplay.info.framebuffer = g_udisplay.framebuffer_virt;
89 g_udisplay.info.flags = DISPLAY_FLAG_NEEDS_CACHE_FLUSH | DISPLAY_FLAG_CRASH_FRAMEBUFFER;
90 gfxconsole_bind_display(&g_udisplay.info, nullptr);
/fuchsia/zircon/system/ulib/test-utils/
H A Dtest-utils.c242 zx_info_process_t info; local
244 if ((status = zx_object_get_info(process, ZX_INFO_PROCESS, &info,
245 sizeof(info), NULL, NULL)) < 0)
246 tu_fatal("get process info", status);
247 return info.exited;
252 zx_info_process_t info; local
254 if ((status = zx_object_get_info(process, ZX_INFO_PROCESS, &info,
255 sizeof(info), NULL, NULL)) < 0)
256 tu_fatal("get process info", status);
257 if (!info
329 tu_handle_get_basic_info(zx_handle_t handle, zx_info_handle_basic_t* info) argument
339 zx_info_handle_basic_t info; local
346 zx_info_handle_basic_t info; local
362 zx_info_thread_t info; local
371 zx_info_thread_t info = tu_thread_get_info(thread); local
377 zx_info_thread_t info = tu_thread_get_info(thread); local
[all...]
/fuchsia/zircon/system/ulib/fdio/
H A Dremoteio.c54 // Acquire the additional handle from |info|.
58 static zx_status_t zxrio_object_extract_handle(const zxrio_node_info_t* info, argument
60 switch (info->tag) {
62 if (info->file.e != ZX_HANDLE_INVALID) {
63 *out = info->file.e;
68 if (info->pipe.s != ZX_HANDLE_INVALID) {
69 *out = info->pipe.s;
74 if (info->vmofile.v != ZX_HANDLE_INVALID) {
75 *out = info->vmofile.v;
80 if (info
265 zxrio_decode_describe_handle(zxrio_describe_t* info, zx_handle_t extra_handle) argument
326 zxrio_process_open_response(zx_handle_t h, zxrio_describe_t* info) argument
456 zx_info_socket_t info; local
491 fdio_from_handles(zx_handle_t handle, zxrio_node_info_t* info, fdio_t** out) argument
577 zxrio_node_info_t info; local
628 zxrio_sync_open_connection(zx_handle_t svc, uint32_t op, uint32_t flags, uint32_t mode, const char* path, size_t pathlen, zxrio_describe_t* info, zx_handle_t* out) argument
674 zxrio_getobject(zx_handle_t rio_h, uint32_t op, const char* name, uint32_t flags, uint32_t mode, zxrio_describe_t* info, zx_handle_t* out) argument
709 zxrio_describe_t info; local
725 zxrio_describe_t info; local
[all...]
/fuchsia/zircon/system/utest/core/resource/
H A Dresource.cpp70 zx_info_resource_t info; local
77 ASSERT_EQ(new_root.get_info(ZX_INFO_RESOURCE, &info, sizeof(info), NULL, NULL), ZX_OK);
78 EXPECT_EQ(info.kind, ZX_RSRC_KIND_ROOT);
79 EXPECT_EQ(info.base, 0u);
80 EXPECT_EQ(info.size, 0u);
81 EXPECT_EQ(info.flags, 0u);
82 EXPECT_EQ(0, strncmp(root_name, info.name, ZX_MAX_NAME_LEN));
93 ASSERT_EQ(mmio.get_info(ZX_INFO_RESOURCE, &info, sizeof(info), NUL
216 zx_info_handle_basic_t info; local
[all...]
/fuchsia/zircon/system/dev/bus/acpi/
H A Dinit.c32 ACPI_DEVICE_INFO* info = NULL; local
33 ACPI_STATUS acpi_status = AcpiGetObjectInfo(object, &info);
36 if ((info->Valid & ACPI_VALID_HID) && info->HardwareId.Length <= HID_LENGTH + 1) {
37 if (!strncmp(info->HardwareId.String, GPE_HID_STRING, HID_LENGTH)) {
41 if ((info->Valid & ACPI_VALID_CID) && info->CompatibleIdList.Count > 0) {
42 ACPI_PNP_DEVICE_ID* id = &info->CompatibleIdList.Ids[0];
47 ACPI_FREE(info);
H A Ddev-pwrbtn.cpp34 zx_status_t HidBusQuery(uint32_t options, hid_info_t* info);
123 ACPI_DEVICE_INFO* info = NULL; local
124 ACPI_STATUS status = AcpiGetObjectInfo(handle, &info);
126 if (info) {
127 ACPI_FREE(info);
133 if (info->Valid & ACPI_VALID_HID) {
135 !strncmp(info->HardwareId.String, "PNP0C0C", info->HardwareId.Length)) {
139 (!strncmp(info->HardwareId.String, "MSHW0028", info
159 HidBusQuery(uint32_t options, hid_info_t* info) argument
[all...]
/fuchsia/zircon/system/core/pwrbtn-monitor/
H A Dpwrbtn-monitor.cpp166 auto info = reinterpret_cast<PowerButtonInfo*>(cookie); local
167 info->fd = fbl::move(fd);
168 info->report_id = report_id;
169 info->bit_offset = bit_offset;
170 info->has_report_id_byte = (desc->rep_count > 1 || desc->report[0].report_id != 0);
187 PowerButtonInfo info; local
188 zx_status_t status = fdio_watch_directory(dirfd.get(), InputDeviceAdded, ZX_TIME_INFINITE, &info);
196 if (ioctl_input_get_max_reportsize(info.fd.get(), &report_size) < 0) {
202 const size_t byte_index = info.has_report_id_byte + info
[all...]
/fuchsia/zircon/kernel/dev/pcie/
H A Dpcie_device.cpp131 // Cache basic device info
426 TRACEF("Illegal 64-bit MMIO BAR position (%u/%u) while fetching BAR info "
433 TRACEF("Unrecognized MMIO BAR type (BAR[%u] == 0x%08x) while fetching BAR info "
524 zx_status_t PcieDevice::AllocateBarLocked(pcie_bar_info_t& info) {
530 if ((info.size == 0) || (info.allocation != nullptr))
542 if (info.bus_addr != 0) {
544 if (upstream->type() == PcieUpstreamNode::Type::BRIDGE && info.is_prefetchable) {
546 } else if (info.is_mmio) {
550 uint64_t inclusive_end = info
[all...]
/fuchsia/zircon/system/uapp/psutils/
H A Dmemgraph.cpp81 // Prints info about VMOs and their relationship to a process.
232 // Print basic info.
245 zx_info_task_stats_t info; variable
247 process, ZX_INFO_TASK_STATS, &info, sizeof(info), nullptr, nullptr);
251 info = {};
265 info.mem_private_bytes,
266 info.mem_shared_bytes,
267 info.mem_private_bytes + info
299 zx_info_process_handle_stats_t info = {}; variable
348 zx_info_thread_t info; variable
514 zx_info_handle_basic_t info; local
[all...]
/fuchsia/zircon/system/dev/block/ahci/
H A Dsata.c35 block_info_t info; member in struct:sata_device
106 zxlogf(INFO, "%s: dev info\n", name);
168 memset(&dev->info, 0, sizeof(dev->info));
169 dev->info.block_size = block_size;
170 dev->info.block_count = block_count;
176 dev->info.max_transfer_size = MIN(AHCI_MAX_BYTES, max_sg_size);
196 block_info_t* info = reply; local
197 if (max < sizeof(*info))
199 memcpy(info,
[all...]
/fuchsia/zircon/system/utest/core/handle-info/
H A Dhandle-info.c46 zx_info_handle_basic_t info = {}; local
47 ASSERT_EQ(zx_object_get_info(duped, ZX_INFO_HANDLE_BASIC, &info, 4u, NULL, NULL),
50 status = zx_object_get_info(duped, ZX_INFO_HANDLE_BASIC, &info, sizeof(info), NULL, NULL);
56 EXPECT_GT(info.koid, 0ULL, "object id should be positive");
57 EXPECT_EQ(info.type, (uint32_t)ZX_OBJ_TYPE_EVENT, "handle should be an event");
58 EXPECT_EQ(info.rights, evr, "wrong set of rights");
59 EXPECT_EQ(info.props, (uint32_t)ZX_OBJ_PROP_WAITABLE, "");
60 EXPECT_EQ(info.related_koid, 0ULL, "events don't have associated koid");
138 zx_info_handle_basic_t info local
[all...]
/fuchsia/zircon/system/utest/core/fifo/
H A Dfifo.c44 zx_info_handle_basic_t info[2] = {}; local
45 zx_status_t status = zx_object_get_info(a, ZX_INFO_HANDLE_BASIC, &info[0], sizeof(info[0]), NULL, NULL);
47 status = zx_object_get_info(b, ZX_INFO_HANDLE_BASIC, &info[1], sizeof(info[1]), NULL, NULL);
49 ASSERT_NE(info[0].koid, 0u, "zero koid!");
50 ASSERT_NE(info[0].related_koid, 0u, "zero peer koid!");
51 ASSERT_NE(info[1].koid, 0u, "zero koid!");
52 ASSERT_NE(info[1].related_koid, 0u, "zero peer koid!");
53 ASSERT_EQ(info[
[all...]
/fuchsia/zircon/system/utest/blobfs-bench/
H A Dblobfs-bench.cpp122 fbl::unique_ptr<BlobInfo> info(new (&ac) BlobInfo);
124 info->data.reset(new (&ac) char[blob_size]);
132 info->data[i] = static_cast<char>(rand_r(&initial_seed));
134 info->size_data = blob_size;
137 info->size_merkle = MerkleTree::GetTreeLength(blob_size);
138 if (info->size_merkle == 0) {
139 info->merkle = nullptr;
141 info->merkle.reset(new (&ac) char[info->size_merkle]);
145 ASSERT_EQ(MerkleTree::Create(&info
172 BlobfsTest(BlobfsInfo&& info) argument
[all...]
/fuchsia/zircon/system/utest/fs/
H A Dtest-minfs.cpp30 bool QueryInfo(fuchsia_io_FilesystemInfo* info) { argument
36 ASSERT_EQ(fuchsia_io_DirectoryAdminQueryFilesystem(caller.borrow_channel(), &status, info),
40 const char* name = reinterpret_cast<const char*>(info->name);
42 ASSERT_EQ(info->block_size, minfs::kMinfsBlockSize);
43 ASSERT_EQ(info->max_filename_size, minfs::kMinfsMaxNameSize);
44 ASSERT_EQ(info->fs_type, VFS_TYPE_MINFS);
45 ASSERT_NE(info->fs_id, 0);
47 ASSERT_EQ(info->used_bytes % info->block_size, 0);
48 ASSERT_EQ(info
64 fuchsia_io_FilesystemInfo info; local
188 fuchsia_io_FilesystemInfo info; local
[all...]
/fuchsia/zircon/system/core/virtcon/
H A Dvc-display.cpp150 static zx_status_t handle_display_added(fuchsia_display_Info* info, fuchsia_display_Mode* mode, argument
180 printf("vc: failed to alloc display info\n");
184 if ((status = create_layer(info->id, &display_info->layer_id)) != ZX_OK) {
190 display_info->id = info->id;
194 display_info->format = reinterpret_cast<int32_t*>(info->pixel_format.data)[0];
209 display_info_t* info = nullptr; local
211 list_for_every_entry_safe(&display_list, info, temp, display_info_t, node) {
212 if (info->id == id) {
213 destroy_layer(info->layer_id);
214 release_image(info
430 display_info_t* info = nullptr; local
466 display_info_t* info = nullptr; local
487 fuchsia_display_Info* info = reinterpret_cast<fuchsia_display_Info*>(evt->added.data) + i; local
[all...]
/fuchsia/zircon/kernel/object/
H A Dglue.cpp83 zx_info_process_t info = {}; variable
84 process->GetInfo(&info);
85 if (info.started && !info.exited && !info.debugger_attached) {
90 if (info.started) {
93 if (info.exited) {
96 if (info.debugger_attached) {
/fuchsia/zircon/kernel/object/include/object/
H A Dprofile_dispatcher.h17 static zx_status_t Create(const zx_profile_info_t& info,
28 explicit ProfileDispatcher(const zx_profile_info_t& info);
/fuchsia/zircon/system/ulib/driver-info/
H A Ddriver-info-app.c10 #include <driver-info/driver-info.h>
/fuchsia/zircon/third_party/ulib/uboringssl/include/openssl/
H A Dhkdf.h29 // |secret| with |salt| and |info| using |digest|, and outputs |out_len| bytes
38 const uint8_t *info, size_t info_len);
50 // |out_len| from the PRK |prk| and info |info| using |digest|, and outputs
54 size_t prk_len, const uint8_t *info,
/fuchsia/zircon/kernel/arch/arm64/include/arch/arm64/
H A Dfeature.h34 void arm64_get_cache_info(arm64_cache_info_t* info);
/fuchsia/zircon/system/dev/clk/amlogic-clk/
H A Daml-clk.cpp25 zx_status_t AmlClock::InitHiuRegs(pdev_device_info_t* info) { argument
47 zx_status_t AmlClock::InitMsrRegs(pdev_device_info_t* info) { argument
78 pdev_device_info_t info; local
79 status = pdev_get_device_info(&pdev_, &info);
85 status = InitHiuRegs(&info);
93 if (info.mmio_count > 1) {
95 status = InitMsrRegs(&info);
104 if (info.mmio_count > 1) {
112 switch (info.did) {
148 zxlogf(ERROR, "aml-clk: Unsupported SOC DID %u\n", info
274 ClkMeasure(uint32_t clk, clk_freq_info_t* info) argument
304 auto* info = static_cast<clk_freq_info_t*>(out_buf); local
[all...]
/fuchsia/zircon/system/utest/core/object-info/
H A Drules.mk14 $(LOCAL_DIR)/object-info.cpp
16 MODULE_NAME := object-info-test

Completed in 190 milliseconds

1234567891011>>