Searched refs:device (Results 51 - 75 of 434) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-zpool.c55 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...]
H A Dhal-storage-shared.c251 permission_denied_volume_ignore (const char *device) argument
254 fprintf (stderr, "Device has %s volume.ignore set to TRUE. Refusing to mount.\n", device);
264 LibHalVolume *volume, LibHalDrive *drive, const char *device,
291 printf ("device = %s\n", device);
304 * When device allocation is enabled (bsmconv or TX), we
307 * device allocation program.
310 permission_denied_volume_ignore (device);
320 /* check hal's mtab file to verify the device to unmount is actually mounted by hal */
375 if (strcmp (line_elements[0], device)
259 handle_unmount(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, const char *udi, LibHalVolume *volume, LibHalDrive *drive, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, gboolean option_lazy, gboolean option_force, DBusConnection *system_bus) argument
533 handle_eject(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, const char *udi, LibHalDrive *drive, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, gboolean closetray, DBusConnection *system_bus) argument
702 audit_volume(const adt_export_data_t *imported_state, au_event_t event_id, int result, const char *auth_used, const char *mount_point, const char *device, const char *options) argument
[all...]
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);
H A Dhal-storage-mount.c83 permission_denied_volume_ignore (const char *device) argument
86 fprintf (stderr, "Device has %s volume.ignore set to TRUE. Refusing to mount.\n", device);
91 permission_denied_etc_fstab (const char *device) argument
94 fprintf (stderr, "Device %s is listed in /etc/fstab. Refusing to mount.\n", device);
99 already_mounted (const char *device) argument
102 fprintf (stderr, "Device %s is already mounted.\n", device);
140 cannot_remount (const char *device) argument
143 fprintf (stderr, "%s not mounted already\n", device);
299 bailout_if_in_fstab (LibHalContext *hal_ctx, const char *device, const char *label, const char *uuid) argument
307 /* check if /etc/fstab mentions this device
392 device_is_mounted(const char *device, char **mount_point) argument
445 handle_mount(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, const char *udi, LibHalVolume *volume, LibHalDrive *drive, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, DBusConnection *system_bus) argument
1065 char *device; local
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Ddisk_io.c31 # include <device.h>
50 /* TFTP should come first because others don't handle net device. */
1094 /* XX used for device completion in 'set_device' and 'print_completions' */
1106 set_device (char *device) argument
1109 /* In Stage 1.5, the first 4 bytes of FILENAME has a device number. */
1110 unsigned long dev = *((unsigned long *) device);
1123 return device + sizeof (unsigned long);
1135 if (*device == '(' && !*(device + 1))
1137 return device
[all...]
/illumos-gate/usr/src/cmd/hal/tools/sunos/
H A Dhal-system-power-suspend-sunos.sh36 for device in $devices
39 $device org.freedesktop.Hal.Device.Rescan
/illumos-gate/usr/src/uts/intel/io/heci/
H A Dheci_init.c184 * heci_reset_iamthif_params - initializes heci device iamthif
185 * @dev: The heci device structure
204 fini_heci_device(struct iamt_heci_device *device) argument
206 mutex_destroy(&device->device_lock);
207 cv_destroy(&device->wait_recvd_msg);
208 cv_destroy(&device->wait_stop_wd);
209 if (device->work)
210 ddi_taskq_destroy(device->work);
211 if (device->reinit_tsk)
212 ddi_taskq_destroy(device
221 init_heci_device(dev_info_t *dip, struct iamt_heci_device *device) argument
[all...]
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Ddevice.h0 /* device.h - Define macros and declare prototypes for device.c */
37 extern int check_device (const char *device);
/illumos-gate/usr/src/head/
H A Ddial.h45 #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/hal/addons/network-devices/
H A Dnetwork-discovery.h17 char *device, char *community);
/illumos-gate/usr/src/lib/efcode/engine/
H A Dinstance.c44 *offset = ptr = MYSELF->device->data_size[init];
45 MYSELF->device->data_size[init] += n;
47 return (&MYSELF->device->init_data[ptr]);
H A Dpackage.c56 d = MYSELF->device;
91 ihandle->device = phandle;
219 check_my_self(env, "new-device");
221 parent = MYSELF->device;
243 check_my_self(env, "finish-device");
244 ASSERT(myself->device);
246 n = myself->device->data_size[INIT_DATA];
252 memcpy(mem, MYSELF->device->init_data, sizeof (fstack_t) * n);
253 FREE(myself->device->init_data);
254 my_dev = myself->device;
491 device_t *device; local
656 device_t *device; local
871 device_t *device; local
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate.h93 extern int allocate(int optflg, uid_t uid, char *device, char *zonename);
94 extern int deallocate(int optflg, uid_t uid, char *device, char *zonename);
95 extern int list_devices(int optflg, uid_t uid, char *device, char *zonename);
H A Dallocate.c69 "[-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 Dsvc-allocate33 HALFDI=/etc/hal/fdi/policy/30user/90-solaris-device-allocation.fdi
53 <device>
62 </device>
67 # Initialize device allocation
93 # Turn off device allocation.
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dmain.c83 "\t%s -d device [-f][-l|v] [-p path[, ...] | " \
114 char *device; variable
337 /* Check for root dir and device dir if set */
346 device = flex_device(dvalue, 1);
357 if (catg_arg != NULL && device == NULL) {
387 if (device || pkgcnt)
393 if (checkmap(0, (device != NULL), mapfile, envfile, NULL,
396 } else if (device) {
403 if ((spooldir = devattr(device, "pathname")) == NULL)
404 spooldir = device;
454 gettext(MSG_CHK_DIR), pkg[n], device); local
457 gettext(MSG_CHK_STRM), pkg[n], device); local
[all...]
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Dgetdev.c57 * 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...]
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald_dbus.h31 #include "device.h"
74 void manager_send_signal_device_added (HalDevice *device);
75 void manager_send_signal_device_removed (HalDevice *device);
76 void manager_send_signal_new_capability (HalDevice *device,
79 void device_send_signal_property_modified (HalDevice *device,
83 void device_send_signal_condition (HalDevice *device,
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib.c64 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/cmd/boot/mbr/
H A Dmbr.c43 fprintf(stderr, "Usage: %s [ -d | -n | -o | -r ] <device> [<mboot>]\n",
57 char *device; local
102 device = strdup(argv[optind]);
103 if (!device) {
106 fd = open(device, O_RDWR);
108 fprintf(stderr, "cannot read MBR on %s\n", device);
/illumos-gate/usr/src/cmd/diskscan/
H A Ddiskscan.c28 * performs a verification pass over a device specified on command line;
48 static void scandisk(char *device, int devfd, int writeflag);
58 static struct dk_geom dkg; /* physical device boot info */
71 int devfd; /* device file descriptor */
77 char *device; local
115 device = argv[optind];
117 if (stat(device, &statbuf)) {
119 "%s: invalid device %s, stat failed\n", progname, device);
125 "%s: device
169 scandisk(char *device, int devfd, int writeflag) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/
H A Dlibadm.h161 extern char *devattr __P((char *device, char *attribute));
169 extern int unreserv __P((long key, char *device));
171 extern int devfree __P((long key, char *device));
184 extern struct devtabent *_getdevrec __P((char *device));
221 extern int getvol __P((char *device, char *label, int options,
223 extern int _getvol __P((char *device, char *label, int options,
225 extern void doremovecmd __P((char *device, int echo));
230 extern char **listdev __P((char *device));
274 extern int _moddevtabrec __P((char *device, char **attrval));
275 extern int _rmdevtabrec __P((char *device));
[all...]
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Dam335x.dtsi125 uart-device-id = < 0 >;
135 uart-device-id = < 1 >;
146 uart-device-id = < 2 >;
157 uart-device-id = < 3 >;
168 uart-device-id = < 4 >;
179 uart-device-id = < 5 >;
198 mmchs-device-id = <0>;
208 mmchs-device-id = <1>;
238 i2c-device-id = <0>;
248 i2c-device
[all...]
/illumos-gate/usr/src/boot/sys/boot/usb/storage/
H A Dumass_loader.c74 /* wait 8 seconds for a USB mass storage device to appear */
80 if (umass_uaa.device != NULL)
90 if (umass_uaa.device == NULL)
96 if (usb_msc_write_10(umass_uaa.device, 0, dblk, size >> 9, buf) != 0)
99 if (usb_msc_read_10(umass_uaa.device, 0, dblk, size >> 9, buf) != 0)
116 if (usb_msc_read_capacity(umass_uaa.device, 0, &nblock, &blocksize) != 0)
132 if (umass_uaa.device == NULL)
148 if (usb_msc_read_capacity(umass_uaa.device, 0,
179 pager_output(" umass0 UMASS device\n");
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_node.c216 pnode_t device; local
222 device = OBP_BADNODE;
279 device = np;
291 if (device == OBP_BADNODE) {
292 CIF_DBG_NODE("device not found\n\n");
294 CIF_DBG_NODE("returning 0x%x\n\n", device);
297 return (device);

Completed in 75 milliseconds

1234567891011>>