Searched defs:device (Results 51 - 75 of 107) sorted by relevance

12345

/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Daffs.c419 data = grub_affs_mount (file->device->disk);
475 grub_affs_dir (grub_device_t device, const char *path,
504 data = grub_affs_mount (device->disk);
527 grub_affs_label (grub_device_t device, char **label)
531 grub_disk_t disk = device->disk;
473 grub_affs_dir(grub_device_t device, const char *path, int (*hook) (const char *filename, const struct grub_dirhook_info *info)) argument
525 grub_affs_label(grub_device_t device, char **label) argument
H A Dcpio.c487 grub_cpio_dir (grub_device_t device, const char *path_in, argument
507 data = grub_cpio_mount (device->disk);
607 data = grub_cpio_mount (file->device->disk);
H A Dromfs.c308 grub_romfs_dir (grub_device_t device, const char *path, argument
331 data = grub_romfs_mount (device);
357 data = grub_romfs_mount (file->device);
411 grub_romfs_label (grub_device_t device, char **label) argument
418 data = grub_romfs_mount (device);
428 err = grub_disk_read (device->disk, 0, sizeof (struct grub_romfs_superblock),
H A Dminix.c516 grub_minix_dir (grub_device_t device, const char *path,
523 data = grub_minix_mount (device->disk);
591 data = grub_minix_mount (file->device->disk);
514 grub_minix_dir(grub_device_t device, const char *path, int (*hook) (const char *filename, const struct grub_dirhook_info *info)) argument
H A Dsfs.c479 data = grub_sfs_mount (file->device->disk);
538 grub_sfs_dir (grub_device_t device, const char *path,
564 data = grub_sfs_mount (device->disk);
589 grub_sfs_label (grub_device_t device, char **label)
592 grub_disk_t disk = device->disk;
536 grub_sfs_dir(grub_device_t device, const char *path, int (*hook) (const char *filename, const struct grub_dirhook_info *info)) argument
587 grub_sfs_label(grub_device_t device, char **label) argument
/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Dbootp.c223 int is_def, char **device, char **path)
239 if (device)
240 *device = 0;
294 if (device && !*device)
296 *device = grub_xasprintf ("tftp,%d.%d.%d.%d",
315 if (device && !*device)
317 *device = grub_xasprintf ("tftp,%s", bp->server_name);
218 grub_net_configure_by_dhcp_ack(const char *name, struct grub_net_card *card, grub_net_interface_flags_t flags, const struct grub_net_bootp_packet *bp, grub_size_t size, int is_def, char **device, char **path) argument
/osnet-11/usr/src/grub/grub-0.97/lib/
H A Ddevice.c0 /* device.c - Some helper functions for OS devices and BIOS drives */
47 # define HDIO_GETGEO 0x0301 /* get device geometry */
73 # define BLKGETSIZE _IO(0x12,96) /* return device size */
136 #include <device.h>
363 0 /* char device */
406 0 /* char device */
443 check_device (const char *device) argument
449 if (*device == 0)
452 fp = fopen (device, "r");
473 /* Error opening the device
[all...]
/osnet-11/usr/src/cmd/hal/hald/
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 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...]
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...]
/osnet-11/usr/src/cmd/hal/tools/
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...]
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfsls.c110 char *device; /* Device/File to work with */ member in struct:options
162 printf("\nUsage: %s [options] device\n"
223 opts.device = NULL;
229 if (!opts.device)
230 opts.device = optarg;
302 if (opts.device == NULL) {
305 "device.\n");
655 vol = utils_mount_volume(opts.device, NTFS_MNT_RDONLY |
H A Dutils.c87 "The device '%s' doesn't have a valid NTFS.\n"
88 "Maybe you selected the wrong device? Or the whole disk instead of a\n"
104 " notification area before disconnecting the device.\n"
105 " C) Use 'Eject' from Windows Explorer to safely remove the device.\n"
127 "different device under /dev/mapper, (e.g. /dev/mapper/nvidia_eahaabcc1)\n"
149 * utils_valid_device - Perform some safety checks on the device, before start
150 * @name: Full pathname of the device/file to work with
153 * Check that the name refers to a device and that is isn't already mounted.
157 * 0 Error, we cannot use this device
175 ntfs_log_error("The device
209 utils_mount_volume(const char *device, ntfs_mount_flags flags) argument
[all...]
/osnet-11/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.c39 static char *get_device_name(dm_descriptor_t device, int *error);
69 get_device_name(dm_descriptor_t device, int *error) argument
75 name = dm_get_name(device, error);
77 handle_error("could not determine name of device");
H A Dlibzfs_jni_dataset.c806 jobject device = NULL; local
814 device = create_PoolBean(env, zphp, zhp);
819 device = create_DatasetBean(env, zhp);
828 return (device);
/osnet-11/usr/src/lib/libprtdiag/common/
H A Dio.c112 * Find the PCI device number of this PCI device. If no device number can
129 * Find the PCI device number of this PCI device. If no device number can
243 * Find the sbus slot number of this Sbus device. If no slot number can
435 char device[MAXSTRLEN]; local
442 /* Find the device node using upa-portid/portid */
450 (void) sprintf(device, "
[all...]
/osnet-11/usr/src/lib/efcode/engine/
H A Dpackage.c53 d = MYSELF->device;
88 ihandle->device = phandle;
199 check_my_self(env, "new-device");
201 parent = MYSELF->device;
223 check_my_self(env, "finish-device");
224 ASSERT(myself->device);
226 n = myself->device->data_size[INIT_DATA];
232 memcpy(mem, MYSELF->device->init_data, sizeof (fstack_t) * n);
233 FREE(myself->device->init_data);
234 my_dev = myself->device;
471 device_t *device; local
636 device_t *device; local
851 device_t *device; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/ieee1275/
H A Dieee1275.c36 grub_ieee1275_cell_t device;
42 args.device = (grub_ieee1275_cell_t) name;
35 grub_ieee1275_cell_t device; member in struct:find_device_args
/osnet-11/usr/src/grub/grub2/grub-core/net/drivers/i386/pc/
H A Dpxe.c433 grub_pc_net_config_real (char **device, char **path) argument
448 1, device, path);
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-setup.c25 #include <grub/device.h>
65 * device. It also needs to know the initial block number of
256 /* Open the root device and the destination device. */
268 grub_util_info ("setting the root device to `%s'", root);
480 grub_util_warn (_("If this is unexpected, the device should be carefully erased to remove all traces of the filesystem before GRUB can be installed"));
645 "the root device is on a RAID array or LVM volume"));
775 if (file->device->disk->id != dest_dev->disk->id)
779 = grub_util_devname_to_ofpath (grub_util_biosdisk_get_osdev (file->device->disk));
792 grub_util_info ("boot device pat
901 char *device; member in struct:arguments
[all...]
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_check.c142 * check whether device is swapped on
234 * check whether device is a dump device
245 char device[MAXPATHLEN]; local
251 if (ioctl(dump_fd, DIOCGETDEV, device) != -1) {
254 if ((dump_np = metaname(&sp, device, UNKNOWN, ep)) == NULL) {
263 } else { /* not a dump device - but does it overlap? */
277 * check whether device is mounted
329 } else { /* device isn't in mnttab - does it overlap? */
405 * with a device alread
[all...]
/osnet-11/usr/src/lib/libpkg/common/
H A Ddstream.c58 extern char *devattr(char *device, char *attribute);
61 extern int getvol(char *device, char *label, int options, char *prompt);
68 /* device types */
82 #define G_FILE 28 /* file, not a device */
83 #define G_NO_DEV 29 /* device does not require special treatment */
84 #define G_DEV_MAX 30 /* last valid device type */
102 int ds_next(char *device, char *instdir);
103 int ds_ginit(char *device);
107 static int ds_realfd = -1; /* file descriptor for real device */
118 static int ds_getnextvol(char *device);
196 ds_readbuf(char *device) argument
216 logerr(pkg_gt(MSG_OPEN), device, errno); local
304 ds_init(char *device, char **pkg, char *norewind) argument
319 logerr(pkg_gt(MSG_OPEN), device, errno); local
334 logerr(pkg_gt(MSG_OPEN), device, errno); local
373 logerr(pkg_gt(MSG_OPEN), device, errno); local
382 logerr(pkg_gt(MSG_OPEN), device, errno); local
533 ds_findpkg(char *device, char *pkg) argument
597 ds_getpkg(char *device, int n, char *dstdir) argument
633 ds_getnextvol(char *device) argument
660 ds_skip(char *device, int nskip) argument
688 ds_skiptoend(char *device) argument
695 ds_next(char *device, char *instdir) argument
752 BIO_ds_dump(PKG_ERR *err, char *device, BIO *bio) argument
820 ds_ginit(char *device) argument
908 device, errno); local
[all...]
H A Dpkgtrans.c67 extern char *devattr(char *device, char *attribute);
70 extern int getvol(char *device, char *label, int options, char *prompt);
71 extern int _getvol(char *device, char *label, int options, char *prompt,
75 extern int ds_ginit(char *device);
115 static int wdsheader(struct dm_buf *, char *src, char *device,
153 pkghead(char *device) argument
161 if (device == NULL)
163 else if ((device[0] == '/') && !isdir(device)) {
164 pkgdir = device;
770 genheader(char *src, char *device, char **pkg) argument
931 wdsheader(struct dm_buf *hdr, char *src, char *device, char **pkg, PKCS7 *sig) argument
954 logerr(pkg_gt(MSG_OPEN), device, errno); local
960 logerr(pkg_gt(MSG_OPEN), device, errno); local
[all...]
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c87 * Revoke all access to a device node and make sure that there are
89 * device is actually opened.
90 * When fdetach is called, the underlying device node is revealed; it
122 "failed to chown device %s: %s\n",
145 "failed to set acl on device %s: %s\n",
154 "failed to chmod device %s: %s\n",
178 char *device; local
257 err = -1; /* empty device list, skip */
261 ": line %d, empty device list -- %s\n",
271 device
[all...]
/osnet-11/usr/src/lib/efcode/include/fcode/
H A Dengine.h95 * device.
135 device_t *device; member in struct:INSTANCE
137 * These are copies of the same structures from the device definition

Completed in 1685 milliseconds

12345