Searched defs:value (Results 301 - 325 of 1381) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim.c443 * mode). If this is successful then the value is forced into DBM
566 datum value; local
583 value = dbm_fetch(map->ttl, key);
585 if (NULL != value.dptr) {
590 bcopy(value.dptr, &old_time, sizeof (time_t));
611 value.dptr = (char *)&(stats.st_mtime);
612 value.dsize = sizeof (time_t);
613 dbm_store(map->ttl, key, value, DBM_REPLACE);
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_scfutil.c193 scf_value_t *value = NULL; local
203 value = scf_value_create(handle->scf_handle);
205 if (value != NULL && entry != NULL) {
210 if (scf_value_set_astring(value, valstr) == 0) {
211 if (scf_entry_add_value(entry, value) != 0) {
213 scf_value_destroy(value);
215 /* the value is in the transaction */
216 value = NULL;
218 /* value couldn't be constructed */
241 if (value !
257 scf_value_t *value; local
294 scf_value_t *value = NULL; local
351 scf_value_t *value = NULL; local
389 scf_value_t *value = NULL; local
446 scf_value_t *value = NULL; local
482 scf_value_t *value; local
545 scf_value_t *value = NULL; local
[all...]
H A Dsmb_ht.c59 * Inline function to determine if a value is a power of two. This
63 * Returns 1 if value given is power of two, otherwise returns 0.
66 ht_is_power2(size_t value) argument
68 return (((value & (value - 1)) == 0)? 1 : 0);
169 * Default hash function to compute the table index (hash value) based
301 * return value will be null. Otherwise, the data pointer supplied by the
/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dprocess_xattrs.c273 boolean_t value; local
300 &value) != 0) {
307 if (value && fattr != F_ARCHIVE &&
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_osdep.c203 uint16_t pcie_cap, value; local
216 value = pci_config_get16(OS_DEP(hw)->ios_cfg_handle,
219 i40e_set_pci_config_data(hw, value);
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_mac.c430 efx_qword_t value; local
443 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PKTS, &value);
444 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value);
446 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_CONTROL_PKTS, &value);
447 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value);
449 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PAUSE_PKTS, &value);
450 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PAUSE_PKTS]), &value);
452 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_UNICAST_PKTS, &value);
453 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_UNICST_PKTS]), &value);
455 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_MULTICAST_PKTS, &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/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/cmd/ptools/psecflags/
H A Dpsecflags.c87 getid(idtype_t type, char *value) argument
96 if ((pwd = getpwnam(value)) != NULL)
100 if ((grp = getgrnam(value)) != NULL)
104 if ((ret = getprojidbyname(value)) != (id_t)-1)
108 if (zone_get_id(value, &ret) == 0)
117 ret = (id_t)strtoul(value, &endp, 10);
/illumos-gate/usr/src/common/secflags/
H A Dsecflags.c173 secflag_t value; member in struct:flagdesc
189 *ret = fd->value;
203 if (sf == fd->value)
224 if (secflag_isset(flags, fd->value)) {
230 secflag_clear(&flags, fd->value);
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaAttrManager.c541 * Sets the value of the specified attribute. Any portion of the old value
542 * which will not be overwritten by the new value is zeroed out.
561 /* Store the new value. */
563 /* Existing storage is sufficient to store new value. */
575 * If app sets a large value (triggering a malloc),
576 * then sets a tiny value, and finally again sets
577 * a large value (phew!) we could end up here.
580 * we can regrow the value up to the original size.
591 /* Need to allocate storage for the new value
651 CK_ULONG *value = attributes[i].pValue; local
678 CK_BBOOL *value = attributes[i].pValue; local
707 set_template_boolean(CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE *attributes, CK_ULONG num_attributes, boolean_t local, CK_BBOOL *value) argument
[all...]
H A DmetaSlotManager.c200 * environment variable is defined, the value of the defined variable(s)
589 metaslot_set_logged_in_flag(boolean_t value) argument
592 metaslotLoggedIn = value;
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDSA.c406 uchar_t *value, uint32_t value_len, boolean_t public)
445 while (value[0] == 0) { /* remove preceding 0x00 */
446 value++;
450 if ((rv = dup_bigint_attr(&src, value, value_len)) != CKR_OK)
405 soft_genDSAkey_set_attribute(soft_object_t *key, CK_ATTRIBUTE_TYPE type, uchar_t *value, uint32_t value_len, boolean_t public) argument
H A DsoftEC.c219 uchar_t value[EC_MAX_VALUE_LEN]; local
220 uint32_t value_len = sizeof (value);
235 template.pValue = value;
242 private_value_item.data = value;
471 uchar_t value[EC_MAX_VALUE_LEN]; local
491 rv = soft_get_private_value(key, CKA_VALUE, value, &value_len);
496 ECkey.privateValue.data = value;
/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dcommon.c113 char *value = NULL; local
116 name, &value);
119 NULL, &value))
120 list_append(values, value);
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dnss.c248 char *s_iter = NULL, *value, *tmp = strdup(string); local
250 for (value = strtok_r(tmp, ", \t", &s_iter);
251 value != NULL;
252 value = strtok_r(NULL, ", \t", &s_iter))
254 "member-names", value);
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-job.c80 add_lpd_control_line(char **metadata, char code, char *value) argument
85 if ((metadata == NULL) || (value == NULL))
90 size += strlen(value) + 3;
105 snprintf(line, sizeof (line), "%c%s\n", code, value);
112 add_svr4_control_line(char **metadata, char code, char *value) argument
117 if ((metadata == NULL) || (value == NULL))
120 snprintf(line, sizeof (line), "%c%s", code, value);
126 add_hpux_control_line(char **metadata, char *value) argument
131 if ((metadata == NULL) || (value == NULL))
134 snprintf(line, sizeof (line), " O%s", value);
140 add_int_control_line(char **metadata, char code, int value, int flag) argument
[all...]
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dns_bsd_addr.c176 value_to_string(const char *key, void *value) argument
180 if ((key != NULL) && (value != NULL)) {
182 string = bsd_addr_to_string(value);
185 string = list_to_string(value);
187 string = internal_list_to_string(value);
189 string = strdup((char *)value);
200 void *value = NULL; local
204 value = (void *)string_to_bsd_addr(string);
207 value = (void *)strsplit(string, ",");
209 value
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_msg.c91 "option requires value: %s",
92 "option requires no value: %s",
93 "option value invalid: %s %s",
188 char *value; local
266 get_str(value, ap, STR_NULL);
267 len += strlen(value);
268 DBG("<%s>", value);
384 (void) snprintf(p, len, fmt, option, value);
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/
H A Dopl_dev_led.c149 * Print the value of the hard disk locator in a human friendly form.
181 * Print the value of the hard disk fault LED in a human friendly form.
298 * name=value[,name=value]
299 * So first, split the function based on the comma into two name-value
314 char *value = NULL; local
328 switch (getsubopt(&optptr, opl_opts, &value)) {
331 locator_value = value;
335 led_value = value;
339 mode_value = value;
[all...]
/illumos-gate/usr/src/lib/efcode/pci/
H A Dpci.c132 fc_cell_t value; local
140 &value);
146 PUSH(DS, value);
153 fc_cell_t value; local
160 value = POP(DS);
162 fc_uint32_t2cell(value));
166 cfgadd, value);
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_2xml.c39 /* 2 bytes for "0x" + 16 bytes for the hex value + 1 for sign + null */
67 char *name, *value; local
74 value = va_arg(ap, char *);
75 (void) fprintf(fp, "%s='%s' ", name, value);
84 char *name, *value; local
91 value = va_arg(ap, char *);
92 (void) fprintf(fp, "%s='%s' ", name, value);
H A Dtopo_subr.c139 char *end, *value, *next; local
143 value = (char *)dbmode;
145 for (end = (char *)dbmode; *end != '\0'; value = next) {
146 end = strchr(value, ',');
150 next = end = value + strlen(value);
152 env_process_value(thp, value, end);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgic_opt.c283 if (opte->opt_private->preauth_data[i].value != NULL)
284 free(opte->opt_private->preauth_data[i].value);
295 const char *value)
314 newpad[i].value = strdup(value);
315 if (newpad[i].value == NULL) {
336 const char *value)
349 retval = add_gic_opt_ext_preauth_data(context, opte, attr, value);
356 retval = krb5_preauth_supply_preauth_data(context, opte, attr, value);
403 p[i].value
292 add_gic_opt_ext_preauth_data(krb5_context context, krb5_gic_opt_ext *opte, const char *attr, const char *value) argument
333 krb5_get_init_creds_opt_set_pa(krb5_context context, krb5_get_init_creds_opt *opt, const char *attr, const char *value) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Derrmap.h49 * void set(idx, value) -> aborts if out of range
50 * struct mecherrmap__pair get(idx) -> value, or aborts if out of range
128 mecherrmap__pairarray_set (mecherrmap__pairarray *arr, long idx, struct mecherrmap__pair value)
132 *newvalp = value;
126 mecherrmap__pairarray_set(mecherrmap__pairarray *arr, long idx, struct mecherrmap__pair value) argument

Completed in 111 milliseconds

<<11121314151617181920>>