/illumos-gate/usr/src/uts/common/io/mwl/ |
H A D | mwl.c | 1305 get2Ghz(MWL_HAL_CHANNELINFO *ci, const uint8_t table[], int len) argument 1314 (void) memcpy(hc->targetPowers, &table[i], 4); 1327 get5Ghz(MWL_HAL_CHANNELINFO *ci, const uint8_t table[], int len) argument 1337 if (table[i] == 0) 1339 f = 5000 + 5*table[i]; 1346 hc->ieee = table[i]; 1347 (void) memcpy(hc->targetPowers, &table[i], 4); 1379 dumpcaldata(const char *name, const uint8_t *table, int n) argument 1385 i/4, table[i+0], table[ [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 258 uInt hash_size; /* number of elements in hash table */ 298 /* Insert new strings in the hash table only if the match length is not 351 * a highly compressible string table.) Smaller buffer sizes give 571 * Initialize the hash table (avoiding 64K overflow for 16 bit systems). 1144 /* Slide the hash table (could be avoided with 32 bit values 1278 /* Insert new strings in the hash table only if the match length 1283 s->match_length--; /* string at strstart already in hash table */ 1382 /* Do not insert strings in hash table beyond this. */ 1389 /* Insert in hash table all strings up to the end of the match. 1392 * the hash table 3068 uInt table; /* table lengths (14 bits) */ member in struct:inflate_blocks_state::__anon136::__anon137 [all...] |
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 35 * This program reads the partition table on the specified device and 187 " Use fdisk_file to initialize on-line fdisk table.\n" 192 " -t Check and adjust VTOC to be consistent with fdisk table.\n" 194 " -T Check and adjust VTOC to be consistent with fdisk table.\n" 197 " Write on-disk table to fdisk_file.\n" 198 " -W - Write on-disk table to standard output.\n" 286 /* Partition table flags */ 297 static char *io_Afdisk = 0; /* add entry to partition table (-A) */ 298 static char *io_Dfdisk = 0; /* delete entry from part. table (-D) */ 312 static struct extvtoc disk_vtoc; /* verify VTOC table */ 4573 clear_vtoc(int table, int part) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 117 * table section, for use by the routines that display symbol information. 125 Cache *seccache; /* Cache of symbol table section hdr */ 126 Word secndx; /* Index of symbol table section hdr */ 132 /* used for symbol table entries */ 220 * We only print a diagnostic regarding a bad string table once per 229 /* Verify that strsec really is a string table */ 240 * Is the string table offset within range of the available strings? 244 * Do we have a empty string table? 289 * string. Note, although section symbol table entries typically have 291 * table t 653 uint64_t table; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipsecconf.c | 2866 parse_type_code(const char *str, const str_val_t *table) argument 2903 for (i = 0; table[i].string; i++) { 2904 if (strcmp(str, table[i].string) == 0) { 2905 return (table[i].value);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | sadb.c | 182 * association, and have found the appropriate table & hash chain. All this 421 isaf_t *table; local 424 table = (isaf_t *)kmem_alloc(size * sizeof (*table), kmflag); 425 *tablep = table; 427 if (table == NULL) 431 mutex_init(&(table[i].isaf_lock), NULL, MUTEX_DEFAULT, NULL); 432 table[i].isaf_ipsa = NULL; 433 table[i].isaf_gen = 0; 445 iacqf_t *table; local 691 sadb_walker(isaf_t *table, uint_t numentries, void (*walkfn)(isaf_t *head, ipsa_t *entry, void *cookie), void *cookie) argument 721 isaf_t *table = *tablep; local [all...] |
H A D | ip_if.c | 114 /* IP ioctl function table entry */ 2377 * This routine is called to scan the fragmentation reassembly table for 2420 /* Walk the frag hash table. */ 3366 * Allocate sufficient space to contain our fragment hash table and 4547 * unicast table. This is used by CGTP. 5063 * Find or create the per-thread hash table used to track object references. 5336 * TODO: make this table extendible at run time 5401 * ip_rt_add is called to add an IPv4 route to the forwarding table. 7769 ip6_asp_t *table; local 7789 table [all...] |
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cis_handlers.h | 83 #define CISTPL_DEVSPEED_TABLE 0x000000001 /* use the device speed table */ 84 #define CISTPL_DEVSPEED_EXT 0x000000002 /* use the extended speed table */ 85 #define CISTPL_DEVSPEED_MAX_TBL 8 /* max devspeed table entries */ 88 #define CISTPL_DEVSPEED_TBL(t) cistpl_devspeed_struct.table[(t) & \ 95 uint32_t *table; member in struct:cistpl_devspeed_struct_t
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | zlib.c | 411 uInt hash_size; /* number of elements in hash table */ 458 * Insert new strings in the hash table only if the match 525 * string table.) Smaller buffer sizes give fast adaptation 828 * Initialize the hash table (avoiding 64K overflow for 16 bit systems). 981 * Insert all strings in the hash table (except for the last 1761 * Slide the hash table (could be avoided with 1764 * keep the hash table consistent if we switch 2003 * Insert new strings in the hash table only 2010 /* string at strstart already in hash table */ 2142 /* Do not insert strings in hash table beyon 4172 uInt table; /* table lengths (14 bits) */ member in struct:inflate_blocks_state::__anon6454::__anon6455 5939 local ptr_table table[MAX_PTR]; variable [all...] |
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge.c | 1710 uint32_t *table = mgp->toeplitz_hash_table; local 1722 hash = table[(256 * 0) + ((daddr >> 24) & 0xff)]; 1723 hash ^= table[(256 * 1) + ((daddr >> 16) & 0xff)]; 1724 hash ^= table[(256 * 2) + ((daddr >> 8) & 0xff)]; 1725 hash ^= table[(256 * 3) + ((daddr) & 0xff)]; 1726 hash ^= table[(256 * 4) + ((saddr >> 24) & 0xff)]; 1727 hash ^= table[(256 * 5) + ((saddr >> 16) & 0xff)]; 1728 hash ^= table[(256 * 6) + ((saddr >> 8) & 0xff)]; 1729 hash ^= table[(256 * 7) + ((saddr) & 0xff)]; 1738 hash ^= table[(25 [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/ |
H A D | zfs.c | 342 * This table can be approximately generated by running: 561 mdb_printf("hash table has %llu buckets, %llu dbufs " 646 mdb_printf(" hash table:\n"); 1158 * Print a summarized spa_t. When given no arguments, prints out a table of all 2899 sa_attr_table_t *table; local 2909 table = mdb_alloc(sizeof (sa_attr_table_t) * sa_os.sa_num_attrs, 2913 if (mdb_vread(table, sizeof (sa_attr_table_t) * sa_os.sa_num_attrs, 2922 mdb_readstr(name, MAXPATHLEN, (uintptr_t)table[i].sa_name); 2924 (int)table[i].sa_attr, (int)table[ [all...] |
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 423 static void add_file_to_table(file_list_t *table[], char *str); 427 static void build_table(file_list_t *table[], char *file); 479 static int is_in_table(file_list_t *table[], char *str); 5488 * A hash table of file names to be {in,ex}cluded is built. 5496 build_table(file_list_t *table[], char *file) argument 5506 /* Only add to table if line has something in it */ 5508 add_file_to_table(table, buf); 5515 * Add a file name to the the specified table, if the file name has any 5516 * trailing '/'s then delete them before inserting into the table 5520 add_file_to_table(file_list_t *table[], cha argument 5557 is_in_table(file_list_t *table[], char *str) argument 6262 hash_lookup_byval(cachenode_t *table[], int val) argument 6275 hash_lookup_byname(cachenode_t *table[], char *name) argument 6288 hash_insert(cachenode_t *table[], char *name, int value) argument [all...] |
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 111 #define PARTNO_EFI -2 /* EFI partition table found */ 598 * Map commands to internal table. 841 subcmd_defn_t *table, 891 for (i = 0; table[i].subcmd != NULL; i++) { 892 if (strcmp(table[i].subcmd, subcmd) == 0) 896 if (table[i].subcmd == NULL) { 901 if (table[i].unpriv == 0 && geteuid() != 0) { 909 if (table[i].unpriv == 0) 913 if (table[i].option != OPT_OPTIONAL) { 914 if ((table[ 838 check_subcmd_and_options( char *subcmd, char *opt, subcmd_defn_t *table, error_t (**fp)()) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_hw.h | 1164 uint32_t log_max_pkey :4; /* pkey table size */ 1250 uint32_t log_max_pkey :4; /* pkey table size */ 1294 uint32_t mg :1; /* change GID table */ 1295 uint32_t mp :1; /* change pkey table size */ 1326 uint32_t mp :1; /* change pkey table size */ 1327 uint32_t mg :1; /* change GID table size */ 1373 #define HERMON_HW_ENET_OPMOD_SELECT_MAC 0x0200 /* MAC table conf */ 1374 #define HERMON_HW_ENET_OPMOD_SELECT_VLAN 0x0300 /* VLAN table conf */ 1375 #define HERMON_HW_ENET_OPMOD_SELECT_PRIO 0x0400 /* Priority table */ 1567 struct hermon_hw_set_port_vlant_entry_s table[12 member in struct:hermon_hw_set_port_en_vlant_s 1572 struct hermon_hw_set_port_vlant_entry_s table[126]; member in struct:hermon_hw_set_port_en_vlant_s [all...] |
/illumos-gate/usr/src/uts/common/io/iwh/ |
H A D | iwh_hw.h | 98 * TFDB Area - TFDs buffer table 219 * TAGR Area - TAG reconstruct table 584 * CBB table 722 * The driver must maintain the queue's Byte Count table in host DRAM 732 * This mode does not require use of the Byte Count table in host DRAM. 903 * 8-4: Index into device's station table for recipient station 1498 * rate table in the Link Quality command: 1510 * legacy procedure for remaining table entries. 1518 * rate table is filled(16 entries),switching antenna each entry. 1679 * Byte Count table 2140 uint16_t table[HD_TABLE_SIZE]; member in struct:iwh_sensitivity_cmd [all...] |
/illumos-gate/usr/src/uts/common/io/iwk/ |
H A D | iwk_hw.h | 98 * TFDB Area - TFDs buffer table 218 * TAGR Area - TAG reconstruct table 586 * CBB table 718 * The driver must maintain the queue's Byte Count table in host DRAM 728 * This mode does not require use of the Byte Count table in host DRAM. 942 * 8-4: Index into device's station table for recipient station 1643 * Driver should interpolate factory values for temperature, gain table 1652 * factory-measured txpower. Using (interpolated) factory gain table index 1655 * Each step in the gain table is 1/2 dB. 1668 * increase gain (lower gain table inde 2872 uint16_t table[HD_TABLE_SIZE]; member in struct:iwk_sensitivity_cmd [all...] |
/illumos-gate/usr/src/uts/common/io/iwp/ |
H A D | iwp_hw.h | 95 * TFDB Area - TFDs buffer table 216 * TAGR Area - TAG reconstruct table 581 * CBB table 719 * The driver must maintain the queue's Byte Count table in host DRAM 729 * This mode does not require use of the Byte Count table in host DRAM. 900 * 8-4: Index into device's station table for recipient station 1498 * rate table in the Link Quality command: 1510 * legacy procedure for remaining table entries. 1518 * rate table is filled(16 entries),switching antenna each entry. 1679 * Byte Count table 2139 uint16_t table[HD_TABLE_SIZE]; member in struct:iwp_sensitivity_cmd [all...] |