/osnet-11/usr/src/lib/libparted/common/libparted/ |
H A D | unit.c | 19 /** \file unit.c */ 43 * PedUnit has a global variable that contains the default unit for all 89 * \brief Set the default \p unit used by subsequent calls to the PedUnit API. 95 ped_unit_set_default (PedUnit unit) argument 97 default_unit = unit; 102 * \brief Get the current default unit. 111 * Get the byte size of a given \p unit. 114 ped_unit_get_size (const PedDevice* dev, PedUnit unit) argument 118 switch (unit) { 138 _("Cannot get unit siz 154 ped_unit_get_name(PedUnit unit) argument 167 PedUnit unit; local 194 ped_unit_format_custom_byte(const PedDevice* dev, PedSector byte, PedUnit unit) argument 280 ped_unit_format_custom(const PedDevice* dev, PedSector sector, PedUnit unit) argument 500 ped_unit_parse_custom(const char* str, const PedDevice* dev, PedUnit unit, PedSector* sector, PedGeometry** range) argument [all...] |
/osnet-11/usr/src/lib/libparted/common/include/parted/ |
H A D | unit.h | 24 /** \file unit.h */ 45 * Human-friendly unit for representation of a location within device 67 extern long long ped_unit_get_size (const PedDevice* dev, PedUnit unit); 68 extern const char* ped_unit_get_name (PedUnit unit); 71 extern void ped_unit_set_default (PedUnit unit); 76 PedUnit unit); 80 PedUnit unit); 86 PedUnit unit, PedSector* sector,
|
H A D | parted.h | 33 #include <parted/unit.h>
|
/osnet-11/usr/src/lib/libwrap/ |
H A D | tli.c | 93 if (request->client->unit != 0) { 94 memcpy(&client, request->client->unit->addr.buf, 96 request->client->unit->addr.buf)); 100 if (request->server->unit != 0) { 101 memcpy(&server, request->server->unit->addr.buf, 103 request->server->unit->addr.buf)); 123 if (request->client->unit != 0) 124 t_free((char *) request->client->unit, T_UNITDATA); 125 if (request->server->unit != 0) 126 t_free((char *) request->server->unit, T_UNITDAT 239 struct t_unitdata *unit = host->unit; local 256 struct t_unitdata *unit = host->unit; local 343 struct t_unitdata *unit; local [all...] |
/osnet-11/usr/src/grub/grub2/util/ |
H A D | deviceiter.c | 161 get_floppy_disk_name (char *name, int unit) argument 165 sprintf (name, "/dev/rdiskette%d", unit); 169 sprintf (name, "/dev/floppy/%d", unit); 171 sprintf (name, "/dev/fd%d", unit); 174 sprintf (name, "/dev/fd%d", unit); 178 sprintf (name, "/dev/fd%d", unit); 180 sprintf (name, "/dev/rfd%d", unit); 184 sprintf (name, "/dev/rfd%da", unit); 187 sprintf (name, "/dev/rfd%dc", unit); 190 sprintf (name, "/dev/fd%d", unit); 206 get_ide_disk_name(char *name, int unit) argument 253 get_scsi_disk_name(char *name, int unit) argument 302 get_ada_disk_name(char *name, int unit) argument 308 get_ataraid_disk_name(char *name, int unit) argument 314 get_mfi_disk_name(char *name, int unit) argument 322 get_virtio_disk_name(char *name, int unit) argument 344 get_ataraid_disk_name(char *name, int unit) argument 350 get_i2o_disk_name(char *name, char unit) argument 368 get_mmc_disk_name(char *name, int unit) argument 374 get_xvd_disk_name(char *name, int unit) argument [all...] |
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | freebsd.h | 44 * adaptor (uba, mba, etc), unit number and partition number. 62 #define MAKEBOOTDEV(type, adaptor, controller, unit, partition) \ 64 ((controller) << B_CONTROLLERSHIFT) | ((unit) << B_UNITSHIFT) | \
|
H A D | serial.h | 82 unsigned short serial_hw_get_port (int unit);
|
H A D | serial.c | 49 /* Store the port number of a serial unit. */ 119 serial_hw_get_port (int unit) 124 return addr[unit]; 118 serial_hw_get_port(int unit) argument
|
/osnet-11/usr/src/grub/grub-0.97/lib/ |
H A D | device.c | 303 get_floppy_disk_name (char *name, int unit) argument 308 sprintf (name, "/dev/floppy/%d", unit); 310 sprintf (name, "/dev/fd%d", unit); 313 sprintf (name, "/dev/fd%d", unit); 317 sprintf (name, "/dev/fd%d", unit); 319 sprintf (name, "/dev/rfd%d", unit); 323 sprintf (name, "/dev/rfd%da", unit); 326 sprintf (name, "/dev/rfd%dc", unit); 329 sprintf (name, "/dev/fd%d", unit); 332 sprintf (name, "/dev/rdiskette%d", unit); 341 get_ide_disk_name(char *name, int unit) argument 384 get_scsi_disk_name(char *name, int unit) argument 434 get_ataraid_disk_name(char *name, int unit) argument [all...] |
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | deflate.c | 52 int unit; member in struct:deflate_state 67 int unit, int hdrlen, int mru, int debug)); 175 z_decomp_init(arg, options, opt_len, unit, hdrlen, mru, debug) 178 int opt_len, unit, hdrlen, mru, debug; 190 state->unit = unit; 250 state->unit, seq, state->seqno); 271 state->unit, r, (state->strm.msg? state->strm.msg: "")); 284 state->unit, olen, state->mru + PPP_HDRLEN); 332 state->unit, [all...] |
H A D | bsd-comp.c | 88 u_char unit; member in struct:bsd_db 132 int unit, int hdrlen, int mru, int debug)); 377 bsd_init(db, options, opt_len, unit, hdrlen, mru, debug, decomp) 380 int opt_len, unit, hdrlen, mru, debug, decomp; 402 db->unit = unit; 414 bsd_decomp_init(state, options, opt_len, unit, hdrlen, mru, debug) 417 int opt_len, unit, hdrlen, mru, debug; 420 unit, hdrlen, mru, debug, 1); 581 db->unit, se [all...] |
H A D | ppp-comp.h | 58 int unit, int hdrlen, int mru, int debug));
|
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | ns8250.h | 77 grub_ns8250_hw_get_port (const unsigned int unit);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | fds.c | 32 "[u:unit?Write output to \afd\a.]#[fd]" 168 int unit; local 190 unit = 1; 199 unit = opt_info.num; 215 if (unit == 1) 217 else if (fstat(unit, &st) || !(sp = sfnew(NiL, NiL, SF_UNBOUND, unit, SF_WRITE)))
|
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/pc/ |
H A D | plan9.c | 278 int unit; local 280 unit = 0; 282 unit = grub_strtoul (dev->disk->name + sizeof ("ata0") - 1, 0, 0); 283 plan9name = grub_xasprintf ("sd%c%d", 'C' + unit / 2, unit % 2); 290 int unit; local 292 unit = 0; 294 unit = grub_strtoul (dev->disk->name + sizeof ("ata0") - 1, 296 plan9name = grub_xasprintf ("sd%c%d", 'C' + unit / 2, unit [all...] |
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | ulimit.c | 79 int label, unit, nosupport; local 132 unit = shtab_units[tp->type]; 144 i *= unit; 201 i += (unit-1); 202 sfprintf(sfstdout,"%I*d\n",sizeof(i),i/unit);
|
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Project/ |
H A D | Project.pm | 703 my $unit; 746 ($num, $modifier, $unit) = 751 if (defined($unit)) { 754 'unit "%s"'), $unit]); 802 ($num, $modifier, $unit) = 808 if (defined($unit)) { 811 'invalid unit '. 813 $unit]); 1554 # returns (integer value, modifier character, unit characte [all...] |
/osnet-11/usr/src/lib/libdscp/svc/ |
H A D | svc-dscp | 66 /usr/bin/pppd $DM2S_DEVICE unit $UNIT file $PPP_OPTIONS
|
/osnet-11/usr/src/cmd/parted/ |
H A D | ui.h | 77 extern int command_line_get_unit (const char* prompt, PedUnit* unit);
|
/osnet-11/usr/src/lib/efcode/pci/ |
H A D | pci.c | 268 CHECK_DEPTH(env, 3, "pci:encode-unit"); 281 debug_msg(DEBUG_REG_ACCESS, "pci:encode-unit ( %x ) -> %s\n", 289 int lo, hi, unit; local 292 CHECK_DEPTH(env, 2, "pci:decode-unit"); 295 throw_from_fclib(env, 1, "pci:decode-unit: '%s'", buf); 297 unit = ((hi & 0x1f) << 11); 298 unit |= ((lo & 0xff) << 8); 300 debug_msg(DEBUG_REG_ACCESS, "pci:decode-unit ( '%s' ) -> 0 0 %x\n", 301 buf, unit); 304 PUSH(DS, unit); [all...] |
/osnet-11/usr/src/lib/libparted/ |
H A D | Makefile | 63 unit.h
|
H A D | Makefile.com | 64 $(LIBPDIR)/timer.o $(LIBPDIR)/unit.o \
|
/osnet-11/usr/src/grub/grub2/grub-core/term/ |
H A D | ns8250.c | 251 grub_ns8250_hw_get_port (const unsigned int unit) argument 253 if (unit < GRUB_SERIAL_PORT_NUM) 254 return serial_hw_io_addr[unit];
|
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppstats/ |
H A D | pppstats.c | 103 static int unit; variable 543 if (sscanf(interface, PPP_DRV_NAME "%d", &unit) != 1) { 582 if (strioctl(s, PPPIO_ATTACH, (char *)&unit, sizeof(int), 0) < 0) { 584 progname, unit);
|
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/ |
H A D | bsd.c | 180 grub_uint32_t * unit, 190 *unit = (*biosdev & 0x7f); 1470 grub_uint32_t unit, slice, part; local 1515 grub_bsd_get_device (&freebsd_biosdev, &unit, &slice, &part); 1517 (unit << FREEBSD_B_UNITSHIFT) + (part << FREEBSD_B_PARTSHIFT)); 1536 int unit, part; local 1542 unit = grub_strtoul (arg, (char **) &arg, 10); 1550 bootdev = (OPENBSD_B_DEVMAGIC + (unit << OPENBSD_B_UNITSHIFT) + 179 grub_bsd_get_device(grub_uint32_t * biosdev, grub_uint32_t * unit, grub_uint32_t * slice, grub_uint32_t * part) argument
|