Searched refs:topic (Results 1 - 5 of 5) sorted by relevance

/fuchsia/zircon/system/ulib/zx/include/lib/zx/
H A Djob.h47 zx_status_t set_policy(uint32_t options, uint32_t topic, void* policy, uint32_t count) const { argument
48 return zx_job_set_policy(get(), options, topic, policy, count);
H A Dobject.h145 zx_status_t get_info(uint32_t topic, void* buffer, argument
148 return zx_object_get_info(get(), topic, buffer, buffer_size, actual_count, avail_count);
/fuchsia/zircon/system/utest/core/object-info/
H A Dobject-info.cpp493 // Passing a zero-sized buffer to a topic that expects a single
510 // Passing a zero-sized null buffer to a topic that can handle multiple
833 bool jobch_helper_smoke(uint32_t topic, size_t expected_count) { argument
838 EXPECT_EQ(zx_object_get_info(get_test_job(), topic,
927 // Tests that should pass for any topic. Use the wrappers below instead of
929 #define _RUN_COMMON_TESTS(topic, entry_type, get_handle) \
930 RUN_TEST((invalid_handle_fails<topic, entry_type>)); \
931 RUN_TEST((null_avail_actual_succeeds<topic, entry_type, get_handle>)); \
932 RUN_TEST((bad_buffer_fails<topic, entry_type, get_handle>)); \
933 RUN_TEST((bad_actual_fails<topic, entry_typ
[all...]
/fuchsia/zircon/kernel/syscalls/
H A Dobject.cpp122 // This allows for zx_object_get_info(handle, topic, &info, sizeof(info), NULL, NULL)
124 zx_status_t sys_object_get_info(zx_handle_t handle, uint32_t topic, argument
127 LTRACEF("handle %x topic %u\n", handle, topic);
131 switch (topic) {
133 // This syscall + topic is excepted from the ZX_POL_BAD_HANDLE policy.
228 SimpleJobEnumerator sje(koids, max, topic == ZX_INFO_JOB_CHILDREN);
H A Dtask.cpp109 // Validates the input topic to thread_read_state and thread_write_state is a valid value, and
110 // checks that the input buffer size is at least as large as necessary for the topic. On ZX_OK, the
646 uint32_t topic, user_in_ptr<const void> _policy,
654 if (topic != ZX_JOB_POL_BASIC)
645 sys_job_set_policy(zx_handle_t job_handle, uint32_t options, uint32_t topic, user_in_ptr<const void> _policy, uint32_t count) argument

Completed in 87 milliseconds