/external/strace/tests-m32/ |
D | ioctl_sg_io_v3.c | 46 TAIL_ALLOC_OBJECT_CONST_PTR(struct sg_io_hdr, sg_io); in main() 47 fill_memory(sg_io, sizeof(*sg_io)); in main() 49 const void *const efault = sg_io + 1; in main() 53 ioctl(-1, SG_IO, sg_io); in main() 54 printf("ioctl(-1, SG_IO, [%u]) = -1 EBADF (%m)\n", sg_io->interface_id); in main() 61 sg_io->interface_id = (unsigned char) 'S'; in main() 62 sg_io->dxfer_direction = -2; in main() 63 sg_io->flags = -1U; in main() 64 sg_io->info = -1U; in main() 65 sg_io->dxferp = (void *) (unsigned long) 0xfacefeedfffffff1ULL; in main() [all …]
|
D | ioctl_sg_io_v4.c | 48 TAIL_ALLOC_OBJECT_CONST_PTR(struct sg_io_v4, sg_io); in main() 49 fill_memory(sg_io, sizeof(*sg_io)); in main() 51 const void *const efault = sg_io + 1; in main() 55 ioctl(-1, SG_IO, sg_io); in main() 56 printf("ioctl(-1, SG_IO, [%u]) = -1 EBADF (%m)\n", sg_io->guard); in main() 63 sg_io->guard = (unsigned char) 'Q'; in main() 64 sg_io->protocol = 0; in main() 65 sg_io->subprotocol = 1; in main() 66 sg_io->flags = -1U; in main() 67 sg_io->info = -1U; in main() [all …]
|
/external/strace/tests-mx32/ |
D | ioctl_sg_io_v3.c | 46 TAIL_ALLOC_OBJECT_CONST_PTR(struct sg_io_hdr, sg_io); in main() 47 fill_memory(sg_io, sizeof(*sg_io)); in main() 49 const void *const efault = sg_io + 1; in main() 53 ioctl(-1, SG_IO, sg_io); in main() 54 printf("ioctl(-1, SG_IO, [%u]) = -1 EBADF (%m)\n", sg_io->interface_id); in main() 61 sg_io->interface_id = (unsigned char) 'S'; in main() 62 sg_io->dxfer_direction = -2; in main() 63 sg_io->flags = -1U; in main() 64 sg_io->info = -1U; in main() 65 sg_io->dxferp = (void *) (unsigned long) 0xfacefeedfffffff1ULL; in main() [all …]
|
D | ioctl_sg_io_v4.c | 48 TAIL_ALLOC_OBJECT_CONST_PTR(struct sg_io_v4, sg_io); in main() 49 fill_memory(sg_io, sizeof(*sg_io)); in main() 51 const void *const efault = sg_io + 1; in main() 55 ioctl(-1, SG_IO, sg_io); in main() 56 printf("ioctl(-1, SG_IO, [%u]) = -1 EBADF (%m)\n", sg_io->guard); in main() 63 sg_io->guard = (unsigned char) 'Q'; in main() 64 sg_io->protocol = 0; in main() 65 sg_io->subprotocol = 1; in main() 66 sg_io->flags = -1U; in main() 67 sg_io->info = -1U; in main() [all …]
|
/external/strace/tests/ |
D | ioctl_sg_io_v3.c | 46 TAIL_ALLOC_OBJECT_CONST_PTR(struct sg_io_hdr, sg_io); in main() 47 fill_memory(sg_io, sizeof(*sg_io)); in main() 49 const void *const efault = sg_io + 1; in main() 53 ioctl(-1, SG_IO, sg_io); in main() 54 printf("ioctl(-1, SG_IO, [%u]) = -1 EBADF (%m)\n", sg_io->interface_id); in main() 61 sg_io->interface_id = (unsigned char) 'S'; in main() 62 sg_io->dxfer_direction = -2; in main() 63 sg_io->flags = -1U; in main() 64 sg_io->info = -1U; in main() 65 sg_io->dxferp = (void *) (unsigned long) 0xfacefeedfffffff1ULL; in main() [all …]
|
D | ioctl_sg_io_v4.c | 48 TAIL_ALLOC_OBJECT_CONST_PTR(struct sg_io_v4, sg_io); in main() 49 fill_memory(sg_io, sizeof(*sg_io)); in main() 51 const void *const efault = sg_io + 1; in main() 55 ioctl(-1, SG_IO, sg_io); in main() 56 printf("ioctl(-1, SG_IO, [%u]) = -1 EBADF (%m)\n", sg_io->guard); in main() 63 sg_io->guard = (unsigned char) 'Q'; in main() 64 sg_io->protocol = 0; in main() 65 sg_io->subprotocol = 1; in main() 66 sg_io->flags = -1U; in main() 67 sg_io->info = -1U; in main() [all …]
|
/external/strace/ |
D | sg_io_v4.c | 60 struct sg_io_v4 sg_io; in decode_request() local 64 if (umoven_or_printaddr(tcp, arg + skip_iid, sizeof(sg_io) - skip_iid, in decode_request() 65 &sg_io.protocol)) { in decode_request() 70 PRINT_FIELD_XVAL("", sg_io, protocol, bsg_protocol, "BSG_PROTOCOL_???"); in decode_request() 71 PRINT_FIELD_XVAL(", ", sg_io, subprotocol, bsg_subprotocol, in decode_request() 73 PRINT_FIELD_U(", ", sg_io, request_len); in decode_request() 74 PRINT_FIELD_SG_IO_BUFFER(", ", sg_io, request, sg_io.request_len, in decode_request() 76 PRINT_FIELD_X(", ", sg_io, request_tag); in decode_request() 77 PRINT_FIELD_U(", ", sg_io, request_attr); in decode_request() 78 PRINT_FIELD_U(", ", sg_io, request_priority); in decode_request() [all …]
|
D | sg_io_v3.c | 73 struct_sg_io_hdr sg_io; in decode_request() local 78 if (umoven_or_printaddr(tcp, arg + skip_iid, sizeof(sg_io) - skip_iid, in decode_request() 79 &sg_io.dxfer_direction)) { in decode_request() 84 PRINT_FIELD_XVAL("", sg_io, dxfer_direction, sg_io_dxfer_direction, in decode_request() 86 PRINT_FIELD_U(", ", sg_io, cmd_len); in decode_request() 87 PRINT_FIELD_SG_IO_BUFFER(", ", sg_io, cmdp, sg_io.cmd_len, 0, tcp); in decode_request() 88 PRINT_FIELD_U(", ", sg_io, mx_sb_len); in decode_request() 89 PRINT_FIELD_U(", ", sg_io, iovec_count); in decode_request() 90 PRINT_FIELD_U(", ", sg_io, dxfer_len); in decode_request() 91 PRINT_FIELD_U(", ", sg_io, timeout); in decode_request() [all …]
|
D | ChangeLog | 12282 sg_io: cleanup printing of sg_io buffers. 12283 Turn print_sg_io_buffer into a universal sg_io buffer printer. 12293 sg_io: decode structures on exiting syscall in case of syserror. 12318 sg_io: reorder printing of fields to follow structure order. 12328 sg_io: print names of array fields and corresponding length fields. 12385 sg_io: decode struct sg_io_hdr.info and struct sg_io_v4.info. 12397 sg_io: decode struct sg_io_hdr.flags and struct sg_io_v4.flags.
|