Home
last modified time | relevance | path

Searched refs:device (Results 101 – 125 of 522) sorted by relevance

12345678910>>...21

/illumos-gate/usr/src/grub/grub-0.97/lib/
H A DMakefile.solaris15 LIBCOMMON_OBJS = device.o \
25 SRC_FILES = Makefile.am Makefile.in device.c device.h \
/illumos-gate/usr/src/lib/libcontract/common/
H A Ddevice_dump.c49 char *device; in event_device() local
69 if (ct_dev_status_get_minor(stathdl, &device) != 0) { in event_device()
96 (void) fprintf(file, s, device); in event_device()
/illumos-gate/usr/src/uts/common/sys/
H A Dpci_impl.h77 #define PCI_CADDR1(bus, device, function, reg) \ argument
78 (PCI_CONE | (((bus) & 0xff) << 16) | (((device & 0x1f)) << 11) \
84 #define PCI_CADDR2(device, indx) \ argument
85 (0xc000 | (((device) & 0xf) << 8) | (indx))
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-shared.h59 LibHalVolume *volume, LibHalDrive *drive, const char *device,
69 LibHalDrive *drive, const char *device,
76 const char *auth_used, const char *mount_point, const char *device, const char *options);
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevtab.c907 _getdevrec(char *device) /* The device to search for */ in _getdevrec() argument
927 if ((device != NULL) && !_validalias(device)) { in _getdevrec()
931 if (strcmp(device, devrec->cdevice) == 0) found = TRUE; in _getdevrec()
933 if (strcmp(device, devrec->bdevice) == 0) found = TRUE; in _getdevrec()
935 if (strcmp(device, devrec->pathname) == 0) found = TRUE; in _getdevrec()
949 if (stat64(device, &devstatbuf) != 0) errno = ENODEV; in _getdevrec()
1042 if (!devrec->comment && (device != NULL) && in _getdevrec()
1043 strcmp(device, devrec->alias) == 0) in _getdevrec()
H A Ddevreserv.c735 islocked(char *device) in islocked() argument
744 if (alias = devattr(device, DTAB_ALIAS)) { in islocked()
800 unreserv(int key, char *device) in unreserv() argument
824 if (alias = devattr(device, DTAB_ALIAS)) srchalias = alias; in unreserv()
827 srchalias = device; in unreserv()
1038 char *device) /* Device to free */ in devfree() argument
1050 if (unreserv(key, device)) { in devfree()
/illumos-gate/usr/src/boot/common/
H A Dhelp.common35 beadm activate beName [<device>]
36 beadm list [<device>]
39 sets currdev to <device> and loads configuration from new device.
40 Use lsdev to get available device names.
64 Display the currently active console device(s) and show
74 device names. Disk name must end with colon.
86 echo Current device is $currdev
88 will print the current device.
121 directory of the current device if <path> is not specified.
268 # Tset Scurrdev DSet the current device
[all …]
/illumos-gate/usr/src/test/util-tests/tests/pcieadm/
H A Dpcieadmtest.ksh114 show-cfgspace -f /dev/stdin header0.vendor header0.device
116 show-cfgspace -L -f /dev/stdin header0.vendor header0.device
118 show-cfgspace -n -f /dev/stdin header0.vendor header0.device
120 show-cfgspace -L -H -f /dev/stdin header0.vendor header0.device
137 show-cfgspace -p -o short,value -f /dev/stdin header0.vendor header0.device
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpci.c209 uint32_t class, uint16_t vendor, uint16_t device, in scan_drivers() argument
228 (device == driver->ids[i].dev_id)) { in scan_drivers()
268 uint16_t vendor, device; in scan_pci_bus() local
307 device = (l >> 16) & 0xffff; in scan_pci_bus()
316 vendor, device); in scan_pci_bus()
333 scan_drivers(type, class, vendor, device, first_driver, dev); in scan_pci_bus()
347 dev->dev_id = device; in scan_pci_bus()
/illumos-gate/usr/src/test/nvme-tests/tests/nvmeadm/
H A Dnvmeadm_test.ksh293 nvmeadm_fail list-logpages -o device,shadow $nt_dev
376 nvmeadm_pass list-logpages -o device $nt_dev
377 nvmeadm_pass list-logpages -H -o device $nt_dev
379 device,name,desc,scope,fields,csi,lid,impl,size,minsize,sources,kind $nt_dev
384 nvmeadm_pass list-logpages -s controller -H -o device $nt_dev
386 device,name,desc,scope,fields,csi,lid,impl,size,minsize,sources,kind $nt_dev
401 nvmeadm_pass list-features -o device $nt_dev
402 nvmeadm_pass list-features -p -o device,impl $nt_dev
404 device,short,spec,fid,scope,kind,csi,flags,get-in,get-out,set-out,datalen \
410 nvmeadm_pass list-features -p -o device,impl $nt_dev/1
[all …]
/illumos-gate/usr/src/cmd/fwflash/common/
H A Dfwflash.c892 if (device == NULL) { in fwflash_update()
903 device); in fwflash_update()
904 realfile = device; in fwflash_update()
910 if (realpath(device, realfile) == NULL) { in fwflash_update()
918 realfile = device; in fwflash_update()
926 filename, device); in fwflash_update()
982 ((strncmp(device, realfile, strlen(device)) == 0) ? in fwflash_update()
983 realfile : device)); in fwflash_update()
996 fwflash_read_file(char *device, char *filename) in fwflash_read_file() argument
1005 if (strncmp(curdev->access_devname, device, in fwflash_read_file()
[all …]
/illumos-gate/usr/src/cmd/rmt/
H A Drmt.c118 static char device[MAXPATHLEN]; variable
418 getstring(device, sizeof (device)); in main()
419 DEBUG1("rmtd: C %s\n", device); in main()
429 getstring(device, sizeof (device)); in main()
431 DEBUG2("rmtd: O %s %s\n", device, mode); in main()
440 tape = open(device, O_LARGEFILE | in main()
/illumos-gate/usr/src/cmd/hal/utils/
H A Dprinter.c114 char **command_set, char *device) in add_printer_info() argument
120 NP(serial_number), NP(device))); in add_printer_info()
141 if (device != NULL) in add_printer_info()
143 "printer.device", device); in add_printer_info()
/illumos-gate/usr/src/cmd/allocate/
H A Dsvc-allocate33 HALFDI=/etc/hal/fdi/policy/30user/90-solaris-device-allocation.fdi
53 <device>
62 </device>
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpartition.c560 char *device; /* name of fixed disk drive */ in get_parts() local
628 if ((device = malloc(len)) == NULL) { in get_parts()
629 if (device) in get_parts()
630 free(device); in get_parts()
634 (void) snprintf(device, len, "%s", disk->aliases->alias); in get_parts()
636 if ((ret = libfdisk_init(&epp, device, &iparts[i], in get_parts()
652 free(device); in get_parts()
656 free(device); in get_parts()
660 free(device); in get_parts()
687 free(device); in get_parts()
/illumos-gate/usr/src/cmd/Adm/
H A Dttysrch25 # during attempts to determine the name of a terminal device.
28 # are most likely to contain device entries for terminal
35 # an exact match requires that the major/minor device number
38 # match on the major/minor device and the file system identifier
52 # if all Starlan network clone device entries were contained
/illumos-gate/usr/src/cmd/ibd_upgrade/
H A Dibd_upgrade.sh72 device=$1
79 set -- ${device}
100 do_cmd "dladm set-linkprop -p linkmode=ud ${device}"
/illumos-gate/usr/src/cmd/du/
H A Ddu.c92 dev_t device);
280 descend(char *curname, int curfd, int *retcode, dev_t device) in descend() argument
340 if (device) { in descend()
341 if (dflg && stb.st_dev != device) { in descend()
347 device = stb.st_dev; in descend()
404 blocks += descend(NULL, fd, retcode, device); in descend()
484 retval = descend(ebase + 1, 0, retcode, device); in descend()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgtrans.c65 extern char *devattr(char *device, char *attribute);
73 extern int ds_ginit(char *device);
148 pkghead(char *device) in pkghead() argument
156 if (device == NULL) in pkghead()
158 else if ((device[0] == '/') && !isdir(device)) { in pkghead()
159 pkgdir = device; in pkghead()
791 ds_fd = creat(device, 0644); in wdsheader()
793 ds_fd = open(device, 1); in wdsheader()
797 logerr(pkg_gt(MSG_OPEN), device, errno); in wdsheader()
801 if (ds_ginit(device) < 0) { in wdsheader()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk.c87 char *device, *driver, *pname; in disk_enum() local
149 TOPO_BINDING_OCCUPANT, &device, &err) != 0) { in disk_enum()
158 err = disk_declare_path(mod, baynode, dlistp, device); in disk_enum()
160 topo_mod_strfree(mod, device); in disk_enum()
/illumos-gate/usr/src/cmd/fm/mcdecode/
H A Dmcdecode.c224 mcdecode_pa(const char *device, uint64_t pa) in mcdecode_pa() argument
232 if ((fd = open(device, O_RDONLY)) < 0) { in mcdecode_pa()
233 err(EXIT_FAILURE, "failed to open %s", device); in mcdecode_pa()
291 mcdecode_dump(const char *device, const char *outfile) in mcdecode_dump() argument
297 if ((fd = open(device, O_RDONLY)) < 0) { in mcdecode_dump()
298 err(EXIT_FAILURE, "failed to open %s", device); in mcdecode_dump()
/illumos-gate/usr/src/cmd/fm/dicts/
H A DSUNOS.dict31 defect.Deprecated defect.io.pci.driver fault.io.pci.bus fault.io.pci.device=2
32 defect.Deprecated fault.io.pci.bus fault.io.pci.device=3
33 defect.Deprecated defect.io.pci.driver fault.io.pci.device=4
35 defect.Deprecated fault.io.pci.device=6
/illumos-gate/usr/src/cmd/mdb/common/modules/emlxs/
H A Demlxs.c81 emlxs_device_t device; in emlxs_msgbuf() local
112 if (mdb_readvar(&device, buffer) == -1) { in emlxs_msgbuf()
163 addr = (uintptr_t)device.log[brd_no]; in emlxs_msgbuf()
345 emlxs_device_t device; in emlxs_dump() local
387 if (mdb_readvar(&device, buffer) == -1) { in emlxs_dump()
439 addr = (uintptr_t)device.dump_txtfile[brd_no]; in emlxs_dump()
485 addr = (uintptr_t)device.dump_dmpfile[brd_no]; in emlxs_dump()
568 addr = (uintptr_t)device.dump_ceefile[brd_no]; in emlxs_dump()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_scsi.c55 static void common_set_target(ndmp_connection_t *connection, char *device,
82 common_open(connection, request->device.name); in ndmpd_scsi_open_v2()
200 common_set_target(connection, request->device.name, in ndmpd_scsi_set_target_v2()
333 common_open(connection, request->device); in ndmpd_scsi_open_v3()
358 common_set_target(connection, request->device, in ndmpd_scsi_set_target_v3()
502 common_set_target(ndmp_connection_t *connection, char *device, in common_set_target() argument
/illumos-gate/usr/src/boot/forth/
H A Dpcibios.4th29 \ pci-device-count pci-id
33 : pci-device-count
42 dup pcibios-device-count ." Found " . ." instances of " hex . decimal cr
47 builtin: pci-device-count

12345678910>>...21