/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | ports.c | 159 char *device; local 184 device = pp->device; 185 if (is_printer_uri(device) == 0) { 187 * if it's a device uri and the endpoint contains a valid 190 * local device, so use /dev/null. 192 device = strstr(device, "://"); 193 if (device != NULL) 194 device 323 push_module(int fd, char *device, char *module) argument [all...] |
/illumos-gate/usr/src/cmd/boot/installboot/sparc/ |
H A D | installboot.h | 60 ib_device_t device; member in struct:_ib_data
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | libinetutil.h | 49 char ifsp_devnm[LIFNAMSIZ]; /* only the device name */ 89 char device[LIFNAMSIZ + 1]; /* interface name */ member in struct:ifaddrlist
|
/illumos-gate/usr/src/head/ |
H A D | dial.h | 45 #define DEVDIR "/dev/" /* device path */ 47 #define DVC_LEN 80 /* max NO of chars in TTY-device path name */ 61 #define DV_NT_A (-8) /* requested device not available */ 62 #define DV_NT_K (-9) /* requested device not known */ 63 #define NO_BD_A (-10) /* no device available at requested baud */ 64 #define NO_BD_K (-11) /* no device known at requested baud */ 72 char *line; /* device name for out-going line */ 75 char *device; /* unused */ member in struct:__anon2247
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_scsi.c | 55 static void common_set_target(ndmp_connection_t *connection, char *device, 68 * This handler opens the specified SCSI device. 82 common_open(connection, request->device.name); 89 * This handler closes the currently open SCSI device. 106 NDMP_LOG(LOG_ERR, "SCSI device is not open."); 134 * This handler returns state information for the currently open SCSI device. 136 * device, as opposed to a device that can talk to multiple SCSI targets, 138 * implementations that support device files that can target multiple 177 * This handler sets the SCSI target of the SCSI device 502 common_set_target(ndmp_connection_t *connection, char *device, ushort_t controller, ushort_t sid, ushort_t lun) argument [all...] |
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | DoPrinterUtil.java | 315 public static String[] getProbe(String device) argument 324 if (device == null) 330 String cmd = "/usr/lib/lp/bin/printer-info -M -m " + device;
|
H A D | Valid.java | 66 System.out.println(device("/dev/term/a")); 175 // Valid device 178 public static boolean device(String dev) method in class:Valid 183 Debug.message("SVR: Valid.device()"); 184 Debug.message("SVR: device=" + dev);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | syncinit.c | 104 char cnambuf[DLPI_LINKNAME_MAX], device[DLPI_LINKNAME_MAX]; local 126 "syncinit: invalid device name (too long) %s\n", argv[0]); 136 "syncinit: %s missing minor device number\n", cnambuf); 147 (void) dlpi_parselink(cnambuf, device, &ppa); 148 (void) printf("device: %s ppa: %u\n", device, ppa);
|
/illumos-gate/usr/src/cmd/devinfo/ |
H A D | devinfo.c | 62 static void partinfo(int fd, char *device); 63 static void devinfo(struct dk_geom *geom, int fd, char *device); 73 char *device; local 82 device = optarg; 86 device = optarg; 101 if ((fd = open(device, O_RDONLY)) < 0) { 103 device, strerror(errno)); 110 (void) warn(device, 113 (void) warn(device, 119 devinfo(&geom, fd, device); 128 partinfo(int fd, char *device) argument 166 devinfo(struct dk_geom *geom, int fd, char *device) argument [all...] |
/illumos-gate/usr/src/cmd/devmgmt/cmds/ |
H A D | devattr.c | 38 * a device. 42 * devattr [-v] device [attr [...]] 44 * This command searches the device table file for the device specified. 45 * If it finds the device (matched either by alias or major and minor 46 * device number), it extracts the attribute(s) specified and writes 60 * 2 The device table could not be opened for reading. 61 * 3 The requested device was not found in the device table 62 * 4 A requested attribute was not defined for the device 166 char *device; /* Pointer to device name */ local [all...] |
H A D | getdev.c | 57 * EX_DEVTAB Exit Value if the device table couldn't be opened 77 * M_DEVTAB Can't open the device table 78 * M_NODEV Device not found in the device table 82 #define M_USAGE "usage: getdev [-ae] [criterion [...]] [device [...]]" 83 #define M_DEVTAB "Cannot open the device table: %s" 84 #define M_NODEV "Device not found in the device table: %s" 91 * builddevlist() Builds the device list from the command-line 111 * getdev [-ae] [criterion [...]] [device [...]] 117 * -a A device must meet all of the criteria to be 126 * a device attribut 154 char *device; /* Device name in the list */ local [all...] |
H A D | putdev.c | 67 * EX_DEVTAB Had trouble accessing/reading/writing the device table 70 * defined for the device 87 #define E_USAGE "usage: putdev -a alias [attribute=value [...]]\n putdev -m device attribute=value [attribute=value [...]]\n putdev -d device [attribute [...]]" 92 #define E_NODEVTAB "Cannot open the device table: %s" 93 #define E_NOMKDTAB "Cannot create a new device table: %s" 94 #define E_INVALIAS "Not a valid device alias: %s" 174 * Modify the device-table. If -a specified, add a record for <alias> 176 * the <device> specified. If -d specified, remove the specified 177 * attributes from the specified device o 203 char *device; /* Ptr to <device> on command-line */ local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/emlxs/ |
H A D | emlxs.c | 81 emlxs_device_t device; local 110 /* Get the device address */ 112 if (mdb_readvar(&device, buffer) == -1) { 123 /* Get the device instance table */ 136 /* Get the device instance count */ 163 addr = (uintptr_t)device.log[brd_no]; 345 emlxs_device_t device; local 385 /* Get the device address */ 387 if (mdb_readvar(&device, buffer) == -1) { 398 /* Get the device instanc [all...] |
/illumos-gate/usr/src/cmd/allocate/ |
H A D | allocate.c | 69 "[-F] device|-g dev-type"); 71 "[-F] device|-c dev-class|-g dev-type"); 74 "[-a [-w]] -l|-n|-u [device]"); 101 "[-s] [-U uname] [-F] device|-g dev-type"); 102 use[1] = gettext("deallocate [-s] [-F] device|-c dev-class"); 105 "[-s] [-U uid] -l|-n|-u [device]"); 137 msg = gettext("Specified device is allocated to another user."); 143 msg = gettext("Unable to clean up device."); 147 "Can't exec device-clean program for specified device 260 char *uname = NULL, *device = NULL, *zonename = NULL; local [all...] |
H A D | dminfo.c | 89 "[-d device ...]"); 117 int device = 0; local 149 if ((name) || (device) || (update) || (tp)) { 153 device++; 165 if ((name) || (device) || (update) || (tp)) { 172 if ((name) || (device) || (update) || (tp)) { 179 if ((name) || (device) || (update) || (tp)) { 197 * -d(device) -n(name) and -u(update) switches require at least one 202 if ((device) || (name) || (update) || (tp)) { 234 * Find out how long device lis [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | account.c | 62 char device[MODSTR]; /* network medium */ member in struct:acData 121 acptr->device, FS, 144 * device - the type of device being used for communicaitons. 148 acConnected (remote, device) 151 char * device; 158 copyText(acptr->device, sizeof(acptr->device), device); 269 copyText(acptr->device, sizeo [all...] |
H A D | dial.h | 43 #define DEVDIR "/dev/" /* device path */ 45 #define DVC_LEN 80 /* max NO of chars in TTY-device path name */ 59 #define DV_NT_A (-8) /* requested device not available */ 60 #define DV_NT_K (-9) /* requested device not known */ 61 #define NO_BD_A (-10) /* no device available at requested baud */ 62 #define NO_BD_K (-11) /* no device known at requested baud */ 70 char *line; /* device name for out-going line */ 73 char *device; /* unused */ member in struct:__anon46
|
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | snmp.c | 36 char device[128]; local 38 snprintf(device, sizeof (device), "socket://%s:9100", name); 40 add_network_printer(ctx, parent, name, device, community); 45 * device capabilities. scanners, removable media, storage, ... 58 /* have we already seen this network device */
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-storage-eject.c | 78 char *device; local 97 device = getenv ("HAL_PROP_BLOCK_DEVICE"); 98 if (device == NULL)
|
H A D | hal-storage-zpool.c | 55 int result, const char *auth_used, const char *pool, const char *device) 73 event->adt_pool_export.device = (char *)device; 78 event->adt_pool_import.device = (char *)device; 104 char *subcmd, const char *pool, const char *device, 121 printf ("device = %s\n", device); 130 (strncmp (device, "/dev/lofi", 9) == 0)) { 157 "solaris.device 54 audit_pool(const adt_export_data_t *imported_state, au_event_t event_id, int result, const char *auth_used, const char *pool, const char *device) argument 100 handle_zpool(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, char *subcmd, const char *pool, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, DBusConnection *system_bus) argument 176 char *device; local [all...] |
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_drv.c | 156 drm_find_description(int vendor, int device, drm_pci_id_list_t *idlist) argument 161 (idlist[i].device == device)) { 562 int vendor, device; local 565 device = pci_get_device(dev); 567 s = drm_find_description(vendor, device, idlist);
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_pci.c | 75 uint16_t device; member in struct:gfxp_pci_bsf 122 * Look for vendor-id, device-id, class-code to verify 128 "device-id", -1); 144 pci_bsf->device = device_id; 156 uint16_t *vendor, uint16_t *device) 162 * Find a PCI device based on its address, and return a unique handle 164 * space of this device. 182 if (device) *device = pci_bsf->device; 155 gfxp_pci_init_handle(uint8_t bus, uint8_t slot, uint8_t function, uint16_t *vendor, uint16_t *device) argument 324 gfxp_pci_device_present(uint16_t vendor, uint16_t device) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib.c | 64 rdsv3_ib_add_one(ib_device_t *device) argument 70 RDSV3_DPRINTF2("rdsv3_ib_add_one", "device: %p", device); 73 if (device->node_type != RDMA_NODE_IB_CA) 81 if (ibt_query_hca(ib_get_ibt_hca_hdl(device), dev_attr)) { 83 "Query device failed for %s", device->name); 91 device->name); 99 rds_ibdev->ibt_hca_hdl = ib_get_ibt_hca_hdl(device); 112 rds_ibdev->dev = device; 195 rdsv3_ib_remove_one(struct ib_device *device) argument [all...] |
/illumos-gate/usr/src/uts/common/io/xge/hal/include/ |
H A D | xgehal-mgmt.h | 33 #include "xgehal-device.h" 40 * @device: PCI Device ID. 59 u16 device; member in struct:xge_hal_mgmt_about_info_t
|
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-channel.c | 27 #include "xgehal-device.h" 260 * @devh: HAL device, pointer to xge_hal_device_t structure. 267 * Open communication channel with the device. 304 xge_hal_device_t *device = (xge_hal_device_t *)devh; local 306 xge_assert(device); 312 xge_list_for_each(item, &device->free_channels) { 384 xge_list_insert(&channel->item, &device->fifo_channels); 388 xge_list_insert(&channel->item, &device->ring_channels);
|