Searched defs:sval (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dxsem.c128 xsem_getvalue(xsem_t *sem, int *sval) argument
130 *sval = sem->semaphore;
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsem.c349 sem_getvalue(sem_t *sem, int *sval) argument
353 *sval = (int)sem->sem_count;
/illumos-gate/usr/src/cmd/ttymon/
H A Dstty.c730 int sval = -1; local
735 sval = speeds[i].value;
740 (void) printf("%s%d baud; ", c, sval);
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_value.c297 char *sval; local
332 if (nvpair_value_string(pn, &sval) != 0) {
336 if (pool_value_set_string(pv, sval) != PO_SUCCESS)
H A Dpool_internal.c513 const char *sval; local
515 if (pool_value_get_string(pval, &sval) != PO_SUCCESS) {
519 if (strcmp(POA_IMPORTANCE, sval) != 0 &&
520 strcmp(POA_SURPLUS_TO_DEFAULT, sval) != 0) {
H A Dpool_xml.c2308 const char *sval; local
2377 (void) pool_value_get_string(props[i], &sval);
2378 if (append_char_buf(cb, fmts[pvc], prop_name, sval)
H A Dpool_kernel.c1434 const char *sval; local
1470 if (pool_value_get_string(props[0], &sval) != PO_SUCCESS) {
1474 if ((name = strdup(sval)) == NULL) {
1521 const char *sval; local
1578 if (pool_value_get_string(props[0], &sval) != PO_SUCCESS) {
1581 if ((name = strdup(sval)) == NULL) {
3489 const char *sval; local
3543 if (pool_value_get_string(pv, &sval) == POC_INVAL) {
3546 if (nvlist_add_string(list, nv_name, (char *)sval) != 0) {
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dasn1.c132 short sval; local
144 sval = (short)val; /* yes, loss of data intended */
149 else if (val == (int)sval)
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dioctl.c84 char *sval; local
91 (void) nvpair_value_string(nvp, &sval);
92 pyval = Py_BuildValue("s", sval);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dutils.c190 int64_t sval; local
193 long sval; local
280 sval = va_arg(args, int64_t);
284 sval = va_arg(args, long);
286 sval = va_arg(args, int);
287 if (sval < 0) {
289 val = -sval;
291 val = sval;
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dauto_subr.c460 * *sval to whatever follows the equal sign after "opt".
462 * "opt" plus a terminating null character and returns it as *sval.
463 * It is the responsability of the caller to deallocate *sval.
464 * *sval will be equal to NULL upon return if either "opt=" is not found,
470 str_opt(struct mnttab *mnt, char *opt, char **sval) argument
487 *sval = strdup(str);
490 if (*sval == NULL)
493 *sval = NULL;
/illumos-gate/usr/src/cmd/awk/
H A Dawk.h102 uchar *sval; /* string value */ member in struct:Cell
146 (((p)->tval & (ARR|FLD|REC|STR)) == STR ? (p)->sval : r_getsval(p))
/illumos-gate/usr/src/uts/common/io/usb/clients/usbkbm/
H A Dusbkbm.c241 int sval; local
245 sval = space_store("SUNW,usbkbm_state", (uintptr_t)sp);
251 if (sval != 0) {
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c407 int16_t sval; local
435 sval = (int16_t)strtol(val, &endptr, 0);
438 (void) memcpy(outbuf, &sval, size);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_pf.c824 uint16_t sval; local
842 (void) memcpy(&sval, addr, 2);
843 pf_compare_value(offset, 2, sval);
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c1369 char *sval, *ssrc; local
1428 nvlist_lookup_string(ulist, ZPROP_VALUE, &sval) != 0 ||
1440 (void) strlcpy(mpp->mp_value, sval, ZFS_MAXPROPLEN);
/illumos-gate/usr/src/cmd/pools/poold/libjpool/
H A Djpool.c1618 const char *sval; local
1648 (void) pool_value_get_string(pv, &sval);
1649 (void) pool_value_set_string(pv_new, sval);
/illumos-gate/usr/src/tools/ctf/cvt/
H A Ddwarf.c687 Dwarf_Signed sval; local
721 else if (die_signed(dw, dim, DW_AT_upper_bound, &sval, 0))
722 ar->ad_nelems = sval + 1;
842 Dwarf_Signed sval; local
866 if (die_signed(dw, mem, DW_AT_const_value, &sval, 0)) {
867 el->el_number = sval;
/illumos-gate/usr/src/lib/libpicltree/
H A Dpicltree.c2670 int16_t sval; local
2695 sval = (int16_t)strtol(val, (char **)NULL, 0);
2696 return (sval == *(int16_t *)vbuf);
/illumos-gate/usr/src/uts/common/io/
H A Dpcic.c5036 int sval; local
5038 sval = 0;
5040 sval = socket;
5041 value = pcic_getb(pcic, sval, cregs[i].off);
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c161 static void mkshort(short sval[], long v);
5417 mkshort(short sval[], long v) argument
5422 swp_p = (union swpbuf *)sval;
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c6632 int sval; local
6949 sval = sd_send_scsi_TEST_UNIT_READY(ssc,
6951 if (sval != 0)
6961 sval = sd_send_scsi_START_STOP_UNIT(ssc, SD_POWER_CONDITION,
6966 sval = sd_send_scsi_START_STOP_UNIT(ssc, SD_START_STOP,
6970 if (sval != 0) {
6971 if (sval == EIO)
6978 if ((sval == ENXIO) && un->un_f_has_removable_media) {
6992 if ((medium_present == TRUE) && (sval != 0)) {
7035 if ((sval !
[all...]
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c9874 uint64_t sval; local
9894 sval = dp->dtdo_inttab[DIF_INSTR_INTEGER(instr)];
9927 if ((srd == 0 || sval == 0) && r1 == DIF_TYPE_STRING) {
9940 if (sval > LONG_MAX)
9943 tupregs[ttop++].dttk_size = sval;
9965 sval = 0;

Completed in 2402 milliseconds