/linux/fs/afs/ |
A D | volume.c | 47 return volume; in afs_insert_volume_into_cell() 56 trace_afs_volume(volume->vid, atomic_read(&volume->usage), in afs_remove_volume_from_cell() 81 if (!volume) in afs_alloc_volume() 106 return volume; in afs_alloc_volume() 110 kfree(volume); in afs_alloc_volume() 131 return volume; in afs_lookup_volume() 215 return volume; in afs_create_volume() 232 trace_afs_volume(volume->vid, atomic_read(&volume->usage), in afs_destroy_volume() 245 if (volume) { in afs_get_volume() 259 if (volume) { in afs_put_volume() [all …]
|
A D | callback.c | 111 struct afs_volume *volume = NULL; in afs_lookup_volume_rcu() local 126 if (volume->vid < vid) in afs_lookup_volume_rcu() 128 else if (volume->vid > vid) in afs_lookup_volume_rcu() 132 volume = NULL; in afs_lookup_volume_rcu() 138 return volume; in afs_lookup_volume_rcu() 156 write_lock(&volume->cb_v_break_lock); in afs_break_one_callback() 157 volume->cb_v_break++; in afs_break_one_callback() 160 write_unlock(&volume->cb_v_break_lock); in afs_break_one_callback() 168 sb = rcu_dereference(volume->sb); in afs_break_one_callback() 186 struct afs_volume *volume; in afs_break_some_callbacks() local [all …]
|
A D | rotate.c | 28 read_lock(&op->volume->servers_lock); in afs_start_fs_iteration() 30 rcu_dereference_protected(op->volume->servers, in afs_start_fs_iteration() 31 lockdep_is_held(&op->volume->servers_lock))); in afs_start_fs_iteration() 32 read_unlock(&op->volume->servers_lock); in afs_start_fs_iteration() 84 pr_notice("kAFS: Volume %llu '%s' is %s\n", volume->vid, volume->name, m); in afs_busy() 159 write_lock(&op->volume->servers_lock); in afs_select_fileserver() 161 write_unlock(&op->volume->servers_lock); in afs_select_fileserver() 197 afs_busy(op->volume, op->ac.abort_code); in afs_select_fileserver() 221 afs_busy(op->volume, op->ac.abort_code); in afs_select_fileserver() 251 set_bit(AFS_VOLUME_WAIT, &op->volume->flags); in afs_select_fileserver() [all …]
|
A D | super.c | 158 struct afs_volume *volume = as->volume; in afs_show_devname() local 168 switch (volume->type) { in afs_show_devname() 382 if (ctx->volume) { in afs_validate_fc() 385 ctx->volume = NULL; in afs_validate_fc() 405 if (IS_ERR(volume)) in afs_validate_fc() 408 ctx->volume = volume; in afs_validate_fc() 423 as->volume && in afs_test_super() 424 as->volume->vid == ctx->volume->vid && in afs_test_super() 516 as->volume = afs_get_volume(ctx->volume, in afs_alloc_sbi() 544 if (as->volume) in afs_kill_super() [all …]
|
A D | vl_alias.c | 20 struct afs_volume *volume; in afs_sample_volume() local 30 volume = afs_create_volume(&fc); in afs_sample_volume() 31 _leave(" = %p", volume); in afs_sample_volume() 32 return volume; in afs_sample_volume() 190 struct afs_volume *volume, *pvol = NULL; in afs_query_for_alias_one() local 206 volume = afs_sample_volume(cell, key, pvol->name, pvol->name_len); in afs_query_for_alias_one() 207 if (IS_ERR(volume)) { in afs_query_for_alias_one() 209 if (PTR_ERR(volume) != -ENOMEDIUM) in afs_query_for_alias_one() 210 return PTR_ERR(volume); in afs_query_for_alias_one() 219 if (pvol->vid == volume->vid) { in afs_query_for_alias_one() [all …]
|
A D | fs_operation.c | 18 struct afs_operation *afs_alloc_operation(struct key *key, struct afs_volume *volume) in afs_alloc_operation() argument 29 key = afs_request_key(volume->cell); in afs_alloc_operation() 39 op->volume = afs_get_volume(volume, afs_volume_trace_get_new_op); in afs_alloc_operation() 40 op->net = volume->cell->net; in afs_alloc_operation() 41 op->cb_v_break = volume->cb_v_break; in afs_alloc_operation() 150 op->cb_v_break = op->volume->cb_v_break; in afs_begin_vnode_operation() 248 afs_put_volume(op->net, op->volume, afs_volume_trace_put_put_op); in afs_put_operation()
|
A D | inode.c | 345 vnode->volume->name, in afs_fetch_status() 349 op = afs_alloc_operation(key, vnode->volume); in afs_fetch_status() 398 vnode->volume = as->volume; in afs_iget5_set() 495 vnode->volume = as->volume; in afs_iget5_set_root() 496 vnode->fid.vid = as->volume->vid, in afs_iget5_set_root() 516 _enter(",{%llx},,", as->volume->vid); in afs_root_iget() 529 vnode->cb_v_break = as->volume->cb_v_break, in afs_root_iget() 531 op = afs_alloc_operation(key, as->volume); in afs_root_iget() 595 slist = rcu_dereference(vnode->volume->servers); in afs_check_server_good() 647 vnode->cb_v_break = vnode->volume->cb_v_break; in afs_check_validity() [all …]
|
/linux/sound/ppc/ |
A D | burgundy.c | 128 if (volume[0] < 0 || volume[0] > 100 || in snd_pmac_burgundy_write_volume() 129 volume[1] < 0 || volume[1] > 100) in snd_pmac_burgundy_write_volume() 131 lvolume = volume[0] ? volume[0] + BURGUNDY_VOLUME_OFFSET : 0; in snd_pmac_burgundy_write_volume() 132 rvolume = volume[1] ? volume[1] + BURGUNDY_VOLUME_OFFSET : 0; in snd_pmac_burgundy_write_volume() 153 volume[0] = 0; in snd_pmac_burgundy_read_volume() 158 volume[1] = 0; in snd_pmac_burgundy_read_volume() 214 lvolume = volume[0] ? volume[0] + BURGUNDY_VOLUME_OFFSET : 0; in snd_pmac_burgundy_write_volume_2b() 215 rvolume = volume[1] ? volume[1] + BURGUNDY_VOLUME_OFFSET : 0; in snd_pmac_burgundy_write_volume_2b() 223 long *volume, int off) in snd_pmac_burgundy_read_volume_2b() argument 229 volume[0] = 0; in snd_pmac_burgundy_read_volume_2b() [all …]
|
A D | beep.c | 21 int volume; /* mixer volume: 0-100 */ member 136 if (hz == beep->hz && beep->volume == beep->volume_play) { in snd_pmac_beep_event() 146 p[0] = p[1] = beep_wform[j >> 8] * beep->volume; in snd_pmac_beep_event() 150 beep->volume_play = beep->volume; in snd_pmac_beep_event() 180 ucontrol->value.integer.value[0] = chip->beep->volume; in snd_pmac_get_beep() 191 oval = chip->beep->volume; in snd_pmac_put_beep() 195 chip->beep->volume = nval; in snd_pmac_put_beep() 196 return oval != chip->beep->volume; in snd_pmac_put_beep() 241 beep->volume = BEEP_VOLUME; in snd_pmac_attach_beep()
|
/linux/drivers/firmware/efi/libstub/ |
A D | file.c | 37 static efi_status_t efi_open_file(efi_file_protocol_t *volume, in efi_open_file() argument 47 status = volume->open(volume, &fh, fi->filename, EFI_FILE_MODE_READ, 0); in efi_open_file() 141 efi_file_protocol_t *volume = NULL; in handle_cmdline_files() local 173 if (!volume) { in handle_cmdline_files() 174 status = efi_open_volume(image, &volume); in handle_cmdline_files() 179 status = efi_open_file(volume, &fi, &file, &size); in handle_cmdline_files() 239 if (volume) in handle_cmdline_files() 240 volume->close(volume); in handle_cmdline_files() 247 volume->close(volume); in handle_cmdline_files()
|
/linux/Documentation/ABI/testing/ |
A D | configfs-usb-gadget-uac1 | 12 c_volume_present capture volume control enable 13 c_volume_min capture volume control min value 15 c_volume_max capture volume control max value 17 c_volume_res capture volume control resolution 23 p_volume_present playback volume control enable 24 p_volume_min playback volume control min value 26 p_volume_max playback volume control max value 28 p_volume_res playback volume control resolution
|
A D | configfs-usb-gadget-uac2 | 14 c_volume_present capture volume control enable 15 c_volume_min capture volume control min value 17 c_volume_max capture volume control max value 19 c_volume_res capture volume control resolution 26 p_volume_present playback volume control enable 27 p_volume_min playback volume control min value 29 p_volume_max playback volume control max value 31 p_volume_res playback volume control resolution
|
/linux/Documentation/ABI/stable/ |
A D | sysfs-class-ubi | 8 and per-UBI volume information. 30 device information and per UBI volume information (each UBI 39 create a new UBI volume which has this amount of logical 159 Contains ASCII "0\n" if the UBI volume is OK, and ASCII "1\n" 168 only for static volumes, and for dynamic volume it equivalent 169 to the total volume size in bytes. 177 to this UBI volume (in <major>:<minor> format). 191 Count of physical eraseblock reserved for this volume. 192 Equivalent to the volume size in logical eraseblocks. 208 volume, and "1\n" if it is set. The update marker is set when [all …]
|
/linux/sound/firewire/oxfw/ |
A D | oxfw-spkr.c | 12 s16 volume[6]; member 202 value->value.integer.value[channel_map[i]] = spkr->volume[i]; in spkr_volume_get() 214 s16 volume; in spkr_volume_put() local 229 spkr->volume[i]) in spkr_volume_put() 236 volume = value->value.integer.value[channel_map[i ? i - 1 : 0]]; in spkr_volume_put() 239 spkr->volume_fb_id, &volume, in spkr_volume_put() 245 spkr->volume[i - 1] = volume; in spkr_volume_put() 306 &spkr->volume[i], first_ch + i, in snd_oxfw_add_spkr()
|
/linux/drivers/mfd/ |
A D | wl1273-core.c | 141 static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume) in wl1273_fm_set_volume() argument 145 if (volume > WL1273_MAX_VOLUME) in wl1273_fm_set_volume() 148 if (core->volume == volume) in wl1273_fm_set_volume() 151 r = wl1273_fm_write_cmd(core, WL1273_VOLUME_SET, volume); in wl1273_fm_set_volume() 155 core->volume = volume; in wl1273_fm_set_volume()
|
/linux/sound/i2c/other/ |
A D | pt2258.c | 54 pt->volume[i] = 0; in snd_pt2258_reset() 87 ucontrol->value.integer.value[0] = 79 - pt->volume[base]; in pt2258_stereo_volume_get() 88 ucontrol->value.integer.value[1] = 79 - pt->volume[base + 1]; in pt2258_stereo_volume_get() 104 if (val0 == pt->volume[base] && val1 == pt->volume[base + 1]) in pt2258_stereo_volume_put() 107 pt->volume[base] = val0; in pt2258_stereo_volume_put() 115 pt->volume[base + 1] = val1; in pt2258_stereo_volume_put()
|
/linux/Documentation/admin-guide/ |
A D | jfs.rst | 19 Resize the volume to <value> blocks. JFS only supports 20 growing a volume, not shrinking it. This option is only 21 valid during a remount, when the volume is mounted 23 the volume to the full size of the partition. 27 is to allow for higher performance when restoring a volume 28 from backup media. The integrity of the volume is not 33 remount a volume where the nointegrity option was
|
/linux/sound/soc/sh/rcar/ |
A D | mix.c | 83 (VOL_MAX - rsnd_kctrl_vals(mix->volume##X)) : 0 179 struct rsnd_kctrl_cfg_s *volume; in rsnd_mix_pcm_new() local 185 volume = &mix->volumeA; in rsnd_mix_pcm_new() 190 volume = &mix->volumeB; in rsnd_mix_pcm_new() 195 volume = &mix->volumeC; in rsnd_mix_pcm_new() 200 volume = &mix->volumeD; in rsnd_mix_pcm_new() 213 volume, VOL_MAX); in rsnd_mix_pcm_new() 216 rsnd_kctrl_vals(*volume) = VOL_MAX; in rsnd_mix_pcm_new()
|
/linux/sound/soc/tegra/ |
A D | tegra210_mvc.c | 104 mvc->volume[chan] = ((val * (1<<8)) / 100) << 16; in tegra210_mvc_conv_vol() 107 mvc->volume[chan] = (val * (1<<8)) / 100; in tegra210_mvc_conv_vol() 182 s32 val = mvc->volume[chan]; in tegra210_mvc_get_vol() 218 old_volume = mvc->volume[chan]; in tegra210_mvc_put_vol() 223 if (mvc->volume[chan] == old_volume) { in tegra210_mvc_put_vol() 231 mvc->volume[chan]); in tegra210_mvc_put_vol() 233 regmap_write(mvc->regmap, reg, mvc->volume[chan]); in tegra210_mvc_put_vol() 254 mvc->volume[i] = TEGRA210_MVC_INIT_VOL_DEFAULT_POLY; in tegra210_mvc_reset_vol_settings() 257 mvc->volume[i] = TEGRA210_MVC_INIT_VOL_DEFAULT_LINEAR; in tegra210_mvc_reset_vol_settings() 272 mvc->volume[i]); in tegra210_mvc_reset_vol_settings() [all …]
|
/linux/Documentation/filesystems/ |
A D | ntfs.rst | 15 - Using NTFS volume and stripe sets 176 volume (for the duration of this mount only). By 208 space is reserved for the MFT on the volume. If all 218 Value MFT zone size (% of volume size) 245 Using NTFS volume and stripe sets 330 # volume device of device 344 # volume volume stripes device device 355 # vol volume params mirrors Device Device 377 mount the ntfs volume. For example:: 387 volume. [all …]
|
A D | afs.rst | 65 list of volume location server IP addresses:: 84 volume location servers within that cell, with the latter separated by colons. 94 whether you definitely want a R/W volume (percent) or whether you'd prefer a 95 R/O volume, but are willing to use a R/W volume instead (hash). 97 The name of the volume can be suffixes with ".backup" or ".readonly" to 101 named volume will be looked up in the cell specified during modprobe. 113 automatically cause the target volume to be mounted (if possible) on that site. 119 Manually unmounting an AFS volume will cause any idle submounts upon it to be 120 culled first. If all are culled, then the requested volume will also be 156 (*) A directory per cell that contains files that list volume location [all …]
|
/linux/drivers/media/radio/ |
A D | radio-sf16fmr2.c | 35 struct v4l2_ctrl *volume; member 153 int volume, balance, left, right; in fmr2_s_ctrl() local 157 volume = ctrl->val; in fmr2_s_ctrl() 162 volume = fmr2->volume->cur.val; in fmr2_s_ctrl() 168 left = right = volume; in fmr2_s_ctrl() 190 …fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68,… in fmr2_tea_ext_init()
|
/linux/drivers/media/i2c/ |
A D | wm8739.c | 45 struct v4l2_ctrl *volume; member 102 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl() 103 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl() 200 state->volume = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe() 213 v4l2_ctrl_cluster(3, &state->volume); in wm8739_probe()
|
/linux/fs/ntfs3/ |
A D | super.c | 460 if (sbi->volume.ni) in put_ntfs() 461 iput(&sbi->volume.ni->vfs_inode); in put_ntfs() 502 buf->f_fsid.val[0] = sbi->volume.ser_num; in ntfs_statfs() 691 sbi->volume.blocks = dev_size >> PAGE_SHIFT; in ntfs_init_from_boot() 853 sbi->volume.blocks = sbi->volume.size >> sb->s_blocksize_bits; in ntfs_init_from_boot() 953 sizeof(sbi->volume.label)); in ntfs_fill_super() 955 sbi->volume.label[0] = 0; in ntfs_fill_super() 974 sbi->volume.major_ver = info->major_ver; in ntfs_fill_super() 975 sbi->volume.minor_ver = info->minor_ver; in ntfs_fill_super() 976 sbi->volume.flags = info->flags; in ntfs_fill_super() [all …]
|
/linux/sound/usb/line6/ |
A D | playback.c | 21 static void change_volume(struct urb *urb_out, int volume[], in change_volume() argument 26 if (volume[0] == 256 && volume[1] == 256) in change_volume() 37 int val = (pv * volume[chn & 1]) >> 8; in change_volume() 52 val = (val * volume[chn & 1]) >> 8; in change_volume() 109 int volume, int bytes_per_frame) in add_monitor_signal() argument 111 if (volume == 0) in add_monitor_signal() 124 int val = pov + ((piv * volume) >> 8); in add_monitor_signal()
|