Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/Linux-v5.4/fs/afs/
Dvolume.c23 struct afs_volume *volume; in afs_alloc_volume() local
30 volume = kzalloc(sizeof(struct afs_volume), GFP_KERNEL); in afs_alloc_volume()
31 if (!volume) in afs_alloc_volume()
34 volume->vid = vldb->vid[params->type]; in afs_alloc_volume()
35 volume->update_at = ktime_get_real_seconds() + afs_volume_record_life; in afs_alloc_volume()
36 volume->cell = afs_get_cell(params->cell); in afs_alloc_volume()
37 volume->type = params->type; in afs_alloc_volume()
38 volume->type_force = params->force; in afs_alloc_volume()
39 volume->name_len = vldb->name_len; in afs_alloc_volume()
41 atomic_set(&volume->usage, 1); in afs_alloc_volume()
[all …]
Dsuper.c164 struct afs_volume *volume = as->volume; in afs_show_devname() local
174 switch (volume->type) { in afs_show_devname()
179 if (volume->type_force) in afs_show_devname()
188 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); in afs_show_devname()
360 struct afs_volume *volume; in afs_validate_fc() local
381 if (ctx->volume) { in afs_validate_fc()
382 afs_put_volume(ctx->cell, ctx->volume); in afs_validate_fc()
383 ctx->volume = NULL; in afs_validate_fc()
386 volume = afs_create_volume(ctx); in afs_validate_fc()
387 if (IS_ERR(volume)) in afs_validate_fc()
[all …]
Drotate.c58 read_lock(&vnode->volume->servers_lock); in afs_start_fs_iteration()
59 fc->server_list = afs_get_serverlist(vnode->volume->servers); in afs_start_fs_iteration()
60 read_unlock(&vnode->volume->servers_lock); in afs_start_fs_iteration()
104 static void afs_busy(struct afs_volume *volume, u32 abort_code) in afs_busy() argument
115 pr_notice("kAFS: Volume %llu '%s' is %s\n", volume->vid, volume->name, m); in afs_busy()
190 write_lock(&vnode->volume->servers_lock); in afs_select_fileserver()
192 write_unlock(&vnode->volume->servers_lock); in afs_select_fileserver()
194 set_bit(AFS_VOLUME_NEEDS_UPDATE, &vnode->volume->flags); in afs_select_fileserver()
195 error = afs_check_volume_status(vnode->volume, fc->key); in afs_select_fileserver()
199 if (test_bit(AFS_VOLUME_DELETED, &vnode->volume->flags)) { in afs_select_fileserver()
[all …]
Dcallback.c44 new_vi->vid = vnode->volume->vid; in afs_create_interest()
50 new->vid = vnode->volume->vid; in afs_create_interest()
168 vnode->cb_v_break = vnode->volume->cb_v_break; in afs_register_server_cb_interest()
280 struct afs_volume *volume = as->volume; in afs_break_one_callback() local
282 write_lock(&volume->cb_v_break_lock); in afs_break_one_callback()
283 volume->cb_v_break++; in afs_break_one_callback()
284 trace_afs_cb_break(fid, volume->cb_v_break, in afs_break_one_callback()
286 write_unlock(&volume->cb_v_break_lock); in afs_break_one_callback()
288 data.volume = NULL; in afs_break_one_callback()
Dinode.c312 vnode->volume->name, in afs_fetch_status()
382 vnode->volume = iget_data->volume; in afs_iget5_set()
413 if (as->volume) { in afs_iget_pseudo_dir()
414 iget_data.volume = as->volume; in afs_iget_pseudo_dir()
415 iget_data.fid.vid = as->volume->vid; in afs_iget_pseudo_dir()
494 vnode->cache = fscache_acquire_cookie(vnode->volume->cache, in afs_get_inode_cache()
520 iget_data->volume = as->volume; in afs_iget()
596 struct afs_volume *volume = vnode->volume; in afs_check_validity() local
605 cb_v_break = READ_ONCE(volume->cb_v_break); in afs_check_validity()
844 key = afs_request_key(vnode->volume->cell); in afs_setattr()
/Linux-v5.4/sound/ppc/
Dburgundy.c124 long *volume, int shift) in snd_pmac_burgundy_write_volume() argument
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()
143 long *volume, int shift) in snd_pmac_burgundy_read_volume() argument
149 volume[0] = wvolume & 0xff; in snd_pmac_burgundy_read_volume()
150 if (volume[0] >= BURGUNDY_VOLUME_OFFSET) in snd_pmac_burgundy_read_volume()
151 volume[0] -= BURGUNDY_VOLUME_OFFSET; in snd_pmac_burgundy_read_volume()
153 volume[0] = 0; in snd_pmac_burgundy_read_volume()
[all …]
Dbeep.c21 int volume; /* mixer volume: 0-100 */ member
133 if (hz == beep->hz && beep->volume == beep->volume_play) { in snd_pmac_beep_event()
143 p[0] = p[1] = beep_wform[j >> 8] * beep->volume; in snd_pmac_beep_event()
147 beep->volume_play = beep->volume; in snd_pmac_beep_event()
177 ucontrol->value.integer.value[0] = chip->beep->volume; in snd_pmac_get_beep()
188 oval = chip->beep->volume; in snd_pmac_put_beep()
192 chip->beep->volume = nval; in snd_pmac_put_beep()
193 return oval != chip->beep->volume; in snd_pmac_put_beep()
238 beep->volume = BEEP_VOLUME; in snd_pmac_attach_beep()
/Linux-v5.4/Documentation/ABI/stable/
Dsysfs-class-ubi8 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
149 this volume has to be aligned on. For example, 2048 means that
151 volume logical eraseblock size is UBI device logical eraseblock
159 Contains ASCII "0\n" if the UBI volume is OK, and ASCII "1\n"
160 if it is corrupted (e.g., due to an interrupted volume update).
167 The amount of data this volume contains. This value makes sense
168 only for static volumes, and for dynamic volume it equivalent
169 to the total volume size in bytes.
[all …]
/Linux-v5.4/sound/i2c/other/
Dpt2258.c54 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-v5.4/drivers/mfd/
Dwl1273-core.c141 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-v5.4/sound/firewire/oxfw/
Doxfw-spkr.c12 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-v5.4/sound/soc/intel/haswell/
Dsst-haswell-pcm.c109 u32 volume[2]; member
182 u32 volume; in hsw_stream_volume_put() local
193 pcm_data->volume[0] = in hsw_stream_volume_put()
195 pcm_data->volume[1] = in hsw_stream_volume_put()
205 volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); in hsw_stream_volume_put()
207 sst_hsw_stream_set_volume(hsw, pcm_data->stream, 0, SST_HSW_CHANNELS_ALL, volume); in hsw_stream_volume_put()
209 volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); in hsw_stream_volume_put()
210 sst_hsw_stream_set_volume(hsw, pcm_data->stream, 0, 0, volume); in hsw_stream_volume_put()
211 volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[1]); in hsw_stream_volume_put()
212 sst_hsw_stream_set_volume(hsw, pcm_data->stream, 0, 1, volume); in hsw_stream_volume_put()
[all …]
/Linux-v5.4/Documentation/admin-guide/
Djfs.rst19 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-v5.4/sound/soc/sh/rcar/
Dmix.c83 (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-v5.4/drivers/media/radio/
Dradio-sf16fmr2.c35 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-v5.4/Documentation/filesystems/
Dntfs.txt13 - Using NTFS volume and stripe sets
25 from an NTFS volume and ntfsresize which is used to resize an NTFS partition.
28 To mount an NTFS 1.2/3.x (Windows NT4/2000/XP/2003) volume, use the file
33 For fault tolerance and raid support (i.e. volume and stripe sets), you can
171 volume (for the duration of this mount only). By
192 mft_zone_multiplier= Set the MFT zone multiplier for the volume (this
197 space is reserved for the MFT on the volume. If all
205 Value MFT zone size (% of volume size)
228 Using NTFS volume and stripe sets
231 For support of volume and stripe sets, you can either use the kernel's
[all …]
Dafs.txt66 list of volume location server IP addresses:
85 volume location servers within that cell, with the latter separated by colons.
95 whether you definitely want a R/W volume (percent) or whether you'd prefer a
96 R/O volume, but are willing to use a R/W volume instead (hash).
98 The name of the volume can be suffixes with ".backup" or ".readonly" to
102 named volume will be looked up in the cell specified during modprobe.
115 automatically cause the target volume to be mounted (if possible) on that site.
121 Manually unmounting an AFS volume will cause any idle submounts upon it to be
122 culled first. If all are culled, then the requested volume will also be
160 (*) A directory per cell that contains files that list volume location
[all …]
Dubifs.txt36 found in drivers/mtd/ubi. UBI is basically a volume management and
106 The UBI volume to mount is specified using "ubiX_Y" or "ubiX:NAME" syntax,
107 where "X" is UBI device number, "Y" is UBI volume number, and "NAME" is
108 UBI volume name.
110 Mount volume 0 on UBI device 0 to /mnt/ubifs:
113 Mount "rootfs" volume of UBI device 0 to /mnt/ubifs ("rootfs" is volume
118 to UBI and mount volume "rootfs":
/Linux-v5.4/drivers/media/i2c/
Dwm8739.c45 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-v5.4/sound/usb/line6/
Dplayback.c21 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()
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-fs-nilfs220 Show NILFS file system revision on volume.
22 revision on mounted volume.
28 Show volume's block size in bytes.
34 Show volume size in bytes.
40 Show count of free blocks on volume.
46 Show volume's UUID (Universally Unique Identifier).
52 Show volume's label.
187 Show number of segments on a volume.
218 Show number of checkpoints on volume.
224 Show number of snapshots on volume.
/Linux-v5.4/arch/m68k/mac/
Dmacboing.c227 static void mac_quadra_start_bell( unsigned int freq, unsigned int length, unsigned int volume ) in mac_quadra_start_bell() argument
246 mac_asc_regs[ 0x806 ] = volume; in mac_quadra_start_bell()
308 static void mac_av_start_bell( unsigned int freq, unsigned int length, unsigned int volume ) in mac_av_start_bell() argument
/Linux-v5.4/Documentation/media/v4l-drivers/
Dradiotrack.rst79 0 1 volume + (some delay required)
80 1 0 volume - (some delay required)
81 1 1 stay at present volume
129 Default: BASE <-- 0xc8 (current volume, no stereo detect,
138 Volume Down: BASE <-- 0x48 (volume down, no stereo detect,
143 Volume Up: BASE <-- 0x88 (volume up, no stereo detect,
148 Check Stereo: BASE <-- 0xd8 (current volume, stereo detect,
/Linux-v5.4/Documentation/sound/cards/
Dmixart.rst55 analog volume control of playback and capture PCM.
57 digital volume control of each analog substream.
59 digital volume control of each AES/EBU substream.
61 Loopback from 'pcm0c' to 'pcm0p' with digital volume
65 and AES volume controls which is set by 219 in the range from 0 to 255
/Linux-v5.4/sound/soc/sh/
Dsiu_dai.c133 siu_write32(base + SIU_SBDVCA, port_info->playback.volume); in siu_dai_start()
134 siu_write32(base + SIU_SBDVCB, port_info->capture.volume); in siu_dai_start()
364 vol = port_info->playback.volume; in siu_dai_get_volume()
370 vol = port_info->capture.volume; in siu_dai_get_volume()
408 cur_vol = port_info->playback.volume; in siu_dai_put_volume()
410 port_info->playback.volume = new_vol; in siu_dai_put_volume()
414 cur_vol = port_info->capture.volume; in siu_dai_put_volume()
416 port_info->capture.volume = new_vol; in siu_dai_put_volume()
462 (*port_info)->playback.volume = DFLT_VOLUME_LEVEL; in siu_init_port()
463 (*port_info)->capture.volume = DFLT_VOLUME_LEVEL; in siu_init_port()

12345678910>>...12