Searched +defs:val +defs:entries (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/boot/sys/boot/usb/tools/
H A Dsysinit.c28 * This utility sorts sysinit structure entries in binary format and
67 read32(uint32_t val) argument
75 while (val) {
76 temp |= (val & 0xF) << ((endian & 0xF) * 4);
78 val >>= 4;
170 int entries; local
227 entries = input_len / (uint32_t)sizeof(struct sysinit_data);
229 start = do_malloc(sizeof(void *) * entries);
230 stop = start + entries;
232 for (c = 0; c != entries;
[all...]
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c100 * inittab_load(): returns all inittab entries with the specified criteria
104 * size_t *: set to the number of entries returned
105 * output: dhcp_symbol_t *: an array of dynamically allocated entries
148 * inittab_lookup(): returns inittab entries with the specified criteria
156 * size_t *: set to the number of entries returned
166 dhcp_symbol_t *new_entries, *entries = NULL; local
227 * validate the values in the entries; skip if invalid.
250 * and if so, throw it onto the set of entries we'll return.
269 new_entries = realloc(entries, (n_entries + 1) *
292 entries
474 int dig, val; local
648 int dig, val, inchr; local
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_txdma.c302 uint64_t val; local
315 TX_LOG_REG_READ64(handle, TX_LOG_PAGE_VLD_REG, channel, &val);
319 " READ back 0x%llx\n ", val));
322 TX_LOG_REG_READ64(handle, TX_LOG_PAGE_VLD_REG, channel, &val);
324 val &= 0x3;
325 vld.value |= val;
395 uint64_t val; local
407 TX_LOG_REG_READ64(handle, TX_LOG_PAGE_VLD_REG, channel, &val);
412 cfgp->func_num, val));
414 vld.value |= val;
513 uint64_t val; local
1606 npi_txdma_desc_set_zero(npi_handle_t handle, uint16_t entries) argument
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_db2.c156 krb5_db2_get_db_opt(char *input, char **opt, char **val) argument
161 *val = strdup(input);
162 if (*val == NULL) {
167 *val = strdup(pos + 1);
168 if (!*opt || !*val) {
953 * returns number of entries found, and whether there were
960 krb5_db_entry *entries, /* filled in */
1015 retval = krb5_decode_princ_contents(context, &contdata, entries);
1030 krb5_db2_db_free_principal(krb5_context context, krb5_db_entry *entries, argument
1035 krb5_dbe_free_contents(context, &entries[
958 krb5_db2_db_get_principal(krb5_context context, krb5_const_principal searchfor, krb5_db_entry *entries, int *nentries, krb5_boolean *more) argument
1050 krb5_db2_db_put_principal(krb5_context context, krb5_db_entry *entries, int *nentries, char **db_args) argument
1311 krb5_db_entry entries; local
1390 char *opt = NULL, *val = NULL; local
1464 char *opt = NULL, *val = NULL; local
1562 char *opt = NULL, *val = NULL; local
1658 char *opt = NULL, *val = NULL; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dname.c97 } entries[NVCACHE]; member in struct:Namcache
142 char *val; local
147 else if(!(val=nv_getsub(np)) || strcmp(val,"0"))
150 if(!(val = nv_getval(np)))
154 stakputs(val);
1077 for(c=0,xp=nvcache.entries ; c < NVCACHE; xp= &nvcache.entries[++c])
1201 for(c=0,xp=nvcache.entries ; c < NVCACHE; xp= &nvcache.entries[
2356 put_optimize(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvd.c472 * 'tbl' specifies the table to use, 'val' specifies the 'x', returns 'y'
478 int entries; local
483 entries = tbl->nentries;
489 if ((xval < xymap[0].x) || (xval > xymap[entries - 1].x))
493 if (xval == xymap[entries - 1].x)
494 return (xymap[entries - 1].y);
496 for (i = 1; i < entries - 1; i++) {
2407 int fd, val; local
2431 (void) memcpy(&val, (caddr_t)buf, sizeof (val));
2491 int fd, val; local
2575 int fd, val; local
2653 int fd, val; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvd.c507 /* number of entries in the temp-lpm table */
535 * 'tbl' specifies the table to use, 'val' specifies the 'x', returns 'y'
541 int entries; local
546 entries = tbl->nentries;
550 else if (xval >= xymap[entries - 1].x)
551 return (xymap[entries - 1].y);
553 for (i = 1; i < entries - 1; i++) {
706 int i, entries, new_temp, denominator; local
710 entries = sensorp->obs2exp_cnt;
712 if (entries <
754 int i, entries, new_temp, denominator; local
2299 long val; local
2400 long val; local
2586 int val; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvd.c334 * 'tbl' specifies the table to use, 'val' specifies the 'x', returns 'y'
340 int entries; local
345 entries = tbl->nentries;
349 else if (xval >= xymap[entries - 1].x)
350 return (xymap[entries - 1].y);
352 for (i = 1; i < entries - 1; i++) {
1664 int fd, val; local
1687 (void) memcpy(&val, (caddr_t)buf, sizeof (val));
1689 if (val
1746 int fd, val; local
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dfillsysinfo.c305 char *val; local
311 (uint8_t **)&val, &vallen))
314 for (p = val; *p != '\0'; p += strlen(p) + 1) {
822 * This routine sets the globals for CPU and DEV mondo queue entries and
823 * resumable and non-resumable error queue entries.
836 uint64_t entries; local
842 if (md_get_prop_val(mdp, cpu_node_cookie, qnamep, &entries)) {
846 entries = default_entries;
848 entries = 1 << entries;
1026 uint64_t val = 0; local
[all...]
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndradm.c292 /* get sndr entries until shost, sfile match */
864 /* get ndr_ii entries until a match is found */
942 /* get ndr_ii entries in case a match is found */
1069 int entries; local
1084 entries = cfg_get_section(cfg, &entry, "ii");
1085 for (i = 0; i < entries; i++) {
1107 if (entries)
1115 entries = cfg_get_section(cfg, &entry, "sndr");
1116 for (i = 0; i < entries; i++) {
1212 if (entries)
1675 int entries; local
3470 char tag[CFG_MAX_BUF], val[CFG_MAX_BUF]; local
3723 char tag[CFG_MAX_BUF], val[CFG_MAX_BUF]; local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dpcic.c5208 int val; local
5212 val = ddi_get8(pcic->handle,
5217 val = pcic_getb(pcic, sn, PCIC_CL_EXINDEX + 1);
5221 return (val);
5394 uchar_t val; local
5397 val = PCIC_82092_SMI_CTL(socket,
5399 ppirr &= ~val;
5400 val = PCIC_82092_SMI_CTL(socket, state);
5401 ppirr |= val;
5403 val
5883 int len, entries, rlen; local
6018 pcic_apply_avail_ranges(dev_info_t *dip, pcm_regs_t *pcic_p, pci_regspec_t *pci_p, int entries) argument
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt.c126 static int qlt_dump_queue(qlt_state_t *qlt, caddr_t qadr, int entries,
314 uint16_t val; local
445 val = 0;
447 val = 1;
449 val = 2;
451 val = 3;
460 mr = (uint16_t)(mr | (val << 2));
465 val = 0;
467 val = 1;
469 val
2839 uint32_t val, *ptr; local
5762 qlt_dump_queue(qlt_state_t *qlt, caddr_t qadr, int entries, caddr_t buf, uint_t size_left) argument
6168 int val; local
[all...]
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c100 #define PCICFG_RANGE_LEN 2 /* Number of range entries */
2936 * Workaround for Devconf (x86) bug to skip extra entries
3410 uint16_t val, cap_ptr; local
3434 val = pci_config_get16(config_handle, PCI_CONF_VENID);
3437 "vendor-id", val)) != DDI_SUCCESS) {
3440 val = pci_config_get16(config_handle, PCI_CONF_DEVID);
3442 "device-id", val)) != DDI_SUCCESS) {
3459 val = (pci_config_get16(config_handle,
3462 "devsel-speed", val)) != DDI_SUCCESS) {
3500 if ((val
3948 uint16_t val; local
6360 int assigned_len, entries, i; local
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h664 u8_t num_of_cos; //valid COS entries
1172 * It is a separate area than areas the have arrays for clients / status-blocks. Technically, the driver can decide to have separate entries
1173 * for producers + dhc entries (it has to do with permissions in PXP for VFs..., for now there is no reason to do this. And we'll use the same
1217 //((pdev)->params.base_fw_client_id + (val))
1429 lm_nig_mirror_entry_t entries[MAX_MAC_OFFSET_IN_NIG]; member in struct:_lm_nig_mirror_t
2091 2. All entries must always contain a valid COS value that will be between "num_of_opr_cos -1".
2777 /* structures to support searcher hash table entries */
3702 u32_t val);
3715 u32_t val);
3738 u16_t val);
4083 u32_t val; local
4132 u32_t val; local
4144 u32_t val; local
4173 u32_t val; local
4185 u32_t val; local
4286 DOORBELL(lm_device_t *pdev, u32_t cid, u32_t val) argument
[all...]

Completed in 153 milliseconds