Searched defs:device (Results 1 - 25 of 107) sorted by relevance

12345

/osnet-11/usr/src/lib/libadm/common/
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...]
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...]
/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/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/lib/libcmdutils/common/
H A Davltree.c84 * a device id and inode number provided by the calling application.
96 * allocating memory and setting the nodes device id and inode number
104 * dev_t device (device id of the inode to be stored)
126 * Compare two nodes by first trying to match on the node's device
138 /* first match device id */
142 /* device id match, now check inode */
156 * Build a height balanced tree of nodes consisting of a device id and
161 add_tnode(avl_tree_t **stree, dev_t device, ino_t inode) argument
185 tnode->node_dev = device;
[all...]
/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/cmd/ntfsprogs/
H A Dntfscat.h32 char *device; /* Device/File to work with */ member in struct:options
H A Dntfscluster.h42 char *device; /* Device/File to work with */ member in struct:options
/osnet-11/usr/src/grub/grub2/grub-core/kern/
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...]
H A Dfs.c35 grub_fs_probe (grub_device_t device) argument
47 if (device->disk)
55 (p->dir) (device, "/", dummy_func);
78 (p->dir) (device, "/", dummy_func);
97 else if (device->net && device->net->fs)
98 return device->net->fs;
121 grub_disk_t disk = file->device->disk;
208 if (grub_disk_read (file->device->disk, p->offset + sector, offset,
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...]
/osnet-11/usr/src/grub/grub2/grub-core/tests/boot/
H A Dkbsd.init-i386.S50 leal device, %ebx
118 device: label
H A Dkbsd.init-x86_64.S46 leaq device, %rdi
104 device: label
H A Dkfreebsd.init-i386.S43 leal device, %ebx
105 device: label
H A Dkfreebsd.init-x86_64.S40 leaq device, %rdi
89 device: label
/osnet-11/usr/src/grub/grub2/include/grub/i386/
H A Dopenbsd_bootarg.h75 grub_uint32_t device; member in struct:grub_openbsd_bootarg_console
/osnet-11/usr/src/lib/efcode/packages/
H A Dpopulate.c133 device_t *device; local
141 CONVERT_PHANDLE(env, device, d);
142 if (!is_device_builtin_package(env, device)) {
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/
H A Dhostfs.c58 grub_hostfs_dir (grub_device_t device, const char *path, argument
65 if (grub_strcmp (device->disk->name, "host"))
147 grub_hostfs_label (grub_device_t device __attribute ((unused)),
H A Dmain.c71 grub_machine_get_bootlocation (char **device, char **path) argument
73 *device = root_dev;
88 {"root-device", required_argument, 0, 'r'},
89 {"device-map", required_argument, 0, 'm'},
110 " -r, --root-device=DEV use DEV as the root device [default=host]\n"
111 " -m, --device-map=FILE use FILE as the device map [default=%s]\n"
203 /* Make sure that there is a root device. */
/osnet-11/usr/src/grub/grub2/grub-core/kern/i386/pc/
H A Dinit.c48 void (*grub_pc_net_config) (char **device, char **path);
67 grub_machine_get_bootlocation (char **device, char **path) argument
81 grub_pc_net_config (device, path);
87 *device = grub_malloc (DEV_SIZE);
88 ptr = *device;
89 grub_snprintf (*device, DEV_SIZE,
95 grub_snprintf (ptr, DEV_SIZE - (ptr - *device),
100 grub_snprintf (ptr, DEV_SIZE - (ptr - *device), ",%u",
/osnet-11/usr/src/grub/grub2/grub-core/lib/ieee1275/
H A Ddatetime.c60 grub_ieee1275_cell_t device; member in struct:get_time_args
85 args.device = (grub_ieee1275_cell_t) ihandle;
112 grub_ieee1275_cell_t device; member in struct:set_time_args
137 args.device = (grub_ieee1275_cell_t) ihandle;
/osnet-11/usr/src/cmd/hal/tools/
H A Dhal-storage-closetray.c80 char *device; local
95 device = getenv ("HAL_PROP_BLOCK_DEVICE");
96 if (device == NULL)
H A Dhal-storage-unmount.c79 char *device; local
100 device = getenv ("HAL_PROP_BLOCK_DEVICE");
101 if (device == NULL)
182 udi, NULL, drive, device, invoked_by_uid,
203 udi, volume, drive, device, invoked_by_uid,
/osnet-11/usr/src/cmd/hal/utils/
H A Dprinter.c54 /* parse the 1284 device id string */
114 char **command_set, char *device)
118 "description=%s, serial=%s, device=%s\n",
120 NP(serial_number), NP(device)));
141 if (device != NULL)
143 "printer.device", device);
112 add_printer_info(LibHalChangeSet *cs, char *udi, char *manufacturer, char *model, char *description, char *serial_number, char **command_set, char *device) argument
/osnet-11/usr/src/lib/libinetutil/common/
H A Dlibinetutil.h49 char ifsp_devnm[LIFNAMSIZ]; /* only the device name */
95 char device[LIFNAMSIZ + 1]; /* interface name */ member in struct:ifaddrlist

Completed in 73 milliseconds

12345