Home
last modified time | relevance | path

Searched refs:device (Results 26 – 50 of 522) sorted by relevance

12345678910>>...21

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Ddisk_io.c1138 if (*device == '(' && !*(device + 1)) in set_device()
1142 if (*device == '(' && *(++device)) in set_device()
1144 if (*device != ',' && *device != ')') in set_device()
1148 if (*device == 'f' || *device == 'h' in set_device()
1152 if (*device == 'f' || *device == 'h' in set_device()
1175 && (device += 2, (*(device - 1) != 'd'))) in set_device()
1210 device++; in set_device()
1212 if (*device >= '0' && *device <= '9') in set_device()
1228 device++; in set_device()
1230 if (*device >= 'a' && *device <= 'p') in set_device()
[all …]
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_hw.h174 (bgep->chipid.device == DEVICE_ID_5701) ||\
182 (bgep->chipid.device == DEVICE_ID_5704))
186 (bgep->chipid.device == DEVICE_ID_5702fe))
200 (bgep->chipid.device == DEVICE_ID_5753))
208 (bgep->chipid.device == DEVICE_ID_5789))
215 (bgep->chipid.device == DEVICE_ID_5724))
219 (bgep->chipid.device == DEVICE_ID_5727))
227 (bgep->chipid.device == DEVICE_ID_57780))
233 (bgep->chipid.device == DEVICE_ID_5715S))
237 (bgep->chipid.device == DEVICE_ID_5906M))
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dgetvol.c106 cdevice = devattr(device, "cdevice"); in _getvol()
108 cdevice = devattr(device, "pathname"); in _getvol()
113 pname = devattr(device, "desc"); in _getvol()
115 pname = devattr(device, "alias"); in _getvol()
117 pname = device; in _getvol()
120 volume = devattr(device, "volume"); in _getvol()
300 fmtcmd = devattr(device, "fmtcmd"); in insert()
303 dev_type = devattr(device, "type"); in insert()
423 (void) doremovecmd(device, 1); in insert()
459 doremovecmd(char *device, int echo) in doremovecmd() argument
[all …]
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-zpool.c53 int result, const char *auth_used, const char *pool, const char *device) in audit_pool() argument
71 event->adt_pool_export.device = (char *)device; in audit_pool()
76 event->adt_pool_import.device = (char *)device; in audit_pool()
102 char *subcmd, const char *pool, const char *device, in handle_zpool() argument
119 printf ("device = %s\n", device); in handle_zpool()
128 (strncmp (device, "/dev/lofi", 9) == 0)) { in handle_zpool()
155 "solaris.device.mount.removable", pool, device); in handle_zpool()
174 char *device; in main() local
187 device = getenv ("HAL_PROP_BLOCK_DEVICE"); in main()
188 if (device == NULL) in main()
[all …]
H A Dhal-storage-mount.c99 already_mounted (const char *device) in already_mounted() argument
140 cannot_remount (const char *device) in cannot_remount() argument
380 if (strcmp (device, resolved) == 0) { in bailout_if_in_fstab()
412 if (strcmp (device, resolved) == 0) { in device_is_mounted()
603 cannot_remount (device);
608 cannot_remount (device);
619 already_mounted (device);
623 already_mounted (device);
898 args[na++] = (char *) device;
1065 char *device; local
[all …]
H A Dhal-storage-shared.c310 permission_denied_volume_ignore (device); in handle_unmount()
375 if (strcmp (line_elements[0], device) == 0) { in handle_unmount()
456 args[na++] = (char *) device; in handle_unmount()
498 mount_point_to_unmount, device, NULL); in handle_unmount()
538 LibHalDrive *drive, const char *device, in handle_eject() argument
566 args[na++] = (char *) device; in handle_eject()
574 printf ("will eject %s\n", device); in handle_eject()
704 const char *device, const char *options) argument
722 event->adt_attach.device = (char *)device;
728 event->adt_detach.device = (char *)device;
[all …]
/illumos-gate/usr/src/man/man9p/
H A DMakefile22 inquiry-device-type.9p \
32 device-blksize.9p \
33 device-nblocks.9p \
41 inquiry-product-id.9p := LINKSRC = inquiry-device-type.9p
42 inquiry-revision-id.9p := LINKSRC = inquiry-device-type.9p
43 inquiry-serial-no.9p := LINKSRC = inquiry-device-type.9p
44 inquiry-vendor-id.9p := LINKSRC = inquiry-device-type.9p
48 device-blksize.9p := LINKSRC = size.9p
49 device-nblocks.9p := LINKSRC = size.9p
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib.c64 rdsv3_ib_add_one(ib_device_t *device) in rdsv3_ib_add_one() argument
73 if (device->node_type != RDMA_NODE_IB_CA) in rdsv3_ib_add_one()
83 "Query device failed for %s", device->name); in rdsv3_ib_add_one()
91 device->name); in rdsv3_ib_add_one()
99 rds_ibdev->ibt_hca_hdl = ib_get_ibt_hca_hdl(device); in rdsv3_ib_add_one()
112 rds_ibdev->dev = device; in rdsv3_ib_add_one()
113 rds_ibdev->pd = ib_alloc_pd(device); in rdsv3_ib_add_one()
134 device->name); in rdsv3_ib_add_one()
195 rdsv3_ib_remove_one(struct ib_device *device) in rdsv3_ib_remove_one() argument
302 rds_ibdev = ib_get_client_data(ic->i_cm_id->device, in rds_ib_conn_info_visitor()
[all …]
/illumos-gate/usr/src/cmd/acct/lib/
H A Ddevtolin.c66 devtolin(dev_t device) in devtolin() argument
74 if (device == tp->tdev) in devtolin()
85 found = srch_dir(device, srch_dirs[dirno], in devtolin()
97 found = srch_dir(device, dev_dir, 0, srch_dirs); in devtolin()
106 tp->tdev = device; in devtolin()
118 tp->tdev = device; in devtolin()
134 srch_dir(dev_t device, char *path, int depth, char *skip_dirs[]) in srch_dir() argument
187 if (lintodev(file_name+5) == device) { in srch_dir()
195 found = srch_dir(device, file_name, depth+1, in srch_dir()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/
H A Dzvol_common.shlib96 typeset device=$1
98 if [[ -z $device || $device == "none" ]] ; then
99 log_note "No dump device volume specified."
103 typeset volume=${device#/dev/zvol/dsk/}
105 log_must dumpadm -d $device
108 if ! is_swap_inuse $device ; then
109 log_must swap -a $device
130 typeset device=$1
132 if [[ -z $device ]] ; then
133 log_note "No device specified."
[all …]
/illumos-gate/usr/src/lib/libzfsbootenv/common/
H A Dlzbe_device.c28 lzbe_set_boot_device(const char *pool, lzbe_flags_t flag, const char *device) in lzbe_set_boot_device() argument
80 if ((device == NULL || *device == '\0')) { in lzbe_set_boot_device()
88 if (strncmp(device, "zfs:", 4) == 0) { in lzbe_set_boot_device()
89 fnvlist_add_string(nv, OS_BOOTONCE, device); in lzbe_set_boot_device()
92 if (asprintf(&descriptor, "zfs:%s:", device) > 0) in lzbe_set_boot_device()
114 lzbe_get_boot_device(const char *pool, char **device) in lzbe_get_boot_device() argument
122 if (pool == NULL || *pool == '\0' || device == NULL) in lzbe_get_boot_device()
150 *device = val; in lzbe_get_boot_device()
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmutil.c55 check_device(char *device) in check_device() argument
59 if ((device == NULL) || (*device == '\0')) { in check_device()
63 if (*device != '/') { in check_device()
64 log("error -- must specify full path name for \"%s\".", device); in check_device()
67 if (access(device, 0) == 0) { in check_device()
68 if (stat(device, &statbuf) < 0) { in check_device()
69 log("stat(%s) failed: %s", device, strerror(errno)); in check_device()
74 device); in check_device()
78 log("error -- device \"%s\" does not exist", device); in check_device()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mmp/
H A Dmmp.kshlib322 typeset device=$1
324 zdb -luuuu $device | awk '
350 typeset device=$1
357 typeset device=$1
364 typeset device=$1
366 count=$(count_mmp_write_fail_present $device)
369 summarize_uberblock_mmp $device
371 zdb -luuuu $device
376 count=$(count_mmp_write_fail_missing $device)
379 summarize_uberblock_mmp $device
[all …]
/illumos-gate/usr/src/cmd/hal/fdi/
H A DREADME2 This file describe the layout of device information files in the hal
9 device information file can be used to match several models the model
11 field is omitted). The filename of a device information file must
20 Contains device information files that are used to handle exceptional
21 conditions such as telling hal to ignore a device and all children
23 the device in an otherwise non-standard way that is incompatible with
26 These files are processed BEFORE the device have been been probed.
45 what out-of-tree kernel drivers are needed, whether the device is a
49 any policy device information files.
66 such as what callouts and addons to run for a device.
[all …]
/illumos-gate/usr/src/cmd/diskinfo/
H A Ddiskinfo.c284 char device[MAXPATHLEN]; in enumerate_disks() local
356 (void) strlcpy(device, c + 1, sizeof (device)); in enumerate_disks()
358 (void) strlcpy(device, opath, sizeof (device)); in enumerate_disks()
359 len = strlen(device); in enumerate_disks()
360 if (device[len - 2] == 's' && in enumerate_disks()
361 (device[len - 1] >= '0' && device[len - 1] <= '9')) { in enumerate_disks()
362 device[len - 2] = '\0'; in enumerate_disks()
367 phys.dp_dev = device; in enumerate_disks()
415 device, vid, pid, in enumerate_disks()
422 device, vid, pid, in enumerate_disks()
[all …]
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c226 device->stage.id, device->stage.start); in install_stage1_cb()
607 ib_device_t *device; in read_stage2_cb() local
629 (device->stage.size - device->stage.offset) * sector_size); in read_stage2_cb()
987 ib_device_t *device; in partlist_free() local
1150 ib_device_t *device; in probe_gpt() local
1240 device->stage.devtype = data->device.devtype; in probe_gpt()
1270 device->stage.devtype = data->device.devtype; in probe_gpt()
1402 ib_device_t *device; in probe_vtoc() local
1480 device->stage.devtype = data->device.devtype; in probe_vtoc()
1546 ib_device_t *device; in probe_mbr() local
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/alloc_class/
H A Dalloc_class.cfg19 export ZPOOL_DISK0="$TEST_BASE_DIR/device-0"
20 export ZPOOL_DISK1="$TEST_BASE_DIR/device-1"
21 export ZPOOL_DISK2="$TEST_BASE_DIR/device-2"
24 export CLASS_DISK0="$TEST_BASE_DIR/device-3"
25 export CLASS_DISK1="$TEST_BASE_DIR/device-4"
26 export CLASS_DISK2="$TEST_BASE_DIR/device-5"
27 export CLASS_DISK3="$TEST_BASE_DIR/device-6"
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice_store.h48 HalDevice *device,
52 HalDevice *device,
58 HalDevice *device,
76 HalDevice *device,
81 HalDevice *device,
89 HalDevice *device);
91 HalDevice *device);
/illumos-gate/usr/src/cmd/diskscan/
H A Ddiskscan.c48 static void scandisk(char *device, int devfd, int writeflag);
77 char *device; in main() local
115 device = argv[optind]; in main()
117 if (stat(device, &statbuf)) { in main()
119 "%s: invalid device %s, stat failed\n", progname, device); in main()
126 progname, device); in main()
129 if ((devfd = open(device, O_RDWR)) == -1) { in main()
131 "%s: open of %s failed\n", progname, device); in main()
158 scandisk(device, devfd, do_scan); in main()
169 scandisk(char *device, int devfd, int writeflag) in scandisk() argument
[all …]
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate.c348 device = optarg; in main()
385 if (device && ((argc - optind) >= 1)) in main()
387 if (device == NULL) { in main()
390 device = argv[optind]; in main()
401 device = optarg; in main()
408 device = optarg; in main()
455 } else if (device == NULL) { in main()
458 device = argv[optind]; in main()
480 device = optarg; in main()
563 if (device == NULL) { in main()
[all …]
H A Ddevalloc_defaults25 # Default device_allocation attributes for device types.
30 # device-type:\
33 # auths=<comma separated list of device authorizations>;\
37 # e.g.: minlabel="TS A B";maxlabel="TS AB";auths=solaris.device.allocate;\
40 audio:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/securit…
41 fd:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/l…
42 sr:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/l…
43 st:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/l…
44 rmdisk:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/securi…
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dmain.c118 char *device; variable
343 device = flex_device(dvalue, 1); in main()
354 if (catg_arg != NULL && device == NULL) { in main()
385 if (device || pkgcnt) in main()
394 } else if (device) { in main()
402 spooldir = device; in main()
451 gettext(MSG_CHK_DIR), pkg[n], device); in main()
454 gettext(MSG_CHK_STRM), pkg[n], device); in main()
510 if (checkmap(1, (device != NULL), file, NULL, in main()
515 if (checkmap(1, (device != NULL), file, NULL, in main()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dndievents.c41 dip_to_pathname(struct dev_info *device, char *path, int buflen) in dip_to_pathname() argument
49 if (!device) { in dip_to_pathname()
54 if (device->devi_parent == NULL) { in dip_to_pathname()
56 (uintptr_t)device->devi_node_name) == -1) { in dip_to_pathname()
69 (uintptr_t)device->devi_parent) == -1) { in dip_to_pathname()
71 (uintptr_t)device->devi_parent); in dip_to_pathname()
80 (uintptr_t)device->devi_node_name) == -1) { in dip_to_pathname()
84 if (device->devi_node_state < DS_INITIALIZED) { in dip_to_pathname()
87 addr = device->devi_addr; in dip_to_pathname()
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_pci.c72 uint16_t device; member
141 pci_bsf->device = device_id; in gfxp_pci_find_bsf()
153 uint16_t *vendor, uint16_t *device) in gfxp_pci_init_handle() argument
179 if (device) *device = pci_bsf->device; in gfxp_pci_init_handle()
183 if (device) *device = 0x0000; in gfxp_pci_init_handle()
310 if ((vendor_id == pci_bsf->vendor) && (device_id == pci_bsf->device)) { in gfxp_pci_find_vd()
321 gfxp_pci_device_present(uint16_t vendor, uint16_t device) in gfxp_pci_device_present() argument
334 pci_bsf->device = device; in gfxp_pci_device_present()
/illumos-gate/usr/src/cmd/fm/dicts/
H A DZFS.po45 # keys: ereport.fs.zfs.device.missing_r
61 # keys: ereport.fs.zfs.device.missing_nr
77 # keys: ereport.fs.zfs.device.corrupt_label_r
84 msgstr "A device could not be opened due to a missing or invalid\n device label. Refer to %s f…
93 # keys: ereport.fs.zfs.device.corrupt_label_nr
157 # keys: ereport.fs.zfs.device.failing
173 # keys: ereport.fs.zfs.device.version_mismatch
205 # keys: fault.fs.zfs.device
218 msgstr "Run 'zpool status -x' and replace the bad device."
250 msgstr "Run 'zpool status -x' and replace the bad device."
[all …]

12345678910>>...21