cam_cdbparse.3 (213573) | cam_cdbparse.3 (231564) |
---|---|
1.\" 2.\" Copyright (c) 1998 Kenneth D. Merry. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" | 1.\" 2.\" Copyright (c) 1998 Kenneth D. Merry. 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" SUCH DAMAGE. 27.\" |
28.\" $FreeBSD: head/lib/libcam/cam_cdbparse.3 213573 2010-10-08 12:40:16Z uqs $ | 28.\" $FreeBSD: head/lib/libcam/cam_cdbparse.3 231564 2012-02-12 18:29:56Z ed $ |
29.\" 30.\" This man page borrows heavily from the old scsi(3) man page, which had 31.\" the following copyright: 32.\" 33.\" Copyright (c) 1994 HD Associates (hd@world.std.com) 34.\" All rights reserved. 35.\" 36.\" Redistribution and use in source and binary forms, with or without --- 41 unchanged lines hidden (view full) --- 78.Sh LIBRARY 79.Lb libcam 80.Sh SYNOPSIS 81.In stdio.h 82.In camlib.h 83.Ft int 84.Fo csio_build 85.Fa "struct ccb_scsiio *csio" | 29.\" 30.\" This man page borrows heavily from the old scsi(3) man page, which had 31.\" the following copyright: 32.\" 33.\" Copyright (c) 1994 HD Associates (hd@world.std.com) 34.\" All rights reserved. 35.\" 36.\" Redistribution and use in source and binary forms, with or without --- 41 unchanged lines hidden (view full) --- 78.Sh LIBRARY 79.Lb libcam 80.Sh SYNOPSIS 81.In stdio.h 82.In camlib.h 83.Ft int 84.Fo csio_build 85.Fa "struct ccb_scsiio *csio" |
86.Fa "u_int8_t *data_ptr" 87.Fa "u_int32_t dxfer_len" 88.Fa "u_int32_t flags" | 86.Fa "uint8_t *data_ptr" 87.Fa "uint32_t dxfer_len" 88.Fa "uint32_t flags" |
89.Fa "int retry_count" 90.Fa "int timeout" 91.Fa "const char *cmd_spec" 92.Fa "..." 93.Fc 94.Ft int 95.Fo csio_build_visit 96.Fa "struct ccb_scsiio *csio" | 89.Fa "int retry_count" 90.Fa "int timeout" 91.Fa "const char *cmd_spec" 92.Fa "..." 93.Fc 94.Ft int 95.Fo csio_build_visit 96.Fa "struct ccb_scsiio *csio" |
97.Fa "u_int8_t *data_ptr" 98.Fa "u_int32_t dxfer_len" 99.Fa "u_int32_t flags" | 97.Fa "uint8_t *data_ptr" 98.Fa "uint32_t dxfer_len" 99.Fa "uint32_t flags" |
100.Fa "int retry_count" 101.Fa "int timeout" 102.Fa "const char *cmd_spec" 103.Fa "int (*arg_get)(void *hook, char *field_name)" 104.Fa "void *gethook" 105.Fc 106.Ft int 107.Fo csio_decode --- 9 unchanged lines hidden (view full) --- 117.Fa "int letter" 118.Fa "void *val" 119.Fa "int count" 120.Fa "char *name)" 121.Fa "void *puthook" 122.Fc 123.Ft int 124.Fo buff_decode | 100.Fa "int retry_count" 101.Fa "int timeout" 102.Fa "const char *cmd_spec" 103.Fa "int (*arg_get)(void *hook, char *field_name)" 104.Fa "void *gethook" 105.Fc 106.Ft int 107.Fo csio_decode --- 9 unchanged lines hidden (view full) --- 117.Fa "int letter" 118.Fa "void *val" 119.Fa "int count" 120.Fa "char *name)" 121.Fa "void *puthook" 122.Fc 123.Ft int 124.Fo buff_decode |
125.Fa "u_int8_t *buff" | 125.Fa "uint8_t *buff" |
126.Fa "size_t len" 127.Fa "const char *fmt" 128.Fa "..." 129.Fc 130.Ft int 131.Fo buff_decode_visit | 126.Fa "size_t len" 127.Fa "const char *fmt" 128.Fa "..." 129.Fc 130.Ft int 131.Fo buff_decode_visit |
132.Fa "u_int8_t *buff" | 132.Fa "uint8_t *buff" |
133.Fa "size_t len" 134.Fa "const char *fmt" 135.Fa "void (*arg_put)(void *, int, void *, int, char *)" 136.Fa "void *puthook" 137.Fc 138.Ft int 139.Fo csio_encode 140.Fa "struct ccb_scsiio *csio" --- 4 unchanged lines hidden (view full) --- 145.Fo csio_encode_visit 146.Fa "struct ccb_scsiio *csio" 147.Fa "const char *fmt" 148.Fa "int (*arg_get)(void *hook, char *field_name)" 149.Fa "void *gethook" 150.Fc 151.Ft int 152.Fo buff_encode_visit | 133.Fa "size_t len" 134.Fa "const char *fmt" 135.Fa "void (*arg_put)(void *, int, void *, int, char *)" 136.Fa "void *puthook" 137.Fc 138.Ft int 139.Fo csio_encode 140.Fa "struct ccb_scsiio *csio" --- 4 unchanged lines hidden (view full) --- 145.Fo csio_encode_visit 146.Fa "struct ccb_scsiio *csio" 147.Fa "const char *fmt" 148.Fa "int (*arg_get)(void *hook, char *field_name)" 149.Fa "void *gethook" 150.Fc 151.Ft int 152.Fo buff_encode_visit |
153.Fa "u_int8_t *buff" | 153.Fa "uint8_t *buff" |
154.Fa "size_t len" 155.Fa "const char *fmt" 156.Fa "int (*arg_get)(void *hook, char *field_name)" 157.Fa "void *gethook" 158.Fc 159.Sh DESCRIPTION 160The CAM buffer/CDB encoding and decoding routines provide a relatively easy 161migration path for userland --- 406 unchanged lines hidden --- | 154.Fa "size_t len" 155.Fa "const char *fmt" 156.Fa "int (*arg_get)(void *hook, char *field_name)" 157.Fa "void *gethook" 158.Fc 159.Sh DESCRIPTION 160The CAM buffer/CDB encoding and decoding routines provide a relatively easy 161migration path for userland --- 406 unchanged lines hidden --- |