Searched refs:device (Results 1 - 25 of 244) sorted by relevance

12345678910

/osnet-11/usr/src/lib/libadm/common/
H A Dgetvol.c37 * emulate a file called /etc/device.tab, which is consulted by SVR4
38 * packaging. The one device we want to emulate is the 'package spool',
47 * listdev returned a list of the attribute names for a given device,
51 listdev(char *device) argument
53 if (strcmp(device, "spool") == 0) {
62 * 1 - device not accessable
63 * 2 - unknown device (devattr failed)
67 * We return '2' in all cases except for the spool device, for which
71 getvol(char *device, char *label, int options, char *prompt) argument
73 return (_getvol(device, labe
78 _getvol(char *device, char *label, int options, char *prompt, char *norewind) argument
[all...]
H A Ddevattr.c34 * char *devattr(device, attr)
37 * the SVR4 OAM device managment stuff which used to be present in
40 * devattr was used to search the device table (/etc/device.tab),
41 * looking for the device specified by <device> and to find specific
44 * In this implementation, we emulate a device.tab file in which
52 * device Pointer to the character-string that describes the
53 * device whose record is to be looked for
54 * attr The device'
72 devattr(char *device, char *attribute) argument
[all...]
/osnet-11/usr/src/cmd/hal/hald/
H A Ddevice.h4 * device.c : HalDevice methods
53 void (*property_changed) (HalDevice *device,
58 void (*capability_added) (HalDevice *device,
61 void (*callouts_finished) (HalDevice *device);
63 void (*cancelled) (HalDevice *device);
76 typedef void (*HalDeviceAsyncCallback) (HalDevice *device,
81 typedef gboolean (*HalDevicePropertyForeachFn) (HalDevice *device,
101 const char *hal_device_get_udi (HalDevice *device);
102 void hal_device_set_udi (HalDevice *device,
105 void hal_device_add_capability (HalDevice *device,
[all...]
H A Ddevice.c4 * device.c : HalDevice methods
35 #include "device.h"
59 HalDevice *device = HAL_DEVICE (obj); local
61 runner_device_finalized (device);
65 printf ("************* in finalize for udi=%s\n", device->udi);
69 g_slist_foreach (device->properties, (GFunc) hal_property_free, NULL);
71 g_slist_free (device->properties);
73 g_free (device->udi);
135 hal_device_init (HalDevice *device) argument
139 device
175 HalDevice *device; local
416 hal_device_get_udi(HalDevice *device) argument
422 hal_device_set_udi(HalDevice *device, const char *udi) argument
430 hal_device_add_capability(HalDevice *device, const char *capability) argument
437 hal_device_has_capability(HalDevice *device, const char *capability) argument
459 hal_device_has_property(HalDevice *device, const char *key) argument
468 hal_device_num_properties(HalDevice *device) argument
476 hal_device_property_find(HalDevice *device, const char *key) argument
494 hal_device_property_to_string(HalDevice *device, const char *key) argument
506 hal_device_property_foreach(HalDevice *device, HalDevicePropertyForeachFn callback, gpointer user_data) argument
527 hal_device_property_get_type(HalDevice *device, const char *key) argument
543 hal_device_property_get_string(HalDevice *device, const char *key) argument
559 hal_device_property_get_as_string(HalDevice *device, const char *key, char *buf, size_t bufsize) argument
623 hal_device_property_get_int(HalDevice *device, const char *key) argument
639 hal_device_property_get_uint64(HalDevice *device, const char *key) argument
655 hal_device_property_get_bool(HalDevice *device, const char *key) argument
671 hal_device_property_get_double(HalDevice *device, const char *key) argument
687 hal_device_property_set_string(HalDevice *device, const char *key, const char *value) argument
723 hal_device_property_set_int(HalDevice *device, const char *key, dbus_int32_t value) argument
757 hal_device_property_set_uint64(HalDevice *device, const char *key, dbus_uint64_t value) argument
791 hal_device_property_set_bool(HalDevice *device, const char *key, dbus_bool_t value) argument
825 hal_device_property_set_double(HalDevice *device, const char *key, double value) argument
894 hal_device_property_remove(HalDevice *device, const char *key) argument
914 hal_device_property_set_attribute(HalDevice *device, const char *key, enum PropertyAttribute attr, gboolean val) argument
930 hal_device_print(HalDevice *device) argument
984 HalDevice *device; member in struct:__anon24
1003 prop_changed_cb(HalDevice *device, const char *key, gboolean removed, gboolean added, gpointer user_data) argument
1036 hal_device_async_wait_property(HalDevice *device, const char *key, HalDeviceAsyncCallback callback, gpointer user_data, int timeout) argument
1068 hal_device_callouts_finished(HalDevice *device) argument
1076 hal_device_cancel(HalDevice *device) argument
1086 hal_device_property_get_strlist(HalDevice *device, const char *key) argument
1103 hal_device_property_get_strlist_elem(HalDevice *device, const char *key, guint index) argument
1122 hal_device_property_strlist_append(HalDevice *device, const char *key, const char *value) argument
1154 hal_device_property_strlist_prepend(HalDevice *device, const char *key, const char *value) argument
1186 hal_device_property_strlist_remove_elem(HalDevice *device, const char *key, guint index) argument
1211 hal_device_property_strlist_clear(HalDevice *device, const char *key) argument
1244 hal_device_property_strlist_add(HalDevice *device, const char *key, const char *value) argument
1283 hal_device_property_strlist_remove(HalDevice *device, const char *key, const char *value) argument
1307 hal_device_property_strlist_is_empty(HalDevice *device, const char *key) argument
1326 hal_device_inc_num_addons(HalDevice *device) argument
1332 hal_device_inc_num_ready_addons(HalDevice *device) argument
1345 hal_device_are_all_addons_ready(HalDevice *device) argument
[all...]
H A Dhald_runner.h30 #include "device.h"
57 hald_runner_start (HalDevice *device, const gchar *command_line, char **extra_env,
63 hald_runner_run(HalDevice *device,
69 hald_runner_run_method(HalDevice *device,
76 void hald_runner_kill_device(HalDevice *device);
79 /* called by the core to tell the runner a device was finalized */
80 void runner_device_finalized (HalDevice *device);
H A Ddevice_store.h4 * device.c : HalDevice methods
32 #include "device.h"
48 HalDevice *device,
52 HalDevice *device,
58 HalDevice *device,
76 HalDevice *device,
81 HalDevice *device,
89 HalDevice *device);
91 HalDevice *device);
H A Dhald.c68 * @brief The HAL daemon manages persistent device objects available through
78 addon_terminated (HalDevice *device, guint32 exit_type, argument
82 HAL_INFO (("in addon_terminated for udi=%s", device->udi));
89 if (hal_device_inc_num_ready_addons (device)) {
90 if (hal_device_are_all_addons_ready (device)) {
91 manager_send_signal_device_added (device);
100 gdl_store_changed (HalDeviceStore *store, HalDevice *device, argument
106 HAL_INFO (("Added device to GDL; udi=%s", hal_device_get_udi(device)));
108 if ((addons = hal_device_property_get_strlist (device, "inf
145 gdl_property_changed(HalDeviceStore *store, HalDevice *device, const char *key, gboolean added, gboolean removed, gpointer user_data) argument
159 gdl_capability_added(HalDeviceStore *store, HalDevice *device, const char *capability, gpointer user_data) argument
[all...]
H A Ddevice_store.c109 hal_device_store_init (HalDeviceStore *device) argument
149 emit_device_property_changed (HalDevice *device, argument
158 device, key, added, removed);
162 emit_device_capability_added (HalDevice *device, argument
169 device, capability);
173 hal_device_store_add (HalDeviceStore *store, HalDevice *device) argument
177 if (strncmp(device->udi, buf, sizeof (buf) - 1) != 0) {
184 g_object_ref (device));
186 g_signal_connect (device, "property_changed",
188 g_signal_connect (device, "capability_adde
198 hal_device_store_remove(HalDeviceStore *store, HalDevice *device) argument
256 hal_device_store_print_foreach_fn(HalDeviceStore *store, HalDevice *device, gpointer user_data) argument
396 match_device_async(HalDeviceStore *store, HalDevice *device, const char *key, gboolean removed, gboolean added, gpointer user_data) argument
421 store_changed(HalDeviceStore *store, HalDevice *device, gboolean added, gpointer user_data) argument
461 HalDevice *device; local
[all...]
H A Dhald_runner.c57 HalDevice *device; member in struct:__anon36
73 HalDevice *device = user_data; local
75 if (rp->device == device) {
84 running_processes_remove_device (HalDevice *device) argument
86 g_hash_table_foreach_remove (running_processes, rprd_foreach, device);
90 runner_device_finalized (HalDevice *device) argument
92 running_processes_remove_device (device);
124 rp->cb (rp->device, 0, 0, NULL, rp->data1, rp->data2);
236 add_property_to_msg (HalDevice *device, HalPropert argument
340 add_first_part(DBusMessageIter *iter, HalDevice *device, const gchar *command_line, char **extra_env) argument
365 hald_runner_start(HalDevice *device, const gchar *command_line, char **extra_env, HalRunTerminatedCB cb, gpointer data1, gpointer data2) argument
481 hald_runner_run_method(HalDevice *device, const gchar *command_line, char **extra_env, gchar *input, gboolean error_on_stderr, guint32 timeout, HalRunTerminatedCB cb, gpointer data1, gpointer data2) argument
532 hald_runner_run(HalDevice *device, const gchar *command_line, char **extra_env, guint timeout, HalRunTerminatedCB cb, gpointer data1, gpointer data2) argument
544 hald_runner_kill_device(HalDevice *device) argument
574 hald_runner_kill_all(HalDevice *device) argument
[all...]
/osnet-11/usr/src/grub/grub2/util/i386/efi/
H A Dgrub-dumpdevtree22 ioreg -lw0 -p IODeviceTree -n efi -r -x |grep device-properties | sed 's/.*<//;s/>.*//;' | xxd -r -p > $1
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
H A Diopattern12 # USAGE: iopattern [-v] [-d device] [-f filename] [-m mount_point]
16 # -d device # instance name to snoop (eg, dad0)
34 # DEVICE device name
78 filter=0; device=.; filename=.; mount=.; interval=1; count=-1
84 d) opt_device=1; device=$OPTARG ;;
89 USAGE: iopattern [-v] [-d device] [-f filename] [-m mount_point]
93 -d device # instance name to snoop
134 inline string DEVICE = "'$device'";
H A Diopending12 # USAGE: iopending [-c] [-d device] [-f filename]
16 # -d device # instance name to snoop (eg, dad0)
65 opt_def=1; filter=0; device=.; filename=.; mount=.
73 d) opt_device=1; device=$OPTARG ;;
77 USAGE: iopending [-c] [-d device] [-f filename]
81 -d device # instance name to snoop
129 inline string DEVICE = "'$device'";
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/
H A Diopattern12 # USAGE: iopattern [-v] [-d device] [-f filename] [-m mount_point]
16 # -d device # instance name to snoop (eg, dad0)
34 # DEVICE device name
78 filter=0; device=.; filename=.; mount=.; interval=1; count=-1
84 d) opt_device=1; device=$OPTARG ;;
89 USAGE: iopattern [-v] [-d device] [-f filename] [-m mount_point]
93 -d device # instance name to snoop
134 inline string DEVICE = "'$device'";
/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Dmain.c27 #include <grub/device.h>
93 /* XXX Is it better to check the existence of the device? */
105 char *device = NULL; local
126 device = grub_strndup (prefix + 1, pptr - prefix - 1);
141 if ((!device || device[0] == ',' || !device[0]) || !path)
145 if (!device && fwdevice)
146 device = fwdevice;
147 else if (fwdevice && (device[
[all...]
H A Ddevice.c0 /* device.c - device manager */
20 #include <grub/device.h>
42 grub_error (GRUB_ERR_BAD_DEVICE, "no device is set");
75 grub_device_close (grub_device_t device) argument
77 if (device->disk)
78 grub_disk_close (device->disk);
80 if (device->net)
82 grub_free (device->net->server);
83 grub_free (device
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dfs.h23 #include <grub/device.h>
54 grub_err_t (*dir) (grub_device_t device, const char *path,
67 /* Return the label of the device DEVICE in LABEL. The label is
70 grub_err_t (*label) (grub_device_t device, char **label);
72 /* Return the uuid of the device DEVICE in UUID. The uuid is
75 grub_err_t (*uuid) (grub_device_t device, char **uuid);
78 grub_err_t (*mtime) (grub_device_t device, grub_int32_t *timebuf);
82 grub_err_t (*embed) (grub_device_t device, unsigned int *nsectors,
119 grub_fs_t EXPORT_FUNC(grub_fs_probe) (grub_device_t device);
H A Ddevice.h0 /* device.h - device manager */
37 grub_err_t EXPORT_FUNC(grub_device_close) (grub_device_t device);
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfscat.h32 char *device; /* Device/File to work with */ member in struct:options
/osnet-11/usr/src/grub/grub2/util/ieee1275/
H A Dofpath.c1 /* ofpath.c - calculate OpenFirmware path names given an OS device */
145 strcat(rpath, "/device");
171 const char *device, int devno)
179 digit_string = trailing_digits (device);
213 const char *device,
226 ret = __of_path_common(of_path, sysfs_path, device, devno);
234 const char *devname __attribute__((unused)), const char *device,
248 ret = __of_path_common(of_path, sysfs_path, device, 2 * chan + devno);
323 const char *devname __attribute__((unused)), const char *device,
342 ret = __of_path_common(of_path, sysfs_path, device, tg
170 __of_path_common(char *of_path, char *sysfs_path, const char *device, int devno) argument
211 of_path_of_vdisk(char *of_path, const char *devname __attribute__((unused)), const char *device, const char *devnode __attribute__((unused)), const char *devicenode) argument
233 of_path_of_ide(char *of_path, const char *devname __attribute__((unused)), const char *device, const char *devnode __attribute__((unused)), const char *devicenode) argument
322 of_path_of_scsi(char *of_path, const char *devname __attribute__((unused)), const char *device, const char *devnode __attribute__((unused)), const char *devicenode) argument
396 char *name_buf, *device, *devnode, *devicenode, *ofpath; local
[all...]
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Disk/
H A Diopending12 # USAGE: iopending [-c] [-d device] [-f filename]
16 # -d device # instance name to snoop (eg, dad0)
65 opt_def=1; filter=0; device=.; filename=.; mount=.
73 d) opt_device=1; device=$OPTARG ;;
77 USAGE: iopending [-c] [-d device] [-f filename]
81 -d device # instance name to snoop
129 inline string DEVICE = "'$device'";
/osnet-11/usr/src/grub/grub2/grub-core/kern/efi/
H A Dinit.c79 char **device,
83 grub_machine_get_bootlocation (char **device, char **path) argument
91 *device = grub_efidisk_get_device_name (image->device_handle);
93 if (!*device && grub_efi_net_config)
94 grub_efi_net_config (image->device_handle, device, path);
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dinuse_dump.c53 * Check the dump device against the input slice.
60 char device[MAXPATHLEN]; local
84 if (ioctl(fd, DIOCGETDEV, device) != -1) {
85 if (strcmp(slice, device) == 0) {
/osnet-11/usr/src/cmd/hal/tools/sunos/
H A Dhal-system-power-hibernate-sunos.sh25 for device in $devices
28 $device org.freedesktop.Hal.Device.Rescan
/osnet-11/usr/src/lib/libcontract/common/
H A Ddevice_dump.c28 #include <sys/contract/device.h>
51 char *device; local
60 statfd = contract_open(ctid, "device", "status", O_RDONLY);
71 if (ct_dev_status_get_minor(stathdl, &device) != 0) {
79 s = dgettext(TEXT_DOMAIN, "device %s offlining\n");
82 s = dgettext(TEXT_DOMAIN, "device %s degrading\n");
85 s = dgettext(TEXT_DOMAIN, "device %s online\n");
92 s = dgettext(TEXT_DOMAIN, "device %s sent an unknown event\n");
98 (void) fprintf(file, s, device);
/osnet-11/usr/src/grub/grub2/include/grub/i386/pc/
H A Dkernel.h37 extern void (*EXPORT_VAR(grub_pc_net_config)) (char **device, char **path);

Completed in 85 milliseconds

12345678910