Searched refs:info (Results 101 - 125 of 343) sorted by relevance

1234567891011>>

/fuchsia/zircon/system/ulib/syslog/
H A Dfx_logger.h21 zx_info_handle_basic_t info; local
22 zx_status_t status = zx_object_get_info(handle, ZX_INFO_HANDLE_BASIC, &info,
23 sizeof(info), nullptr, nullptr);
24 return status == ZX_OK ? info.koid : ZX_KOID_INVALID;
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/hkdf/
H A Dhkdf.c28 size_t salt_len, const uint8_t *info, size_t info_len) {
35 !HKDF_expand(out_key, out_len, digest, prk, prk_len, info, info_len)) {
60 const uint8_t *prk, size_t prk_len, const uint8_t *info,
90 if (!HMAC_Update(&hmac, info, info_len) ||
26 HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, const uint8_t *secret, size_t secret_len, const uint8_t *salt, size_t salt_len, const uint8_t *info, size_t info_len) argument
59 HKDF_expand(uint8_t *out_key, size_t out_len, const EVP_MD *digest, const uint8_t *prk, size_t prk_len, const uint8_t *info, size_t info_len) argument
/fuchsia/zircon/system/utest/core/object-info/
H A Dobject-info.cpp30 // A function that returns a handle to get the info of.
62 zx_info_task_stats_t info; local
64 &info, sizeof(info), nullptr, nullptr),
66 ASSERT_GT(info.mem_private_bytes, 0u);
67 ASSERT_GT(info.mem_shared_bytes, 0u);
68 ASSERT_GE(info.mem_mapped_bytes,
69 info.mem_private_bytes + info.mem_shared_bytes);
71 ASSERT_GT(info
101 zx_info_handle_basic_t info; local
114 get_test_process_etc(const test_mapping_info_t** info) argument
867 zx_info_handle_count_t info; local
900 zx_info_process_handle_stats_t info; local
[all...]
/fuchsia/zircon/system/dev/block/zxcrypt/
H A Ddevice.cpp97 fbl::unique_ptr<DeviceInfo> info(new (&ac) DeviceInfo());
102 info->base = nullptr;
103 info->num_workers = 0;
104 info_ = info.get();
106 // Open the zxcrypt volume. The volume may adjust the block info, so get it again and determine
124 if ((rc = device_get_protocol(parent(), ZX_PROTOCOL_BLOCK, &info->proto)) != ZX_OK) {
128 info->proto.ops->query(info->proto.ctx, &blk, &info->op_size);
131 info
[all...]
/fuchsia/zircon/system/utest/fs-vnode/
H A Dvmo-file-tests.cpp24 zx_info_handle_basic_t info; local
25 zx_status_t status = zx_object_get_info(handle, ZX_INFO_HANDLE_BASIC, &info,
26 sizeof(info), nullptr, nullptr);
27 return status == ZX_OK ? info.koid : ZX_KOID_INVALID;
31 zx_info_handle_basic_t info; local
32 zx_status_t status = zx_object_get_info(handle, ZX_INFO_HANDLE_BASIC, &info,
33 sizeof(info), nullptr, nullptr);
34 return status == ZX_OK ? info.rights : 0u;
369 zxrio_node_info_t info; local
373 &type, &info));
383 zxrio_node_info_t info; local
406 zxrio_node_info_t info; local
436 zxrio_node_info_t info; local
463 zxrio_node_info_t info; local
486 zxrio_node_info_t info; local
515 zxrio_node_info_t info; local
[all...]
/fuchsia/zircon/system/dev/thermal/aml-thermal-s912/
H A Daml-thermal.c136 dvfs_info_t* info) {
139 if (info->power_domain == BIG_CLUSTER_POWER_DOMAIN) {
140 if (dev->current_big_cluster_opp_idx != info->op_idx) {
142 dev->current_big_cluster_opp_idx = info->op_idx;
145 if (dev->current_little_cluster_opp_idx != info->op_idx) {
147 dev->current_little_cluster_opp_idx = info->op_idx;
152 return scpi_set_dvfs_idx(&dev->scpi, info->power_domain, info->op_idx);
159 thermal_device_info_t* info) {
160 memcpy(info, de
135 aml_thermal_set_dvfs_opp(aml_thermal_t* dev, dvfs_info_t* info) argument
158 aml_thermal_get_device_info(aml_thermal_t* dev, thermal_device_info_t* info) argument
190 thermal_device_info_t info; local
288 pdev_device_info_t info; local
[all...]
/fuchsia/zircon/system/dev/display/aml-canvas/
H A Daml-canvas.c37 size_t offset, canvas_info_t* info,
42 if (!info || !canvas_idx) {
46 uint32_t size = ROUNDUP((info->stride_bytes * info->height) +
53 uint32_t height = info->height;
54 uint32_t width = info->stride_bytes;
102 ((info->blkmode & DMC_CAV_BLKMODE_MASK) << DMC_CAV_BLKMODE_BIT) |
103 ((info->wrap & DMC_CAV_XWRAP) ? DMC_CAV_XWRAP : 0) |
104 ((info->wrap & DMC_CAV_YWRAP) ? DMC_CAV_YWRAP : 0) |
105 ((info
36 aml_canvas_config(void* ctx, zx_handle_t vmo, size_t offset, canvas_info_t* info, uint8_t* canvas_idx) argument
[all...]
/fuchsia/zircon/system/dev/display/vim-display/
H A Dvim-display.cpp99 canvas_info_t info; local
100 info.height = image->height;
101 info.stride_bytes = image->planes[0].bytes_per_row;
102 if (info.stride_bytes == 0) {
103 info.stride_bytes = stride * ZX_PIXEL_FORMAT_BYTES(image->pixel_format);
105 info.wrap = 0;
106 info.blkmode = 0;
107 info.endianness = 0;
116 &info, &import_info->canvas_idx[0]);
126 canvas_info_t info; local
182 image_info_t* info; local
[all...]
/fuchsia/zircon/kernel/vm/
H A Dpmm_arena.h25 zx_status_t Init(const pmm_arena_info_t* info, PmmNode* node);
28 const pmm_arena_info_t& info() const { return info_; } function in class:PmmArena
H A Dpmm_node.cpp39 zx_status_t PmmNode::AddArena(const pmm_arena_info_t* info) TA_NO_THREAD_SAFETY_ANALYSIS {
40 LTRACEF("arena %p name '%s' base %#" PRIxPTR " size %#zx\n", info, info->name, info->base, info->size);
47 DEBUG_ASSERT(IS_PAGE_ALIGNED(info->base));
48 DEBUG_ASSERT(IS_PAGE_ALIGNED(info->size));
49 DEBUG_ASSERT(info->size > 0);
55 auto status = arena->Init(info, this);
75 arena_cumulative_size_ += info
[all...]
/fuchsia/zircon/system/dev/bus/pci/
H A Dkpci-private.h28 zx_pcie_device_info_t info; member in struct:kpci_device
79 zx_pcie_device_info_t info; member in union:__anon265::__anon266
/fuchsia/zircon/system/dev/bus/virtio/backends/
H A Dpci.cpp17 PciBackend::PciBackend(pci_protocol_t pci, zx_pcie_device_info_t info) argument
18 : pci_(pci), info_(info) {
/fuchsia/zircon/system/dev/nand/broker/
H A Dbroker.cpp77 zx_status_t Query(nand_info_t* info);
92 nand_info_t info; local
93 Query(&info);
98 zxlogf(INFO, "nand-broker: %d blocks of %d pages each. Page size: %d\n", info.num_blocks,
99 info.pages_per_block, info.page_size);
136 zx_status_t Broker::Query(nand_info_t* info) { argument
138 proxy.Query(info, &op_size_);
/fuchsia/zircon/system/dev/bus/virtio/
H A Dblock.cpp50 void BlockDevice::GetInfo(block_info_t* info) { argument
51 memset(info, 0, sizeof(*info));
52 info->block_size = GetBlockSize();
53 info->block_count = GetSize() / GetBlockSize();
54 info->max_transfer_size = (uint32_t)(PAGE_SIZE * (ring_size - 2));
57 if (info->max_transfer_size > MAX_MAX_XFER) {
58 info->max_transfer_size = MAX_MAX_XFER;
62 void BlockDevice::virtio_block_query(void* ctx, block_info_t* info, size_t* bopsz) { argument
64 bd->GetInfo(info);
99 block_info_t* info = reinterpret_cast<block_info_t*>(reply); local
[all...]
/fuchsia/zircon/system/dev/input/usb-hid/
H A Dusb-hid.c33 hid_info_t info; member in struct:usb_hid_device
86 static zx_status_t usb_hid_query(void* ctx, uint32_t options, hid_info_t* info) { argument
87 if (!info) {
91 info->dev_num = hid->info.dev_num;
92 info->dev_class = hid->info.dev_class;
93 info->boot_device = hid->info.boot_device;
288 usbhid->interface = usbhid->info
[all...]
/fuchsia/zircon/system/utest/core/process/
H A Dprocess.cpp275 zx_info_process_t info; local
277 proc, ZX_INFO_PROCESS, &info, sizeof(info), NULL, NULL), ZX_OK);
278 EXPECT_FALSE(info.started, "process should not appear as started");
279 EXPECT_FALSE(info.exited, "process should not appear as exited");
290 proc, ZX_INFO_PROCESS, &info, sizeof(info), NULL, NULL), ZX_OK);
291 EXPECT_TRUE(info.started, "process should appear as started");
292 EXPECT_FALSE(info.exited, "process should not appear as exited");
301 proc, ZX_INFO_PROCESS, &info, sizeo
[all...]
/fuchsia/zircon/system/dev/misc/sysinfo/
H A Dsysinfo.c121 interrupt_controller_info_t info = {}; local
127 &info.type, sizeof(uint8_t), &actual);
132 info.type = INTERRUPT_CONTROLLER_TYPE_APIC;
134 info.type = INTERRUPT_CONTROLLER_TYPE_UNKNOWN;
137 memcpy(reply, &info, sizeof(interrupt_controller_info_t));
/fuchsia/zircon/system/dev/bus/acpi/dev-cros-ec/
H A Dmotion.cpp106 zx_status_t AcpiCrOsEcMotionDevice::HidBusQuery(uint32_t options, hid_info_t* info) {
109 info->dev_num = 0;
110 info->dev_class = HID_DEV_CLASS_OTHER;
111 info->boot_device = false;
260 zx_status_t AcpiCrOsEcMotionDevice::QuerySensorInfo(uint8_t sensor_num, SensorInfo* info) {
282 info->type = static_cast<motionsensor_type>(rsp.info_3.type);
283 info->loc = static_cast<motionsensor_location>(rsp.info_3.location);
284 info->min_sampling_freq = rsp.info_3.min_frequency;
285 info->max_sampling_freq = rsp.info_3.max_frequency;
286 info
[all...]
/fuchsia/zircon/system/uapp/psutils/
H A Dtop.c39 zx_info_thread_t info; member in struct:__anon873
58 static const char* state_string(const zx_info_thread_t* info) { argument
59 if (info->wait_exception_port_type != ZX_EXCEPTION_PORT_TYPE_NONE) {
62 switch (ZX_THREAD_STATE_BASIC(info->state)) {
109 thread, ZX_INFO_THREAD, &e.info, sizeof(e.info), NULL, NULL);
128 temp->info = e.info;
190 e->proc_koid, e->koid, percent, state_string(&e->info),
194 e->proc_koid, e->koid, e->delta_time, state_string(&e->info),
[all...]
/fuchsia/zircon/system/utest/core/threads/
H A Dthreads.cpp33 zx_info_handle_basic_t info; local
36 handle, ZX_INFO_HANDLE_BASIC, &info, sizeof(info),
40 *koid = info.koid;
57 static bool get_thread_info(zx_handle_t thread, zx_info_thread_t* info) { argument
58 return zx_object_get_info(thread, ZX_INFO_THREAD, info, sizeof(*info), NULL, NULL) == ZX_OK;
181 zx_info_thread_t info; local
182 ASSERT_TRUE(get_thread_info(thread, &info));
183 if (info
414 zx_info_task_stats_t info; local
452 zx_info_thread_t info; local
502 zx_info_thread_t info; local
702 zx_info_thread_t info; local
860 zx_info_thread_t info; local
[all...]
/fuchsia/zircon/system/dev/block/block/
H A Dblock.c39 block_info_t info; member in struct:blkdev
200 block_info_t* info = (block_info_t*)reply; local
203 info->flags |= BLOCK_FLAG_BOOTPART;
205 info->flags &= ~BLOCK_FLAG_BOOTPART;
241 const size_t bsz = bdev->info.block_size;
242 const size_t max_xfer = min(bdev->info.max_transfer_size, MAX_MIDLAYER_IO);
324 //return bdev->info.block_count * bdev->info.block_size;
353 memcpy(bi, &bdev->info, sizeof(block_info_t));
392 bdev->bp.ops->query(bdev->bp.ctx, &bdev->info,
[all...]
/fuchsia/zircon/system/dev/bus/acpi/
H A Ddev-battery.c106 battery_info_t* info = &dev->battery_info; local
107 info->unit = bif_elem[0].Integer.Value;
108 info->design_capacity = bif_elem[1].Integer.Value;
109 info->last_full_capacity = bif_elem[2].Integer.Value;
110 info->design_voltage = bif_elem[4].Integer.Value;
111 info->capacity_warning = bif_elem[5].Integer.Value;
112 info->capacity_low = bif_elem[6].Integer.Value;
113 info->capacity_granularity_low_warning = bif_elem[7].Integer.Value;
114 info->capacity_granularity_warning_full = bif_elem[8].Integer.Value;
222 power_info_t* info local
235 battery_info_t* info = (battery_info_t*)out_buf; local
[all...]
/fuchsia/zircon/system/dev/nand/ram-nand/
H A Dram-nand.cpp59 zx_status_t NandDevice::Bind(const ram_nand_info_t& info) { argument
61 zx_status_t status = Init(name, zx::vmo(info.vmo));
76 if (info.export_nand_config) {
81 .table_start_block = info.bad_block_config.table_start_block,
82 .table_end_block = info.bad_block_config.table_end_block,
85 .extra_partition_config_count = info.extra_partition_config_count,
88 for (size_t i = 0; i < info.extra_partition_config_count; i++) {
90 info.extra_partition_config[i].type_guid, ZBI_PARTITION_GUID_LEN);
92 info.extra_partition_config[i].copy_count;
94 info
[all...]
/fuchsia/zircon/system/ulib/memfs/
H A Ddirectory.cpp50 zx_status_t VnodeDir::QueryFilesystem(fuchsia_io_FilesystemInfo* info) { argument
53 memset(info, 0, sizeof(*info));
54 strlcpy(reinterpret_cast<char*>(info->name), kFsName, fuchsia_io_MAX_FS_NAME_BUFFER);
55 info->block_size = kMemfsBlksize;
56 info->max_filename_size = kDnodeNameMax;
57 info->fs_type = VFS_TYPE_MEMFS;
58 info->fs_id = vfs()->GetFsId();
61 info->total_bytes = UINT64_MAX;
63 info
[all...]
/fuchsia/zircon/system/dev/block/bootpart/
H A Dbootpart.c33 block_info_t info; member in struct:__anon195
87 block_info_t* info = reply; local
88 if (max < sizeof(*info))
90 memcpy(info, &device->info, sizeof(*info));
91 *out_actual = sizeof(*info);
124 memcpy(bi, &bootpart->info, sizeof(block_info_t));
238 memcpy(&device->info, &block_info, sizeof(block_info));

Completed in 206 milliseconds

1234567891011>>