Home
last modified time | relevance | path

Searched refs:ioc (Results 1 – 22 of 22) sorted by relevance

/external/strace/
Ddm.c61 dm_decode_device(const unsigned int code, const struct dm_ioctl *ioc) in dm_decode_device() argument
69 if (ioc->dev) in dm_decode_device()
70 PRINT_FIELD_DEV(", ", *ioc, dev); in dm_decode_device()
72 if (ioc->name[0]) in dm_decode_device()
73 PRINT_FIELD_CSTRING(", ", *ioc, name); in dm_decode_device()
75 if (ioc->uuid[0]) in dm_decode_device()
76 PRINT_FIELD_CSTRING(", ", *ioc, uuid); in dm_decode_device()
84 const struct dm_ioctl *ioc) in dm_decode_values() argument
89 PRINT_FIELD_U(", ", *ioc, target_count); in dm_decode_values()
92 if (ioc->flags & DM_SUSPEND_FLAG) in dm_decode_values()
[all …]
DChangeLog4760 (ioc): New macro, a wrapper for sprint_xlat_.
/external/strace/tests/
Dioctl_dm.c73 struct dm_ioctl ioc; member
88 struct dm_ioctl ioc; member
112 struct dm_ioctl ioc; member
299 init_s(&s.ioc, sizeof(s.ioc), 0); in main()
304 "-1 EBADF (%m)\n", sizeof(s.ioc)); in main()
342 init_s(&s.ioc, sizeof(s.ioc), 0); in main()
343 s.ioc.flags = DM_SUSPEND_FLAG; in main()
344 s.ioc.event_nr = 0xbadc0ded; in main()
349 "flags=DM_SUSPEND_FLAG}) = -1 EBADF (%m)\n", sizeof(s.ioc)); in main()
351 init_s(&s.ioc, sizeof(s.ioc), 0); in main()
[all …]
Dbtrfs.c190 #define ioc(x_) sprint_xlat_(x_, #x_) macro
250 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_START)); in btrfs_test_trans_ioctls()
253 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_END)); in btrfs_test_trans_ioctls()
269 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_SYNC)); in btrfs_test_sync_ioctls()
273 ioc(BTRFS_IOC_WAIT_SYNC)); in btrfs_test_sync_ioctls()
277 ioc(BTRFS_IOC_WAIT_SYNC), u64val); in btrfs_test_sync_ioctls()
372 ioc(BTRFS_IOC_SNAP_CREATE)); in btrfs_test_subvol_ioctls()
376 ioc(BTRFS_IOC_SNAP_CREATE), vol_args.name); in btrfs_test_subvol_ioctls()
380 ioc(BTRFS_IOC_SUBVOL_CREATE), vol_args.name); in btrfs_test_subvol_ioctls()
384 ioc(BTRFS_IOC_SNAP_DESTROY), vol_args.name); in btrfs_test_subvol_ioctls()
[all …]
/external/strace/tests-m32/
Dioctl_dm.c73 struct dm_ioctl ioc; member
88 struct dm_ioctl ioc; member
112 struct dm_ioctl ioc; member
299 init_s(&s.ioc, sizeof(s.ioc), 0); in main()
304 "-1 EBADF (%m)\n", sizeof(s.ioc)); in main()
342 init_s(&s.ioc, sizeof(s.ioc), 0); in main()
343 s.ioc.flags = DM_SUSPEND_FLAG; in main()
344 s.ioc.event_nr = 0xbadc0ded; in main()
349 "flags=DM_SUSPEND_FLAG}) = -1 EBADF (%m)\n", sizeof(s.ioc)); in main()
351 init_s(&s.ioc, sizeof(s.ioc), 0); in main()
[all …]
Dbtrfs.c190 #define ioc(x_) sprint_xlat_(x_, #x_) macro
250 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_START)); in btrfs_test_trans_ioctls()
253 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_END)); in btrfs_test_trans_ioctls()
269 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_SYNC)); in btrfs_test_sync_ioctls()
273 ioc(BTRFS_IOC_WAIT_SYNC)); in btrfs_test_sync_ioctls()
277 ioc(BTRFS_IOC_WAIT_SYNC), u64val); in btrfs_test_sync_ioctls()
372 ioc(BTRFS_IOC_SNAP_CREATE)); in btrfs_test_subvol_ioctls()
376 ioc(BTRFS_IOC_SNAP_CREATE), vol_args.name); in btrfs_test_subvol_ioctls()
380 ioc(BTRFS_IOC_SUBVOL_CREATE), vol_args.name); in btrfs_test_subvol_ioctls()
384 ioc(BTRFS_IOC_SNAP_DESTROY), vol_args.name); in btrfs_test_subvol_ioctls()
[all …]
/external/strace/tests-mx32/
Dioctl_dm.c73 struct dm_ioctl ioc; member
88 struct dm_ioctl ioc; member
112 struct dm_ioctl ioc; member
299 init_s(&s.ioc, sizeof(s.ioc), 0); in main()
304 "-1 EBADF (%m)\n", sizeof(s.ioc)); in main()
342 init_s(&s.ioc, sizeof(s.ioc), 0); in main()
343 s.ioc.flags = DM_SUSPEND_FLAG; in main()
344 s.ioc.event_nr = 0xbadc0ded; in main()
349 "flags=DM_SUSPEND_FLAG}) = -1 EBADF (%m)\n", sizeof(s.ioc)); in main()
351 init_s(&s.ioc, sizeof(s.ioc), 0); in main()
[all …]
Dbtrfs.c190 #define ioc(x_) sprint_xlat_(x_, #x_) macro
250 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_START)); in btrfs_test_trans_ioctls()
253 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_TRANS_END)); in btrfs_test_trans_ioctls()
269 printf("ioctl(-1, %s) = -1 EBADF (%m)\n", ioc(BTRFS_IOC_SYNC)); in btrfs_test_sync_ioctls()
273 ioc(BTRFS_IOC_WAIT_SYNC)); in btrfs_test_sync_ioctls()
277 ioc(BTRFS_IOC_WAIT_SYNC), u64val); in btrfs_test_sync_ioctls()
372 ioc(BTRFS_IOC_SNAP_CREATE)); in btrfs_test_subvol_ioctls()
376 ioc(BTRFS_IOC_SNAP_CREATE), vol_args.name); in btrfs_test_subvol_ioctls()
380 ioc(BTRFS_IOC_SUBVOL_CREATE), vol_args.name); in btrfs_test_subvol_ioctls()
384 ioc(BTRFS_IOC_SNAP_DESTROY), vol_args.name); in btrfs_test_subvol_ioctls()
[all …]
/external/igt-gpu-tools/tests/
Dkms_atomic.c792 struct drm_mode_atomic ioc; in atomic_invalid_params() local
799 memset(&ioc, 0, sizeof(ioc)); in atomic_invalid_params()
802 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &ioc); in atomic_invalid_params()
813 ioc.objs_ptr = (uintptr_t) obj_raw; in atomic_invalid_params()
814 ioc.count_props_ptr = (uintptr_t) num_props_raw; in atomic_invalid_params()
815 ioc.props_ptr = (uintptr_t) props_raw; in atomic_invalid_params()
816 ioc.prop_values_ptr = (uintptr_t) values_raw; in atomic_invalid_params()
819 do_ioctl(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &ioc); in atomic_invalid_params()
822 ioc.flags = DRM_MODE_PAGE_FLIP_EVENT; in atomic_invalid_params()
823 do_ioctl_err(display->drm_fd, DRM_IOCTL_MODE_ATOMIC, &ioc, EINVAL); in atomic_invalid_params()
[all …]
Dkms_prop_blob.c55 #define ioctl_or_ret_errno(fd, ioc, ioc_data) { \ argument
56 if (drmIoctl(fd, ioc, ioc_data) != 0) \
/external/rust/crates/nix/src/sys/ioctl/
Dbsd.rs26 macro_rules! ioc { macro
49 ($g:expr, $n:expr) => (ioc!($crate::sys::ioctl::VOID, $g, $n, 0))
60 …($g:expr, $n:expr) => (ioc!($crate::sys::ioctl::VOID, $g, $n, ::std::mem::size_of::<$crate::libc::…
75 ($g:expr, $n:expr, $len:expr) => (ioc!($crate::sys::ioctl::OUT, $g, $n, $len))
90 ($g:expr, $n:expr, $len:expr) => (ioc!($crate::sys::ioctl::IN, $g, $n, $len))
101 ($g:expr, $n:expr, $len:expr) => (ioc!($crate::sys::ioctl::INOUT, $g, $n, $len))
Dlinux.rs74 macro_rules! ioc { macro
99 ($ty:expr, $nr:expr) => (ioc!($crate::sys::ioctl::NONE, $ty, $nr, 0))
114 ($ty:expr, $nr:expr, $sz:expr) => (ioc!($crate::sys::ioctl::READ, $ty, $nr, $sz))
129 ($ty:expr, $nr:expr, $sz:expr) => (ioc!($crate::sys::ioctl::WRITE, $ty, $nr, $sz))
140 …($ty:expr, $nr:expr, $sz:expr) => (ioc!($crate::sys::ioctl::READ | $crate::sys::ioctl::WRITE, $ty,…
/external/igt-gpu-tools/lib/
Ddrmtest.h114 #define do_ioctl(fd, ioc, ioc_data) do { \ argument
115 igt_assert_eq(igt_ioctl((fd), (ioc), (ioc_data)), 0); \
129 #define do_ioctl_err(fd, ioc, ioc_data, err) do { \ argument
130 igt_assert_eq(igt_ioctl((fd), (ioc), (ioc_data)), -1); \
/external/autotest/client/deps/fakemodem/src/
Dfakemodem.c22 GIOChannel* ioc; variable
306 ioc = g_io_channel_unix_new (masterfd); in main()
307 g_io_channel_set_encoding (ioc, NULL, NULL); in main()
308 g_io_channel_set_line_term (ioc, "\r", 1); in main()
309 g_io_add_watch (ioc, G_IO_IN, master_read, fakemodem); in main()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DUTF8GeneratorTest.java19 IOContext ioc = new IOContext(new BufferRecycler(), bytes, true); in testUtf8Issue462() local
20 JsonGenerator gen = new UTF8JsonGenerator(ioc, 0, null, bytes, '"'); in testUtf8Issue462()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/
DNucleo-L4A6RG.ioc103 ProjectManager.ProjectFileName=Nucleo-L4A6RG.ioc
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/
DNucleo-L476RG.ioc137 ProjectManager.ProjectFileName=Nucleo-L476RG.ioc
/external/libtextclassifier/native/annotator/pod_ner/test_data/
Dvocab.txt25942 ioc
/external/libabigail/tests/data/test-read-dwarf/
DPR25007-sdhci.ko.abi5791 …<var-decl name='ioc' type-id='type-id-729' visibility='default' filepath='/ws/android/kernel/aosp/…
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi13491 …<var-decl name="ioc" type-id="d042cfae" visibility="default" filepath="include/linux/iocontext.h" …
75517 …<var-decl name="ioc" type-id="d042cfae" visibility="default" filepath="include/linux/iocontext.h" …
Dtest-PR27569-v0.abi13491 …<var-decl name="ioc" type-id="d042cfae" visibility="default" filepath="include/linux/iocontext.h" …
75503 …<var-decl name="ioc" type-id="d042cfae" visibility="default" filepath="include/linux/iocontext.h" …
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt100871 ioc %18952