/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/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...] |
H A D | tcpd.h | 91 struct t_unitdata *unit; /* TLI transport address or 0 */ member in struct:host_info
|
/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/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/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...] |
/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/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/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/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 | 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
|
H A D | builtins.c | 4598 if (grub_memcmp (arg, "--unit=", sizeof ("--unit=") - 1) == 0) 4600 char *p = arg + sizeof ("--unit=") - 1; 4601 int unit; 4603 if (! safe_parse_maxint (&p, &unit)) 4606 if (unit < 0 || unit > 3) 4612 port = serial_hw_get_port (unit); 4708 /* Initialize the serial unit. */ 4723 "serial [--unit 4550 int unit; local [all...] |
/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/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/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_sbd.c | 169 * name and unit number to the driver. Set its 854 int unit; local 860 unit = dst->ds_unit; 864 * If the component has a unit number, 868 if (unit == -1) 871 (void) snprintf(id, bufsize, "%s%d", name, unit);
|
/osnet-11/usr/src/grub/grub-0.97/grub/ |
H A D | asmstub.c | 1094 /* Get the port number of the unit UNIT. In the grub shell, this doesn't 1097 serial_hw_get_port (int unit) argument
|
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfscmp.c | 76 float unit; member in struct:progress_bar 272 p->unit = 100.0 / (stop - start); 287 percent = p->unit * current;
|
H A D | ntfsclone.c | 136 float unit; member in struct:progress_bar 473 p->unit = 100.0 / (stop - start); 480 float percent = p->unit * current;
|
H A D | ntfsresize.c | 87 " 1) create it at the same disk sector (use sector as the unit!)\n" 161 float unit; member in struct:progress_bar 955 p->unit = 100.0 / (stop - start); 975 percent = p->unit * current;
|
/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
|
/osnet-11/usr/src/cmd/parted/ |
H A D | parted.c | 2165 PedUnit unit = ped_unit_get_default (); local 2166 if (!command_line_get_unit (_("Unit?"), &unit)) 2168 ped_unit_set_default (unit); 2190 PedUnit unit; local 2212 for (unit = PED_UNIT_FIRST; unit <= PED_UNIT_LAST; unit++) { 2217 str_list_append (list, ped_unit_get_name (unit)); 2524 str_list_create_unique ("unit", _("unit"), NUL [all...] |
H A D | ui.c | 181 "\tparted DEVICE unit co print unit s print\n\n" 1287 command_line_get_unit (const char* prompt, PedUnit* unit) argument 1302 *unit = ped_unit_get_by_name (unit_name);
|
/osnet-11/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 240 char *unit = "second"; local 244 unit = "day"; 247 unit = "hour"; 250 unit = "minute"; 254 if (snprintf(buf, bufsiz, "%.2f %s%s", val, unit,
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_sp.c | 48 * create a unit structure and update the on-disk format, called 61 * space. Once the new allocations are made, a unit structure is created 63 * on the unit structure to commit the transaction. If updating the 64 * watermarks fails, the unit structure is in an intermediate state and 77 * 5. Create the unit structure from the extent list 415 * mp - the unit structure to set the geometry for 529 md_sp_t *msp; /* unit structure */ 560 /* get the unit structure */ 1778 * watermark, which is not included in the unit structures. 1789 md_sp_t *msp; /* unit structur 2282 minor_t unit; local [all...] |