Searched defs:device (Results 151 - 175 of 236) sorted by relevance

12345678910

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c90 * Physical network device
93 char device[DLPI_LINKNAME_MAX]; member in struct:rarpdev
105 struct rarpdev *rdev; /* which device reply for */
227 * Load specified device as only element of the list.
252 (void) strlcpy(rarpdev_head->device, ifsp.ifsp_devnm,
253 sizeof (rarpdev_head->device));
278 * Start RARP processing for each device.
353 * Look for an existing device for logical interfaces.
360 (void) strlcpy(rdev->device, ifsp.ifsp_devnm,
361 sizeof (rdev->device));
[all...]
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Drmm_common.c183 "block.device", name, volumes)) != NULL) ||
311 const char *device, char **drive_nicknames)
318 (void) printf("%-*s ", RMM_PRINT_DEVICE_WIDTH, device);
362 const char *device; local
394 if ((device = libhal_volume_get_device_file(v)) ==
404 rmm_print_nicknames_one(d, v, device, nicknames);
411 ((device = libhal_drive_get_device_file(d)) != NULL)) {
412 rmm_print_nicknames_one(d, NULL, device, nicknames);
492 * Call HAL's Mount() method on the given device
545 * Call HAL's Unmount() method on the given device
310 rmm_print_nicknames_one(LibHalDrive *d, LibHalVolume *v, const char *device, char **drive_nicknames) argument
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c126 * checks if the invoking user is local to the device
177 * Checks if the specified user has authorization for the device
254 (void) printf("device=%s%s", dm->dmap_devname, KV_DELIMITER);
290 (void) printf(gettext("device: %s "), dm->dmap_devname);
337 dprintf("Unable to find %s device files\n",
350 dprintf("device name %s is too long.\n",
374 * for this free device, check if -
377 * device
407 * the device is allocated.
436 * at which the device i
488 list_devices(int optflag, uid_t uid, char *device, char *zonename) argument
1353 allocate(int optflag, uid_t uid, char *device, char *zonename) argument
1431 deallocate(int optflag, uid_t uid, char *device, char *zonename) argument
[all...]
/illumos-gate/usr/src/cmd/audio/audioctl/
H A Daudioctl.c140 typedef struct device { struct
150 struct device *nextp;
265 perror(_("Error opening device"));
694 "audioctl show-device [ -v ] [ -d <device> ]\n" \
695 " display information about an audio device\n" \
697 "audioctl show-control [ -v ] [ -d <device> ] [ <control> ... ]\n" \
700 "audioctl set-control [ -v ] [ -d <device> ] <control> <value>\n" \
703 "audioctl save-controls [ -d <device> ] [ -f ] <file>\n" \
704 " save all control settings for the device t
[all...]
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dscmadm.c291 (void) snprintf(key, sizeof (key), "cache_hint.set%d.device",
745 * takes either either a string containing the cd or the device name, and
746 * returns the device name.
752 char *device; local
754 /* if the arg has a leading '/', assume it's a valid device name */
759 /* treat the "all" keyword as a valid device name */
766 * subsequently convert that cd to its corresponding device name.
773 device = cd_to_device((int)cd);
776 if (device && (strcmp(device, ""))) {
786 remove_hint(char *device) argument
845 char device[NSC_MAXPATH]; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c148 static char device[MAXPATHLEN]; variable
196 * the device size and block size, we don't know
318 /* The raw-special-device itself. If not, print usage message. */
340 fatal(gettext("%s: not a raw disk device"), name);
342 (void) snprintf(device, sizeof (device), "/dev/rdsk/%s", name);
343 if ((special = getfullrawname(device)) == NULL) {
350 (void) snprintf(device, sizeof (device), "/dev/%s",
352 if ((special = getfullrawname(device))
[all...]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfstat.c201 char *device = IPL_NAME, *memf = NULL; local
266 if ((ipf_fd = open(device, O_RDONLY)) == -1) {
267 fprintf(stderr, "open(%s)", device);
286 (void) checkrev(device);
401 ipfstate_live(device, &fiop, &ipsstp, &ifrstp,
436 static void ipfstate_live(device, fiopp, ipsstpp, ifrstpp, frauthstpp, frfp)
437 char *device;
446 if (checkrev(device) == -1) {
499 PRINTF("opts %#x name %s\n", opts, device);
506 device
[all...]
/illumos-gate/usr/src/cmd/listen/
H A Dlisten.c96 char *Minor_prefix; /* prefix for minor device names */
1348 char device[20]; local
1378 *device = '\0';
1382 sprintf(device, "%.9s%02d", Minor_prefix,
1385 sprintf(device, "%.8s%03d", Minor_prefix,
1387 DEBUG((9, "Device: %s", device));
1398 strncpy(utline.ut_line, device, sizeof (utline.ut_line) - 1);
1535 * as a minor device prefix. THIS SHOULD BE DOCUMENTED!
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dmain.c113 * The following variable is the name of the device to which stdin
237 char *device; local
319 /* initially no source "device" */
321 device = NULL;
427 * device. device can be a full path name to a directory
430 * It can also be a device alias - for example,
434 device = flex_device(optarg, 1);
447 * the package device. Must be used with -m.
505 * Different from pkgadd: specify device t
1051 char *device = pkgdev.dirname; local
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmain.c92 #define ERR_BADDEV "unknown or invalid device specified <%s>"
94 #define ERR_DSTREAM "invalid device specified (datastream) <%s>"
99 #define ERR_UMOUNT "unable to unmount device <%s>"
106 "device <%s>"
107 #define ERR_DEVICE "unable to find info for device <%s>"
139 "\t-d device\n" \
147 struct pkgdev pkgdev; /* holds info about the installation device */
158 *device; variable
270 device = flex_device(optarg, 1);
325 if (device
345 progerr(gettext(ERR_BADDEV), device); local
350 progerr(gettext(ERR_DSTREAM), device); local
547 progerr(gettext(ERR_WHATVFS), device); local
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiols/
H A Daudiols.c69 4, /* granularity of device */
1101 uint16_t pci_command, vendor, device; local
1126 device = pci_config_get16(pcih, PCI_CONF_DEVID);
1131 device != PCI_DEVICE_ID_CREATIVE_AUDIGYLS) {
1133 "(vendor=%x, dev=%x)", vendor, device);
/illumos-gate/usr/src/uts/common/io/dmfe/
H A Ddmfe_impl.h63 uint16_t device; member in struct:__anon5292
160 dev_info_t *devinfo; /* device instance */
/illumos-gate/usr/src/uts/common/xen/public/
H A Dplatform.h129 uint8_t device; /* %dl: bios device number */ member in struct:xenpf_firmware_info::__anon9310::__anon9311
141 uint8_t device; /* bios device number */ member in struct:xenpf_firmware_info::__anon9310::__anon9312
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_impl.c222 * The Device table entry bit 0 (V) controls whether the device
401 * Setup the device table pointers in the iommu struct as
402 * well as the IOMMU device table register
471 /* dma sync so device sees this init */
934 int bus, device, func; local
956 if (acpica_get_bdf(iommu->aiomt_dip, &bus, &device, &func)
964 iommu->aiomt_bdf = ((uint8_t)bus << 8) | ((uint8_t)device << 3) |
1153 /* Initialize device table entries based on ACPI settings */
1155 cmn_err(CE_WARN, "%s: %s%d: Can't initialize device table",
1287 /* check if cap ID is secure device ca
1416 int bus, device, func, bdf; local
[all...]
H A Damd_iommu_page_tables.c241 int device = -1; local
260 "for special-device",
283 if (acpica_get_bdf(pci_dip, &bus, &device, &func) != DDI_SUCCESS) {
295 device > UINT8_MAX || device < 0 ||
300 bus, device, func,
305 bdf = ((uint8_t)bus << 8) | ((uint8_t)device << 3) | (uint8_t)func;
405 driver = "special-device";
414 (void) strcpy(path, "special-device");
424 "Failed to get device I
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu.c121 * Check if the device has mobile 4 chipset
127 int vendor, device; local
132 device = ddi_prop_get_int(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS,
133 "device-id", -1);
135 if (vendor == 0x8086 && device == 0x2a40) {
151 * Make sure the domain for the device is set up before
247 * Check if the device is USB controller
283 * Check if the device is a LPC device
293 ddi_err(DER_LOG, dip, "iommu: Found LPC device");
[all...]
H A Disa.c75 * property of a pci-isa bridge device node.
389 DDI_PROP_DONTPASS, "device-memory", &memarray, &nmem);
391 cmn_err(CE_WARN, "device-memory property failure for %s (%x)\n",
661 * Return non-zero if device in tree is a PnP isa device
696 cmn_err(CE_CONT, "?ISA-device: %s%d\n",
702 * older drivers aren't expecting the "standard" device
1033 int device; local
1045 * older drivers aren't expecting the "standard" device
1085 * extract the device identification
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_mac.c3099 npi_mac_mif_mdio_read(npi_handle_t handle, uint8_t portn, uint8_t device, argument
3109 frame.bits.w0.regad = device; /* Device number */
3133 frame.bits.w0.regad = device; /* Device Number */
3190 npi_mac_mif_mdio_write(npi_handle_t handle, uint8_t portn, uint8_t device, argument
3200 frame.bits.w0.regad = device; /* Device Number */
3224 frame.bits.w0.regad = device; /* Device number */
3440 uint8_t device, uint16_t xcvr_reg, uint16_t mask)
3451 frame.bits.w0.regad = device; /* Device number */
3466 mif_cfg.bits.w0.reg_addr = device; /* Register address */
3439 npi_mac_mif_mdio_link_intr_enable(npi_handle_t handle, uint8_t portn, uint8_t device, uint16_t xcvr_reg, uint16_t mask) argument
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_hio.c2577 nxge_ldv_t *device; local
2595 device = &control->ldvp[dc->ldg.ldsv];
2599 ring->ldvp = device;
/illumos-gate/usr/src/uts/common/io/rtls/
H A Drtls.c331 * attach(9E) -- Attach a device to the system
338 rtls_t *rtlsp; /* Our private device info */
343 uint32_t device; local
407 * Make sure we support this particular vendor/device
411 device = vendorid;
412 device = (device << 16) | deviceid; /* combine two id together */
415 * See if we support this device
416 * We do not return for wrong device id. It's user risk.
418 switch (device) {
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dllc1.c83 static minor_t llc1_findminor(llc1dev_t *device);
237 * is called, it must call this procedure with the device class structure
253 /* make sure minor device lists are initialized */
258 /* make sure device list is initialized */
271 * create the file system device node
338 * LLC1 open routine, called when device is opened by the user
418 /* completely disassociate the stream from the device */
878 /* remove from device list */
1870 * device table if it is already in the per stream table, if it isn't
1871 * in the per device, ad
2046 llc1_findminor(llc1dev_t *device) argument
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/trans/
H A Dtrans_ioctl.c773 * associated with every trans device for which we are injecting errors. When
866 * the log device. Errors will be injected on the
867 * log device when errp->er_total_errors is even
868 * and on the master device when it is odd. If
869 * this I/O is not for the appropriate device, we
926 /* Target is our master device. */
931 * Target is our log device. Unfortunately, the same
932 * device may also be used for the MDD database.
1125 dev32_t device; /* shadow device */ local
[all...]
/illumos-gate/usr/src/uts/intel/io/drm/
H A Di915_gem.c770 i915_gem_retire_work_handler(void *device) argument
772 struct drm_device *dev = (struct drm_device *)device;
794 * @dev: drm device to reset
/illumos-gate/usr/src/cmd/luxadm/
H A Dqlgcupdate.c249 * Get count of, and names of PCI slots with ifp device control
278 /* Check if the device is valid */
697 * Get the boot device. Cannot load FCode to current boot device.
707 char *p = NULL, *p1 = NULL; /* p = full device, p1 = chunk to rm */
723 "Error: Cannot get boot device, check %s.\n"), MNTTAB);
739 "\nWarning: Cannot read boot device link, check %s.\n"), MNTTAB);
741 "Do not upgrade FCode on adapters controlling the boot device.\n"));
746 * Copy boot device path to bootpath. First remove leading
747 * path junk (../../..) then if it's an ifp device, cho
768 q_load_file(int fcode_fd, char *device) argument
975 fcode_load_file(int fcode_fd, char *device, int *fcio_errno) argument
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_discovery.c51 * lists of device dm_descriptor_t handles discovered during
73 * helper functions for building known device lists, used by
89 * lists of device dm_descriptor_t handles that are usable by layout.
195 * name in the device tree and they're all more or less equivalent.
205 * device nvpair attribute lists.
252 "device configuration...\n"));
443 /* make fully qualified DID device name */
446 char *device)
450 if (device != NULL && strrchr(device, '/')
445 make_fully_qualified_did_device_name( char *device) argument
2121 dm_descriptor_t device = ((uintptr_t)iter->obj); local
[all...]

Completed in 218 milliseconds

12345678910