/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_chkpnt.c | 143 char vol[ZFS_MAX_DATASET_NAME_LEN]; local 146 get_zfsvolname(vol, sizeof (vol), vol_name) == -1) 154 if (ndmp_has_backup_snapshot(vol, jname)) 155 (void) snapshot_destroy(vol, jname, B_FALSE, B_TRUE, NULL); 157 return (snapshot_create(vol, jname, B_FALSE, B_TRUE)); 177 char vol[ZFS_MAX_DATASET_NAME_LEN]; local 180 get_zfsvolname(vol, sizeof (vol), vol_name) == -1) 183 return (snapshot_destroy(vol, jnam [all...] |
H A D | ndmpd_dtime.c | 836 char vol[ZFS_MAX_DATASET_NAME_LEN]; local 856 (get_zfsvolname(vol, sizeof (vol), path) == 0) && 857 ((zhp = zfs_open(zlibh, vol, ZFS_TYPE_DATASET)) != NULL)) { 960 char vol[ZFS_MAX_DATASET_NAME_LEN]; local 971 (get_zfsvolname(vol, sizeof (vol), path) == 0) && 972 ((zhp = zfs_open(zlibh, vol, ZFS_TYPE_DATASET)) != NULL)) { 997 char vol[ZFS_MAX_DATASET_NAME_LEN]; local 1008 (get_zfsvolname(vol, sizeo [all...] |
/illumos-gate/usr/src/lib/librdc/common/ |
H A D | rdcpersist.c | 79 char *vol, *bmp, *host1, *host2; local 95 vol = strtok(NULL, " "); 101 vol = strtok(NULL, " "); 109 /* primary vol may be used more than once */ 110 volcount = (volcount_t *)nsc_lookup(volhash, vol); 116 nsc_insert_node(volhash, volcount, vol); 133 sv_enable_one_nocfg(char *vol) argument 140 if (stat(vol, &sb) != 0) { 141 rdc_set_error(NULL, RDC_OS, 0, "unable to stat %s", vol); 146 " a character device", vol); 184 char vol[NSC_MAXPATH]; local 266 char vol[NSC_MAXPATH]; local 309 char vol[NSC_MAXPATH]; local [all...] |
/illumos-gate/usr/src/cmd/audio/audiorecord/ |
H A D | audiorecord.c | 123 "\t%s [-af] [-v vol]\n" 183 double vol; local 617 vol = (double)Volume / (double)MAX_GAIN; 619 err = audio_set_record_gain(Audio_fd, &vol);
|
/illumos-gate/usr/src/cmd/avs/dsstat/ |
H A D | ii_stats.c | 371 char vol[(NAMED_LEN * 4) + 1] = {0}; local 377 (void) strncpy(vol, c, NAMED_LEN); 379 (void) strncat(vol, c, NAMED_LEN); 381 (void) strncat(vol, c, NAMED_LEN); 383 (void) strncat(vol, c, NAMED_LEN); 385 offset = strlen(vol) - NAMED_LEN; 390 (void) printf(DATA_C16, vol + offset); 471 char vol[(NAMED_LEN * 4) + 1] = {0}; local 475 (void) strncat(vol, c, NAMED_LEN); 477 (void) strncat(vol, 512 char vol[(NAMED_LEN * 4) + 1] = {0}; local 553 char vol[(NAMED_LEN * 4) + 1] = {0}; local 594 char vol[(NAMED_LEN * 4) + 1] = {0}; local [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | safestore_ram.c | 234 ss_ram_getvdirent(const ss_vdir_t *vdir, ss_voldata_t *vol) argument 240 if (vol == NULL) 253 vol->sv_vol = (ss_vol_t *) 257 rc = ss_ram_getvol(vol);
|
H A D | sd_ft.c | 994 sdbc_recover_vol(ss_vol_t *vol, int cd) argument 1007 key.cdk_u.ck_vol = vol;
|
/illumos-gate/usr/src/uts/common/io/audio/ac97/ |
H A D | ac97_alc.c | 125 uint8_t vol; local 128 vol = value & 0xff; 131 mute = vol ? 0 : ASD_SURROUND_MUTE; 132 adj_value = ac_val_scale(vol, vol, 5) | mute;
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_output.c | 172 int vol; local 181 vol = sp->s_gain_eff; 201 samp *= vol;
|
H A D | audio_oss.c | 867 int vol; local 870 vol = auclnt_get_gain(auclnt_output_stream(c)); 871 *volp = vol | (vol << 8); 878 uint8_t vol; local 880 vol = *volp & 0xff; 881 if (vol > 100) { 885 auclnt_set_gain(auclnt_output_stream(c), vol); local 886 *volp = (vol | (vol << 894 int vol; local 904 uint8_t vol; local 911 auclnt_set_gain(auclnt_input_stream(c), vol); local 920 uint8_t vol; local 934 uint8_t vol; local [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | splpkgmap.c | 91 static void addclass(char *aclass, int vol); 585 addclass(char *aclass, int vol) argument 591 if (vol <= 0) 593 if (!cl[i].first || (vol < cl[i].first)) 594 cl[i].first = vol; 595 if (vol > cl[i].last) 596 cl[i].last = vol; 601 cl[nclass].first = vol; 602 cl[nclass].last = vol;
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_raid.c | 111 uint8_t numelements, vol, disk; local 172 vol = 0; 193 raidconfig->m_raidvol[vol].m_israid = 1; 194 raidconfig->m_raidvol[vol]. 203 &raidconfig->m_raidvol[vol])) 211 &raidconfig->m_raidvol[vol])) 214 raidwwn = raidconfig->m_raidvol[vol]. 223 raidconfig->m_raidvol[vol].m_raidtgt = 230 vol++; 575 int config, vol; local 760 int config, i = 0, vol = (-1); local [all...] |
H A D | mptsas.c | 7897 int config, vol; local 7916 for (vol = 0; vol < MPTSAS_MAX_RAIDVOLS; vol++) { 7917 if (mpt->m_raidconfig[config].m_raidvol[vol]. 7932 mpt->m_raidconfig[config].m_raidvol[vol].m_settings = 7940 vol, state & 7955 mpt->m_raidconfig[config].m_raidvol[vol].m_state = 7959 "Volume %d is now %s\n", vol, 7977 mpt->m_raidconfig[config].m_raidvol[vol] 14315 int config, vol; local [all...] |
/illumos-gate/usr/src/cmd/audio/audioplay/ |
H A D | audioplay.c | 156 "\t%s [-iV] [-v vol] [-d dev] [file ...]\n" 191 double vol; local 234 vol = (double)Volume / (double)MAX_GAIN; 236 err = audio_set_play_gain(Audio_fd, &vol);
|
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrsyncd.c | 1139 char *vol; local 1142 vol = volume_list[i]; 1143 if (strcmp(buf, vol) == 0) {
|
H A D | sndradm.c | 1112 * and last but not least, make sure sndr is not using vol for anything 2814 * specified the same vol and bitmap 2834 /* extra check for secondary vol */ 3422 validate_name(CFGFILE *cfg, char *vol) argument 3432 rc = cfg_get_canonical_name(cfg, vol, &altname); 3441 "configured as '%s'"), vol, altname); 3444 "the latter name."), vol, altname); 5173 gettext("\t%s -g <group> -q a <vol>\t\tadd disk queue to " 5183 gettext("\t%s -q a <vol> <shost>:<sdev>\tadd disk queue to " 5443 char *vol, *bm local [all...] |
/illumos-gate/usr/src/cmd/avs/sv/ |
H A D | svadm.c | 1175 char buf[CFG_MAX_BUF], vol[CFG_MAX_BUF], cnode[CFG_MAX_BUF]; local 1206 if (sscanf(buf, "%s - %s", vol, cnode) != 2) { 1210 if (strcmp(path, vol) == 0) { 1427 char vol[CFG_MAX_BUF], cnode[CFG_MAX_BUF]; local 1439 if (sscanf(buf, "%s - %s", vol, cnode) != 2) { 1443 item.key = strdup(vol);
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmihd/ |
H A D | audiocmihd.c | 150 mix_scale(uint32_t vol, int8_t bits) argument 152 vol = mix_cvt[vol]; 153 vol = (vol * ((1 << bits) - 1)) / 100; 154 return (vol); 1061 /* left vol */ 1063 /* right vol */ 1088 /* left vol */ 1090 /* right vol */ [all...] |
/illumos-gate/usr/src/uts/sun4u/lw8/io/ |
H A D | sgenv.c | 1950 envresp_volatiles_t vol[SGENV_MAX_SENSORS_PER_KEY]; member in union:__anon9810 1968 resp.msg_len = sizeof (buf.vol); 1969 resp.msg_buf = (caddr_t)buf.vol; 2068 buf.vol[i].value; 2070 buf.vol[i].info;
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_lib.c | 1275 char vol[ZFS_MAX_DATASET_NAME_LEN]; local 1280 if (get_zfsvolname(vol, sizeof (vol), path) == -1) 1284 if ((zhp = zfs_open(zlibh, vol, ZFS_TYPE_DATASET)) == NULL) { 1307 char vol[ZFS_MAX_DATASET_NAME_LEN]; local 1313 if (get_zfsvolname(vol, sizeof (vol), path) == -1) { 1318 if ((zhp = zfs_open(zlibh, vol, ZFS_TYPE_DATASET)) == NULL) {
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | roff.h | 121 char *vol; /* Manual volume title. */ member in struct:roff_meta
|
/illumos-gate/usr/src/lib/hal/libhal-storage/common/ |
H A D | libhal-storage.c | 823 * @param vol Object to free 826 libhal_volume_free (LibHalVolume *vol) argument 828 if (vol == NULL ) 831 free (vol->udi); 832 libhal_free_string (vol->device_file); 833 libhal_free_string (vol->volume_label); 834 libhal_free_string (vol->fstype); 835 libhal_free_string (vol->mount_point); 836 libhal_free_string (vol->fsversion); 837 libhal_free_string (vol 1093 LibHalVolume *vol; local [all...] |
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iiadm.c | 734 /* unload vol hashes */ 750 /* reload vol hashes */ 1984 /* check the shadow_vol hasn't be used as SNDR secondary vol */ 3079 can_disable(char *vol) argument 3083 if (mounted(vol)) { 3084 (void) strlcpy(args.shadow_vol, vol, DSW_NAMELEN); 3894 char *sp, *overflow_list, **vol; local 3915 vol = (char **)calloc(count, sizeof (char *)); 3916 if (!vol) { 3927 vol[ [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/dsw/ |
H A D | dsw_dev.c | 717 * ii_volume: check if vol is already known to Instant Image and return 722 ii_volume(char *vol, int locked) argument 734 if (strcmp(vol, op->ii_volname) == 0) 749 if (strcmp(vol, ii_pathname(ip->bi_mstfd)) == 0) { 753 if (strcmp(vol, ip->bi_keyname) == 0) { 757 if (strcmp(vol, ii_pathname(ip->bi_bmpfd)) == 0) { 1903 cmn_err(CE_NOTE, "!ii: bitmap vol too" 2332 /* clear any overflow vol usage counts */ 5503 _ii_find_vol(char *volume, int vol) argument 5510 if (strcmp(volume, vol [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sd.c | 29018 struct cdrom_volctrl *vol = &volume; local 29037 if (ddi_copyin(data, vol, sizeof (struct cdrom_volctrl), flag)) { 29138 select_page[9] = vol->channel0; 29140 select_page[11] = vol->channel1;
|