| /src/sys/arch/sgimips/stand/common/ |
| iris_scsictl.c | 43 static struct scsi_cdb6 cdb = { CMD_TEST_UNIT_READY }; local 45 return wd33c93_go(sc, (uint8_t *)&cdb, sizeof(cdb), NULL, NULL); 55 static struct scsi_cdb10 cdb = { CMD_READ_CAPACITY }; local 57 return wd33c93_go(sc, (uint8_t *)&cdb, sizeof(cdb), buf, lenp); 67 struct scsi_cdb10 cdb; local 69 memset(&cdb, 0, sizeof(cdb)); 70 cdb.cmd = CMD_READ_EXT 93 struct scsi_cdb10 cdb; local [all...] |
| /src/share/terminfo/ |
| Makefile | 4 CLEANFILES= terminfo.cdb 5 realall: terminfo.cdb 6 FILES=terminfo.cdb terminfo 9 terminfo.cdb: terminfo ${TOOL_TIC}
|
| /src/sys/arch/luna68k/stand/boot/ |
| scsi.c | 199 struct scsi_generic_cdb *cdb = &scsi_cdb; local 201 cdb->cdb[0] = CMD_READ_EXT; 203 cdb->cdb[2] = (blk & 0xff000000) >> 24; 204 cdb->cdb[3] = (blk & 0x00ff0000) >> 16; 205 cdb->cdb[4] = (blk & 0x0000ff00) >> 8; 206 cdb->cdb[5] = (blk & 0x000000ff) 228 struct scsi_generic_cdb *cdb = &scsi_cdb; local [all...] |
| sd.c | 229 struct scsi_generic_cdb *cdb; local 247 cdb = &cdb_read; 249 cdb = &cdb_write; 251 cdb->cdb[2] = (blk & 0xff000000) >> 24; 252 cdb->cdb[3] = (blk & 0x00ff0000) >> 16; 253 cdb->cdb[4] = (blk & 0x0000ff00) >> 8; 254 cdb->cdb[5] = (blk & 0x000000ff) [all...] |
| ufs_disksubr.c | 100 static struct scsi_generic_cdb cdb = { local 112 if (scsi_immed_command(ctlr, id, 0, &cdb, bp, DEV_BSIZE) != 0) {
|
| sc.c | 359 scrun(int ctlr, int target, uint8_t *cdb, int cdblen, uint8_t *buf, int len, 380 hs->sc_cdb = cdb; 487 static struct scsi_cdb6 cdb = { CMD_TEST_UNIT_READY }; local 495 cdb.lun = lun; 497 if (scrun(ctlr, target, (void *)&cdb, 6, NULL, 0, &lock) == 0) { 523 static struct scsi_cdb6 cdb = { CMD_REQUEST_SENSE }; local 533 /* ここではデーター転送数をcdbのAllocation Lengthに最低長である8バイト */ 539 cdb.lun = lun; 540 cdb.len = len; 542 if (scrun(ctlr, target, (void *)&cdb, 6, buf, len, &lock) == 0) 604 static struct scsi_cdb6 cdb = { CMD_FORMAT_UNIT, 0, 0, 0, 0, 0 }; local [all...] |
| /src/tests/lib/libcurses/ |
| Makefile | 16 FILES= ${TERMINFO_DB}.cdb 22 CLEANFILES+= ${TERMINFO_DB}.cdb 24 realall: ${TERMINFO_DB}.cdb 30 ${TERMINFO_DB}.cdb: ${DPTOOL_TIC} ${TEST_TERMINFO}
|
| /src/external/gpl2/xcvs/dist/lib/ |
| chdir-long.c | 55 cdb_init (struct cd_buf *cdb) 57 cdb->fd = AT_FDCWD; 61 cdb_fchdir (struct cd_buf const *cdb) 63 return fchdir (cdb->fd); 67 cdb_free (struct cd_buf const *cdb) 69 if (0 <= cdb->fd) 71 bool close_fail = close (cdb->fd); 76 /* Given a file descriptor of an open directory (or AT_FDCWD), CDB->fd, 77 try to open the CDB->fd-relative directory, DIR. If the open succeeds, 78 update CDB->fd with the resulting descriptor, close the incoming fil 130 struct cd_buf cdb; local [all...] |
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| chdir-long.c | 47 cdb_init (struct cd_buf *cdb) 49 cdb->fd = AT_FDCWD; 53 cdb_fchdir (struct cd_buf const *cdb) 55 return fchdir (cdb->fd); 59 cdb_free (struct cd_buf const *cdb) 61 if (0 <= cdb->fd) 63 bool close_fail = close (cdb->fd); 68 /* Given a file descriptor of an open directory (or AT_FDCWD), CDB->fd, 69 try to open the CDB->fd-relative directory, DIR. If the open succeeds, 70 update CDB->fd with the resulting descriptor, close the incoming fil 119 struct cd_buf cdb; local [all...] |
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| chdir-long.c | 47 cdb_init (struct cd_buf *cdb) 49 cdb->fd = AT_FDCWD; 53 cdb_fchdir (struct cd_buf const *cdb) 55 return fchdir (cdb->fd); 59 cdb_free (struct cd_buf const *cdb) 61 if (0 <= cdb->fd) 63 bool close_fail = close (cdb->fd); 68 /* Given a file descriptor of an open directory (or AT_FDCWD), CDB->fd, 69 try to open the CDB->fd-relative directory, DIR. If the open succeeds, 70 update CDB->fd with the resulting descriptor, close the incoming fil 119 struct cd_buf cdb; local [all...] |
| /src/sys/arch/hp300/stand/common/ |
| scsi.c | 376 static struct scsi_cdb6 cdb = { CMD_TEST_UNIT_READY }; local 378 return scsiicmd(hs, slave, (uint8_t *)&cdb, sizeof(cdb), NULL, 0, 386 static struct scsi_cdb6 cdb = { CMD_REQUEST_SENSE }; local 388 cdb.len = len; 389 return scsiicmd(hs, slave, (uint8_t *)&cdb, sizeof(cdb), buf, len, 397 static struct scsi_cdb10 cdb = { CMD_READ_CAPACITY }; local 399 return scsiicmd(hs, slave, (uint8_t *)&cdb, sizeof(cdb), buf, len 408 static struct scsi_cdb6 cdb = { CMD_INQUIRY }; local 421 struct scsi_cdb10 cdb; local 440 struct scsi_cdb10 cdb; local [all...] |
| /src/external/apache2/llvm/dist/clang/tools/scan-build-py/tests/functional/cases/ |
| test_from_cdb.py | 30 def run_analyzer(directory, cdb, args): 31 cmd = ['analyze-build', '--cdb', cdb, '--output', directory] \ 39 cdb = prepare_cdb('regular', tmpdir) 40 exit_code, reportdir = run_analyzer(tmpdir, cdb, []) 45 cdb = prepare_cdb('clean', tmpdir) 46 exit_code, reportdir = run_analyzer(tmpdir, cdb, []) 51 cdb = prepare_cdb('clean', tmpdir) 52 exit_code, reportdir = run_analyzer(tmpdir, cdb, ['--keep-empty']) 59 cdb = prepare_cdb('regular', tmpdir [all...] |
| /src/external/apache2/llvm/dist/clang/bindings/python/tests/cindex/ |
| test_cdb.py | 33 cdb = CompilationDatabase.fromDirectory(path) 43 cdb = CompilationDatabase.fromDirectory(kInputsDir) 47 cdb = CompilationDatabase.fromDirectory(kInputsDir) 48 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp') 54 cdb = CompilationDatabase.fromDirectory(str_to_path(kInputsDir)) 55 cmds = cdb.getCompileCommands(str_to_path('/home/john.doe/MyProject/project.cpp')) 60 cdb = CompilationDatabase.fromDirectory(kInputsDir) 61 cmds = cdb.getAllCompileCommands() 87 cdb = CompilationDatabase.fromDirectory(kInputsDir) 89 cmds = cdb.getCompileCommands(file [all...] |
| /src/sys/arch/next68k/stand/boot/ |
| sd.c | 117 struct scsipi_read_capacity_10 cdb; local 126 memset(&cdb, 0, sizeof(cdb)); 127 cdb.opcode = READ_CAPACITY_10; 129 error = scsiicmd(ss->sc_unit, ss->sc_lun, (u_char *)&cdb, sizeof(cdb), 255 struct scsipi_rw_10 cdb; local 281 memset(&cdb, 0, sizeof(cdb)); 282 cdb.opcode = READ_10 [all...] |
| /src/tests/lib/libc/ |
| t_cdb.c | 51 static const char database_name[] = "test.cdb"; 129 ATF_TC_WITH_CLEANUP(cdb); variable 131 ATF_TC_HEAD(cdb, tc) 134 atf_tc_set_md_var(tc, "descr", "Test cdb(5) reading and writing"); 137 ATF_TC_BODY(cdb, tc) 148 ATF_TC_CLEANUP(cdb, tc) 157 ATF_TP_ADD_TC(tp, cdb);
|
| /src/external/bsd/iscsi/dist/src/initiator/ |
| iscsi-initiator.c | 106 lba2cdb(uint8_t *cdb, uint32_t *lba, uint16_t *len) 115 cdb[2] = ((uint8_t *) (void *)lba)[3]; 116 cdb[3] = ((uint8_t *) (void *)lba)[2]; 117 cdb[4] = ((uint8_t *) (void *)lba)[1]; 118 cdb[5] = ((uint8_t *) (void *)lba)[0]; 119 cdb[7] = ((uint8_t *) (void *)len)[1]; 120 cdb[8] = ((uint8_t *) (void *)len)[0]; 123 cdb[2] = ((uint8_t *) (void *)lba)[2]; 124 cdb[3] = ((uint8_t *) (void *)lba)[3]; 125 cdb[4] = ((uint8_t *) (void *)lba)[0] 139 uint8_t cdb[16]; local 187 uint8_t cdb[16]; local 226 uint8_t cdb[16]; local 273 uint8_t cdb[16]; local [all...] |
| /src/external/ibm-public/postfix/dist/src/util/ |
| dict_cdb.c | 7 /* dictionary manager interface to CDB files 17 /* dict_cdb_open() opens the specified CDB database. The result is 23 /* The database pathname, not including the ".cdb" suffix. 69 #include <cdb.h> 78 #define CDB_SUFFIX ".cdb" 88 struct cdb cdb; /* cdb structure */ member in struct:__anon88 99 char *cdb_path; /* cdb pathname (.cdb) */ [all...] |
| /src/sys/dev/pci/ |
| vioscsireg.h | 60 uint8_t cdb[32]; member in struct:virtio_scsi_req_hdr
|
| ld_twa.c | 178 /* offset from end of hdr = max cdb len */ 313 tr->tr_command->command.cmd_pkt_9k.cdb[0] = WRITE_16; 315 tr->tr_command->command.cmd_pkt_9k.cdb[0] = READ_16; 317 tr->tr_command->command.cmd_pkt_9k.cdb[1] = 318 (sc->sc_hwunit << 5); /* lun for CDB */ 321 &tr->tr_command->command.cmd_pkt_9k.cdb[2]); 323 &tr->tr_command->command.cmd_pkt_9k.cdb[10]); 325 tr->tr_command->command.cmd_pkt_9k.cdb[14] = 0; 326 tr->tr_command->command.cmd_pkt_9k.cdb[15] = 0;
|
| /src/etc/rc.d/ |
| sysdb | 55 check_file /etc/services /var/db/services.cdb services_mkdb -q 66 check_file /dev /var/run/dev.cdb dev_mkdb
|
| /src/sys/dev/ic/ |
| ciss.c | 966 memset(&cmd->cdb[0], 0, sizeof(cmd->cdb)); 967 cmd->cdb[0] = CISS_CMD_CTRL_GET; 968 cmd->cdb[6] = CISS_CMS_CTRL_CTRL; 969 cmd->cdb[7] = sizeof(*inq) >> 8; /* biiiig endian */ 970 cmd->cdb[8] = sizeof(*inq) & 0xff; 998 memset(&cmd->cdb[0], 0, sizeof(cmd->cdb)); 999 cmd->cdb[0] = CISS_CMD_LDMAP; 1000 cmd->cdb[8] = total >> 8; /* biiiig endian * [all...] |
| /src/usr.sbin/npf/npftest/ |
| npftest.c | 136 void *cdb; local 155 if (cdbw_output(cdbw, fd, "npf-table-cdb", NULL) == -1) { 163 if ((cdb = mmap(NULL, sb.st_size, PROT_READ, 170 return cdb; 301 void *cdb; local 304 cdb = generate_test_cdb(&len); 305 ok = rumpns_npf_table_test(verbose, cdb, len); 308 munmap(cdb, len);
|
| /src/external/bsd/iscsi/dist/src/lib/ |
| disk.c | 898 cdb2lba(uint32_t *lba, uint16_t *len, uint8_t *cdb) 900 *lba = be32dec(&cdb[2]); 901 *len = be16dec(&cdb[7]); 905 cdb2lba64(uint64_t *lba64, uint32_t *len32, uint8_t *cdb) 907 *lba64 = be64dec(&cdb[2]); 908 *len32 = be32dec(&cdb[10]); 918 uint8_t *cdb = args->cdb; local 947 if (cdb[4] == 0) { 948 /* zero length cdb means just return success * 1092 uint8_t *cdb; local [all...] |
| /src/lib/libc/net/ |
| servent.h | 39 struct cdbr *cdb; member in struct:servent_data
|
| /src/sys/dev/scsipi/ |
| ses.c | 503 ses_runcmd(struct ses_softc *ssc, char *cdb, int cdbl, char *dptr, int *dlenp) 523 memcpy(&sgen, cdb, cdbl); 936 static char cdb[6] = { local 950 err = ses_runcmd(ssc, cdb, 6, sdata, &amt); 1080 char cdb[6], *sdata; local 1106 cdb[0] = RECEIVE_DIAGNOSTIC; 1107 cdb[1] = 1; 1108 cdb[2] = SesStatusPage; 1109 cdb[3] = bufsiz >> 8; 1110 cdb[4] = bufsiz & 0xff 1583 static char cdb[10] = local 1803 static char cdb[10] = local 1846 char *sdata, cdb[10]; local 2316 static char cdb[10] = { WRITE_BUFFER, 1, 0, 0, 0, 0, 0, 0, 16, 0 }; local 2349 char cdb[10], *sdata; local 2392 static char cdb[10] = local [all...] |