Searched refs:ds_fd (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 92 int ds_fd = -1; variable 155 if (read(ds_fd, ds_header + ds_headsize, BLK_SIZE) < BLK_SIZE) 187 if (ds_fd >= 0) 188 (void) close(ds_fd); 189 if ((ds_fd = open(device, O_RDONLY)) >= 0 && 190 read(ds_fd, buf, BLK_SIZE) == BLK_SIZE && 208 } else if (ds_fd >= 0) { 209 (void) close(ds_fd); 210 ds_fd = -1; 262 ds_fd, ds_realf [all...] |
H A D | pkgtrans.c | 122 extern int ds_fd; /* open file descriptor for data stream WHERE? */ 942 ds_fd = creat(device, 0644); 944 ds_fd = open(device, 1); 946 if (ds_fd < 0) { 966 (void) write(ds_fd, (hdr->text_buffer + block_cnt), BLK_SIZE); 1141 if (n = esystem(tmp_entry, list_fd, ds_fd)) { 1484 if ((ds_fd = open(dstdev.cdevice, O_WRONLY)) < 0) { 1588 n = esystem(cmd, -1, (options & PT_ODTSTREAM) ? ds_fd : -1); 1657 if ((ds_fd = open(dstdev.cdevice, 1)) < 0) {
|
/illumos-gate/usr/src/lib/libds/common/ |
H A D | libds.c | 66 static int ds_fd = -1; variable 329 if (ds_fd >= 0) 332 if ((ds_fd = open(vlds_device, 0)) < 0) 368 if (ds_fd < 0 && (errno = ds_init()) != 0) { 414 if (ioctl(ds_fd, VLDS_SVC_REG, &vlds_arg) < 0) { 425 (void) ioctl(ds_fd, VLDS_UNREG_HDL, &vlds_arg); 479 if (ds_fd < 0) { 493 if (ioctl(ds_fd, VLDS_HDL_LOOKUP, &vlds_arg) < 0) { 510 if (ds_fd < 0) { 517 if (ioctl(ds_fd, VLDS_DMN_LOOKU [all...] |
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_impl.h | 49 int ds_fd; /* device file descriptor */ member in struct:disk_status
|
H A D | libdiskstatus.c | 78 if ((dsp->ds_fd = open(path, O_RDWR)) < 0) { 136 (void) close(dsp->ds_fd);
|
H A D | ds_scsi.c | 181 result = uscsi_mode_select(sip->si_dsp->ds_fd, 194 result = uscsi_mode_select_10(sip->si_dsp->ds_fd, 228 result = uscsi_mode_sense(sip->si_dsp->ds_fd, page_code, 237 result = uscsi_mode_sense_10(sip->si_dsp->ds_fd, 264 result = uscsi_request_sense(sip->si_dsp->ds_fd, 288 result = uscsi_log_sense(sip->si_dsp->ds_fd,
|
Completed in 3155 milliseconds