Searched defs:value (Results 1 - 25 of 1381) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/lib/libstand/
H A Denvironment.c64 * If (value) is NULL, the variable is set but has no value.
67 env_setenv(const char *name, int flags, const void *value, argument
78 return (ev->ev_sethook(ev, flags, value));
129 /* If we have a new value, use it */
131 ev->ev_value = strdup(value);
134 ev->ev_value = (char *)value;
146 /* Set but no value gives empty string */
156 setenv(const char *name, const char *value, int overwrite) argument
160 return(env_setenv(name, EV_VOLATILE, value, NUL
167 char *value, *copy; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Dat91rm9200_lowlevel.c53 register unsigned value; local
83 value = AT91C_BASE_CKGR->CKGR_PLLAR;
84 value &= ~(AT91C_CKGR_DIVA | AT91C_CKGR_OUTA | AT91C_CKGR_MULA);
85 value |= OSC_MAIN_FREQ_DIV | AT91C_CKGR_OUTA_2 | AT91C_CKGR_SRCA |
87 AT91C_BASE_CKGR->CKGR_PLLAR = value;
94 value = AT91C_BASE_PMC->PMC_MCKR;
95 value &= ~(AT91C_PMC_MDIV | AT91C_PMC_PRES);
96 value |= AT91C_PMC_MDIV_3 | AT91C_PMC_PRES_CLK;
97 AT91C_BASE_PMC->PMC_MCKR = value;
104 value
[all...]
H A Demac.c346 unsigned value = 0x60020000 | (addr << 18); local
349 pEmac->EMAC_MAN = value;
366 unsigned value = 0x50020000 | (addr << 18) | s; local
369 pEmac->EMAC_MAN = value;
H A Dmemset.c32 p_memset(char *buffer, char value, int size) argument
35 *buffer++ = value;
H A Dp_string.c30 * void p_memset(char *buffer, char value, int size)
32 * number of bytes to value.
36 p_memset(char *buffer, char value, int size) argument
39 *buffer++ = value;
H A Dspi_flash.c38 * Private function sends 8-bit value to the device and returns the 8-bit
39 * value in response.
222 unsigned value; local
256 value = pSPI->SPI_RDR;
257 value = pSPI->SPI_SR;
259 value = GetFlashStatus() & 0xFC;
261 if (value != 0xB4 && value != 0xAC)
262 printf(" Bad SPI status: 0x%x\n", value);
264 if (value !
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dconsole.c38 static int cons_set(struct env_var *ev, int flags, const void *value);
42 static int twiddle_set(struct env_var *ev, int flags, const void *value);
56 /* We want a callback to install the new value when this var changes. */
176 cons_set(struct env_var *ev, int flags, const void *value) argument
180 if ((value == NULL) || (cons_check(value) == 0)) {
188 ret = cons_change(value);
192 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
301 twiddle_set(struct env_var *ev, int flags, const void *value) argument
306 tdiv = strtoul(value,
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Ddevicename.c183 * Set currdev to suit the value being supplied in (value)
186 efi_setcurrdev(struct env_var *ev, int flags, const void *value) argument
191 rv = efi_parsedev(&ncurr, value, NULL);
196 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
/illumos-gate/usr/src/boot/sys/boot/fdt/
H A Dfdt_loader_cmd.c379 /* Set actual property to a value from vect */
1188 /* Property without value */
1199 * Process property with value
1234 fdt_modprop(int nodeoff, char *propname, void *value, char mode) argument
1245 /* Adding inexistant value in mode 1 is forbidden */
1253 len = strlen(value);
1255 buf = value;
1280 rv = fdt_setprop_string(fdtp, nodeoff, propname, value);
1370 char *path, *propname, *value; local
1376 value
1457 char *path, *propname, *value; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dcomconsole.c78 const void *value);
82 static int comc_parse_mode(struct serial *sp, const char *value);
140 char value[20]; local
177 env = comc_print_mode(port, value);
191 sprintf(value, "%s", port->ignore_cd? "true":"false");
193 env_setenv(name, EV_VOLATILE, value, comc_cd_set, env_nounset);
204 sprintf(value, "%s", port->rtsdtr_off? "true":"false");
206 env_setenv(name, EV_VOLATILE, value, comc_rtsdtr_set, env_nounset);
280 comc_parse_mode(struct serial *sp, const char *value) argument
287 n = strtol(value,
380 comc_mode_set(struct env_var *ev, int flags, const void *value) argument
401 comc_cd_set(struct env_var *ev, int flags, const void *value) argument
428 comc_rtsdtr_set(struct env_var *ev, int flags, const void *value) argument
532 comc_pcidev_set(struct env_var *ev, int flags, const void *value) argument
[all...]
H A Ddevicename.c193 * Set currdev to suit the value being supplied in (value)
196 i386_setcurrdev(struct env_var *ev, int flags, const void *value) argument
201 if ((rv = i386_parsedev(&ncurr, value, NULL)) != 0)
204 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
H A Dlinux.c312 char *value = vga + 4; local
315 if (strncmp(value, "normal", 6) < 1)
317 else if (strncmp(value, "ext", 3) < 1)
319 else if (strncmp(value, "ask", 3) < 1)
327 * however, the actual value is 16bit, so
330 mode = strtol(value, NULL, 0);
332 printf("bad value for video mode\n");
/illumos-gate/usr/src/boot/sys/boot/i386/loader/
H A Dmain.c69 static void isa_outb(int port, int value);
420 isa_outb(int port, int value) argument
423 outb(port, value);
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Ddevicename.c136 ofw_setcurrdev(struct env_var *ev, int flags, const void *value) argument
141 if ((rv = ofw_parsedev(&ncurr, value, NULL)) != 0)
145 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Ddevicename.c188 * Set currdev to suit the value being supplied in (value).
191 uboot_setcurrdev(struct env_var *ev, int flags, const void *value) argument
196 if ((rv = uboot_parsedev(&ncurr, value, NULL)) != 0)
199 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
H A Dglue.c485 char *value; local
487 if (!syscall(API_ENV_GET, NULL, name, &value))
490 return (value);
494 ub_env_set(const char *name, char *value) argument
497 syscall(API_ENV_SET, NULL, name, value);
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Ddevicename.c211 * Set currdev to suit the value being supplied in (value)
214 userboot_setcurrdev(struct env_var *ev, int flags, const void *value) argument
219 if ((rv = userboot_parsedev(&ncurr, value, NULL)) != 0)
222 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dzfs.c297 uint64_t value; local
358 * Assume the first eight bytes of the value are
361 value = fzap_leaf_value(&zl, zc);
363 d->d_fileno = ZFS_DIRENT_OBJ(value);
364 d->d_type = ZFS_DIRENT_TYPE(value);
877 zfs_belist_add(const char *name, uint64_t value __unused)
H A Dzfsimpl.c1320 * Lookup a value in a microzap directory. Assumes that the zap
1324 mzap_lookup(const dnode_phys_t *dnode, const char *name, uint64_t *value) argument
1343 *value = mze->mze_value;
1382 * Extract a uint64_t value from a zap leaf entry.
1389 uint64_t value; local
1393 for (i = 0, value = 0, p = vc->l_array.la_array; i < 8; i++) {
1394 value = (value << 8) | p[i];
1397 return value;
1401 * Lookup a value i
1405 fzap_lookup(const spa_t *spa, const dnode_phys_t *dnode, const char *name, uint64_t *value) argument
1485 zap_lookup(const spa_t *spa, const dnode_phys_t *dnode, const char *name, uint64_t *value) argument
1563 uint64_t value; local
1651 mzap_rlookup(const spa_t *spa, const dnode_phys_t *dnode, char *name, uint64_t value) argument
1704 fzap_rlookup(const spa_t *spa, const dnode_phys_t *dnode, char *name, uint64_t value) argument
1752 zap_rlookup(const spa_t *spa, const dnode_phys_t *dnode, char *name, uint64_t value) argument
2051 check_feature(const char *name, uint64_t value) argument
[all...]
/illumos-gate/usr/src/boot/sys/sys/
H A Ddisk.h45 * value is mostly used for compatibility with various ill designed
52 * value is mostly used for compatibility with various ill designed
86 * - ident value is preserved between reboots,
89 * - ident value should not be based on on-disk metadata; in other
135 } value; member in struct:diocgattr_arg
H A Dlinker.h58 caddr_t value; member in struct:linker_symval
89 int loadcnt; /* load counter value */
136 * predicate function while the function returns 0. Returns the value
177 int linker_ddb_search_symbol_name(caddr_t value, char *buf, u_int buflen,
183 int linker_search_symbol_name(caddr_t value, char *buf, u_int buflen,
H A Dmount.h138 void *value; member in struct:vfsopt
852 off_t *value);
858 int vfs_setopt(struct vfsoptlist *opts, const char *name, void *value,
860 int vfs_setopt_part(struct vfsoptlist *opts, const char *name, void *value,
863 const char *value);
/illumos-gate/usr/src/boot/sys/ufs/ffs/
H A Dfs.h80 * Max number of fragments per block. This value is NOT tweakable.
147 * value of fs_maxcontig. To conserve space, a maximum summary size
159 * value of fs_minfree is 5%. However, to get good clustering
161 * default value. With 10% free space, fragmentation is not a
231 int64_t value; /* inode or block number to be affected */ member in struct:fsck_cmd
294 int32_t fs_nindir; /* value of NINDIR */
295 u_int32_t fs_inopb; /* value of INOPB */
296 int32_t fs_old_nspf; /* value of NSPF */
/illumos-gate/usr/src/cmd/abi/spectrans/parser/
H A Dextends.c38 static int find_fun(char *key, char *value, char *parentfun);
46 do_extends(const Meta_info parentM, const Translator_info *T_info, char *value) argument
68 scan = sscanf(value, "%s %s %s %s", funname, buf, filename, parentfun);
269 * given a key value pair, and the name of the function you are
275 find_fun(char *key, char *value, char *parentfun) argument
284 (void) sscanf(value, "%1023s", pfun);
H A Dfrontend.c147 * value to the back-end translator to process. The following
160 char key[BUFSIZ], *value = NULL, *p = NULL; local
213 p = realloc(value, sizeof (char)*(strlen(buf2)+1));
217 "value: %d\n", errno);
219 value = p;
220 split(buf2, key, value);
226 retval = xlator_start_if(meta_info, ki, value);
245 value, T_info->ti_archtoken, spec_fp);
259 T_info, value);
273 "interface %s\n", value);
428 split(const char *line, char *key, char *value) argument
464 check4extends(const char *filename, const char *value, int arch, FILE *fp) argument
[all...]

Completed in 174 milliseconds

1234567891011>>