/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/ |
H A D | xsem.c | 128 xsem_getvalue(xsem_t *sem, int *sval) argument 130 *sval = sem->semaphore;
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | sem.c | 349 sem_getvalue(sem_t *sem, int *sval) argument 353 *sval = (int)sem->sem_count;
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | stty.c | 730 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 D | pool_value.c | 297 char *sval; local 332 if (nvpair_value_string(pn, &sval) != 0) { 336 if (pool_value_set_string(pv, sval) != PO_SUCCESS)
|
H A D | pool_internal.c | 513 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 D | pool_xml.c | 2308 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 D | pool_kernel.c | 1434 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 D | asn1.c | 132 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 D | ioctl.c | 84 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 D | utils.c | 190 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 D | auto_subr.c | 460 * *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 D | awk.h | 102 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 D | usbkbm.c | 241 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 D | picld_pluginutil.c | 407 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 D | snoop_pf.c | 824 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 D | tlm_backup_reader.c | 1369 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 D | jpool.c | 1618 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 D | dwarf.c | 687 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 D | picltree.c | 2670 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 D | pcic.c | 5036 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 D | cpio.c | 161 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 D | sd.c | 6632 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 D | dtrace.c | 9874 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;
|